joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41935e
Capabilities:
Continue service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x419396
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4193b4
lea eax, [ebp - 0x1c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4193c5
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov byte [ebp - 1], cl
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 2
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4193fe
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x419442
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x41941b
sub eax, 1
je 0x419417
sub eax, 1
jne 0x41941e
push 3
jmp 0x41941d
push 2
jmp 0x41941d
push 4
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419464
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea ecx, [esp + 4]
mov dl, 0x30
push esi
push str.alarm.wav
call fcn.0040ce2e
pop ecx
lea ecx, [esp + 8]
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4194ef
mov esi, 0x4738b0
mov edx, 0x464074
mov ecx, esi
call fcn.00405ae5
test al, al
je 0x4194dd
sub esp, 0x18
cmp byte [0x472aca], 0
mov ecx, esp
push 0x46a8e0
je 0x4194c7
call fcn.00402073
mov ecx, 0x4738c8
jmp 0x4194d1
call fcn.00402073
mov ecx, 0x4734e0
push 0xa1
call fcn.00404a81
jmp 0x4194ff
lea ecx, [esp + 8]
call fcn.00401ee4
mov edx, eax
mov ecx, esi
call fcn.0041a9e9
lea ecx, [esp + 8]
call fcn.00401ee4
mov ecx, eax
call fcn.0041950d
lea ecx, [esp + 8]
call fcn.00401ee9
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x419562
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x4738b0
mov bl, dl
call fcn.00401fa0
test bl, bl
je 0x41957a
pop ebx
jmp fcn.00419464
mov byte [0x472acb], 1
pop ebx
ret
Function at 0x42d5c2
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42d6bc
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42d5e3
test esi, esi
jne 0x42d6bc
cmp edx, 3
je 0x42d619
cmp edx, 4
je 0x42d619
cmp edx, 5
je 0x42d619
cmp edx, 6
je 0x42d619
cmp edx, 7
je 0x42d619
cmp edx, 8
je 0x42d619
cmp edx, 0xa
je 0x42d619
cmp edx, 0xb
je 0x42d619
cmp edx, 0xc
je 0x42d619
cmp edx, 0xd
jne 0x42d6bc
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042d5a5
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d6c1
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42d6bc
cmp esi, 0x40
ja 0x42d65f
cmp dword [esp + 0x14], ebx
je 0x42d688
push esi
push dword [esp + 0x18]
push ecx
call fcn.00434db0
add esp, 0xc
jmp 0x42d685
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.004324a4
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42d6b8
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0043257f
mov ebp, eax
test ebp, ebp
jne 0x42d6b8
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42d6a0
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00435330
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x42d6a0
mov eax, ebp
jmp 0x42d6c1
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4324c3
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x4324d1
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x43251e
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00435330
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.00431d0c
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00431daa
test eax, eax
jne 0x43257a
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00435330
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.00431d0c
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00434db0
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00434db0
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00431daa
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43257f
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4325b6
test edi, edi
je 0x4325b6
call fcn.004324c3
test eax, eax
jne 0x4325bb
push 0x20
mov edx, esi
mov ecx, esi
call fcn.00431d0c
push 0x20
push esi
push edi
call fcn.00434db0
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x431d36
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x43266e
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x432708
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x432708
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.0042dd51
mov dword [esp + 0xc], eax
test eax, eax
jne 0x43270d
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x4326ce
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00432658
mov ecx, ebx
mov esi, eax
call fcn.00432658
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x4326a8
jmp 0x4326f3
mov ecx, dword [esp + 0x10]
jmp 0x4326f3
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00432658
mov ecx, ebx
mov esi, eax
call fcn.00432658
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x4326d4
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x43270d
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44a4c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a345

Function at 0x44df20
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044d88e

Function at 0x44df2b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044dac9
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0x401443
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x29ec69e6
add dword [ebp - 0x50], 0x2465db65
mov dword [ebp - 0x4c], 0x94b27cf0
sub dword [ebp - 0x4c], 0x627f30ab
mov dword [ebp - 0x48], 0x8c90ba2c
sub dword [ebp - 0x48], 0x404475fe
mov dword [ebp - 0x44], 0x7e79c3de
sub dword [ebp - 0x44], 0x7e79c3de
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xac88752a
sub dword [ebp - 0x50], 0x38160bd4
mov dword [ebp - 0x4c], 0x789e29a0
add dword [ebp - 0x4c], 0xc8ce37d5
mov dword [ebp - 0x48], 0xd0b80059
add dword [ebp - 0x48], 0x92b76c13
mov dword [ebp - 0x44], 0xba90743d
sub dword [ebp - 0x44], 0xba90743d
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xdfda6ace
add eax, 0x20661632
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x37886
push 0
call eax
mov ecx, 0x1e756a79
sub ecx, 0x1e752581
xor edi, edi
add edi, eax
mov edx, 0x36b37e9e
add edx, 0xc9936562
add edx, dword [ebp - 0x40]
mov esi, 0x8300f96e
add esi, 0x8dde742b
mov dword [ebp - 0x10], 0x6194e53b
mov ebx, dword [edx]
xor dword [ebp - 0x1c], 0x99f10914
xor ebx, esi
xor dword [ebp - 8], 0xd3ea5a9d
mov dword [edi], ebx
add dword [ebp - 0x34], edx
add edi, 0xae8f7bab
add edi, 0x51708459
add edx, 0x922fb9e
add edx, 0xf6dd0466
loop 0x40155d
add eax, 0x3d1eeea8
sub eax, 0x3d1de7f5
xor ebx, ebx
add ebx, eax
add eax, 0xa020fd62
sub eax, 0xa020fd5d
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10082df0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101559b0]
jne 0x10082dfa
repz ret
jmp fcn.10083f0c

Function at 0x1008510b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1008213f
and dword [ebp - 4], 0
cmp dword [0x1015710c], 0
mov ebx, eax
jne 0x100851bc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1008526d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1008526d
push eax
call fcn.100820cd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015710c], eax
call esi
push eax
call fcn.100820cd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10157110], eax
call esi
push eax
call fcn.100820cd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10157114], eax
call esi
push eax
call fcn.100820cd
pop ecx
mov dword [0x1015711c], eax
test eax, eax
je 0x100851bc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100820cd
pop ecx
mov dword [0x10157118], eax
mov eax, dword [0x10157118]
cmp eax, ebx
je 0x10085214
cmp dword [0x1015711c], ebx
je 0x10085214
push eax
call fcn.10082148
push dword [0x1015711c]
mov esi, eax
call fcn.10082148
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10085214
test edi, edi
je 0x10085214
call esi
test eax, eax
je 0x1008520b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1008520b
test byte [ebp - 0xc], 1
jne 0x10085214
or dword [ebp + 0x10], 0x200000
jmp 0x1008524d
mov eax, dword [0x10157110]
cmp eax, ebx
je 0x1008524d
push eax
call fcn.10082148
pop ecx
test eax, eax
je 0x1008524d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1008524d
mov eax, dword [0x10157114]
cmp eax, ebx
je 0x1008524d
push eax
call fcn.10082148
pop ecx
test eax, eax
je 0x1008524d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015710c]
call fcn.10082148
pop ecx
test eax, eax
je 0x1008526d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1008526f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10086279
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10155200], 0
mov byte [0x10155204], 0
mov edi, dword [0x101551f4]
add edi, 0xe84
mov dword [0x101551f8], edi
mov dword [0x101551fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101551f8], 0x8b8
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101551fc]
add eax, 1
mov dword [0x101551fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100862c6
xor eax, eax
mov dword [0x101551fc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10155208], 0
mov edi, dword [0x10155200]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10155208], esi
mov dword [0x101551f4], 0x233b
mov eax, esi
cdq
idiv ecx
mov dword [0x10155200], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10155204], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10155204]
mov esi, dword [0x10155200]
mov byte [ebx + esi], cl
mov esi, dword [0x101551fc]
add esi, 1
mov dword [0x101551fc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10086305
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1008656f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101504b5]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101551f4], 0x1540
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.100861dd
mov dword [0x101551f4], 0x1b9e
call fcn.10086817
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100860af
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100866a3
jmp 0x10086608
mov eax, dword [0x101551f4]
mov ecx, dword [ebp - 0x44]
add ecx, 0x1388
add eax, 0x2182
mov dword [0x101551f4], eax
mov dword [ebp - 0x40], ecx
jmp 0x100866a3
mov dword [0x101551f4], 0x505
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101551f4], 0x1847
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1008643d
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101551f4], 0x14d0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x44], ecx
mov dword [0x101551f8], 0xc82
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x100865e8
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x10086ed5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10087206
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, dword [0x101551f4]
add edi, 0x20f3
mov dword [0x101551f4], edi
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101551f8], 0x1487
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10087028
jmp 0x10086fbb
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
je 0x10087018
jmp 0x10086fec
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x24], eax
jb 0x10086fcd
jmp 0x10087028
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101551f4], 0x954
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x10087028
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edx
jmp 0x10086f39
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x10086f39
mov al, byte [ebp - 0x32]
test al, 1
jne 0x10086f94
jmp 0x10086f6b
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10087033
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x101551f8]
add edx, 0xffffd94f
mov dword [0x101551f4], edx
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
jmp 0x100870cc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x101551f4], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x100870ae
jmp 0x10087176
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10087155
jmp 0x10087176
mov dword [0x101551f8], 0x7a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10087115
jmp 0x10087176
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, eax
add edx, 0xffffe3e9
mov esi, dword [ebp - 0x14]
cmp word [esi + ecx*2], 0
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
je 0x10087076
mov eax, dword [ebp - 0x30]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jl 0x100870cc
jmp 0x10087076
mov eax, dword [ebp - 0x2c]
add eax, 0xffffe7d7
mov dword [0x101551f4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10087176
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10087176
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10087096
jmp 0x10087176
mov eax, 1
mov dword [0x101551f4], 0xb63
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x34], eax
je 0x1008717d
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x1008717d
mov eax, dword [ebp - 0x34]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x100873c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101551fc], 0
mov dword [0x10155200], 0
mov dword [0x1015520c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1008751f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [0x101551f4], 0x581
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101551fc], edx
mov dword [0x101551f8], 0x20ec
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10155200], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10155204], cl
mov dword [0x101551f8], 0x1c17
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10155204]
mov edx, dword [0x10155200]
mov byte [ebx + edx], cl
mov edx, dword [0x101551fc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10155200]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1015520c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101551f8], 0x2239
mov edx, dword [0x101551f4]
add edx, 0x97e
mov dword [0x101551f4], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1008751f
mov eax, dword [0x101551fc]
mov ecx, dword [0x10155200]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x1008741b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10087527
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101551f4], 0x895
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10086969
lea ecx, [0x100866ad]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], 0x15e600
mov edx, dword [0x101551e0]
mov dword [esp + 0x68], edx
mov edx, dword [0x101551e4]
mov dword [esp + 0x70], edx
mov edx, dword [0x101551e8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x101551ec]
mov dword [esp + 0x78], edx
mov edx, dword [0x101551f0]
mov dword [esp + 0x58], edx
mov dword [0x101551f8], 0x1d3f
mov dword [0x101551f4], 0x2324
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10087617
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100875db
jmp 0x10087626
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x101551f4], 0x4417
mov dword [0x101551f8], 0x94b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
call fcn.10087033
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1008763a
jmp 0x100875d3
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x100875bd
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10087617
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1008656f
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
jmp 0x100875d3