joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440790
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4b7480]
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.0046f564
add esp, 0x14
ret

Function at 0x440fb0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x440fcd
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x441017
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.00470560
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x441004
mov edx, dword [esp + 0x1c]
push edx
call fcn.0046e29f
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0046f564
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x44102b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046e29f
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.0046f564
add esp, 0x14
ret

Function at 0x441120
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x49a738
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
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.0040a6b0
call fcn.00440fb0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x4411b0
cmp dword [esp + 0x3c], 0x10
jb 0x44119b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0046e29f
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 0x4411ec
cmp dword [esp + 0x3c], 0x10
jb 0x44119b
mov edx, dword [esp + 0x28]
push edx
call fcn.0046e29f
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.00440790
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x441227
mov edx, dword [esp + 0x28]
push edx
call fcn.0046e29f
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 0x446820
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446887
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x446863
cmp eax, 2
jne 0x446876
test esi, esi
mov eax, dword [esp + 0x14]
je 0x446883
test eax, eax
je 0x446880
cmp byte [eax + esi - 1], 0
je 0x446883
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x446890
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4b7480]
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 0x446904
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4468fd
cmp esi, dword [esp + 0x18]
je 0x4468ec
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4468d5
jmp 0x4468fd
test edi, edi
je 0x4468fb
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.0046f564
add esp, 0x12c
ret
Function at 0x446fc0
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x49b5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov eax, str.XUNYOU_H_ShareMemory
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x447014
sub eax, edi
push eax
push str.XUNYOU_H_ShareMemory
lea ecx, [esp + 0x20]
call fcn.0040ae30
push 6
push str._event
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.00409a30
push str.XUNYOU_H_ShareMemory
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
mov byte [esp + 0x17], 1
jne 0x4470ce
push 0x14
call fcn.0046e422
push 0xc
mov ebp, eax
call fcn.0046e422
add esp, 8
cmp ebp, ebx
mov edi, eax
je 0x4470a8
cmp edi, ebx
je 0x4470a8
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4470a8
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4470a8
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
push str.XUNYOU_H_ShareMemory
push 0x32
push ebx
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4470ca
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x447111
mov byte [esp + 0x17], bl
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x4470f8
cmp dword [esp + 0x30], 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jb 0x447125
mov edx, dword [esp + 0x1c]
push edx
jmp 0x44711d
cmp byte [esp + 0x17], bl
jne 0x44710a
push 0x32
push ebx
push eax
call fcn.0046e830
add esp, 0xc
mov dword [esi + 0xc], 0x32
cmp dword [esp + 0x30], 0x10
jb 0x447125
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046e29f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046f564
add esp, 0x30
ret
Function at 0x44b710
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4b7480]
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 0x44b7c1
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x44b7ba
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x44b7ba
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x44b7b0
cmp al, bl
je 0x44b7ac
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x44b7b0
add ecx, 2
add edx, 2
cmp al, bl
jne 0x44b790
xor eax, eax
jmp 0x44b7b5
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.0046f564
add esp, 0x210
ret
Function at 0x44b960
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0xc], 0
je 0x44bb1d
test ebx, ebx
je 0x44bb1d
test edi, edi
je 0x44bb1d
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44bab9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44ba7b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44ba3d
lea ecx, [esp + 0x18]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44ba30
test dl, dl
je 0x44ba2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44ba30
add eax, 2
add ecx, 2
test dl, dl
jne 0x44ba10
xor eax, eax
jmp 0x44ba35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44bb00
mov edx, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046f564
add esp, 0x114
ret
mov eax, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046f564
add esp, 0x114
ret
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
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 0x44baf5
mov ecx, dword [esp + 0xc]
push 0x104
push edi
push 1
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0046f564
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0046f564
add esp, 0x114
ret

Function at 0x44d880
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 0x44d8a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x44d8b8
push 0x80004005
call fcn.00401160
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 0x44d8c5
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 0x44e2b0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4b7480]
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 0x44e31e
test ecx, ecx
je 0x44e310
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 0x44e32c
test ecx, ecx
je 0x44e3d1
push ecx
jmp 0x44e3cb
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 0x44e39e
jmp 0x44e360
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0044e2b0
mov edi, eax
test edi, edi
jne 0x44e3ed
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 0x44e360
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44e3b5
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 0x44e3d1
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.0046f564
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44e3fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x44e3d3
Function at 0x450bf0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4b919e
push eax
mov si, cx
mov ebx, edx
call fcn.0047054d
mov edi, eax
add esp, 8
test edi, edi
je 0x450ce7
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0046e830
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 0x450c4f
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.00470560
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x450c73
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.0046ecb5
add esp, 4
test esi, esi
je 0x450cc7
test ebx, ebx
jne 0x450cc5
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 0x450cde
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0046e29f
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x450cfb
mov edx, dword [esp + 0x68]
push edx
call fcn.0046e29f
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x4589c0
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x49c8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4b7480]
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.004276f0
lea ecx, [esp + 0xc]
push ecx
push 0x44edc0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x458a44
mov edx, dword [esp + 0x14]
push edx
call fcn.0046e29f
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x458a69
mov eax, dword [esp + 0x44]
push eax
call fcn.0046e29f
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.0046f564
add esp, 0x30
ret
Function at 0x459870
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x49cad8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.00459370
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.0040b170
mov ebp, 0x10
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x4598d8
mov eax, dword [eax + 4]
jmp 0x4598db
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x4598f9
mov eax, dword [esp + 0x18]
push eax
call fcn.0046e29f
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
je 0x4599bb
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.0040b170
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x45993c
mov eax, dword [eax + 4]
jmp 0x45993f
add eax, 4
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x459957
mov eax, dword [esp + 0x18]
push eax
call fcn.0046e29f
add esp, 4
test esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
je 0x4599bb
push esi
call edi
push str.update.exe
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040b170
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x459994
mov eax, dword [eax + 4]
jmp 0x459997
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
setne bl
cmp dword [esp + 0x2c], ebp
jb 0x4599b7
mov eax, dword [esp + 0x18]
push eax
call fcn.0046e29f
add esp, 4
test bl, bl
je 0x4599d6
push ebp
push 0x49fd10
push 0x4a2334
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x48], ebp
jb 0x4599e9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0046e29f
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.0046f564
add esp, 0x48
ret
Function at 0x45b1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.0045aae0
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 0x45b2af
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 0x45b224
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 0x45b288
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x45b288
push ebx
push edi
call fcn.0044b380
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 0x45b274
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x45b296
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45b296
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 0x45b2a5
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 0x45b2f0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x49ccd2
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4b7480]
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 0x45b3a4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45b39d
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.004704c5
add esp, 8
test eax, eax
jne 0x45b38e
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0045b0c0
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x45b370
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.0046f564
add esp, 0x140
ret
Function at 0x45bab0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x49cecd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b7480]
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], 0x4a1988
lea edi, [esi + 0x2c]
push ebx
mov dword [esi + 0x24], 0x4a1b78
mov dword [esi + 0x214], ebx
push edi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x218], ebx
call fcn.0046e830
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.0045b520
mov dword [esi], 0x4a23c0
mov dword [esi + 0x20], 0x4a23b8
mov dword [esi + 0x24], 0x4a23b0
mov dword [edi], 0x4a23a8
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 0x44bd10
push 0x44cd20
push 6
push 4
lea eax, [esi + 0x2a8]
push eax
mov byte [esp + 0x30], 5
call fcn.0046fe44
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.0044f520
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 0x424130
push 0x450520
push 3
push 0x48
lea ecx, [esi + 0x318]
push ecx
call fcn.0046fe44
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 0x45bc84
push 0x10
push 0x49fd10
push 0x4a2334
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