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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x445b50]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445b31
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x445b40
or bl, 4
test esi, 0x20000000
je 0x445b4b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c1f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c20a
add esp, 0xfffffff0
call fcn.00403abc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c5fc
mov eax, dword [0x46705c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c59c
mov eax, dword [0x467068]
mov dword [eax + 4], ebx
mov dword [eax], 0x44c5a8
mov eax, ebx
call fcn.0044c5b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
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, 0x4489d0
push eax
push 0
push 0
mov eax, dword [0x4671e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e020]
call fcn.0041f464
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e020]
call fcn.0041f464
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e020]
call fcn.0041f464
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044c9d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
invalid
inc eax
invalid
invalid
Function at 0x44c694
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 0x44c83f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44c820
mov dl, 1
mov eax, dword [0x414d10]
call fcn.00403780
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404564
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44c80f
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.0043a6c8
test al, al
je 0x44c802
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, 0x44c850
lea eax, [ebp - 0x254]
call fcn.0040bea8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44c802
xor eax, eax
push ebp
push 0x44c7fb
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 0x44c888
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44c7e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d4
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 0x44c7e4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c802
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44c705
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004187ec
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 0x44c846
lea eax, [ebp - 0x260]
call fcn.00404564
ret

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

Disassembly:
push ecx
mov eax, dword [0x469050]
cmp byte [eax + 0xa5], 0
jne 0x44d1e5
cmp dword [0x469068], 0
jne 0x44d1a6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d130
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x469068], eax
cmp dword [0x469064], 0
jne 0x44d1c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x469064], eax
cmp dword [0x46906c], 0
jne 0x44d1e5
push esp
push 0
push 0
push 0x44d0d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46906c], eax
pop edx
ret
Function at 0x44d2dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d2f3
add esp, 0xfffffff0
call fcn.00403abc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c5fc
mov eax, dword [0x4671d0]
cmp word [eax + 2], 0
jne 0x44d31b
mov eax, dword [0x4671d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e830
mov eax, dword [0x467294]
cmp word [eax + 2], 0
jne 0x44d335
mov eax, dword [0x467294]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ea28
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4148f4]
call fcn.00403780
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], 0xff000018
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 [0x41e7d0]
call fcn.00424418
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d4bc
mov eax, dword [0x4670d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004247e8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44efc8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4670d0]
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.0040f4e4
test eax, eax
je 0x44d42a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b89c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f50c
test eax, eax
je 0x44d43e
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.004047d4
mov eax, dword [0x466f90]
cmp byte [eax], 0
jne 0x44d472
mov eax, ebx
call fcn.0044d5e4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
add esi, eax
sbb dword [esi + 0x1000000], 0x33
ror byte [ecx + 0xa083], 0
mov eax, ebx
call fcn.0044f1a4
mov eax, ebx
call fcn.0044fb68
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d4b2
call fcn.00403b14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450fdc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x450fe4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x451dfb
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004508fc
mov eax, dword [ebp - 8]
call fcn.00404564
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00404824
cmp eax, 0x7f
jge 0x451052
push 0
push 0x469180
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_OpenFile
mov dword [0x46912c], eax
cmp dword [0x46912c], 0xffffffff
jne 0x451087
mov dword [ebp - 0xc], 1
jmp 0x451087
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [0x46912c], eax
cmp dword [0x46912c], 0xffffffff
jne 0x451087
mov dword [ebp - 0xc], 2
mov eax, 0x4690b4
mov edx, 0x451e10
call fcn.004045b8
cmp dword [ebp - 0xc], 0
jbe 0x45110f
mov eax, 0x4690b4
mov edx, 0x451e48
call fcn.004045b8
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xcf
ja 0x4510c4
bt dword [0x451ebc], eax
jb 0x4510ff
cmp dword [ebp - 0xc], 0x4cf
je 0x4510ff
push 0x451ee0
push dword [ebp - 4]
push 0x451ef0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00408a9c
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004048e4
mov eax, dword [ebp - 0x14]
call fcn.0045a378
mov eax, dword [0x46912c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x451dd8
mov eax, 0x46915c
call fcn.00404564
mov eax, 0x469160
call fcn.00404564
mov eax, 0x469164
call fcn.00404564
xor eax, eax
mov dword [0x469150], eax
xor eax, eax
mov dword [0x469154], eax
mov eax, 0x4690b4
mov edx, 0x451efc
call fcn.004045b8
xor eax, eax
mov dword [0x469158], eax
xor eax, eax
mov dword [0x46914c], eax
mov eax, 0x469168
mov edx, 0x12
call fcn.00404bb0
mov eax, 0x46916c
mov edx, 0x20
call fcn.00404bb0
mov eax, 0x469170
mov edx, 0x1a
call fcn.00404bb0
mov eax, 0x469174
mov edx, 0x2f
call fcn.00404bb0
mov eax, 0x469178
mov edx, 0x12
call fcn.00404bb0
mov eax, 0x46917c
mov edx, 0x20
call fcn.00404bb0
mov eax, dword [0x46920c]
mov byte [eax], 0
jmp 0x451cf7

Function at 0x451c10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x469174]
call fcn.00408c94
mov edx, dword [ebp - 0x34]
mov eax, 0x469174
call fcn.004045b8
mov eax, dword [0x469174]
call fcn.00408d28
test al, al
je 0x451c9d
mov edx, dword [0x469160]
mov eax, dword [0x469174]
call fcn.00404b68
test eax, eax
jne 0x451c9d
push dword [0x469160]
push 0x45201c
push 0x4521c0
mov eax, dword [0x46914c]
add eax, dword [0x469140]
xor edx, edx
mov dl, byte [0x469209]
sub eax, edx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.004079bc
push dword [ebp - 0x38]
push 0x452010
push dword [0x469174]
mov eax, 0x469160
mov edx, 6
call fcn.004048e4
inc dword [0x469154]
Function at 0x452af8
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x31
push 0
push 0
dec ecx
jne 0x452b00
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x453122
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004508fc
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x453138
mov edx, dword [ebp - 4]
call fcn.00404870
mov eax, dword [ebp - 0x15c]
call fcn.00404a24
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4530d7

