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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x465310]
cmp byte [eax + 0xc], 0
je 0x448395
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44838e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466b6c], 0
jne 0x44827c
push 0x44839c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4483a4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b6c], eax
cmp dword [0x464ca0], 0
jne 0x448377
push 0x4483b4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x464ca0], eax
cmp dword [0x464ca0], 0
je 0x448377
push 0x4483c0
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b70], eax
push 0x4483d0
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b74], eax
push 0x4483e4
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b78], eax
push 0x4483fc
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b7c], eax
push 0x448414
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b80], eax
push 0x448428
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b84], eax
push 0x448440
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b88], eax
push 0x448458
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b8c], eax
push 0x448474
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b90], eax
push 0x448480
mov eax, dword [0x464ca0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448395
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x453e88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453ed8]
test si, 4
je 0x453e9c
or bl, 1
test si, 8
je 0x453ea6
or bl, 4
test si, 1
je 0x453eb0
or bl, 8
test si, 2
je 0x453eba
or bl, 0x10
test si, 0x10
je 0x453ec4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453ed3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453edc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453f14]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453ef5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453f04
or bl, 4
test esi, 0x20000000
je 0x453f0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a5bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a5ce
add esp, 0xfffffff0
call fcn.00403454
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419338
mov eax, dword [0x464fb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a960
mov eax, dword [0x464fbc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a96c
mov eax, ebx
call fcn.0045a978
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
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, 0x456d94
push eax
push 0
push 0
mov eax, dword [0x465114]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41adb4]
call fcn.0041c528
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41adb4]
call fcn.0041c528
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41adb4]
call fcn.0041c528
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ad98
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ac74
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ac74
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ac74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a70b
call fcn.004034ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45aa58
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 0x45ac03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45abe4
mov dl, 1
mov eax, dword [0x4119dc]
call fcn.00403100
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e80
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45abd3
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.00448588
test al, al
je 0x45abc6
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, 0x45ac14
lea eax, [ebp - 0x254]
call fcn.00408a9c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45abc6
xor eax, eax
push ebp
push 0x45abbf
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 0x45ac4c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45aba8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f0
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 0x45aba8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45abc6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45aac9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415528
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 0x45ac0a
lea eax, [ebp - 0x260]
call fcn.00403e80
ret

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

