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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x488244]
cmp byte [eax + 0xc], 0
je 0x451d81
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451d7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x489bc0], 0
jne 0x451c68
push 0x451d88
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x451d90
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bc0], eax
cmp dword [0x486db8], 0
jne 0x451d63
push 0x451da0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x486db8], eax
cmp dword [0x486db8], 0
je 0x451d63
push 0x451dac
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bc4], eax
push 0x451dbc
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bc8], eax
push 0x451dd0
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bcc], eax
push 0x451de8
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bd0], eax
push 0x451e00
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bd4], eax
push 0x451e14
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bd8], eax
push 0x451e2c
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bdc], eax
push 0x451e44
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be0], eax
push 0x451e60
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be4], eax
push 0x451e6c
mov eax, dword [0x486db8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d81
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x455f48
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.004045bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x455f97
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.0040482c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45d850
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d8a0]
test si, 4
je 0x45d864
or bl, 1
test si, 8
je 0x45d86e
or bl, 4
test si, 1
je 0x45d878
or bl, 8
test si, 2
je 0x45d882
or bl, 0x10
test si, 0x10
je 0x45d88c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d89b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d8a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d8dc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d8bd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d8cc
or bl, 4
test esi, 0x20000000
je 0x45d8d7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463f84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463f96
add esp, 0xfffffff0
call fcn.00403b70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420dac
mov eax, dword [0x487e58]
mov dword [eax + 4], ebx
mov dword [eax], 0x464328
mov eax, dword [0x487e68]
mov dword [eax + 4], ebx
mov dword [eax], 0x464334
mov eax, ebx
call fcn.00464340
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
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, 0x46075c
push eax
push 0
push 0
mov eax, dword [0x487ff8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422818]
call fcn.00423f8c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422818]
call fcn.00423f8c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422818]
call fcn.00423f8c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004647a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464684
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464684
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464684
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4640d3
call fcn.00403bc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x464468
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 0x464613
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4645f4
mov dl, 1
mov eax, dword [0x418ae0]
call fcn.0040381c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4645e3
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.00451f74
test al, al
je 0x4645d6
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, 0x464624
lea eax, [ebp - 0x254]
call fcn.00409828
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4645d6
xor eax, eax
push ebp
push 0x4645cf
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 0x46465c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4645b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040482c
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 0x4645b8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4645d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4644d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ce44
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 0x46461a
lea eax, [ebp - 0x260]
call fcn.004045bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x489c0c]
cmp byte [eax + 0xa5], 0
jne 0x464fb9
cmp dword [0x489c24], 0
jne 0x464f7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464f04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x489c24], eax
cmp dword [0x489c20], 0
jne 0x464f95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x489c20], eax
cmp dword [0x489c28], 0
jne 0x464fb9
push esp
push 0
push 0
push 0x464ea8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x489c28], eax
pop edx
ret
Function at 0x46510c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465123
add esp, 0xfffffff0
call fcn.00403b70
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420dac
mov eax, dword [0x487fe4]
cmp word [eax + 2], 0
jne 0x46514b
mov eax, dword [0x487fe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046688c
mov eax, dword [0x4880a8]
cmp word [eax + 2], 0
jne 0x465165
mov eax, dword [0x4880a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466a84
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418538]
call fcn.0040381c
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 [0x4232f8]
call fcn.0042ac68
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4652ec
mov eax, dword [0x487ed4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b038
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467034
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x487ed4]
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.0040d0ec
test eax, eax
je 0x46525a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409208
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d114
test eax, eax
je 0x46526e
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.0040482c
mov eax, dword [0x487d70]
cmp byte [eax], 0
jne 0x4652a2
mov eax, ebx
call fcn.00465414
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.00467210
mov eax, ebx
call fcn.00467bd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4652e2
call fcn.00403bc8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465694
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x489c0c]
cmp dword [eax + 0x30], 0
je 0x46573e
cmp dword [ebx + 0x94], 0
jne 0x465738
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x465624
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x465738
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 0x4656fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x465738
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.0041aa2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46570d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4662a0
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 0x4662d5
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.004046ac
jmp 0x4662e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404610
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4673ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46742d
mov eax, esi
call fcn.0044d518
test al, al
je 0x46742d
mov eax, dword [ebx + 0x84]
call fcn.0044d214
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46742d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d214
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x468038
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x4680e5
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
mov dl, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
mov bl, byte [esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x487184]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x487184]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x468060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x469a18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004093b8
mov eax, dword [ebx]
call fcn.0040487c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x469a5e
mov eax, ebx
mov edx, 0x469a6c
call fcn.00404884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481fc8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.00407388
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x481ffc
cmp dword [esp + 8], 1
jb 0x481ffc
cmp dword [esp + 0x10], 2
je 0x482000
xor eax, eax
jmp 0x482002
mov al, 1
add esp, 0x94
ret

Function at 0x483630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004835f8
mov eax, dword [ebx]
call fcn.0040487c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x483676
mov eax, ebx
mov edx, 0x483684
call fcn.00404884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x483688
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004835f8
mov eax, dword [ebx]
call fcn.0040487c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4836ce
mov eax, ebx
mov edx, 0x4836dc
call fcn.00404884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x483a64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00481a9c
mov eax, dword [ebx]
call fcn.0040487c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x483aaa
mov eax, ebx
mov edx, 0x483ab8
call fcn.00404884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x484f7c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040482c
add esp, 0x10c
pop ebx
ret
Function at 0x484fb8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48503b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.004030ac
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x485054
mov edx, ebx
call fcn.004048c8
mov eax, dword [ebp - 0x24]
call fcn.00404a7c
mov dword [ebp - 0x16], eax
mov eax, 0x485058
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485042
lea eax, [ebp - 0x24]
call fcn.004045bc
ret
Function at 0x4194b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c0fb
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.004702a9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419532
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e09d
mov eax, dword [eax]
push 0x6a41f0
push eax
call fcn.00460404
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470534
test bl, bl
je 0x419532
push 0x6a41f0
lea ecx, [esp + 0xc]
call fcn.004708c4
push 0x6a7d9c
lea ecx, [esp + 0xc]
call fcn.004708c4
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 0x41956e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470534
jmp 0x419639
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 0x4195f2
lea edx, [esp + 0x7c]
push 0x6a7d98
push edx
call fcn.00460404
add esp, 8
test eax, eax
je 0x4195f2
lea eax, [esp + 0x7c]
push 0x6a7d94
push eax
call fcn.00460404
add esp, 8
test eax, eax
je 0x4195f2
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 0x419582
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.00470534
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 0x419e30
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 0x419e92
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 0x419ea0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c17b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6ae614]
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 0x419fd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x419f06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470534
xor eax, eax
jmp 0x41a04f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00470671
push esi
lea ecx, [esp + 0xc]
call fcn.00470900
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 0x41a02d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00419e30
test eax, eax
jne 0x41a02d
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 SysReAllocString
mov ecx, edi
call fcn.00419e30
test eax, eax
jne 0x41a02d
lea eax, [esp + 0x14]
push 0x6a7db0
push eax
call fcn.00461690
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a00c
lea ecx, [esp + 0x14]
push 0x6a7dac
push ecx
call fcn.00461610
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a00c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a00f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00470621
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x419f1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470534
xor eax, eax
jmp 0x41a04f
mov byte [esi], 0
push 0x6a7da8
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.00470534
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