Function at 0x45353c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
ror byte [ecx + 0x5589d855], 1
aam 0x89
push ebp
fmul qword [ecx - 0x3fcc03bb]
Function at 0x4540cc
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
add byte [eax], al
or al, byte [eax]
add byte [eax], al
add al, byte [eax]
add byte [eax], al
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
cmp byte [ebx + 0x210], 0
je 0x454171
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x454167
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00440c34
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x45414e
inc ebx
xor esi, esi
mov eax, dword [ebp - 8]
cmp byte [eax + 0x18], 0
jne 0x454136
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00440bf8
call fcn.00453ff8
pop ecx
jmp 0x45414a
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00440bf8
call 0x2f454064
add byte [eax], al
add byte [ebp - 0x75], dl
push ebp
invalid
add byte [eax], al
in al, dx
push dword [eax]

Function at 0x45414c
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
add byte [eax], al
or al, byte [eax]
add byte [eax], al
add al, byte [eax]
add byte [eax], al
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 4]
cmp byte [ebx + 0x210], 0
je 0x454171
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x454167
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00440c34
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x45414e
inc ebx
xor esi, esi
mov eax, dword [ebp - 8]
cmp byte [eax + 0x18], 0
jne 0x454136
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00440bf8
call fcn.00453ff8
pop ecx
jmp 0x45414a
push ebp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00440bf8
call 0x2f454064
add byte [eax], al
add byte [ebp - 0x75], dl
push ebp
invalid
add byte [eax], al
in al, dx
push dword [eax]

Function at 0x454ca0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4690b4
mov edx, 0x454d1c
call fcn.004045b8
push 0
push 0
mov eax, dword [0x469338]
call fcn.00404a24
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x4690b4
mov edx, 0x454d88
call fcn.004045b8
push 0
push 0
mov eax, dword [0x46933c]
call fcn.00404a24
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
mov eax, dword [0x469340]
call fcn.00404a24
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
pop ebp
ret
Function at 0x456af8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x456d7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402a48
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00407a50
mov edx, dword [ebp - 0x10]
mov eax, 0x469088
call fcn.004045b8
cmp byte [0x4690f5], 0
jne 0x456b5b
mov eax, dword [0x469088]
push eax
mov ecx, dword [0x469234]
mov edx, dword [0x469260]
mov eax, 0x80000002
call fcn.004092dc
cmp byte [0x4690f5], 0
je 0x456b6e
call fcn.00457558
jmp 0x456d64
mov eax, 0x4690b4
mov edx, 0x456d94
call fcn.004045b8
xor eax, eax
mov dword [ebp - 4], eax
push 0
mov eax, dword [0x46936c]
call fcn.00404a24
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x456ba9
push 0x3e8
call sub.kernel32.dll_Sleep
jmp 0x456b82
mov eax, 0x4690b4
mov edx, 0x456dd4
call fcn.004045b8
push 0xea60
call sub.kernel32.dll_Sleep
push 0
push 0x456e5c
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 4], eax
mov eax, 0x4690b4
mov edx, 0x456e6c
call fcn.004045b8
mov eax, dword [0x469248]
call fcn.00404a24
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
mov eax, 0x4690b4
mov edx, 0x456f44
call fcn.004045b8
cmp dword [ebp - 8], 0
jne 0x456c21
mov eax, dword [0x469250]
call fcn.00404a24
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x456cff
mov eax, dword [0x469370]
call fcn.00404a24
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
mov eax, 0x4690b4
mov edx, 0x456fd4
call fcn.004045b8
cmp dword [ebp - 0xc], 0
je 0x456cff
call dword [ebp - 0xc]
mov eax, 0x4690b4
mov edx, 0x45705c
call fcn.004045b8
push 0xbb8
call sub.kernel32.dll_Sleep
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x4690b4
mov edx, 0x457074
call fcn.004045b8
push 0x1f4
call sub.kernel32.dll_Sleep
push 0
push 0xd
push 0x101
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x4690b4
mov edx, 0x457118
call fcn.004045b8
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x4571cc
call fcn.00409814
mov eax, 0x4690b4
mov edx, 0x4571dc
call fcn.004045b8
push 0x3e8
call sub.kernel32.dll_Sleep
mov eax, 0x4690b4
mov edx, 0x4572ac
call fcn.004045b8
mov eax, 0x4690b4
mov edx, 0x4572c8
call fcn.004045b8
mov eax, dword [0x46925c]
call fcn.00404a24
mov edx, eax
mov eax, 0x469108
mov ecx, 0xbb8
call fcn.00409000
test al, al
je 0x456d64
mov eax, 0x4690b4
mov edx, 0x457394
call fcn.004045b8
call fcn.00457558
mov eax, 0x4690b4
mov edx, 0x457454
call fcn.004045b8
call fcn.0045a79c
mov eax, 0x4690b4
mov edx, 0x4574f0
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d86
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404588
Function at 0x457849
Capabilities:
Delete registry key

Disassembly:
sub al, 0x73
push ds
sti
dec dword [ebx + 0x46922c0d]
add byte [ebx + 0x46928815], cl
add byte [eax - 0x7ffffffe], bh
jl 0x4577db
inc esi
add al, ch
push ds
sar dl, 1
dec dword [ebx + 0x26e8dc45]
or ebx, edi
dec dword [ebp + 0xd8bd845]
inc esp
xchg edx, eax
inc esi
add byte [ebx + 0x46907c15], cl
add al, ch
add dl, al
cli
dec dword [ebx + 0xae8d845]
or ebx, edi
dec dword [ebp + 0xd8bd445]
dec eax
xchg edx, eax
inc esi
add byte [ebx + 0x46907c15], cl
add al, ch
out 0xcf, al
cli
dec dword [ebx - 0x11172bbb]
or bl, bh
dec dword [ebp + 0xd8bd045]
dec esp
xchg edx, eax
inc esi
add byte [ebx + 0x46907c15], cl
add al, ch
retf 0xfacf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458cd3
lea eax, [ebp - 0x15c]
mov edx, 0x56
call fcn.00404588
ret

Function at 0x45a378
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x45a48d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4690b4
mov edx, 0x45a4a4
call fcn.004045b8
cmp dword [0x4690fc], 0
jne 0x45a3b9
call fcn.0045a200
push 2
push 0
push 0
mov eax, dword [0x4690fc]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x45a3d4
call fcn.0045a200
mov eax, 0x4690b4
mov edx, 0x45a550
call fcn.004045b8
lea edx, [ebp - 0xc]
mov al, byte [0x4690f6]
call fcn.00407abc
push dword [ebp - 0xc]
push 0x45a588
push dword [ebp - 4]
push 0x45a594
lea eax, [ebp - 4]
mov edx, 4
call fcn.004048e4
mov eax, 0x4690b4
mov edx, 0x45a5a0
call fcn.004045b8
mov byte [0x4690f6], 0
mov eax, 0x4690b4
mov edx, 0x45a608
call fcn.004045b8
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404824
push eax
lea eax, [ebp - 4]
call fcn.00404a7c
push eax
mov eax, dword [0x4690fc]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x45a460
mov dword [ebp - 8], 0xffffffff
mov eax, 0x4690b4
mov edx, 0x45a6e0
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a494
lea eax, [ebp - 0xc]
call fcn.00404564
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x462554
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4670c0]
cmp byte [eax], 0
jne 0x462597
push 0x46259c
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x462586
push 0x4625b4
push 0
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x462597
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret
Function at 0x40bf90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47675b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046ad6f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c012
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00468af0
mov eax, dword [eax]
push 0x4ad200
push eax
call fcn.0045ada4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046affa
test bl, bl
je 0x40c012
push 0x4ad200
lea ecx, [esp + 0xc]
call fcn.0046b38a
push 0x4b0dac
lea ecx, [esp + 0xc]
call fcn.0046b38a
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40c04e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046affa
jmp 0x40c119
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40c0d2
lea edx, [esp + 0x7c]
push 0x4b0da8
push edx
call fcn.0045ada4
add esp, 8
test eax, eax
je 0x40c0d2
lea eax, [esp + 0x7c]
push 0x4b0da4
push eax
call fcn.0045ada4
add esp, 8
test eax, eax
je 0x40c0d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c062
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046affa
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c910
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c972
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc