joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44009c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c234]
cmp byte [eax + 0xc], 0
je 0x440209
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440202
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45db68], 0
jne 0x4400f0
push 0x440210
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440218
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db68], eax
cmp dword [0x45bc0c], 0
jne 0x4401eb
push 0x440228
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45bc0c], eax
cmp dword [0x45bc0c], 0
je 0x4401eb
push 0x440234
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db6c], eax
push 0x440244
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db70], eax
push 0x440258
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db74], eax
push 0x440270
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db78], eax
push 0x440288
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db7c], eax
push 0x44029c
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db80], eax
push 0x4402b4
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db84], eax
push 0x4402cc
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db88], eax
push 0x4402e8
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db8c], eax
push 0x4402f4
mov eax, dword [0x45bc0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440209
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4440b0
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.00403ea4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4440ff
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.00404114
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b8b0]
test si, 4
je 0x44b874
or bl, 1
test si, 8
je 0x44b87e
or bl, 4
test si, 1
je 0x44b888
or bl, 8
test si, 2
je 0x44b892
or bl, 0x10
test si, 0x10
je 0x44b89c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b8b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b8ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b8dc
or bl, 4
test esi, 0x20000000
je 0x44b8e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451f94
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451fa6
add esp, 0xfffffff0
call fcn.004033f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004197ac
mov eax, dword [0x45bf00]
mov dword [eax + 4], ebx
mov dword [eax], 0x452338
mov eax, dword [0x45bf0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x452344
mov eax, ebx
call fcn.00452350
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
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, 0x44e76c
push eax
push 0
push 0
mov eax, dword [0x45c054]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b1e0]
call fcn.0041c624
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b1e0]
call fcn.0041c624
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b1e0]
call fcn.0041c624
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452770
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45264c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45264c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45264c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4520e3
call fcn.0040344c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452430
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 0x4525db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4525bc
mov dl, 1
mov eax, dword [0x411930]
call fcn.004030b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4525ab
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.004403fc
test al, al
je 0x45259e
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, 0x4525ec
lea eax, [ebp - 0x254]
call fcn.00408a44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45259e
xor eax, eax
push ebp
push 0x452597
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 0x452624
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452580
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
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 0x452580
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45259e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4524a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415468
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 0x4525e2
lea eax, [ebp - 0x260]
call fcn.00403ea4
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dbb4]
cmp byte [eax + 0xa5], 0
jne 0x452f81
cmp dword [0x45dbcc], 0
jne 0x452f42
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452ecc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dbcc], eax
cmp dword [0x45dbc8], 0
jne 0x452f5d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dbc8], eax
cmp dword [0x45dbd0], 0
jne 0x452f81
push esp
push 0
push 0
push 0x452e70
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x45dbd0], eax
pop edx
ret
Function at 0x453078
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45308f
add esp, 0xfffffff0
call fcn.004033f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004197ac
mov eax, dword [0x45c040]
cmp word [eax + 2], 0
jne 0x4530b7
mov eax, dword [0x45c040]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454750
mov eax, dword [0x45c0e8]
cmp word [eax + 2], 0
jne 0x4530d1
mov eax, dword [0x45c0e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454948
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411514]
call fcn.004030b8
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 [0x41b990]
call fcn.004216cc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453258
mov eax, dword [0x45bf64]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421a9c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454ee8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45bf64]
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.0040c080
test eax, eax
je 0x4531c6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408438
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0a8
test eax, eax
je 0x4531da
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.00404114
mov eax, dword [0x45be64]
cmp byte [eax], 0
jne 0x45320e
mov eax, ebx
call fcn.00453380
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.004550c4
mov eax, ebx
call fcn.00455a88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45324e
call fcn.0040344c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453600
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dbb4]
cmp dword [eax + 0x30], 0
je 0x4536aa
cmp dword [ebx + 0x94], 0
jne 0x4536a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453590
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4536a4
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 0x45366a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4536a4
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.004138d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453679
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45420c
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 0x454241
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.00403f94
jmp 0x45424e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4552a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4552e1
mov eax, esi
call fcn.0043ba28
test al, al
je 0x4552e1
mov eax, dword [ebx + 0x84]
call fcn.0043b724
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4552e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b724
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4573a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebx + 0x44]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x457417
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x4573f9
mov ecx, dword [edi]
mov edx, esi
mov eax, ebx
call fcn.00457424
test al, al
je 0x457417
jmp 0x4573bf
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
jne 0x45740b
mov byte [ebp - 5], 1
jmp 0x457417
cmp eax, 6
je 0x457417
mov eax, ebx
call fcn.0045769c
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4577ec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4578a8
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x4578ba
cmp eax, 0x3e5
je 0x457850
mov eax, edi
call fcn.004578c8
jmp 0x4578ba
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x457896
dec eax
je 0x4578ba
dec eax
je 0x45786c
jmp 0x45789f
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x40]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x4578a8
call sub.kernel32.dll_GetLastError
cmp eax, 6
je 0x4578ba
mov eax, edi
call fcn.004578c8
jmp 0x4578ba
mov eax, edi
call fcn.004578c8
jmp 0x4578ba
mov eax, edi
call fcn.004578c8
jmp 0x4578ba
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x45781a
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40dfe6
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x5f3fc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15e000]
push edi
jmp 0x5f3fda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f3fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f3fd0
mov eax, 1
add ebx, ebx
jne 0x5f3ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f4004
jne 0x5f4023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f4023
dec eax
add ebx, ebx
jne 0x5f4010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f3fe8
add ebx, ebx
jne 0x5f401f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f4075
xor ecx, ecx
sub eax, 3
jb 0x5f403b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f40aa
sar eax, 1
mov ebp, eax
jmp 0x5f4046
add ebx, ebx
jne 0x5f4046
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f4014
inc ecx
add ebx, ebx
jne 0x5f4054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f4014
add ebx, ebx
jne 0x5f4061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f4056
jne 0x5f4072
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f4056
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f4094
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f4086
jmp 0x5f3fd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f4094
add edi, ecx
jmp 0x5f3fd6
pop esi
mov edi, esi
mov ecx, 0x77af
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f40b2
cmp byte [edi], 0x1e
jne 0x5f40b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f40b7
lea edi, [esi + 0x1f0000]
mov eax, dword [edi]
or eax, eax
je 0x5f412f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f7784]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f78b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f40e4
mov ecx, edi
jns 0x5f4113
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f78b4]
or eax, eax
je 0x5f4129
mov dword [ebx], eax
add ebx, 4
jmp 0x5f4101
call dword [esi + 0x1f78c4]
mov ebp, dword [esi + 0x1f78b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f4163
sub esp, 0xffffff80
jmp 0x4f0fa2
Function at 0x4056e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x466ebb
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.0045bf09
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405762
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00459e59
mov eax, dword [eax]
push 0x47f0e0
push eax
call fcn.00446673
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045c194
test bl, bl
je 0x405762
push 0x47f0e0
lea ecx, [esp + 0xc]
call fcn.0045c524
push 0x482c28
lea ecx, [esp + 0xc]
call fcn.0045c524
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 0x40579e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045c194
jmp 0x405869
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 0x405822
lea edx, [esp + 0x7c]
push 0x482c24
push edx
call fcn.00446673
add esp, 8
test eax, eax
je 0x405822
lea eax, [esp + 0x7c]
push 0x482c20
push eax
call fcn.00446673
add esp, 8
test eax, eax
je 0x405822
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 0x4057b2
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.0045c194
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 0x406060
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 0x4060c2
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
Function at 0x4060d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x466f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4890b8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x406208
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406136
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c194
xor eax, eax
jmp 0x40627f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045c2d1
push esi
lea ecx, [esp + 0xc]
call fcn.0045c560
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40625d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406060
test eax, eax
jne 0x40625d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00406060
test eax, eax
jne 0x40625d
lea eax, [esp + 0x14]
push 0x482c3c
push eax
call fcn.004476d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40623c
lea ecx, [esp + 0x14]
push 0x482c38
push ecx
call fcn.00447520
mov esi, eax
add esp, 8
test esi, esi
jne 0x40623c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40623f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045c281
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40614e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045c194
xor eax, eax
jmp 0x40627f
mov byte [esi], 0
push 0x482c34
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045c194
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4