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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457fac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457f8d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457f9c
or bl, 4
test esi, 0x20000000
je 0x457fa7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e670
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e682
add esp, 0xfffffff0
call fcn.00403890
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421a78
mov eax, dword [0x49c1f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ea14
mov eax, dword [0x49c200]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ea20
mov eax, ebx
call fcn.0045ea2c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4167ac]
call fcn.004034e8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4167ac]
call fcn.004034e8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4167ac]
call fcn.004034e8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4167ac]
call fcn.004034e8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4167ac]
call fcn.004034e8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45ae44
push eax
push 0
push 0
mov eax, dword [0x49c414]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423558]
call fcn.00424cf0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423558]
call fcn.00424cf0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423558]
call fcn.00424cf0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ee7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed44
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed44
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ed44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e7bf
call fcn.004038e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45eb28
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ecd3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ecb4
mov dl, 1
mov eax, dword [0x416e10]
call fcn.004034e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404368
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45eca3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044c808
test al, al
je 0x45ec96
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45ece4
lea eax, [ebp - 0x254]
call fcn.004093ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ec96
xor eax, eax
push ebp
push 0x45ec8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45ed1c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ec78
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045d8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ec78
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec96
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45eb99
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b500
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ecda
lea eax, [ebp - 0x260]
call fcn.00404368
ret

Function at 0x45f61c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49db50]
cmp byte [eax + 0xa5], 0
jne 0x45f68d
cmp dword [0x49db68], 0
jne 0x45f64e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f5d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49db68], eax
cmp dword [0x49db64], 0
jne 0x45f669
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49db64], eax
cmp dword [0x49db6c], 0
jne 0x45f68d
push esp
push 0
push 0
push 0x45f57c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49db6c], eax
pop edx
ret
Function at 0x45fd20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49db50]
cmp dword [eax + 0x30], 0
je 0x45fdca
cmp dword [ebx + 0x94], 0
jne 0x45fdc4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fcb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fdc4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45fd8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fdc4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419090
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fd99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460928
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46095d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404458
jmp 0x46096a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461a7c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461abd
mov eax, esi
call fcn.00447d3c
test al, al
je 0x461abd
mov eax, dword [ebx + 0x84]
call fcn.00447a38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461abd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447a38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462e20
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040702c
ret
Function at 0x477f88
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x477fb6
mov eax, ebx
call fcn.00478a3c
cmp dword [ebx + 0x40], 0
je 0x477faf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x478027
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x478019
cmp dword [ebx + 8], 0
je 0x477fd8
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 0x477fea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478019
cmp dword [ebx + 8], 0
je 0x477fcb
cmp eax, 3
je 0x477ffd
dec eax
jne 0x477fcb
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 0x477fcb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x477fcb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x478045
cmp dword [ebx + 0x14], 0xcc
je 0x478045
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.00478050
pop ebx
ret

Function at 0x49372c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
push ebx
xor ecx, ecx
mov dword [ebp - 0x2a4], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404818
xor eax, eax
push ebp
push 0x493892
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19e]
push eax
push 0x101
call sub.ws2_32.dll_WSAStartup
xor edx, edx
push ebp
push 0x49386a
push dword fs:[edx]
mov dword fs:[edx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x29e]
push eax
call sub.ws2_32.dll_gethostname
lea eax, [ebp - 0x29e]
mov edx, dword [ebp - 4]
call fcn.00408dfc
lea eax, [ebp - 0x29e]
push eax
call sub.ws2_32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x493853
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x49384d
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x493847
lea eax, [ebp - 0x2a4]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
lea edx, [ebp - 0x2c4]
mov ecx, 3
mov eax, 0x4938ac
call fcn.00409484
mov edx, dword [ebp - 0x2a4]
mov eax, ebx
call fcn.004043bc
mov byte [ebp - 5], 1
jmp 0x493857
mov byte [ebp - 5], 0
jmp 0x493857
mov byte [ebp - 5], 0
jmp 0x493857
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493871
call sub.ws2_32.dll_WSACleanup
ret
Function at 0x4033bd
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0e41
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
lea esi, [edi + 0x11c]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], esi
test eax, eax
je 0x403595
push 0
push 0
push 0x130b
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov dword [esp + 0x18], eax
call fcn.0040415c
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00403d80
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
and dword [esp + 0xf8], 0
lea ecx, [esp + 0x3c]
lea esi, [edi + 0x24]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov byte [esp + 0xf8], 1
push dword [esp + 0x1c]
push eax
push 0x138d
lea eax, [esp + 0x64]
push eax
call fcn.0047abd5
mov byte [esp + 0xf8], 2
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 8]
mov byte [esp + 0xf8], 1
lea eax, [esp + 0x58]
push eax
call fcn.004022bc
mov byte [esp + 0xf8], 0
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00401800
or dword [esp + 0xf8], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00401800
push ebx
push dword [edi + 0x100]
lea eax, [esp + 0xac]
push eax
call fcn.0047e2e5
mov dword [esp + 0xf8], 3
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
push 0
mov edi, ecx
call dword [eax + 4]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push eax
lea ecx, [esp + 0xb0]
call fcn.0047e70f
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov edi, eax
mov byte [esp + 0xf8], 4
push dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
call fcn.0040415c
push eax
push edi
push 0x138d
lea eax, [esp + 0x64]
push eax
call fcn.0047abd5
mov byte [esp + 0xf8], 5
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 8]
mov byte [esp + 0xf8], 4
lea eax, [esp + 0x58]
push eax
call fcn.004022bc
mov byte [esp + 0xf8], 3
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00401800
or dword [esp + 0xf8], 0xffffffff
lea eax, [esp + 0xa4]
push eax
call fcn.004035b9
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0049c07b
mov esp, ebp
pop ebp
ret
Function at 0x403671
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0db3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, str.AiStopPageChange
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.004021b7
xor ebx, ebx
mov dword [esp + 0xa8], ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
call fcn.00401886
mov byte [esp + 0xa8], 1
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x3c]
push edx
call dword [eax + 0xc]
mov byte [esp + 0xa8], bl
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00401800
or dword [esp + 0xa8], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00401800
push dword [esp + 0x18]
lea eax, [esp + 0x58]
push dword [esi + 0x100]
push eax
call fcn.0047e2e5
mov dword [esp + 0xa8], 2
mov ecx, dword [esi + 0x38]
mov eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [ecx]
call dword [eax]
push eax
lea ecx, [esp + 0x60]
call fcn.0047e70f
push edi
lea ecx, [esp + 0x3c]
call fcn.004021b7
mov byte [esp + 0xa8], 3
mov esi, dword [esi + 0x100]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax]
mov byte [esp + 0xa8], 4
cmp dword [eax + 0x14], ebx
setne byte [esp + 0x17]
mov byte [esp + 0xa8], 3
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00401800
mov byte [esp + 0xa8], 2
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00401800
or dword [esp + 0xa8], 0xffffffff
lea eax, [esp + 0x54]
push eax
call fcn.004035b9
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0049c07b
mov esp, ebp
pop ebp
ret
Function at 0x40594e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405965
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40599a
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x405996
cmp edi, eax
jae 0x40599a
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x405988
cmp edi, eax
jb 0x40599e
xor eax, eax
jmp 0x4059a7
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x40f031
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
push edi
test esi, esi
je 0x40f042
lea edi, [esi - 0xc0]
jmp 0x40f044
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
call fcn.0040df05
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.0040dffb
cmp dword [esi + 0x18], 0
je 0x40f073
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 5
push dword [edi + 4]
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40f50f
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x4b9b8d
call fcn.004a122e
xor ebx, ebx
cmp esi, ebx
je 0x40f52c
lea eax, [esi - 0xc0]
mov dword [ebp - 0x18], eax
jmp 0x40f52f
mov dword [ebp - 0x18], ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jne 0x40f61d
xor edi, edi
inc edi
push 0x17
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x40f55d
mov dword [ebp - 0x14], 2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
cmp byte [esi + 0x14], bl
je 0x40f582
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 8
jne 0x40f596
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x40f5a8
cmp dword [ebp + 8], 0x14
jne 0x40f5ad
xor ecx, ecx
cmp al, bl
setne cl
inc ecx
inc ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x10]
push ebx
push edi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x14]
push 2
push edi
call dword [eax + 0x18]
cmp dword [ebp + 8], 8
je 0x40f5ea
cmp dword [ebp + 8], 0x14
jne 0x40f60b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 0x12
call dword [sym.imp.USER32.dll_TrackMouseEvent]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x40f61d
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
call fcn.004a1306
ret 8
Function at 0x413271
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x58
mov eax, 0x4c35b7
call fcn.004a1297
lea eax, [ebp - 0x2c]
push eax
call fcn.0044bdd0
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x64]
call fcn.0043f4a0
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push 0x4d30f8
push eax
call fcn.00404ac1
add esp, 0xc
mov byte [ebp - 4], 2
push eax
lea esi, [ebp - 0x2c]
call fcn.0041348e
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401800
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00401800
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4132e8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413320
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4132ff
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x413320
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00413210
mov al, bl
call fcn.004a131a
ret
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x504e40
call fcn.0044aca0
mov bl, 1
jmp 0x41330b

Function at 0x413c86
Capabilities:
Hash data using fnv

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x413c91
mov ecx, dword [eax + 4]
jmp 0x413c94
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
push esi
mov eax, 0x811c9dc5
lea edx, [ecx + edx*2]
jmp 0x413caf
movzx esi, word [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jne 0x413ca2
mov esi, SysReAllocString
and eax, esi
push 0x1f31d
push eax
call fcn.0049c8a0
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
pop ecx
sub edx, eax
pop ecx
mov eax, edx
jns 0x413cdb
add eax, esi
pop esi
ret
Function at 0x421246
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x421290
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x4212b7
shr eax, 2
test al, 1
je 0x4212c0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4212f3
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x4d42b4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x4212f2
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret