joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4415b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4730f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046bb9a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440f50
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046bac8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046838c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046838c
push 1
push 0
push 0
mov ecx, esi
call fcn.00468334
push 1
push 0
push 1
mov ecx, esi
call fcn.00468334
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046bc0c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046bb9a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440f50
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046bac8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4417f4
cmp dword [esp + 0x40], 1
jne 0x4417f2
cmp ecx, eax
jge 0x4417f4
mov eax, ecx
cmp eax, 0xc8
jge 0x441800
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004415b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046bc0c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441f70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004667ad
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046be42
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046d3a1
test eax, eax
je 0x44208c
mov ecx, dword [esp + 0x3c]
call fcn.0046be6f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442050
push edi
mov ecx, esi
call fcn.004694d8
mov ecx, esi
call fcn.004421f0
cmp dword [esp + 0x38], 1
jne 0x442085
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00469613
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444ab0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444ae3
push esi
call fcn.00447bc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x444adc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444b69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444b52
mov eax, dword [esi + 8]
test eax, eax
je 0x444b07
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x444b4e
cmp eax, 2
je 0x444b52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444afa
cmp eax, 3
je 0x444b2d
cmp eax, 1
jne 0x444afa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x444afa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x444afa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444b90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444b78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444b90
add esp, 4
pop esi
ret
Function at 0x451450
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45149a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x4514c9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x45150b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4675a2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4675da
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046562c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00465604
jmp 0x4675e6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x468c90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x468cd2
call fcn.0046e78c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x468cd2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x468cc9
xor eax, eax
jmp 0x468cda
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00468ce0
pop edi
pop esi
pop ebx
ret 4

Function at 0x46ecbc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46ecea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46ed08
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046ec22
jmp 0x46ed08
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46ed08
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046ec22
test edi, edi
mov eax, edi
jne 0x46ecf2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100013c0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100013fc
mov eax, dword [section.L_sectio]
test eax, eax
jne 0x100013f7
mov eax, dword [0x1000a35c]
push 0
push eax
push 0x10001150
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [section.L_sectio], eax
je 0x100013f7
mov eax, 1
ret 4
xor eax, eax
ret 4
mov ecx, dword [section.L_sectio]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret 4

Function at 0x10001450
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4020
call fcn.10005d50
mov ecx, dword [esp + 0x4024]
lea eax, [esp]
push 0x20
push eax
push ecx
call fcn.10003a10
mov eax, dword [0x1000b758]
add esp, 0xc
cmp eax, 9
jl 0x10001482
mov eax, 1
jmp 0x10001483
inc eax
mov edx, dword [esp + 0x4028]
mov dword [0x1000b758], eax
test edx, edx
push edi
je 0x100014df
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push 0x2000
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2028]
push ecx
push eax
push edx
call fcn.10003840
mov eax, dword [0x1000b758]
add esp, 0x10
lea ecx, [esp + 0x2024]
lea edx, [esp + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._d_s_s_
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x100014f8
lea edx, [esp + 4]
push edx
push eax
lea eax, [esp + 0x2c]
push str._d_s_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
mov eax, dword [0x1000a020]
lea edx, [esp + 0x28]
not ecx
dec ecx
push ecx
push edx
push eax
call fcn.100010f0
pop edi
add esp, 0x4020
ret
Function at 0x10001bc0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10006d60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push 4
push eax
push 0x768c68
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10001d03
push ebx
lea ecx, [esp + 0x10]
push 4
add eax, 0x34
push ecx
push eax
call esi
push eax
call edi
mov eax, dword [esp + 0xc]
push ebx
lea edx, [esp + 0x14]
push 4
add eax, 0xfffffffc
push edx
push eax
call esi
push eax
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
and ecx, 0xff
push ebx
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call esi
push eax
call edi
lea ecx, [esp + 0x1c]
call fcn.100058fa
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x20]
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str._X__X__d__s
push edx
mov dword [esp + 0x74], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x34]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x18]
call fcn.100058fa
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
push ecx
mov ecx, dword [0x1000a3b4]
push 0x50a
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
push edx
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10001610
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], bl
call fcn.100058c4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.100058c4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x10001e80
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10006da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x11], ecx
push ebx
mov dword [esp + 0x19], ecx
push ebp
mov dword [esp + 0x21], ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x29], ecx
mov word [esp + 0x2d], cx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, 0x76c03d
mov dword [esp + 0x1c], eax
mov byte [esp + 0x14], al
mov byte [esp + 0x10], al
mov byte [esp + 0x20], al
mov byte [esp + 0x33], cl
mov dword [esp + 0x18], eax
mov ebp, 0x76c0b0
xor edx, edx
lea eax, [esp + 0x14]
mov dword [esp + 0x20], edx
lea ecx, [ebp - 0x74]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
push edx
push 1
push eax
push ecx
mov dword [esp + 0x40], edx
call esi
push eax
call edi
mov edx, dword [esp + 0x14]
push 0
and edx, 0xff
lea eax, [esp + 0x24]
push edx
push eax
push ebx
call esi
push eax
call edi
push 0
lea ecx, [esp + 0x20]
push 4
push ecx
push ebp
call esi
push eax
call edi
push 0
lea edx, [esp + 0x14]
push 1
lea eax, [ebp + 4]
push edx
push eax
call esi
push eax
call edi
mov al, byte [esp + 0x14]
test al, al
je 0x10001f62
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10001f8d
mov eax, dword [esp + 0x18]
add ebx, 0x7c
add ebp, 0x7c
inc eax
cmp eax, 0x2e
mov dword [esp + 0x18], eax
jl 0x10001ee3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
push edi
mov dword [esp + 0x3c], eax
push edi
mov dword [esp + 0x44], eax
push edi
push ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x50], eax
push 0x3ee
push edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], eax
call fcn.10003a70
lea eax, [esp + 0x38]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.10001450
add esp, 0x20
lea ecx, [esp + 0x58]
call fcn.100058fa
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x58]
and edx, 0xff
mov dword [esp + 0x50], edi
push edx
push str.vv__d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x64]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, byte [esp + 0x10]
cmp al, 1
jbe 0x10002020
mov cl, al
push edi
dec cl
lea edx, [esp + 0x14]
push 1
mov byte [esp + 0x18], cl
push edx
add ebx, 0x77
jmp 0x1000202e
push edi
lea eax, [esp + 0x18]
push 1
mov byte [esp + 0x1c], 0
push eax
dec ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.100058c4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x10005f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10005f91
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10005f91
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x10005f7a
jmp 0x10005f91
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x42c7e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f9f6b
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.004ed47d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c862
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ea8fd
mov eax, dword [eax]
push 0x6f8d38
push eax
call fcn.004dbb44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ed708
test bl, bl
je 0x42c862
push 0x6f8d38
lea ecx, [esp + 0xc]
call fcn.004eda98
push 0x6f8d44
lea ecx, [esp + 0xc]
call fcn.004eda98
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 0x42c89e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ed708
jmp 0x42c969
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 0x42c922
lea edx, [esp + 0x7c]
push 0x6f8d40
push edx
call fcn.004dbb44
add esp, 8
test eax, eax
je 0x42c922
lea eax, [esp + 0x7c]
push 0x6f8d3c
push eax
call fcn.004dbb44
add esp, 8
test eax, eax
je 0x42c922
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 0x42c8b2
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.004ed708
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 0x42d160
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 0x42d1c2
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 0x42d1d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f9feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7156e0]
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 0x42d308
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42d236
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed708
xor eax, eax
jmp 0x42d37f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ed845
push esi
lea ecx, [esp + 0xc]
call fcn.004edad4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6f8d78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42d35d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.0042d160
test eax, eax
jne 0x42d35d
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 connect
mov ecx, edi
call fcn.0042d160
test eax, eax
jne 0x42d35d
lea eax, [esp + 0x14]
push 0x6f8d54
push eax
call fcn.004dcd20
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d33c
lea ecx, [esp + 0x14]
push 0x6f8d50
push ecx
call fcn.004dcca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d33c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42d33f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ed7f5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42d24e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed708
xor eax, eax
jmp 0x42d37f
mov byte [esi], 0
push 0x6f8d4c
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.004ed708
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