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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46eb0c]
cmp byte [eax + 0xc], 0
je 0x44034d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440346
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46faf8], 0
jne 0x440234
push 0x440354
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44035c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46faf8], eax
cmp dword [0x46db30], 0
jne 0x44032f
push 0x44036c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46db30], eax
cmp dword [0x46db30], 0
je 0x44032f
push 0x440378
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fafc], eax
push 0x440388
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb00], eax
push 0x44039c
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb04], eax
push 0x4403b4
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb08], eax
push 0x4403cc
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb0c], eax
push 0x4403e0
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb10], eax
push 0x4403f8
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb14], eax
push 0x440410
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb18], eax
push 0x44042c
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb1c], eax
push 0x440438
mov eax, dword [0x46db30]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fb20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44034d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4446b8
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.00404764
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x444707
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.004049d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bed8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bf28]
test si, 4
je 0x44beec
or bl, 1
test si, 8
je 0x44bef6
or bl, 4
test si, 1
je 0x44bf00
or bl, 8
test si, 2
je 0x44bf0a
or bl, 0x10
test si, 0x10
je 0x44bf14
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bf23
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44bf2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44bf64]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bf45
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44bf54
or bl, 4
test esi, 0x20000000
je 0x44bf5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452628
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45263a
add esp, 0xfffffff0
call fcn.00403d10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a1d4
mov eax, dword [0x46e7cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4529cc
mov eax, dword [0x46e7d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4529d8
mov eax, ebx
call fcn.004529e4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.004039a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.004039a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.004039a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.004039a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.004039a8
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, 0x44edfc
push eax
push 0
push 0
mov eax, dword [0x46e920]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bca0]
call fcn.0041d438
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bca0]
call fcn.0041d438
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bca0]
call fcn.0041d438
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00452e34
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452cfc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452cfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452cfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452777
call fcn.00403d68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452ae0
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 0x452c8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452c6c
mov dl, 1
mov eax, dword [0x4127f0]
call fcn.004039a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404764
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x452c5b
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.00440540
test al, al
je 0x452c4e
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, 0x452c9c
lea eax, [ebp - 0x254]
call fcn.00409714
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x452c4e
xor eax, eax
push ebp
push 0x452c47
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 0x452cd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452c30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049d4
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 0x452c30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452c4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452b51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041636c
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 0x452c92
lea eax, [ebp - 0x260]
call fcn.00404764
ret

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

Disassembly:
push ecx
mov eax, dword [0x46fb44]
cmp byte [eax + 0xa5], 0
jne 0x453645
cmp dword [0x46fb5c], 0
jne 0x453606
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453590
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46fb5c], eax
cmp dword [0x46fb58], 0
jne 0x453621
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46fb58], eax
cmp dword [0x46fb60], 0
jne 0x453645
push esp
push 0
push 0
push 0x453534
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46fb60], eax
pop edx
ret
Function at 0x453cd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fb44]
cmp dword [eax + 0x30], 0
je 0x453d82
cmp dword [ebx + 0x94], 0
jne 0x453d7c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x453c68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453d7c
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 0x453d42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453d7c
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.00414750
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453d51
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4548e0
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 0x454915
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.00404854
jmp 0x454922
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455a34
Capabilities:
Hide graphical window

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

Function at 0x45b524
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45b552
mov eax, ebx
call fcn.0045bfd8
cmp dword [ebx + 0x40], 0
je 0x45b54b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45b5c3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45b5b5
cmp dword [ebx + 8], 0
je 0x45b574
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45b586
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b5b5
cmp dword [ebx + 8], 0
je 0x45b567
cmp eax, 3
je 0x45b599
dec eax
jne 0x45b567
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45b567
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45b567
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45b5e1
cmp dword [ebx + 0x14], 0xcc
je 0x45b5e1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b5ec
pop ebx
ret
Function at 0x695120
Capabilities:
Hash data with md5

Disassembly:
jmp 0x6e3d61
xchg cx, bx
jmp 0x6e3e64
pushal
xchg ecx, edx
jmp 0x6e3d44
mov ecx, dword [esp]
popal
push cx
mov word [esp], di
pushal
push dword [esp + 0x15]
pushfd
jmp 0x6e3ef4
pushal
mov cl, al
jmp 0x6e3f27
lea esp, [esp + 2]
lea esp, [esp + 0x28]
lea esp, [esp + 4]
pushal
mov dl, byte [esp]
mov edx, dword [esp]
lea edx, [0x34bd56b2]
jmp 0x6e3faf
bswap bx
mov edx, ebp
popal
push ebx
push ebx
push word [esp + 3]
pop dword [esp]
pop word [esp + 1]
pushfd
pop word [esp]
push word [esp]
mov dword [esp], ebx
mov dword [esp + 2], ebp
lea esp, [esp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
jmp 0x6e3fd0
popal
push ebx
mov dword [esp], eax
mov word [esp], cx
jmp 0x6e48eb
ret
mov word [esp + 1], sp
lea esp, [esp + 3]
push edx
mov dword [esp], ecx
pushal
mov byte [esp + 0x1a], bh
pop dword [esp + 4]
pop word [esp + 0xb]
lea esp, [esp + 3]
lea esp, [esp + 0x1c]
jmp 0x6e3ed7
Function at 0x698068
Capabilities:
Check for trap flag exception

Disassembly:
push 0x10
push 0x69d790
call fcn.0069be54
xor edi, edi
mov dword [ebp - 0x1c], edi
mov esi, dword [0x69e6e0]
add esi, 0x94
cmp dword [esi], edi
je 0x698097
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [fcn.0069e6d4]
push eax
call dword [esi]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], edi
jne 0x6980dd
mov dword [ebp - 4], edi
jmp 0x6980ae
pushfd
or dword [esp], 0x100
popfd
rdtsc
nop
jmp 0x6980c2
jmp 0x6980d7
or dword [ebp - 4], 0xffffffff
jmp 0x6980e0
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
call fcn.0069be8f
ret
pushal
mov ax, 0x75b
mov cx, 0x1ba
pushfd
lea esp, [esp + 4]
popal
pushfd
lea esp, [esp]
lea esp, [esp + 1]
push word [esp + 1]
mov word [esp], bp
lea esp, [esp + 1]
lea esp, [esp + 4]
pushal
mov eax, dword [esp]
setbe cl
mov ax, 0x9b6
popal
push ax
push word [esp]
mov dword [esp], esi
mov dword [esp], ebp
mov dword [esp], eax
mov word [esp], ax
mov dword [esp], ecx
push word [esp + 1]
push word [esp + 4]
lea esp, [esp + 4]
mov word [esp + 1], di
push word [esp + 1]
mov byte [esp + 4], cl
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x698068
Function at 0x69c555
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x724251
xor eax, eax
jmp 0x7242f8
test esi, esi
jbe 0x724154
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
jmp 0x72452e
pushal
not dh
popal
push eax
push ebx
push ecx
pop word [esp + 3]
pop dword [esp]
mov byte [esp + 2], bh
mov byte [esp + 2], bh
push word [esp]
pop word [esp + 3]
mov word [esp + 1], di
push word [esp + 2]
lea esp, [esp + 8]
mov edi, edi
pushfd
mov dword [esp], ebp
push word [esp + 2]
pop word [esp + 1]
push word [esp]
mov word [esp + 3], cx
mov dword [esp], edi
push dx
lea esp, [esp + 4]
mov word [esp], bx
mov dword [esp], ebp
push di
push ecx
mov byte [esp + 3], dh
push dword [esp + 5]
pop dword [esp]
push word [esp]
push dword [esp]
lea esp, [esp + 8]
mov word [esp + 1], di
push dword [esp + 1]
lea esp, [esp + 8]
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
jmp 0x72417c
pushal
pushal
lea esp, [esp + 0x20]
popal
push esi
pop word [esp]
lea esp, [esp]
lea esp, [esp]
mov byte [esp], al
lea esp, [esp + 1]
push ax
lea esp, [esp + 1]
mov byte [esp], al
mov byte [esp], ah
mov byte [esp], dl
lea esp, [esp + 2]
lea esp, [esp + 4]
pushal
mov bl, cl
popal
pushal
mov word [esp + 0xf], di
pop word [esp + 4]
lea esp, [esp + 0x11]
pushfd
pop dword [esp + 5]
mov byte [esp + 7], dh
mov dword [esp + 8], eax
push ecx
lea esp, [esp + 1]
lea esp, [esp + 0x10]
jmp 0x7241a1
pop edi
pop esi
pop ebx
pop ebp
ret
inc edx
add eax, 0x28
cmp edx, esi
jb 0x724183
jmp 0x724154
cmp edi, ecx
jb 0x7244e9
mov ebx, dword [eax + 8]
sub esp, 0x11
sub esp, 0xe
cmc
lea esp, [esp + 0xb]
pop word [esp + 1]
sub esp, 0x1e
pop dword [esp + 0x10]
pop dword [esp + 9]
pop dword [esp + 4]
pop word [esp + 1]
lea esp, [esp + 2]
add ebx, ecx
push cx
pushfd
pop word [esp]
push dword [esp + 2]
pushfd
push word [esp + 9]
pop dword [esp + 1]
lea esp, [esp + 9]
pushal
push dword [esp + 0x11]
lea esp, [esp + 1]
lea esp, [esp + 0x44]
cmp edi, ebx
jb 0x7242f8
jmp 0x7244e9

Function at 0x6d39b2
Capabilities:
Hash data with md5

Disassembly:
pushal
xchg dx, ax
push bx
lea esp, [esp + 2]
popal
push si
pushfd
push di
mov dword [esp + 1], esi
mov byte [esp + 3], ah
mov byte [esp + 2], ch
pop word [esp + 3]
pushal
mov dword [esp + 0x1b], esi
pop dword [esp + 0x10]
mov byte [esp + 0x13], dl
pop word [esp + 0x15]
lea esp, [esp + 0x20]
pushal
xchg bh, bl
mov ecx, 0x255c128b
popal
pushfd
push esp
lea esp, [esp + 4]
pop word [esp]
push ebp
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x69511b
Function at 0x724082
Capabilities:
Parse pe header

Disassembly:
jmp 0x69c221
pushal
jmp 0x69c23d
lea ecx, [ebp - 0x61f6]
jmp 0x69c259
pushfd
jmp 0x69c275
pop word [esp]
jmp 0x69c291
lea esp, [esp + 2]
jmp 0x69c2ad
popal
jmp 0x69c2c9
pushfd
jmp 0x69c2e5
mov word [esp], cx
jmp 0x69c301
mov byte [esp + 2], al
jmp 0x69c31d
lea esp, [esp]
jmp 0x69c339
pop word [esp]
jmp 0x69c355
mov byte [esp], dh
jmp 0x69c371
lea esp, [esp + 2]
jmp 0x69c38d
lea esp, [esp + 4]
jmp 0x7240dd
jmp 0x69c3c5
pushal
jmp 0x69c3e1
bswap edx
jmp 0x69c3fd
pushal
jmp 0x69c419
xchg dword [esp + 0xc], eax
jmp 0x69c435
lea esp, [esp + 0x20]
jmp 0x69c451
popal
jmp 0x69c46d
push eax
jmp 0x69c489
pushfd
jmp 0x69c4a5
lea esp, [esp]
jmp 0x69c4c1
pop word [esp + 3]
jmp 0x69c4dd
pushal
jmp 0x69c4f9
push dword [esp + 0x18]
jmp 0x69c515
lea esp, [esp + 2]
jmp 0x72407e
sub esp, 1
jmp 0x724108
mov eax, dword [ecx + 0x3c]
add eax, ecx
pushfd
mov word [esp], sp
sub esp, 0x19
lea esp, [esp + 0x1a]
add esp, 0
jmp 0x724032
lea esp, [esp + 0x28]
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x72404f
xor eax, eax
pop ebp
ret
lea esp, [esp + 3]
lea esp, [esp + 0x20]
cmp dword [eax], 0x4550
jne 0x724095
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
pushal
bswap edx
xchg edx, eax
bswap ecx
popal
pushfd
pop word [esp]
push word [esp + 1]
jmp 0x724605
mov dword [esp], esi
sub esp, 0x1f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x12], edx
jmp 0x72409c
lea esp, [esp + 1]
lea esp, [esp + 2]
mov byte [esp], bh
mov byte [esp], dh
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x69c3a9
Function at 0x407e40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ed2b
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.0046197f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407ec2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f3fd
mov eax, dword [eax]
push 0x4b21d0
push eax
call fcn.004520b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461c0a
test bl, bl
je 0x407ec2
push 0x4b21d0
lea ecx, [esp + 0xc]
call fcn.00461fe6
push 0x4b5d3c
lea ecx, [esp + 0xc]
call fcn.00461fe6
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 0x407efe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461c0a
jmp 0x407fc9
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 0x407f82
lea edx, [esp + 0x7c]
push 0x4b5d38
push edx
call fcn.004520b4
add esp, 8
test eax, eax
je 0x407f82
lea eax, [esp + 0x7c]
push 0x4b5d34
push eax
call fcn.004520b4
add esp, 8
test eax, eax
je 0x407f82
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 0x407f12
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.00461c0a
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 0x409220
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 0x409282
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 0x409290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ee8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bcc10]
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 0x4093c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4092f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461c0a
xor eax, eax
jmp 0x40943f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461d93
push esi
lea ecx, [esp + 0xc]
call fcn.00462022
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 0x40941d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00409220
test eax, eax
jne 0x40941d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00409220
test eax, eax
jne 0x40941d
lea eax, [esp + 0x14]
push 0x4b5d50
push eax
call fcn.00453190
mov esi, eax
add esp, 8
test esi, esi
jne 0x4093fc
lea ecx, [esp + 0x14]
push 0x4b5d4c
push ecx
call fcn.00453110
mov esi, eax
add esp, 8
test esi, esi
jne 0x4093fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4093ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461d43
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40930e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461c0a
xor eax, eax
jmp 0x40943f
mov byte [esi], 0
push 0x4b5d48
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.00461c0a
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