joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aa0e1
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x4aa306
test esi, esi
je 0x4aa306
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x874], ebx
mov dword [ebp - 0x870], ebx
mov dword [ebp - 0x86c], ebx
mov dword [ebp - 0x868], ebx
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
sub eax, ebx
je 0x4aa2d7
sub eax, 1
je 0x4aa179
sub eax, 1
je 0x4aa23f
sub eax, 1
jne 0x4aa2f1
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x4aa2d2
push ebx
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0047314d
test eax, eax
je 0x4aa2d2
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x4aa237
push ebx
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0047314d
test eax, eax
je 0x4aa237
cmp dword [ebp + 0x10], 1
jne 0x4aa297
test byte [ebp - 0x854], 0x10
jne 0x4aa2d2
test byte [ebp - 0x624], 0x10
jne 0x4aa237
mov ecx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x62c]
cmp dword [ebp - 0x858], ecx
ja 0x4aa237
jb 0x4aa2d2
cmp dword [ebp - 0x85c], eax
jb 0x4aa2d2
cmp dword [ebp - 0x858], ecx
jb 0x4aa2f1
ja 0x4aa237
cmp dword [ebp - 0x85c], eax
jbe 0x4aa2f1
xor ebx, ebx
inc ebx
jmp 0x4aa2f1
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0xddc]
push 0x408
push 0x2b4
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x4aa2f1
push 0x408
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x4aa2f1
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x4aa2f1
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.004a9819
test al, al
jne 0x4aa2d2
push dword [ebp - 0x638]
lea ecx, [ebp - 0x86c]
push dword [ebp - 0x63c]
call fcn.004a9838
xor ebx, ebx
test al, al
setne bl
jmp 0x4aa2f1
or ebx, 0xffffffff
jmp 0x4aa2f1
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x4aa2ee
xor eax, eax
jmp 0x4aa2f3
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00564ee1
mov esp, ebp
pop ebp
ret 0xc
call fcn.004465fa
int3
Function at 0x4abdf1
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x59a282
call fcn.00565b18
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00438ae8
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5ea858
call fcn.00438cd1
cmp eax, 0xffffffff
jne 0x4abea5
push 0
push 0x5ec9b0
lea ecx, [ebp - 0x4d0]
call fcn.00438cd1
cmp eax, 0xffffffff
jne 0x4abea5
push 0
push 0x5eb1e8
lea ecx, [ebp - 0x4d0]
call fcn.00438cd1
cmp eax, 0xffffffff
jne 0x4abea5
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00438ae8
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4abe81
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.0040d320
jmp 0x4abed4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0041fb20
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040d320
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4abecb
mov ebx, dword [ebp - 0x4cc]
jmp 0x4abed4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0040d320
mov eax, ebx
call fcn.00565ac2
ret
Function at 0x4b29d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push ecx
push 0x54
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jne 0x4b29ff
xor eax, eax
jmp 0x4b2a84
cmp word [ebp - 0x46], 0x20
jne 0x4b29f8
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4b29f8
push ebx
push esi
mov esi, dword [ebp - 0x50]
imul esi, dword [ebp - 0x54]
cmp dword [ebp + 0xc], 0
je 0x4b2a40
xor edx, edx
test esi, esi
jle 0x4b2a7f
lea eax, [ecx + 3]
mov bl, byte [eax]
cmp byte [eax - 1], bl
ja 0x4b2a40
cmp byte [eax - 2], bl
ja 0x4b2a40
cmp byte [eax - 3], bl
ja 0x4b2a40
add eax, 4
inc edx
cmp edx, esi
jl 0x4b2a25
jmp 0x4b2a7f
test esi, esi
jle 0x4b2a7f
push edi
lea edi, [ecx + 1]
mov ebx, 0xff
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 1]
imul eax, ecx
cdq
idiv ebx
mov byte [edi + 1], al
movzx eax, byte [edi]
imul eax, ecx
cdq
idiv ebx
mov byte [edi], al
lea edi, [edi + 4]
movzx eax, byte [edi - 5]
imul eax, ecx
cdq
idiv ebx
mov byte [edi - 5], al
sub esi, 1
jne 0x4b2a4d
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret 8

Function at 0x4c97c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00444133
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0043d23b
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x4c9838
cmp esi, 3
jne 0x4c9827
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4c9838
xor eax, eax
jmp 0x4c988d
cmp esi, 0xa
jl 0x4c9842
cmp esi, 0x11
jle 0x4c9847
cmp esi, 4
jne 0x4c988b
test edi, 0x800
je 0x4c9854
push 2
pop eax
jmp 0x4c988d
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x4c988b
mov eax, esi
sub eax, 4
je 0x4c98d8
sub eax, 9
je 0x4c98c4
sub eax, 1
je 0x4c98b4
dec eax
sub eax, 1
je 0x4c98a0
sub eax, 1
je 0x4c98d8
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00564ee1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x4c988d
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x4c988d
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x4c988d
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x4c988d
Function at 0x4d4835
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x4d49de
je 0x4d4a08
cmp eax, 0xa1
jb 0x4d4a4b
cmp eax, 0xa2
jbe 0x4d4a08
cmp eax, 0xa3
jbe 0x4d4a4b
cmp eax, 0xa5
jbe 0x4d4a08
cmp eax, 0xa6
jbe 0x4d4a4b
cmp eax, 0xa8
jbe 0x4d4a08
cmp eax, 0x100
jne 0x4d4a4b
cmp dword [esi + 0xc0], 0xffffffff
je 0x4d4a08
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d4a06
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x4d4966
sub eax, 1
jne 0x4d4a06
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x4d4919
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4d491f
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x4d48ef
jmp 0x4d495e
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00444570
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x4d4a71
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x4d495e
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4d49a1
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x4d4979
jmp 0x4d495e
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00444570
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x4d4957
cmp eax, 0x200
jb 0x4d4a4b
cmp eax, 0x202
jbe 0x4d4a08
cmp eax, 0x203
jbe 0x4d4a4b
cmp eax, 0x205
jbe 0x4d4a08
add eax, 0xfffffdf9
cmp eax, 1
ja 0x4d4a4b
jmp 0x4d4a08
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4d4a28
cmp dword [eax + 0x20], 0
je 0x4d4a28
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4d4a49
cmp dword [eax + 0x20], 0
je 0x4d4a49
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x4d4a69
lea eax, [esi + 0x2250]
test eax, eax
je 0x4d4a61
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x4d495e
push edi
mov ecx, esi
call fcn.004cf3b1
pop edi
pop esi
pop ebp
ret 4
Function at 0x4f2f6b
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x4f2fb0
test edi, edi
js 0x4f2fb0
cmp eax, 0x20
je 0x4f2fa5
cmp bx, 0x71
jne 0x4f2fb0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x516ae2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x516b05
xor eax, eax
jmp 0x516bdb
cmp dword [ebp + 0xc], 0
je 0x516afe
xor ebx, ebx
call fcn.0044811b
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x516afe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x516afe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x516bf1
push eax
call fcn.00578560
inc eax
pop ecx
mov dword [ebp - 8], eax
lea edx, [eax + eax]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x516ba9
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
and eax, ecx
lea ecx, [edx + 8]
cmp eax, 0x400
ja 0x516b8b
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.00565e40
mov esi, esp
test esi, esi
je 0x516bf1
mov dword [esi], 0xcccc
jmp 0x516ba4
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.0056d099
mov esi, eax
pop ecx
test esi, esi
je 0x516bf1
mov dword [esi], 0xdddd
add esi, 8
jmp 0x516bab
mov esi, ebx
test esi, esi
je 0x516bf1
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.004455da
test eax, eax
je 0x516bcb
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00518486
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.0041a530
pop ecx
mov eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret 8
call fcn.004465fa
int3
Function at 0x523b7d
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x59efb9
call fcn.00565b18
mov ebx, ecx
mov dword [ebp - 0x230], ebx
call fcn.0054c318
push 0x1c4
call fcn.004380d3
pop ecx
mov dword [ebp - 0x22c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x523bc0
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.00550348
jmp 0x523bc2
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0054b764
call fcn.0044811b
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.00577ee4
mov esi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
mov dword [ebp - 0x22c], esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x523dd9
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x228], eax
test edi, edi
je 0x523dd3
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x523dd3
call fcn.004455f1
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040dcb0
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x218]
push esi
push ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x523db7
push 0x5b4ae4
mov esi, 0x5b4aec
lea ecx, [ebp - 0x21c]
push esi
call fcn.0045c110
push esi
push 0x5ec5f8
lea ecx, [ebp - 0x21c]
call fcn.0045c110
push esi
push 0x5b4ae4
lea ecx, [ebp - 0x21c]
call fcn.0045c110
call fcn.004455f1
push eax
lea ecx, [ebp - 0x220]
call fcn.0040dcb0
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x523ced
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__Ts
push eax
call fcn.0040de40
add esp, 0xc
jmp 0x523d1f
jge 0x523d0d
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__Ts
push eax
call fcn.0040de40
add esp, 0x10
jmp 0x523d1f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004386cf
push 0x1c4
call fcn.004380d3
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x523d49
mov ecx, eax
call fcn.004f9192
mov ecx, eax
mov dword [ebp - 0x224], eax
jmp 0x523d51
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x220]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0xe110]
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push ebx
mov ecx, edi
call fcn.0043aca7
mov ecx, dword [ebp - 0x224]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0054b764
inc dword [ebp - 0x228]
lea ecx, [esi - 0x10]
call fcn.0040d320
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040d320
inc ebx
cmp ebx, dword [edi + 4]
jl 0x523c42
call fcn.00565ac2
ret
call fcn.005659d1
int3
Function at 0x529a84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x529aa3
or ecx, 0xffffffff
jmp 0x529aa9
mov ecx, dword [0x611720]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x611c10
call fcn.004482ad
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x529b4d
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x529b4d
test edi, edi
je 0x529afe
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x611c48
call fcn.004482ad
pop ecx
pop ecx
mov ebx, eax
jmp 0x529b00
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x529b58
test ebx, ebx
je 0x529b39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x529b4d
cmp dword [ebp - 4], 0
je 0x529b39
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x529b4f
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x529b4d
test edi, edi
je 0x529b4d
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x529b4d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x529b4d
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x529b4f
Function at 0x52b92b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x61d410]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x61c45c]
cmp eax, dword [edx + 4]
jg 0x52b9f5
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x52ba35
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x52b9ec
cmp dword [eax + 0x20], 0
je 0x52b9ec
test eax, eax
je 0x52b979
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x52b9ec
mov eax, dword [edi + 4]
sub eax, 1
je 0x52b9c0
sub eax, 1
je 0x52b996
sub eax, 1
jne 0x52b9ec
mov esi, 0x428e
jmp 0x52b9c5
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x52b9c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x52b9c5
add esi, 3
jmp 0x52b9c5
mov esi, 0x3ea0
push esi
call fcn.004483e5
test eax, eax
je 0x52ba35
push esi
push eax
mov ecx, 0x61c458
call fcn.004390bb
test eax, eax
je 0x52ba35
mov eax, dword [0x61c458]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x52b9ee
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov esi, 0x61c45c
push esi
call fcn.005652df
cmp dword [0x61c45c], 0xffffffff
pop ecx
jne 0x52b953
call fcn.004455f1
push eax
mov ecx, 0x61c458
call fcn.0040dcb0
push 0x5a23ce
call fcn.00565156
push esi
call fcn.005652a0
pop ecx
pop ecx
jmp 0x52b953
call fcn.004465fa
int3
Function at 0x565631
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0x1e7], 0x72
mov byte [ebp - 0x1e6], 0x6f
mov byte [ebp - 0x1e5], 0x63
mov byte [ebp - 0x1e4], 0x65
mov byte [ebp - 0x1e3], 0x73
mov byte [ebp - 0x1e2], 0x73
mov byte [ebp - 0x1e1], 0
push edx
push esi
add esp, 4
xor edx, 0x9087
add byte [eax], al
xor edx, 0x12512
sub edx, 0xc52f
and edx, 0x140b5
loop 0x5655f7
inc eax
add dword [eax], eax
loop 0x5655f7
inc eax
add dword [eax], eax
pop edx
push eax
or eax, 0x97e5
pop eax
push eax
push ebx
add esp, 4
and eax, 0x80c5
pop eax
mov eax, 0x6b
mov word [ebp - 0x55c], ax
mov ecx, 0x65
mov word [ebp - 0x55a], cx
mov edx, 0x72
mov word [ebp - 0x558], dx
mov eax, 0x6e
mov word [ebp - 0x556], ax
mov ecx, 0x65
mov word [ebp - 0x554], cx
mov edx, 0x6c
mov word [ebp - 0x552], dx
mov eax, 0x33
mov word [ebp - 0x550], ax
mov ecx, 0x32
mov word [ebp - 0x54e], cx
mov edx, 0x2e
mov word [ebp - 0x54c], dx
mov eax, 0x64
mov word [ebp - 0x54a], ax
mov ecx, 0x6c
mov word [ebp - 0x548], cx
mov edx, 0x6c
mov word [ebp - 0x546], dx
xor eax, eax
mov word [ebp - 0x544], ax
push edi
push ecx
add esp, 4
add edi, 0x949e
or edi, 0x145c7
and edi, 0x9eb2
xor edi, 0x16220
pop edi
push eax
add eax, 0x11ebb
add eax, 0x17ed3
or eax, 0x3b22
pop eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x6d0], ecx
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x6d4], eax
mov ecx, dword [ebp - 0x6d4]
mov dword [ebp - 0x4b4], ecx
push edi
push ecx
add esp, 4
add edi, 0xfb11
pop edi
push esi
push edx
add esp, 4
invalid
out dx, al
Function at 0x565640
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov byte [ebp - 0x1e7], 0x72
mov byte [ebp - 0x1e6], 0x6f
mov byte [ebp - 0x1e5], 0x63
mov byte [ebp - 0x1e4], 0x65
mov byte [ebp - 0x1e3], 0x73
mov byte [ebp - 0x1e2], 0x73
mov byte [ebp - 0x1e1], 0
push edx
push esi
add esp, 4
xor edx, 0x9087
add byte [eax], al
xor edx, 0x12512
sub edx, 0xc52f
and edx, 0x140b5
loop 0x5655f7
inc eax
add dword [eax], eax
loop 0x5655f7
inc eax
add dword [eax], eax
pop edx
push eax
or eax, 0x97e5
pop eax
push eax
push ebx
add esp, 4
and eax, 0x80c5
pop eax
mov eax, 0x6b
mov word [ebp - 0x55c], ax
mov ecx, 0x65
mov word [ebp - 0x55a], cx
mov edx, 0x72
mov word [ebp - 0x558], dx
mov eax, 0x6e
mov word [ebp - 0x556], ax
mov ecx, 0x65
mov word [ebp - 0x554], cx
mov edx, 0x6c
mov word [ebp - 0x552], dx
mov eax, 0x33
mov word [ebp - 0x550], ax
mov ecx, 0x32
mov word [ebp - 0x54e], cx
mov edx, 0x2e
mov word [ebp - 0x54c], dx
mov eax, 0x64
mov word [ebp - 0x54a], ax
mov ecx, 0x6c
mov word [ebp - 0x548], cx
mov edx, 0x6c
mov word [ebp - 0x546], dx
xor eax, eax
mov word [ebp - 0x544], ax
push edi
push ecx
add esp, 4
add edi, 0x949e
or edi, 0x145c7
and edi, 0x9eb2
xor edi, 0x16220
pop edi
push eax
add eax, 0x11ebb
add eax, 0x17ed3
or eax, 0x3b22
pop eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x6d0], ecx
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x6d4], eax
mov ecx, dword [ebp - 0x6d4]
mov dword [ebp - 0x4b4], ecx
push edi
push ecx
add esp, 4
add edi, 0xfb11
pop edi
push esi
push edx
add esp, 4
invalid
out dx, al