Disassembly:
push ecx
mov eax, dword [0x466bb8]
cmp byte [eax + 0xa5], 0
jne 0x45b5a9
cmp dword [0x466bd0], 0
jne 0x45b56a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45b4f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x466bd0], eax
cmp dword [0x466bcc], 0
jne 0x45b585
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x466bcc], eax
cmp dword [0x466bd4], 0
jne 0x45b5a9
push esp
push 0
push 0
push 0x45b498
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x466bd4], eax
pop edx
ret
Function at 0x45b6a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b6b7
add esp, 0xfffffff0
call fcn.00403454
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419338
mov eax, dword [0x4650f8]
cmp word [eax + 2], 0
jne 0x45b6df
mov eax, dword [0x4650f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ce20
mov eax, dword [0x4651b8]
cmp word [eax + 2], 0
jne 0x45b6f9
mov eax, dword [0x4651b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d018
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115c0]
call fcn.00403100
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 [0x41b894]
call fcn.00422dd0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45b880
mov eax, dword [0x465018]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004231a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d5b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x465018]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040c164
test eax, eax
je 0x45b7ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408490
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c18c
test eax, eax
je 0x45b802
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.004040f0
mov eax, dword [0x464ef8]
cmp byte [eax], 0
jne 0x45b836
mov eax, ebx
call fcn.0045b9a8
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.0045d794
mov eax, ebx
call fcn.0045e158
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b876
call fcn.004034ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc28
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466bb8]
cmp dword [eax + 0x30], 0
je 0x45bcd2
cmp dword [ebx + 0x94], 0
jne 0x45bccc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bbb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bccc
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 0x45bc92
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bccc
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.00413928
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bca1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c834
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 0x45c869
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.00403f70
jmp 0x45c876
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ed4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d970
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d9b1
mov eax, esi
call fcn.00443b2c
test al, al
je 0x45d9b1
mov eax, dword [ebx + 0x84]
call fcn.00443828
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d9b1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443828
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4019b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401a88
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x401a88
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x401a88
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x401a0e
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x401a88
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401a53
test dl, dl
je 0x401a4f
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401a53
add ecx, 2
add eax, 2
test dl, dl
jne 0x401a33
xor eax, eax
jmp 0x401a58
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401a6a
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x401a75
inc esi
cmp esi, ebp
jae 0x401a88
mov edx, dword [esp + 0x10]
jmp 0x401a29
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x401cec
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401cf7
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x401d0b
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x401d0f
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x401d48
cmp dword [edi + ecx], 0x4550
jne 0x401d48
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x401d48
test byte [edi + ecx + 0x16], 2
je 0x401d48
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x401d4d
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x401d89
xor eax, eax
jmp 0x401d6c
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x401d92
inc edx
movzx eax, dx
cmp eax, edi
jl 0x401d6c
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x401d98
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x401dd0
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x401dde
add edx, 0x20
cmp eax, edx
jne 0x401def
test bx, bx
je 0x401e24
add esi, 2
add edi, 2
jmp 0x401dc0
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x401dfd
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x401e0b
add edx, 0x20
sub ecx, edx
je 0x401e24
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x401db9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40289d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x40295e
test ecx, ecx
je 0x40295e
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x40295e
test ebx, ebx
je 0x40295e
mov ebx, eax
add ebx, edx
je 0x40295e
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x40295e
cmp dword [edx + eax + 0x14], 0
je 0x40295e
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x40295e
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x40294e
test dl, dl
je 0x40294a
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x40294e
add edi, 2
add esi, 2
test dl, dl
jne 0x40292e
xor eax, eax
jmp 0x402953
sbb eax, eax
or eax, 1
test eax, eax
je 0x40296a
inc ebp
cmp ebp, dword [esp + 4]
jb 0x40291b
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x46b310
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51b6cb
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.0050ff07
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46b392
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0050dc49
mov eax, dword [eax]
push 0x871e78
push eax
call fcn.004ed734
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00510192
test bl, bl
je 0x46b392
push 0x871e78
lea ecx, [esp + 0xc]
call fcn.00510522
push 0x871e84
lea ecx, [esp + 0xc]
call fcn.00510522
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 0x46b3ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00510192
jmp 0x46b499
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 0x46b452
lea edx, [esp + 0x7c]
push 0x871e80
push edx
call fcn.004ed734
add esp, 8
test eax, eax
je 0x46b452
lea eax, [esp + 0x7c]
push 0x871e7c
push eax
call fcn.004ed734
add esp, 8
test eax, eax
je 0x46b452
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 0x46b3e2
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.00510192
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 0x46bc90
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 0x46bcf2
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 0x46bd00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push lstrcatA
mov eax, dword fs:[0]
push eax
mov dword fs:[InitializeCriticalSection], esp
sub esp, 0x20c
mov eax, dword [0x883408]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + DeleteCriticalSectionx21c], 0
test eax, eax
jne 0x46be38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46bd66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00510192
xor eax, eax
jmp 0x46beaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005102cf
push esi
lea ecx, [esp + 0xc]
call fcn.0051055e
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 ReleaseSemaphore
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0046bc90
test eax, eax
jne lstrlenW
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.0046bc90
test eax, eax
jne ReleaseSemaphore
lea eax, [esp + 0x14]
push FindResourceA
push eax
call fcn.004ee890
mov esi, eax
add esp, 8
test esi, esi
jne SetEvent
lea ecx, [esp + 0x14]
push 0x871e90
push ecx
call fcn.004ee810
mov esi, eax
add esp, 8
test esi, esi
jne 0x46be6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46be6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0051027f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne GetProfileStringA
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00510192
xor eax, eax
jmp 0x46beaf
mov byte [esi], 0
push 0x871e8c
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.00510192
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