joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424030
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x424105
mov ecx, dword [esi + 0x3c]
mov eax, ecx
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x424068
cmp dword [esi + 0x40], ebx
jae 0x424068
push ecx
call fcn.004dd5d6
add esp, 4
mov dword [esi + 0x3c], 0
jmp 0x42406c
test eax, eax
jne 0x42407e
lea eax, [ebx + ebx]
push eax
call fcn.004dd5cd
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push eax
call fcn.004de9c0
xor edx, edx
add esp, 0xc
mov dword [ebp + 8], edx
test ebx, ebx
je 0x424102
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x583400]
movzx eax, cl
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
mov dword [esi + 0x30], ecx
mov ecx, edi
xor ecx, 1
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
shr edx, 8
xor edx, dword [eax*4 + 0x583400]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
jb 0x424092
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x424143
mov edx, dword [esi + 0x24]
mov ebx, dword [ebp + 0xc]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x42412a
pop edi
mov dword [esi + 0x14], 0x30000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
push ebx
add ecx, edx
push edi
push ecx
call fcn.004de9c0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x424165
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x424200
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
and ecx, 1
push 0
push 0x80
mov dword [ebp + 0xc], ecx
lea eax, [ecx + 3]
push eax
push 0
lea eax, [ecx + 2]
push 3
shl eax, 0x1e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
lea ebx, [edi + 0x10]
mov dword [ebx], ecx
cmp ecx, 0xffffffff
jne 0x42424b
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
or eax, esi
jne 0x42428f
lea eax, [ebp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 8]
xor edx, edx
add edx, eax
mov ecx, esi
mov dword [edi + 8], edx
adc ecx, 0
or edx, ecx
mov dword [edi + 0xc], ecx
jne 0x42429b
mov eax, ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 2
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
push 0
push eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
lea eax, [esi*2 + 2]
or eax, 0x8000000
push eax
push 0
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [edi + 0x14], ecx
test ecx, ecx
jne 0x4242de
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 3
pop ebx
pop ebp
ret 0x10
push 0
push 0
push 0
lea eax, [esi*2 + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi], eax
test eax, eax
jne 0x424321
push dword [edi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx]
call esi
mov dword [edi + 0x14], 0
mov eax, 4
pop edi
pop esi
mov dword [ebx], 0
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], eax
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x425390
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5f53ae
push ebx
mov ebx, dword [ebp + 0x14]
test edx, edx
push esi
mov esi, dword [ebp + 0x18]
cmovne eax, edx
push edi
push eax
push str._AUTOSTART
push str._WAITFORDATAPATH
push 0x583c10
lea eax, [ebp - 0x414]
mov edi, ecx
push 0x208
push eax
call fcn.004061a0
movzx eax, word [edi + 8]
add esp, 0x18
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
lea eax, [edi + 0xff9]
push eax
push str._s_s.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004061a0
add esp, 0x14
lea eax, [ebp - 0x628]
push eax
push 0x8007
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
je 0x425440
pop edi
pop esi
mov eax, 0xf013
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x628]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
call fcn.004185b0
add esp, 4
test esi, esi
jne 0x425478
movzx eax, word [edi + 8]
mov ecx, 0x6f0820
push esi
push eax
call fcn.0042ca60
mov esi, eax
push esi
lea eax, [ebp - 0x108]
push eax
push str._s_s.lnk
mov ecx, eax
push 0x104
push ecx
call fcn.004061a0
add esp, 0x14
cmp dword [ebp + 8], 0
jne 0x4254bd
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x10], 0
je 0x4254d5
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4254a8
lea eax, [ebp - 0x620]
push eax
push 0x5c2840
push 1
push 0
push 0x5c2870
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x425428
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x414]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
test ebx, ebx
push 0
cmovne eax, ebx
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
push 0x5c28a0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4255a0
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x624]
lea edx, [ebp - 0x61c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
sar esi, 0x1f
and esi, 0xf013
jmp 0x4255a5
mov esi, 0xf013
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x427fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x427fdd
xor eax, eax
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x428015
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push eax
push 1
call fcn.004e217e
mov edi, eax
add esp, 8
test edi, edi
je 0x428047
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42805a
push edi
call fcn.004e21e3
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, 0x52e
cmp dword [ebp - 8], esi
cmovb esi, dword [ebp - 8]
push esi
push edi
push dword [ebp + 0xc]
call fcn.004de9c0
push edi
call fcn.004e21e3
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42b750
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
push 0
push eax
mov dword [ebp - 0x210], ecx
mov byte [ebp - 0x108], 0
call fcn.004def40
push str..chm
push esi
call fcn.004de470
add esp, 0x14
test eax, eax
jne 0x42b7b4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
cmp eax, 0xffffffff
jne 0x42b7e8
mov eax, dword [ebp - 0x210]
add eax, 0xff9
push eax
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004061a0
add esp, 0x14
jmp 0x42b7fc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004e2189
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x1f
jne 0x42b87f
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push 0
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42b8ec
lea eax, [ebp - 0x108]
mov ecx, 0x6f0820
push eax
push 1
push 0x111
push 1
push 0xf007
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push 0
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x1c
mov eax, 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 8
test edi, edi
je 0x42b920
cmp byte [edi], 0
je 0x42b920
push 0x5839d4
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004ede81
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004ede81
add esp, 0x18
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b930
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x107]
push eax
call fcn.004de9c0
push 0x5839d8
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0x22
push 0x104
push eax
call fcn.004ede81
add esp, 0x18
lea eax, [ebp - 0x108]
push 1
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x42b9e6
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
movzx eax, word [0x6ef2f8]
mov ecx, 0x6f0820
push 0
push eax
call fcn.0042ca60
push eax
push 0
push 0x6ef2f0
call fcn.0042bbb0
add esp, 0x1c
mov eax, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 8
Function at 0x42c380
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov ecx, 0x6ef2f0
mov dword [ebp - 0x1c], ebx
movzx eax, word [esi + 0xc]
push eax
call fcn.004280d0
imul eax, eax, 0x11c
mov dword [ebp - 0x20], 0x200
add eax, dword [0x6f0a4c]
cmp dword [ebx + 0x1520], 0
mov dword [ebp - 0x18], eax
je 0x42c3d3
cmp dword [esi + 0x50], 0
je 0x42c511
push 0
push 0
push 0x83ef
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x50], 0
mov ebx, eax
jne 0x42c40f
test ebx, ebx
jne 0x42c413
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x1518]
test eax, eax
je 0x42c427
push eax
mov ecx, edi
call fcn.00424d90
jmp 0x42c427
test ebx, ebx
je 0x42c424
mov edi, dword [ebp - 0x1c]
cmp ebx, esi
je 0x42c427
push esi
mov ecx, edi
call fcn.00424d90
jmp 0x42c427
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test dword [eax + 0xc], 0x8000
jne 0x42c479
push dword [esi + 4]
call fcn.00419e10
add esp, 4
test al, al
je 0x42c476
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x42c46f
push 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x42c46f
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x42c476
mov dword [ebp - 0x20], 0x600
mov eax, dword [ebp - 0x18]
cmp word [eax + 2], 3
jne 0x42c4be
cmp byte [edi + 0x151c], 0
je 0x42c4be
cmp ebx, esi
mov ebx, dword [ebp - 0x18]
je 0x42c4c1
test dword [ebx + 0xc], 0x1000000
je 0x42c4a4
mov ecx, esi
call fcn.0043c780
test al, al
je 0x42c4c1
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0043ce00
jmp 0x42c4c1
mov ebx, dword [ebp - 0x18]
movzx eax, word [esi + 0xc]
mov ecx, 0x6ef2f0
push eax
call fcn.004280d0
cmp eax, 0xffffffff
je 0x42c511
imul edx, eax, 0x11c
mov eax, dword [ebx + 0xc]
shr eax, 5
not eax
and eax, 0x400
add edx, dword [0x6f0a4c]
or eax, 0x200
not eax
mov ecx, dword [edx + 0xc]
and eax, ecx
or eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
cmp ecx, eax
je 0x42c511
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
Function at 0x42c740
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004e72b5
lea eax, [ebp - 0x108]
push eax
call fcn.0041a100
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c7b5
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00418d80
add esp, 8
test eax, eax
je 0x42c7b5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push str.DFCWriteTest.tmp
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004ede81
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x42c807
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
Function at 0x42e770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp + 8]
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jle 0x42e79b
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
jmp 0x42e782
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42e940
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 4]
push 8
push 1
push 0
push 0x584a70
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x42e992
push eax
push 1
push eax
push 0x584a70
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x42e992
lea esi, [eax + 1]
jmp 0x42eaa0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [0x6073ac]
push 0x607318
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x42e9ba
lea esi, [eax + 2]
jmp 0x42eaa0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42e9dc
lea esi, [eax + 3]
jmp 0x42eaa0
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e9e4
push 0
sub ecx, esi
push ecx
push edx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42ea06
lea esi, [eax + 4]
jmp 0x42eaa0
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ea10
sub ecx, edx
lea edx, [edi - 1]
add edx, ecx
nop
mov cl, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x42ea31
movsx eax, cl
add eax, 0xffffffd0
jmp 0x42ea45
lea eax, [ecx - 0x61]
cmp al, 5
jbe 0x42ea3f
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x42ea4a
movsx eax, cl
add eax, 0xffffffc9
cmp eax, 0xffffffff
jne 0x42ea50
mov byte [edx], 0
dec edx
jmp 0x42ea20
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ea55
push 0
lea eax, [ebp - 0xc]
sub ecx, edx
push eax
push edi
mov dword [ebp - 0xc], ecx
call fcn.0042d3e0
add esp, 0xc
push 0
push 0x584a70
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
mov esi, eax
lea eax, [ebp - 0xc]
push 1
push eax
push edi
call fcn.0042d3e0
add esp, 0xc
neg esi
sbb esi, esi
neg esi
dec esi
pop edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x42eaae
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x42eabe
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4353a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
push ecx
push 0
push eax
push 0x103
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00406140
push dword [eax + 4]
push dword [eax]
call fcn.004ebc1e
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
call fcn.00419070
mov eax, dword [edi + 0x14]
push str.DidPfdXO19a07m
add eax, 0x100
push eax
push 0
call fcn.00420b40
mov esi, eax
add esp, 0x3c
test esi, esi
jne 0x43542c
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
push dword [edi]
lea eax, [ebp - 0x310]
push 0x5f599c
push 0x104
push eax
call fcn.004061a0
push dword [edi + 0x14]
lea eax, [ebp - 0x310]
push dword [edi + 0x18]
push eax
push esi
call fcn.00421110
add esp, 0x20
test eax, eax
je 0x4354a6
push esi
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x435489
call fcn.0041afc0
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
call fcn.00420a70
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x318]
push eax
push esi
call fcn.00421160
add esp, 0xc
test eax, eax
je 0x435509
push esi
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x4354ec
call fcn.0041afc0
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
call fcn.00420a70
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x314]
lea eax, [ebp - 0x108]
push dword [ebp - 0x318]
push eax
call fcn.0041a330
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x314]
jae 0x43556d
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x435543
call fcn.0041afc0
jmp 0x435548
call fcn.00420a70
add esp, 4
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 0xfffffffd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
call fcn.0041ba30
add esp, 4
push esi
test al, al
je 0x435581
call fcn.0041afc0
jmp 0x435586
call fcn.00420a70
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x314]
xor ecx, ebp
pop edi
pop esi
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret
Function at 0x437560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
add eax, 0xfffffdff
xor edi, edi
cmp eax, 7
ja case.0x437575.515
jmp dword [eax*4 + 0x4375d4]
mov edi, 1
jmp case.0x437575.515
mov edi, 2
jmp case.0x437575.515
mov edi, 4
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
shr eax, 0xf
mov esi, edi
or esi, 1
and al, 1
push 2
cmove esi, edi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 2
test al, 1
push 4
cmove edi, esi
call ebx
movzx ecx, ax
mov eax, edi
shr ecx, 0xf
or eax, 4
test cl, 1
cmove eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4