joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4840a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484300
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x484103
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00483b68
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dd54
cmp al, 1
jne 0x484103
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00483e80
test al, al
je 0x48428f
cmp dword [ebp - 8], 0
jge 0x484121
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00483b68
mov eax, dword [ebp - 0x210]
call fcn.00404ef8
cmp ebx, eax
jge 0x48416b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00483b68
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x58dc9c]
and eax, 0xff
bt dword [edx], eax
jae 0x48416b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48417f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048407c
cmp ebx, dword [ebp - 8]
je 0x484281
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4841ab
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ff0
and eax, 0x7f
movzx eax, word [eax*2 + 0x589430]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48426e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ff0
and eax, 0x7f
movzx eax, word [eax*2 + 0x589430]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044cb38
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ff0
and eax, 0x7f
movzx eax, word [eax*2 + 0x589430]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044cb38
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484275
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4842e2
cmp dword [ebp - 8], 0
jge 0x48429a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00483b68
mov eax, dword [ebp - 0x218]
call fcn.00404ef8
cmp eax, dword [ebp - 8]
jg 0x4842d4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00483b68
mov eax, dword [ebp - 0x21c]
call fcn.00404ef8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048407c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484307
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404c5c
ret
Function at 0x488800
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48882e
mov eax, ebx
call fcn.004892b4
cmp dword [ebx + 0x40], 0
je 0x488827
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48889f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x488891
cmp dword [ebx + 8], 0
je 0x488850
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 0x488862
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488891
cmp dword [ebx + 8], 0
je 0x488843
cmp eax, 3
je 0x488875
dec eax
jne 0x488843
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 0x488843
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x488843
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4888bd
cmp dword [ebx + 0x14], 0xcc
je 0x4888bd
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.004888c8
pop ebx
ret
Function at 0x4a57d8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x4a580d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.004a56e8
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.0052efd4
test al, al
je 0x4a58fd
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0042ea00
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042e93c
dec eax
pop edx
sub eax, edx
jl 0x4a58fd
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0042ea00
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0042e93c
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4a58f1
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x17]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x4a5887
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x4a5859
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4be05c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4be116
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405344
mov eax, dword [0x58dca8]
cmp dword [eax], 2
jne 0x4be0cb
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040558c
mov eax, dword [ebx]
call fcn.004054b0
push eax
mov eax, dword [ebx]
call fcn.004054a0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054b0
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040558c
jmp 0x4be0fd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a2e4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be11d
lea eax, [ebp - 0x3f0]
call fcn.00404c38
ret
Function at 0x4dccb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dcd21
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x58cc10]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4dcd0b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004dcca0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4db344]
call fcn.004ddcd8
mov dword [0x58cc78], eax
mov eax, dword [ebp - 4]
call fcn.004dcae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcd28
lea eax, [ebp - 8]
call fcn.00406880
ret

Function at 0x4ddb28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004050e8
xor eax, eax
push ebp
push 0x4ddc9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4db0bc]
call fcn.00416970
test eax, eax
jl 0x4ddb95
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.004dcda4
and eax, 0x7f
mov eax, dword [eax*4 + 0x58cc10]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4ddc1b
mov eax, dword [ebx]
call fcn.00404ef8
test eax, eax
jle 0x4ddc1b
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.00546d20
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00404c8c
mov eax, dword [ebx]
call fcn.00404ef8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4ddbd0
mov eax, ebx
mov edx, 0x4ddcb4
call fcn.00404f00
mov eax, dword [ebx]
call fcn.00404ef8
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.00409f80
mov eax, dword [ebp - 0x24]
call fcn.00405b8c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
call fcn.004dcca0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4ddc59
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x4ddcc0
call fcn.0040a7fc
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404c8c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4084e8]
call fcn.0040d348
call fcn.004045c8
mov eax, dword [ebp - 0x10]
call fcn.004ddaa0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4ddc71
lea eax, [ebp - 4]
call fcn.0040ef88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddca3
lea eax, [ebp - 0x28]
call fcn.00406880
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c5c
lea eax, [ebp - 8]
call fcn.00404c38
ret
Function at 0x4de948
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00403664
mov dword [esp], 0x3c
mov eax, dword [0x58dac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret

Function at 0x4df508
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4df674
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x58dc88]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x58dc88]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004645d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00476e58
xor edx, edx
push ebp
push 0x4df657
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4df5c5
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406880
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x368]
call fcn.004dd4e8
push eax
mov eax, dword [0x58dac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4df5bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404674
jmp 0x4df65e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df603
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00476a24
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004df39c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4df5dd
push 0
mov edx, 0x4df334
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.004765dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df65e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00476ea4
mov eax, dword [0x58dc88]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.004645d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df67b
lea eax, [ebp - 0x10]
call fcn.00406880
ret
Function at 0x4e3b98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 8]
lea edx, [ebp - 6]
lea eax, [ebp - 4]
call fcn.0040b438
push 2
lea eax, [ebp - 0x12]
push eax
push 0x100d
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
xor eax, eax
mov al, byte [ebp - 0x12]
sub eax, 0x30
jne 0x4e3c1d
mov cx, 1
mov dx, 1
mov ax, word [ebp - 4]
call fcn.0040b2b8
fstp qword [ebp - 0x10]
wait
push 0
push 7
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0040b498
movzx eax, ax
dec eax
cdq
push edx
push eax
fld qword [ebp + 8]
fsub qword [ebp - 0x10]
call fcn.00403000
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
call fcn.00405bdc
inc eax
mov word [ebp - 2], ax
jmp 0x4e3c31
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 8]
lea edx, [ebp - 2]
lea eax, [ebp - 4]
call fcn.004d0258
cmp word [ebp - 2], 0
je 0x4e3c3c
dec word [ebp - 2]
mov ax, word [ebp - 2]
mov esp, ebp
pop ebp
ret 8

Function at 0x4e4b88
Capabilities:
Get geographical location

Disassembly:
push ecx
mov dl, byte [eax + 0x290]
cmp dl, 7
jne 0x4e4bb4
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
xor eax, eax
mov al, byte [esp]
sub eax, 0x30
pop edx
ret
xor eax, eax
mov al, dl
pop edx
ret
Function at 0x4ed988
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00462f48
push 0
mov eax, ebx
call fcn.0044cb38
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x311], 1
pop ebx
ret

Function at 0x4f18c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x60], 0
jne 0x4f18e0
mov eax, ebx
call fcn.004f16a8
cmp dword [ebx + 0x54], 0
jne 0x4f18ed
mov eax, ebx
call fcn.004f1608
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4f1a76
cmp dword [ebx + 0x54], 0
je 0x4f1a76
mov edx, esp
mov eax, esi
call fcn.0054630c
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004f158c
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4f1953
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4f193c
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4f1948
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4f1969
call fcn.0044cb38
mov esi, eax
jmp 0x4f196c
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4f197d
or esi, 0xffffffff
jmp 0x4f1987
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
call fcn.00445a00
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.00445a24
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.00445a4c
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.00445a70
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00546358
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.00546a1c
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x60]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.0044cb38
push eax
call dword [0x58ef20]
push 4
mov eax, dword [ebx + 0x54]
call fcn.0044cb38
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f81b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f5714
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.005463bc
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x4f82f8
cmp edi, dword [ebp - 0x1c]
jge 0x4f82f8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004f5b14
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4f8234
mov ebx, esi
sar ebx, 1
jns 0x4f8234
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x4f824d
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4f824d
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4f82f8
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x4f826a
cmp eax, dword [ebp - 8]
jle 0x4f826a
mov dword [ebp - 0xc], 1
jmp 0x4f82f8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4f827b
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4f82f8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x4f8297
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4f8297
mov dword [ebp - 0xc], 5
jmp 0x4f82f8
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x4f82c7
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x4f82c7
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f82be
mov dword [ebp - 0xc], 4
jmp 0x4f82f8
mov dword [ebp - 0xc], 2
jmp 0x4f82f8
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x4f82f8
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4f82f8
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f82f1
mov dword [ebp - 0xc], 4
jmp 0x4f82f8
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8304
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f5714
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.005463d0
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x4f8440
cmp edi, dword [ebp - 0x1c]
jge 0x4f8440
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004f5b14
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4f837c
mov ebx, esi
sar ebx, 1
jns 0x4f837c
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x4f8395
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4f8395
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4f8440
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x4f83b2
cmp eax, dword [ebp + 8]
jle 0x4f83b2
mov dword [ebp - 8], 1
jmp 0x4f8440
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4f83c3
mov dword [ebp - 8], 0xffffffff
jmp 0x4f8440
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x4f83df
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x4f83df
mov dword [ebp - 8], 5
jmp 0x4f8440
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4f840f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x4f840f
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f8406
mov dword [ebp - 8], 4
jmp 0x4f8440
mov dword [ebp - 8], 2
jmp 0x4f8440
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x4f8440
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4f8440
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f8439
mov dword [ebp - 8], 4
jmp 0x4f8440
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x51d1b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x51d253
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x4c], edx
lea eax, [ebx + 8]
mov edx, esi
call fcn.00404c8c
lea esi, [ebp - 0x10]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.0040932c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
call fcn.00404c8c
mov eax, dword [ebx + 0xc]
call fcn.00404ef8
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d25a
lea eax, [ebp - 0x14]
call fcn.00404c38
ret

Function at 0x51eb20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51ebc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
lea edx, [esi + esi*4]
mov ecx, dword [ebx + 0x1c4]
mov edx, dword [ecx + edx*4 + 0x10]
call fcn.00404cd0
cmp word [ebx + 0x1d2], 0
je 0x51eb77
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1d4]
call dword [ebx + 0x1d0]
cmp dword [ebp - 8], 0
setne al
and al, byte [ebp - 1]
je 0x51ebae
xor eax, eax
mov al, byte [ebx + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004050f8
push eax
push 0x51ebd4
mov eax, dword [0x58dac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ebcb
lea eax, [ebp - 8]
call fcn.00404c38
ret