joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ed6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x47ed7f
add esp, 0xfffffff0
call fcn.004036b4
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404558
xor eax, eax
push ebp
push 0x47ee1c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 0x20]
mov edx, dword [ebp - 4]
call fcn.0040414c
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
mov al, byte [0x47ee44]
mov byte [edi + 0x30], al
mov byte [edi + 0x31], 0x10
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x40], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47c7e4]
call fcn.0047cbec
mov dword [edi + 0x44], eax
mov dl, 1
mov eax, dword [0x47a0e4]
call fcn.0047a76c
mov esi, eax
mov dword [edi + 0x48], esi
mov dword [esi + 0xc], edi
mov dword [esi + 8], 0x480034
mov dl, 1
mov eax, dword [0x479dd0]
call fcn.0047a76c
mov esi, eax
mov dword [edi + 0x4c], esi
mov dword [esi + 0xc], edi
mov dword [esi + 8], 0x480034
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ee23
lea eax, [ebp - 4]
call fcn.004040f8
ret

Function at 0x487f30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488008
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x585020], 0
jne 0x487fec
lea eax, [ebp - 4]
mov edx, 0x488020
call fcn.00404190
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404568
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x487fec
mov eax, ebx
call fcn.004029f4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x487fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x487fcf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x488030
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x487fcf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x585020], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fec
mov eax, dword [ebp - 0xc]
call fcn.00402a0c
ret
mov ebx, dword [0x585020]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48800f
lea eax, [ebp - 4]
call fcn.004040f8
ret
Function at 0x4a0dec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, dword [0x581870]
mov eax, dword [eax]
mov ax, word [eax + 0x38]
mov word [ebp - 4], ax
mov eax, dword [0x581870]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045603c
xor eax, eax
push ebp
push 0x4a0e66
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, esi
call fcn.00404568
push eax
push 0
mov eax, dword [ebx + 0x24]
call fcn.0043e450
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e6d
mov eax, dword [0x581870]
mov eax, dword [eax]
mov dx, word [ebp - 4]
call fcn.0045603c
ret
Function at 0x4a4f78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
xor edx, edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a514c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0xc1]
push eax
push 0x81
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
test eax, eax
je 0x4a50c7
lea eax, [ebp - 0xc1]
mov dword [ebp - 8], eax
jmp 0x4a50bb
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042c0
cmp dword [ebp - 0xc], 0
je 0x4a50af
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x4a50a8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
call fcn.00467998
test al, al
je 0x4a5091
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
jne 0x4a5091
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
call fcn.004040f8
push eax
lea eax, [ebp - 0x10]
call fcn.004040f8
mov edx, eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
pop ecx
call fcn.00467a04
push dword [ebp - 0xc]
push 0x4a5160
push dword [ebp - 0x10]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00404464
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x1f0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a50af
mov eax, dword [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
mov eax, dword [ebp - 0xc]
call fcn.004043a4
inc eax
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x4a4fdf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x1f0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4a5116
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x324]
mov eax, dword [ebx + 0x1f0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 2
mov eax, ebx
call fcn.0042f68c
jmp 0x4a5126
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
xor edx, edx
call fcn.0042f68c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5153
lea eax, [ebp - 0xc8]
call fcn.004040f8
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040411c
ret
Function at 0x4ab2e4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404558
xor eax, eax
push ebp
push 0x4ab39f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [0x57b990]
call fcn.0040414c
mov esi, 4
mov ebx, 0x57b990
mov edx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040c080
test eax, eax
jne 0x4ab339
mov eax, dword [ebp - 8]
mov edx, dword [ebx]
call fcn.0040414c
add ebx, 4
dec esi
jne 0x4ab321
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [0x57b990]
call fcn.004044b4
jne 0x4ab389
call sub.KERNEL32.DLL_GetUserDefaultLangID
and ax, 0x3ff
mov word [ebp - 0xa], ax
mov esi, 3
mov ebx, 0x57b9a0
mov edi, 0x57b994
mov ax, word [ebx]
cmp ax, word [ebp - 0xa]
jne 0x4ab380
mov eax, dword [ebp - 8]
mov edx, dword [edi]
call fcn.0040414c
add edi, 4
add ebx, 2
dec esi
jne 0x4ab36d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab3a6
lea eax, [ebp - 4]
call fcn.004040f8
ret
Function at 0x4aeee8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
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 0x4af147
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4aef4a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ae9b0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040fa74
cmp al, 1
jne 0x4aef4a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004aecc8
test al, al
je 0x4af0d6
cmp dword [ebp - 8], 0
jge 0x4aef68
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.004ae9b0
mov eax, dword [ebp - 0x210]
call fcn.004043a4
cmp ebx, eax
jge 0x4aefb2
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ae9b0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x581884]
and eax, 0xff
bt dword [edx], eax
jae 0x4aefb2
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x4aefc6
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004aeec4
cmp ebx, dword [ebp - 8]
je 0x4af0c8
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 0x4aeff2
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403550
and eax, 0x7f
movzx eax, word [eax*2 + 0x57ba2c]
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 + 0x224], 1
xor eax, eax
push ebp
push 0x4af0b5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403550
and eax, 0x7f
movzx eax, word [eax*2 + 0x57ba2c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043e450
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403550
and eax, 0x7f
movzx eax, word [eax*2 + 0x57ba2c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043e450
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af0bc
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x4af129
cmp dword [ebp - 8], 0
jge 0x4af0e1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ae9b0
mov eax, dword [ebp - 0x218]
call fcn.004043a4
cmp eax, dword [ebp - 8]
jg 0x4af11b
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ae9b0
mov eax, dword [ebp - 0x21c]
call fcn.004043a4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004aeec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af14e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040411c
ret
Function at 0x4cd2f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4cd32c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4cd30a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4cd319
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4cd328
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4db920
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4db984
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404338
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0040c4f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db98b
lea eax, [ebp - 0xc]
call fcn.004040f8
ret

Function at 0x4ec1d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0xf
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ec237
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x4ec230
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xchg edx, eax
call fcn.004ec4b4
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec237
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ec99c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x4eca02
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ec9ea
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4ec6ec]
call fcn.004ecc48
mov ebx, eax
lea edx, [ebp - 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xa8]
jmp 0x4ec9ec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eca09
lea eax, [ebp - 8]
call fcn.00406798
ret
Function at 0x4ecc48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4ecc5b
add esp, 0xfffffff0
call fcn.004036b4
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403344
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x76], 0xffffffff
mov dword [ebx + 0x7a], 0xffffffff
mov dword [ebx + 0xae], 0xffffffff
mov dword [ebx + 0xb2], 0xffffffff
or word [ebx + 0x48], 0x10
or word [ebx + 0x48], 0x20
or word [ebx + 0x48], 0x40
mov dl, 1
mov eax, ebx
call fcn.004ef4d8
mov dword [ebx + 0x1c], 0xffffffff
test esi, esi
jne 0x4ecd07
test edi, edi
je 0x4eccca
mov edx, edi
mov eax, dword [0x5852e8]
call fcn.004eff20
test al, al
je 0x4eccf1
test edi, edi
jne 0x4ecce6
lea eax, [ebx + 0x2c]
push eax
push 0
mov eax, dword [0x58166c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
jmp 0x4ecce9
mov dword [ebx + 0x2c], edi
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 4], eax
jmp 0x4ecd4e
mov esi, edi
mov dword [ebx + 4], esi
mov edx, esi
mov eax, dword [0x5852e8]
call fcn.004efec0
mov dword [ebx + 0x2c], eax
jmp 0x4ecd4e
mov edx, dword [esi + 4]
mov eax, dword [0x5852e8]
call fcn.004eff20
test al, al
je 0x4ecd20
mov dword [ebx + 0x2c], edi
mov dword [ebx + 4], edi
jmp 0x4ecd4e
mov ecx, edi
mov edx, dword [esi + 4]
mov eax, dword [0x5852e8]
call fcn.004efd64
mov dword [ebx + 4], eax
mov edx, dword [ebx + 4]
mov eax, dword [0x5852e8]
call fcn.004efec0
mov dword [ebx + 0x2c], eax
mov edx, edi
mov eax, dword [0x5852e8]
call fcn.004efeb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ecd65
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4edec0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
mov esi, ecx
mov ebx, 0x400c
mov edx, dword [ebp + 8]
cmp byte [edx - 5], 1
jne 0x4edee0
or ebx, 0
jmp 0x4edee3
or ebx, 1
test al, al
je 0x4edeea
or ebx, 2
call fcn.004eb76c
test al, al
je 0x4edf3b
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00402f3c
push ebx
push 0x2b4
lea eax, [ebp - 0x414]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x58184c]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4edf35
mov eax, dword [ebp - 0x410]
mov dword [esi], eax
jmp 0x4edf7d
xor eax, eax
mov dword [esi], eax
jmp 0x4edf7d
lea eax, [ebp - 0x160]
xor ecx, ecx
mov edx, 0x160
call fcn.00402f3c
push ebx
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4edf79
mov eax, dword [ebp - 0x15c]
mov dword [esi], eax
jmp 0x4edf7d
xor eax, eax
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eef2c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x424], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ef170
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x44], 0
jne 0x4ef122
call fcn.004eb76c
test al, al
je 0x4ef061
mov eax, 4
call fcn.004029f4
mov esi, eax
mov dword [ebx + 0x44], esi
mov eax, esi
mov edx, dword [0x4010e0]
call fcn.00404e94
cmp dword [ebx + 0x44], 0
je 0x4ef122
push 0x408
push 0x2b4
lea eax, [ebp - 0x414]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
mov eax, dword [0x58184c]
mov eax, dword [eax]
call eax
mov eax, dword [ebx + 0x44]
lea edx, [ebp - 0x200]
mov ecx, 0x50
call fcn.00404954
mov eax, dword [ebx + 0x44]
mov eax, dword [eax]
xor edx, edx
call fcn.00404b0c
jne 0x4ef122
lea edx, [ebp - 0x424]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x420]
call fcn.004f0260
mov edx, dword [ebp - 0x420]
lea eax, [ebp - 0x41c]
call fcn.0040436c
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x418]
call fcn.0040bfe0
lea eax, [ebp - 0x418]
mov edx, 0x4ef188
call fcn.004043ac
mov edx, dword [ebp - 0x418]
mov eax, dword [ebx + 0x44]
call fcn.00404970
jmp 0x4ef122
mov eax, 4
call fcn.004029f4
mov esi, eax
mov dword [ebx + 0x44], esi
mov eax, esi
mov edx, dword [0x4010e0]
call fcn.00404e94
cmp dword [ebx + 0x44], 0
je 0x4ef122
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebx + 0x44]
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.0040493c
mov eax, dword [ebx + 0x44]
mov eax, dword [eax]
xor edx, edx
call fcn.00404b0c
jne 0x4ef122
lea edx, [ebp - 0x434]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x430]
call fcn.004f0260
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x42c]
call fcn.0040436c
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x428]
call fcn.0040bfe0
lea eax, [ebp - 0x428]
mov edx, 0x4ef188
call fcn.004043ac
mov edx, dword [ebp - 0x428]
mov eax, dword [ebx + 0x44]
call fcn.00404970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef177
lea eax, [ebp - 0x434]
mov edx, 2
call fcn.004047c0
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.0040411c
lea eax, [ebp - 0x424]
mov edx, 2
call fcn.004047c0
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.0040411c
ret
Function at 0x4f018c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f01fd
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4f01e5
mov eax, dword [0x581898]
cmp dword [eax], 2
jne 0x4f01bc
push ebx
mov eax, dword [0x5816a0]
mov eax, dword [eax]
call eax
jmp 0x4f01d4
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004042f0
mov eax, dword [ebp - 4]
call fcn.00404568
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4f01dd
test al, 0x10
jne 0x4f01e1
xor ebx, ebx
jmp 0x4f01e7
mov bl, 1
jmp 0x4f01e7
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0204
lea eax, [ebp - 4]
call fcn.004040f8
ret
Function at 0x4f3624
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x4f3654
mov eax, ebx
call fcn.004f4148
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x4f364d
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x4f36cc
mov ecx, dword [ebx + 0x1b0]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4f36be
mov edx, dword [ebx + 8]
test edx, edx
je 0x4f367a
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b0]
call dword [edx]
test eax, eax
jne 0x4f368c
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f36be
mov edx, dword [ebx + 8]
test edx, edx
je 0x4f366c
cmp eax, 3
je 0x4f36a0
dec eax
jne 0x4f366c
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x4f366c
mov edx, dword [ebx + 0x13c]
add dword [eax + 8], edx
jmp 0x4f366c
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], eax
jmp 0x4f36ec
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x4f36ec
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x15
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.004f36f8
pop ebx
ret

Function at 0x505b08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x505b36
mov eax, ebx
call fcn.005065ac
cmp dword [ebx + 0x3c], 0
je 0x505b2f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x505ba7
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x505b99
cmp dword [ebx + 8], 0
je 0x505b58
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 0x505b6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x505b99
cmp dword [ebx + 8], 0
je 0x505b4b
cmp eax, 3
je 0x505b7d
dec eax
jne 0x505b4b
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 0x505b4b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x505b4b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x505bc5
cmp dword [ebx + 0x10], 0xcc
je 0x505bc5
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.00505bd0
pop ebx
ret
Function at 0x50ffcc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x585370
test esi, esi
jne 0x50ffe6
xor eax, eax
jmp 0x5100e8
cmp dword [ebp], 0
jne 0x50fff1
call fcn.0050ff5c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x5100c1
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x50fffd
test edi, edi
jbe 0x5100e3
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x5100c5
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5378bc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004047a8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x53790b
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404954
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x537910
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret