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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43ce2c
mov eax, esi
call fcn.00452dc8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43ce2c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43ce2c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43cf6b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43ce6c
cmp eax, 0x108
ja 0x43ce6c
mov eax, esi
call fcn.00452dc8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43cf62
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43cf6b
jmp 0x43cf62
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43cf4b
cmp eax, 0x20a
ja 0x43cf4b
test byte [esi + 0x50], 0x80
jne 0x43ce9e
sub eax, 0x203
je 0x43ce9b
sub eax, 3
je 0x43ce9b
sub eax, 3
jne 0x43ce9e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43ceb2
dec eax
je 0x43cec7
dec eax
je 0x43cee4
dec eax
je 0x43cec7
jmp 0x43ceeb
mov ecx, ebx
mov eax, dword [0x464168]
mov eax, dword [eax]
mov edx, esi
call fcn.0045c424
jmp 0x43cf62
cmp byte [esi + 0x5d], 1
jne 0x43cedd
mov eax, esi
mov si, 0xffed
call fcn.0040385c
jmp 0x43cf6b
or word [esi + 0x54], 1
jmp 0x43cf62
and word [esi + 0x54], 0xfffe
jmp 0x43cf62
mov eax, dword [0x465bc0]
cmp byte [eax + 0x20], 0
je 0x43cf62
mov eax, dword [0x465bc0]
cmp dword [eax + 0x1c], 0
je 0x43cf62
mov eax, dword [ebx]
mov edx, dword [0x465bc0]
cmp eax, dword [edx + 0x1c]
jne 0x43cf62
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00452d0c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040385c
jmp 0x43cf6b
cmp eax, 0xb00b
jne 0x43cf62
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043b700
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440420
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44043c
cmp dword [esi + 4], 0
je 0x440469
test byte [ebx + 0x55], 1
jne 0x44045b
mov eax, ebx
call fcn.0043f078
test eax, eax
jne 0x44045b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x440579
mov edx, esi
mov eax, ebx
call fcn.0043ff40
jmp 0x440579
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x440572
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004421f0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043cd14
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00440420
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004421f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440579
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446a58
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4642d4]
cmp byte [eax + 0xc], 0
je 0x446bc5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446bbe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x465c14], 0
jne 0x446aac
push 0x446bcc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446bd4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c14], eax
cmp dword [0x463bd0], 0
jne 0x446ba7
push 0x446be4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x463bd0], eax
cmp dword [0x463bd0], 0
je 0x446ba7
push 0x446bf0
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c18], eax
push 0x446c00
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c1c], eax
push 0x446c14
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c20], eax
push 0x446c2c
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c24], eax
push 0x446c44
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c28], eax
push 0x446c58
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c2c], eax
push 0x446c70
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c30], eax
push 0x446c88
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c34], eax
push 0x446ca4
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c38], eax
push 0x446cb0
mov eax, dword [0x463bd0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465c3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446bc5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004043b4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ae2f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040461c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452c7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452ccc]
test si, 4
je 0x452c90
or bl, 1
test si, 8
je 0x452c9a
or bl, 4
test si, 1
je 0x452ca4
or bl, 8
test si, 2
je 0x452cae
or bl, 0x10
test si, 0x10
je 0x452cb8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452cc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452d08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452ce9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452cf8
or bl, 4
test esi, 0x20000000
je 0x452d03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459324
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459336
add esp, 0xfffffff0
call fcn.004039ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423128
mov eax, dword [0x463fb8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4596c8
mov eax, dword [0x463fc4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4596d4
mov eax, ebx
call fcn.004596e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
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, 0x455ba8
push eax
push 0
push 0
mov eax, dword [0x4640f4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424b18]
call fcn.00425f5c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424b18]
call fcn.00425f5c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424b18]
call fcn.00425f5c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459b00
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4599dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4599dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4599dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459473
call fcn.00403a04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4597c0
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 0x45996b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45994c
mov dl, 1
mov eax, dword [0x419550]
call fcn.00403630
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45993b
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.00446db8
test al, al
je 0x45992e
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, 0x45997c
lea eax, [ebp - 0x254]
call fcn.00409608
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45992e
xor eax, eax
push ebp
push 0x459927
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 0x4599b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459910
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040461c
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 0x459910
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45992e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459831
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d6c4
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 0x459972
lea eax, [ebp - 0x260]
call fcn.004043b4
ret

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

Disassembly:
push ecx
mov eax, dword [0x465c58]
cmp byte [eax + 0xa5], 0
jne 0x45a311
cmp dword [0x465c70], 0
jne 0x45a2d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45a25c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x465c70], eax
cmp dword [0x465c6c], 0
jne 0x45a2ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x465c6c], eax
cmp dword [0x465c74], 0
jne 0x45a311
push esp
push 0
push 0
push 0x45a200
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x465c74], eax
pop edx
ret
Function at 0x45a408
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45a41f
add esp, 0xfffffff0
call fcn.004039ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423128
mov eax, dword [0x4640e4]
cmp word [eax + 2], 0
jne 0x45a447
mov eax, dword [0x4640e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ba3c
mov eax, dword [0x46417c]
cmp word [eax + 2], 0
jne 0x45a461
mov eax, dword [0x46417c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045bc34
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419060]
call fcn.00403630
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4252c8]
call fcn.0042b044
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a5e8
mov eax, dword [0x464014]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b414
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45c1b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x464014]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cbec
test eax, eax
je 0x45a556
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f50
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc14
test eax, eax
je 0x45a56a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040461c
mov eax, dword [0x463f0c]
cmp byte [eax], 0
jne 0x45a59e
mov eax, ebx
call fcn.0045a710
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045c390
mov eax, ebx
call fcn.0045cd40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a5de
call fcn.00403a04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a984
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x465c58]
cmp dword [eax + 0x30], 0
je 0x45aa2e
cmp dword [ebx + 0x94], 0
jne 0x45aa28
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a914
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45aa28
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 0x45a9ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45aa28
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.0041b700
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a9fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b50c
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 0x45b541
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.004044a4
jmp 0x45b54e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404408
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c56c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c5ad
mov eax, esi
call fcn.004424f4
test al, al
je 0x45c5ad
mov eax, dword [ebx + 0x84]
call fcn.004421f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c5ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.004421f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45e228
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045de78
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404864
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45e286
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4640f8]
mov dl, 1
mov eax, dword [0x45dd70]
call fcn.0040c000
call fcn.00403e14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404864
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45e2e8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4642e0]
mov dl, 1
mov eax, dword [0x45dd70]
call fcn.0040c000
call fcn.00403e14
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045dea8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x401310
Capabilities:
Copy file
Get file size
Read file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x408098]
push esi
mov dword [esp + 0x40c], eax
push 0x400
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [esp + 0x418]
push 0
push esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
test eax, eax
mov dword [esp + 4], eax
jne 0x401386
mov edx, dword [0x4083f0]
push 0x10
push eax
push 0x40622c
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x408]
call fcn.00401f42
add esp, 0x40c
ret
push ebx
push ebp
mov ebp, dword [esp + 0x41c]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea eax, [esi + 2]
push eax
call fcn.00401f55
add esp, 4
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov ebx, eax
push 0x406224
push ebx
call fcn.00405b28
add esp, 8
test eax, eax
jne 0x4013f6
mov eax, str.RUNFILE
jmp 0x40140d
push 0x406214
push ebx
call fcn.00405b28
add esp, 8
test eax, eax
jne 0x40147b
mov eax, str.CHMFILE
mov ebx, dword [esp + 0x10]
push esi
push edi
push 0x804
push eax
push str.DATAEX
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push edi
mov esi, eax
call fcn.00401f50
add esp, 4
test esi, esi
push 0
jne 0x401445
mov edx, dword [0x4083f0]
push esi
push 0x4061f4
push edx
jmp 0x40148b
push ebx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
test eax, eax
jne 0x40145f
push eax
push eax
mov eax, dword [0x4083f0]
push 0x4061e4
push eax
jmp 0x40148b
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x408]
call fcn.00401f42
add esp, 0x40c
ret
mov ecx, dword [0x4083f0]
push 0x10
push 0
push 0x4061d0
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x418]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
call fcn.00401f42
add esp, 0x40c
ret
Function at 0x401570
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x1148
call fcn.00401f70
mov eax, dword [0x408098]
push 0x406344
mov dword [esp + 0x1148], eax
lea eax, [esp + 0x148]
push 0x406318
push eax
call fcn.00401240
add esp, 0xc
test eax, eax
je 0x4017bd
push 0x406344
lea ecx, [esp + 0x948]
push 0x4062e4
push ecx
call fcn.00401240
add esp, 0xc
test eax, eax
je 0x4017bd
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x148]
push edx
call esi
cmp eax, 3
jl 0x4017a7
lea eax, [esp + 0x948]
push eax
call esi
cmp eax, 3
jl 0x4017a7
lea ecx, [esp + 0x948]
push ecx
lea edx, [esp + 0x14c]
push edx
call fcn.00405b28
add esp, 8
test eax, eax
je 0x4017a7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebp
push 0x4062e0
lea eax, [esp + 0x154]
push eax
call esi
push 0x4062e0
lea ecx, [esp + 0x954]
push ecx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x554]
push eax
mov dword [esp + 0x14], 0
call ebp
push 0x4062dc
lea ecx, [esp + 0x554]
push ecx
call esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401756
push edi
jmp 0x401690
test byte [esp + 0x14], 0x10
jne 0x401741
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edi, eax
push 0x406224
push edi
call fcn.00405b28
add esp, 8
test eax, eax
je 0x4016cc
push 0x406214
push edi
call fcn.00405b28
add esp, 8
test eax, eax
jne 0x401741
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x558]
push eax
call ebp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x558]
push edx
call esi
lea eax, [esp + 0x954]
push eax
lea ecx, [esp + 0xd58]
push ecx
call ebp
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xd58]
push eax
call esi
push 0x406224
lea ecx, [esp + 0xd58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
lea edx, [esp + 0xd54]
push edx
lea eax, [esp + 0x558]
push eax
call fcn.00401310
add esp, 8
test eax, eax
je 0x401755
inc dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401690
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x154]
push 0x4062c8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x4083f0]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x158]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x1144]
call fcn.00401f42
add esp, 0x1148
ret
mov eax, dword [0x4083f0]
push 0x10
push 0
push 0x4062b0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
mov ecx, dword [esp + 0x1144]
call fcn.00401f42
add esp, 0x1148
ret