joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013e4c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10013e63
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x10013e91
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10013e91
push 0
push 0x9c
push 0
push 0
push 0x474
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x1001b2c6
Capabilities:
Clear file content
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001b2ea
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001b2e8
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1001b318
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001b318
push 0
push 0x9c
push 0
push 0
push 0x474
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10027032
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027048
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002706c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002706c
push 0
push 0x9c
push 0
push 0
push 0x474
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x1002cee6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002cf28
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.1006a7ec
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x1002cf35
push 0x1105
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esp, ebp
pop ebp
ret

Function at 0x1002d6ed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002d711
xor eax, eax
jmp 0x1002d876
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4bf3
push 1
push 0x403c
call fcn.1002d303
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002d743
xor eax, eax
jmp 0x1002d876
lea eax, [ebp - 8]
push eax
push 0x28d2
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1002d374
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002d767
xor eax, eax
jmp 0x1002d876
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002d3c9
add esp, 0x18
push 0x3642
lea eax, [ebp + 8]
push eax
push 0x4060
push 0x57a
push 1
push 0x661
lea eax, [ebp - 8]
push eax
push 0x3200
lea eax, [ebp - 4]
push eax
call fcn.1002d44f
add esp, 0x24
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x5e54
push 0x4b11
push 1
call fcn.1002d5d1
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x1002d7ec
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002d65c
add esp, 0xc
push dword [ebp - 4]
call fcn.1002cf39
pop ecx
test eax, eax
jne 0x1002d7fd
xor eax, eax
jmp 0x1002d876
push 0x1e53
push 0
push 0x504d
push 0x53b3
push dword [ebp - 4]
call fcn.100290b9
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002d85e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002d838
xor eax, eax
jmp 0x1002d876
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002d851
xor eax, eax
jmp 0x1002d876
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002d6ba
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002d86f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002d873
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003fe1d
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003fe74
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
mov dword [ecx + eax], edx
jmp 0x1003fe7a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esp, ebp
pop ebp
ret

Function at 0x1004035a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10040383
push 0x214f
push 0x220c
push 0x19ca
push 0x2532
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
jmp 0x1004039b
push 0
push 0x9c
push 0
push 0
push 0x474
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10080b8a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10088330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006ee4a
mov dword [ebp - 0x14], eax
cmp dword [0x10675d5c], esi
jne 0x10080c7d
push 0x800
push esi
push 0x10007d3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10080c0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10080d5d
push esi
push esi
push 0x10007d3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10080d5d
push 0x10007d54
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10080d5d
push eax
call ebx
push 0x10007d60
push edi
mov dword [0x10675d5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d70
push edi
mov dword [0x10675d60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007d84
push edi
mov dword [0x10675d64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10675d6c], eax
test eax, eax
je 0x10080c7a
push 0x10007da0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10675d68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10080ca2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10080c95
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10080cb7
push 4
pop eax
jmp 0x10080d5f
cmp dword [ebp - 0x14], esi
je 0x10080cb7
push dword [0x10675d5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10080c9c
mov eax, dword [0x10675d68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10080d15
cmp dword [0x10675d6c], edi
je 0x10080d15
push eax
call ebx
push dword [0x10675d6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10080d15
test eax, eax
je 0x10080d15
call ecx
test eax, eax
je 0x10080d0a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10080d0a
test byte [ebp - 8], 1
jne 0x10080d15
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10080d45
mov eax, dword [0x10675d60]
cmp eax, edi
je 0x10080d42
push eax
call ebx
test eax, eax
je 0x10080d42
call eax
mov esi, eax
test esi, esi
je 0x10080d42
mov eax, dword [0x10675d64]
cmp eax, edi
je 0x10080d42
push eax
call ebx
test eax, eax
je 0x10080d42
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10675d5c]
call ebx
test eax, eax
je 0x10080d5d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10080d5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006ac79
mov esp, ebp
pop ebp
ret
Function at 0x45391c
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.0040415c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45396b
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.004043cc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b0d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b10c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0ed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0fc
or bl, 4
test esi, 0x20000000
je 0x45b107
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4617b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4617c6
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba0
mov eax, dword [0x46f7ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b58
mov eax, dword [0x46f7f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b64
mov eax, ebx
call fcn.00461b70
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
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, 0x45df8c
push eax
push 0
push 0
mov eax, dword [0x46f948]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e61c]
call fcn.0041fcb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461f90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461e6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461903
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461c50
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 0x461dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461ddc
mov dl, 1
mov eax, dword [0x415260]
call fcn.00403360
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040415c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461dcb
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.0044fc84
test al, al
je 0x461dbe
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, 0x461e0c
lea eax, [ebp - 0x254]
call fcn.00409180
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x461dbe
xor eax, eax
push ebp
push 0x461db7
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 0x461e44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x461da0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
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 0x461da0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461cc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418d3c
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 0x461e02
lea eax, [ebp - 0x260]
call fcn.0040415c
ret

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

Disassembly:
push ecx
mov eax, dword [0x470bc0]
cmp byte [eax + 0xa5], 0
jne 0x4627a1
cmp dword [0x470bd8], 0
jne 0x462762
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4626ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470bd8], eax
cmp dword [0x470bd4], 0
jne 0x46277d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x470bd4], eax
cmp dword [0x470bdc], 0
jne 0x4627a1
push esp
push 0
push 0
push 0x462690
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x470bdc], eax
pop edx
ret
Function at 0x462898
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4628af
add esp, 0xfffffff0
call fcn.004036b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cba0
mov eax, dword [0x46f934]
cmp word [eax + 2], 0
jne 0x4628d7
mov eax, dword [0x46f934]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463dec
mov eax, dword [0x46f9ec]
cmp word [eax + 2], 0
jne 0x4628f1
mov eax, dword [0x46f9ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463fe4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414e44]
call fcn.00403360
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 [0x41f024]
call fcn.00426474
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462a78
mov eax, dword [0x46f854]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426844
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464584
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46f854]
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.0040c8c4
test eax, eax
je 0x4629e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b60
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8ec
test eax, eax
je 0x4629fa
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.004043cc
mov eax, dword [0x46f728]
cmp byte [eax], 0
jne 0x462a2e
mov eax, ebx
call fcn.00462ba0
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.00464760
mov eax, ebx
call fcn.00465124
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462a6e
call fcn.0040370c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462e20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470bc0]
cmp dword [eax + 0x30], 0
je 0x462eca
cmp dword [ebx + 0x94], 0
jne 0x462ec4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462db0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462ec4
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 0x462e8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462ec4
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.004171ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462e99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463a2c
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 0x463a61
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.0040424c
jmp 0x463a6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46493c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46497d
mov eax, esi
call fcn.0044b48c
test al, al
je 0x46497d
mov eax, dword [ebx + 0x84]
call fcn.0044b22c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46497d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b22c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x466a94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x466c6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x466c51
mov eax, dword [edi + 0x30]
call fcn.0040441c
test eax, eax
jne 0x466aea
mov eax, dword [edi + 0x34]
call fcn.0040441c
test eax, eax
jne 0x466aea
mov eax, edi
call fcn.00466d08
jmp 0x466c51
cmp dword [edi + 0xa0], 0
jne 0x466b21
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00408bbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470be4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x466b58
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00408bbc
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470be4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00466d48
mov ebx, eax
test bl, bl
jne 0x466c06
mov eax, dword [edi + 0x30]
call fcn.0040441c
test eax, eax
jne 0x466b90
mov eax, dword [edi + 0xc0]
call fcn.0040441c
test eax, eax
je 0x466c06
mov eax, dword [edi + 0xc0]
call fcn.0040441c
test eax, eax
je 0x466bb2
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00408bbc
jmp 0x466bde
push dword [edi + 0x30]
push 0x466c84
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004044dc
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00408bbc
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x466c06
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00466d48
mov ebx, eax
test bl, bl
jne 0x466c13
mov eax, edi
call fcn.00466d08
jmp 0x466c51
mov eax, dword [edi + 0x58]
test eax, eax
je 0x466c22
mov dword [edi + 0xa8], eax
jmp 0x466c2c
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00466dc0
test al, al
je 0x466c51
mov eax, edi
mov si, 0xffee
call fcn.0040358c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00466f90
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c71
lea eax, [ebp - 0x108]
call fcn.0040415c
ret
Function at 0x46962c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x4696fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x469710
call fcn.00404760
test eax, eax
jne 0x469679
push 9
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4696e0
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x469710
call fcn.00404760
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040467c
mov edx, dword [ebp - 4]
mov eax, 0x469710
call fcn.00404760
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.004046bc
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004041f4
push 9
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040461c
push eax
mov eax, dword [ebp - 8]
call fcn.0040461c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469702
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret