joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454e90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esi + 0x18], eax
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jne 0x454efd
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0
push ecx
mov ecx, esp
push 0
push 0x50000100
push 0x4b0c8c
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 0x18]
push eax
call ebx
push eax
mov ecx, esi
call fcn.00417570
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
je 0x454fa7
mov edx, dword [esi + 0x18]
lea edi, [esi + 4]
push edi
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x18]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, eax
push edi
push ebx
call ebp
test eax, eax
je 0x454f35
lea ecx, [edi + 8]
push ecx
push ebx
call ebp
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
push 1
sub edi, edx
push edi
sub eax, ecx
push eax
push edx
push ecx
mov ecx, esi
call fcn.00454ae0
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
call edi
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
mov edx, dword [esi + 0x18]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x454fa0
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4b0c8c
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, 1
jmp 0x454fa9
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047b88d
add esp, 0x108
ret 4
Function at 0x4562c0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push 0
mov word [esp + 0xe], dx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047b88d
add esp, 0x14
ret

Function at 0x456ae0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x456afd
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x456b47
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0047c3d0
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x456b34
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047b89c
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047b88d
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x456b5b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047b89c
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.0047b88d
add esp, 0x14
ret

Function at 0x456c50
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4ab128
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x44], 0
mov byte [ecx + 4], 0
call fcn.00403af0
call fcn.00456ae0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x456ce0
cmp dword [esp + 0x3c], 0x10
jb 0x456ccb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047b89c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x456d1c
cmp dword [esp + 0x3c], 0x10
jb 0x456ccb
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov ecx, edi
mov edx, eax
call fcn.004562c0
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x456d57
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b89c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x45d690
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45d704
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45d6fd
cmp esi, dword [esp + 0x18]
je 0x45d6ec
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x45d6d5
jmp 0x45d6fd
test edi, edi
je 0x45d6fb
mov ecx, 0x4a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0047b88d
add esp, 0x12c
ret
Function at 0x461e70
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push ebx
push edi
lea ecx, [esp + 8]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x461f21
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x461f1a
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x461f1a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x461f10
cmp al, bl
je 0x461f0c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x461f10
add ecx, 2
add edx, 2
cmp al, bl
jne 0x461ef0
xor eax, eax
jmp 0x461f15
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x214]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0047b88d
add esp, 0x210
ret
Function at 0x4620c0
Capabilities:
Check if file exists
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
je 0x46225c
test edi, edi
je 0x46225c
test ebx, ebx
je 0x46225c
mov eax, ebx
mov dword [esp + 0x14], 0x104
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x462120
sub eax, edx
push ebp
lea ebp, [eax + 1]
cmp ebp, 0x104
jle 0x46214b
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.the_length_is_too_big_r_n
call edi
push ebx
call edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4621fb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4621e2
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4621c9
lea ecx, [esp + 0x1c]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4621c0
test dl, dl
je 0x4621bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4621c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4621a0
xor eax, eax
jmp 0x4621c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46223e
mov edx, dword [esp + 0x10]
push ebp
push ebx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x462238
mov eax, dword [esp + 0x10]
push ebp
push ebx
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x462238
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x462233
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push 1
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0047b88d
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047b88d
add esp, 0x114
ret

Function at 0x4634f0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x463510
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x463528
push 0x80004005
call fcn.00401ae0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x463535
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x463ee0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x463f4e
test ecx, ecx
je 0x463f40
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x463f5c
test ecx, ecx
je 0x464001
push ecx
jmp 0x463ffb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x463fce
jmp 0x463f90
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00463ee0
mov edi, eax
test edi, edi
jne 0x46401d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x463f90
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x463fe5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x464001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0047b88d
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46402c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x464003
Function at 0x466330
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4ce584
push eax
mov si, cx
mov ebx, edx
call fcn.0047e12d
mov edi, eax
add esp, 8
test edi, edi
je 0x466427
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0047c790
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], si
jae 0x46638f
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.0047c3d0
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x4663b3
lea eax, [esp + 0xc]
push eax
neg si
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.0047cfac
add esp, 4
test esi, esi
je 0x466407
test ebx, ebx
jne 0x466405
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
test esi, esi
setne bl
cmp dword [esp + 0x7c], 0x10
jb 0x46641e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047b89c
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x46643b
mov edx, dword [esp + 0x68]
push edx
call fcn.0047b89c
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x467890
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4ad058
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0040b4c0
lea ecx, [esp + 0xc]
push ecx
push 0x464880
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x467914
mov edx, dword [esp + 0x14]
push edx
call fcn.0047b89c
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x467939
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b89c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047b88d
add esp, 0x30
ret
Function at 0x468320
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4ad218
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.00467e20
push str._toolbar.dll
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
xor edi, edi
push edx
mov dword [esp + 0x68], edi
call fcn.0041b600
mov ebp, 0x10
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x468388
mov eax, dword [eax + 4]
jmp 0x46838b
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x4683a9
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b89c
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
je 0x46846b
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call edi
push str.update.dll
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041b600
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x4683ec
mov eax, dword [eax + 4]
jmp 0x4683ef
add eax, 4
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x468407
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b89c
add esp, 4
test esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
je 0x46846b
push esi
call edi
push str.update.exe
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041b600
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x468444
mov eax, dword [eax + 4]
jmp 0x468447
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
setne bl
cmp dword [esp + 0x2c], ebp
jb 0x468467
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b89c
add esp, 4
test bl, bl
je 0x468486
push ebp
push 0x4b19a0
push 0x4b3ac4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x48], ebp
jb 0x468499
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b89c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0047b88d
add esp, 0x48
ret
Function at 0x4696f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.004134b0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x4697cf
push pe_nt_image_headers32
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x469744
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x4697a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4697a8
push ebx
push edi
call fcn.00432d00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
test esi, esi
jne 0x469794
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x4697b6
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4697b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4697c5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x469810
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4ad412
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push eax
push 2
mov dword [esp + 0x14c], eax
mov dword [esp + 0x10], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4698c4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4698bd
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.0047e0a6
add esp, 8
test eax, eax
jne 0x4698ae
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00440870
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x469890
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0047b88d
add esp, 0x140
ret
Function at 0x469fd0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4ad60d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push 0x1e8
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
lea edi, [esi + 0x2c]
push ebx
mov dword [esi + 0x24], vtable.WTLEx::CWtlTrayImp_class_CMainDlg__129_.0
mov dword [esi + 0x214], ebx
push edi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x218], ebx
call fcn.0047c790
add esp, 0xc
mov dword [edi], 0x1e8
mov dword [esi + 0x34], 0x81
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x21c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00469a40
mov dword [esi], vtable.CMainDlg.3.0
mov dword [esi + 0x20], vtable.CMainDlg.2.0
mov dword [esi + 0x24], vtable.CMainDlg.1.0
mov dword [edi], vtable.CMainDlg.0
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov edi, 0xf
mov dword [esi + 0x2a4], edi
mov dword [esi + 0x2a0], ebx
mov byte [esi + 0x290], bl
push 0x462440
push 0x462d40
push 6
push 4
lea eax, [esi + 0x2a8]
push eax
mov byte [esp + 0x30], 5
call fcn.0047d130
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x2d4], ebx
mov byte [esi + 0x2c4], bl
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x304], edi
mov dword [esi + 0x300], ebx
mov byte [esi + 0x2f0], bl
lea edi, [esi + 0x308]
mov ecx, edi
mov byte [esp + 0x1c], 8
call fcn.00464ec0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], 9
mov dword [esi + 0x314], ebx
push 0x4094b0
push 0x465df0
push 3
push 0x48
lea ecx, [esi + 0x318]
push ecx
call fcn.0047d130
lea edx, [esi + 0x254]
push edx
mov dword [esi + 0x3f0], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.toolbar.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x274], eax
jne 0x46a1a4
push 0x10
push 0x4b19a0
push 0x4b3ac4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret