joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58ecac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58ed87
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x102
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_FindResourceW
mov esi, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_SizeofResource
add eax, ebx
mov dword [ebp - 0xc], eax
cmp ebx, dword [ebp - 0xc]
jae 0x58ed54
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0
call fcn.00407584
mov esi, dword [ebp - 4]
test esi, esi
je 0x58ed29
sub esi, 4
mov esi, dword [esi]
inc esi
add ebx, esi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
add ebx, 4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407d1c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x7053a8]
mov esi, dword [eax]
call dword [esi + 0x3c]
cmp ebx, dword [ebp - 0xc]
jb 0x58ed0e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov dl, 1
mov eax, dword [0x7053a8]
call fcn.0044d8b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ed8e
lea eax, [ebp - 0x14]
call fcn.00406e34
lea eax, [ebp - 4]
call fcn.00406e58
ret

Function at 0x58ed94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58ee6f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x104
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_FindResourceW
mov esi, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_SizeofResource
add eax, ebx
mov dword [ebp - 0xc], eax
cmp ebx, dword [ebp - 0xc]
jae 0x58ee3c
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0
call fcn.00407584
mov esi, dword [ebp - 4]
test esi, esi
je 0x58ee11
sub esi, 4
mov esi, dword [esi]
inc esi
add ebx, esi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
add ebx, 4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407d1c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x7053ac]
mov esi, dword [eax]
call dword [esi + 0x3c]
cmp ebx, dword [ebp - 0xc]
jb 0x58edf6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov dl, 1
mov eax, dword [0x7053ac]
call fcn.0044d8b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ee76
lea eax, [ebp - 0x14]
call fcn.00406e34
lea eax, [ebp - 4]
call fcn.00406e58
ret
Function at 0x58ee7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58ef57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x103
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_FindResourceW
mov esi, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
push esi
mov eax, dword [0x702c50]
push eax
call sub.kernel32.dll_SizeofResource
add eax, ebx
mov dword [ebp - 0xc], eax
cmp ebx, dword [ebp - 0xc]
jae 0x58ef24
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0
call fcn.00407584
mov esi, dword [ebp - 4]
test esi, esi
je 0x58eef9
sub esi, 4
mov esi, dword [esi]
inc esi
add ebx, esi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
add ebx, 4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407d1c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x7053b0]
mov esi, dword [eax]
call dword [esi + 0x3c]
cmp ebx, dword [ebp - 0xc]
jb 0x58eede
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov dl, 1
mov eax, dword [0x7053b0]
call fcn.0044d8b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ef5e
lea eax, [ebp - 0x14]
call fcn.00406e34
lea eax, [ebp - 4]
call fcn.00406e58
ret

Function at 0x59d0c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0
xor edx, edx
push ebp
push 0x59d136
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [eax + 4]
mov edx, ecx
add ecx, dword [edx + 0x3c]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 8]
sub ecx, 4
cmp ecx, dword [edx + 0x3c]
jl 0x59d0ff
cmp word [edx], 0x5a4d
jne 0x59d0ff
mov eax, dword [eax + 0x10]
cmp dword [eax], 0x4550
je 0x59d120
lea edx, [ebp - 4]
mov eax, 0x59b8f8
call fcn.0040ae2c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41a32c]
call fcn.00425974
call fcn.00406510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d13d
lea eax, [ebp - 4]
call fcn.00406e34
ret
Function at 0x59e78c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 2
push 0
push ebx
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x59e7bd
call fcn.0042779c
xor eax, eax
push ebp
push 0x59e842
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x59e7ea
call fcn.0042779c
cmp dword [0x6fdc14], 0
je 0x59e81c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x7053bc]
test eax, eax
setne al
neg al
sbb eax, eax
call fcn.00427840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59e849
cmp dword [ebp - 0xc], 0
je 0x59e838
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x5a365c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7057c8], 0
jne 0x5a3673
call fcn.005a3618
mov eax, edi
dec eax
test eax, eax
jl 0x5a369b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7053c8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5a367d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5a636c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5a6406.0
jmp dword [ecx*4 + 0x5a639f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a63d1
sub dl, 8
je 0x5a63e0
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6038
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a608c
jmp case.0x5a6406.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5a6406.0
movzx ecx, byte [ecx + 0x5a640d]
jmp dword [ecx*4 + 0x5a641e]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a612c
jmp case.0x5a6406.0
cmp dl, 3
jne 0x5a644b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6184
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6140
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a61c8
jmp case.0x5a6406.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a6476
sub dl, 8
je 0x5a6482
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a61f4
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6258
jmp case.0x5a6406.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5a64a1
sub dl, 8
je 0x5a64ad
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6308
jmp case.0x5a6406.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5a6330
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5a654f
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005a5574
test eax, eax
je 0x5a654f
mov eax, ebx
call fcn.005a6558
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5a64e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5a6558
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5a6589
dec al
je 0x5a65c4
dec al
je 0x5a6609
dec al
je 0x5a6672
jmp 0x5a66fc
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5a66fc
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5a6599
jmp 0x5a66fc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a66fc
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5a65d4
jmp 0x5a66fc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a66fc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5a6638
xor ebp, ebp
jmp 0x5a6648
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5a6651
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5a6619
jmp 0x5a66fc
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5a66fc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5a66cb
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005a36a4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5a6686
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5b6218
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x5b6269
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x5b6250
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x5b6240
jmp 0x5b6269
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x5b6251
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cada0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5cadce
mov eax, ebx
call fcn.005cb85c
cmp dword [ebx + 0x40], 0
je 0x5cadc7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5cae3f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5cae31
cmp dword [ebx + 8], 0
je 0x5cadf0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5cae02
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5cae31
cmp dword [ebx + 8], 0
je 0x5cade3
cmp eax, 3
je 0x5cae15
dec eax
jne 0x5cade3
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 0x5cade3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5cade3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5cae5d
cmp dword [ebx + 0x14], 0xcc
je 0x5cae5d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005cae68
pop ebx
ret
Function at 0x60c894
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x60c8b5
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x60c8b5
xor eax, eax
ret
mov al, 1
ret

Function at 0x63d89c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x63d8d8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63d8b4
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63d8c4
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x63d8d4
or bx, 2
mov eax, ebx
pop ebx
ret
Function at 0x673a38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407c54
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x673a51
test al, 0x10
jne 0x673a55
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x6944a4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x694672
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6ffbf8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0053b3d8
mov dl, 1
mov eax, dword [0x43fa54]
call fcn.00405160
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x5b34e0]
call fcn.005c5244
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x694655
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0044da3c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov ebx, dword [esi + 0x39c]
mov eax, dword [ebx + 0x1b8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x6ff868]
mov eax, dword [eax]
call fcn.0053df70
mov edx, 0x64
mov eax, dword [ebp - 4]
call fcn.005c55b0
mov eax, dword [esi + 0x398]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.005c556c
mov eax, dword [ebx + 0x1b8]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, ebx
call fcn.0049ad58
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, ebx
call fcn.0049ad8c
mov eax, dword [esi + 0x398]
call fcn.0049b008
mov edx, eax
sub edx, dword [ebx + 0x50]
sar edx, 1
jns 0x6945b0
adc edx, 0
mov eax, ebx
call fcn.0049acf0
mov eax, dword [esi + 0x398]
call fcn.0049b048
mov edx, eax
sub edx, dword [ebx + 0x54]
sar edx, 1
jns 0x6945ce
adc edx, 0
mov eax, ebx
call fcn.0049ad24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x69468c
call fcn.004212fc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + 0x43c]
mov eax, dword [eax + 0x278]
mov edx, 3
call fcn.0055d8e4
pop edx
call fcn.0055d840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69465c
mov eax, dword [ebp - 4]
call fcn.00405190
mov eax, dword [ebp - 8]
call fcn.00405190
mov eax, dword [0x6ffbf8]
mov eax, dword [eax]
xor edx, edx
call fcn.0053b3d8
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, reloc.untfs.dll_Recover
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x47b27a
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f807c34
push eax
mov dword fs:[0], esp
sub esp, 4
mov dword [ebp - 0x10], ecx
push ebx
push edi
call fcn.00475dc6
xor edi, edi
push 0xa
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004787b7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.004752bb
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [eax], 0x5f83bb38
mov dword [eax + 0x98], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], edi
mov dword [eax + 0x90], edi
mov dword [eax + 0x94], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xbc], edi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x30], 1
add eax, 0x50
push eax
call dword [0x5f845d08]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0xb4], edi
mov ecx, eax
mov dword [eax + 0x48], edi
mov dword [eax + 0x84], 0xffffffff
mov dword [eax + 0xb8], edi
call fcn.0047af01
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47b280
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f807c34
push eax
mov dword fs:[0], esp
sub esp, 4
mov dword [ebp - 0x10], ecx
push ebx
push edi
call fcn.00475dc6
xor edi, edi
push 0xa
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004787b7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.004752bb
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [eax], 0x5f83bb38
mov dword [eax + 0x98], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], edi
mov dword [eax + 0x90], edi
mov dword [eax + 0x94], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xbc], edi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x30], 1
add eax, 0x50
push eax
call dword [0x5f845d08]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0xb4], edi
mov ecx, eax
mov dword [eax + 0x48], edi
mov dword [eax + 0x84], 0xffffffff
mov dword [eax + 0xb8], edi
call fcn.0047af01
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a76a2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f833fc9
push eax
mov dword fs:[0], esp
sub esp, 4
mov dword [ebp - 0x10], ecx
push esi
call fcn.00475d56
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [eax], 0x5f8418b0
mov eax, dword [esi + 4]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x24], eax
mov esi, dword [esi + 0x10]
mov dword [edx + 0x28], esi
mov dword [edx + 0x2c], ecx
call fcn.004a65c0
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
pop esi
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x41e010
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040ecd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41e0db
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41e0db
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41e08e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41e099
or bh, 8
and edi, 0x8000000
je 0x41e0b4
mov eax, dword [0x1554bbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41e0db
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret