joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fce0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x44fcf6
push 0x80004005
call fcn.004014a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x44fe60
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x220]
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x4af7cc
push 1
push esi
push 0x4af9fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44ff33
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x44ff33
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jl 0x44ff33
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push 0x4b2d7c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x44ff27
cmp dword [esp + 0x10], esi
je 0x44ff27
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 2
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0047a194
add esp, 0x214
ret 8
Function at 0x450180
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c7894]
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 0x4501ed
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 0x4ac460
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.004141d0
mov ecx, dword [esi]
push ecx
call edi
test eax, eax
je 0x450297
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 0x450225
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.0044fdb0
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 0x450290
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4ac460
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, 1
jmp 0x450299
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a194
add esp, 0x108
ret 4
Function at 0x4515b0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c7894]
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.0047a194
add esp, 0x14
ret

Function at 0x451dd0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x451ded
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x451e37
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.0047bd20
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x451e24
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047964d
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047a194
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x451e4b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047964d
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.0047a194
add esp, 0x14
ret

Function at 0x451f40
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4a6bb8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
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.00408230
call fcn.00451dd0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x451fd0
cmp dword [esp + 0x3c], 0x10
jb 0x451fbb
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047964d
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 0x45200c
cmp dword [esp + 0x3c], 0x10
jb 0x451fbb
mov edx, dword [esp + 0x28]
push edx
call fcn.0047964d
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.004515b0
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x452047
mov edx, dword [esp + 0x28]
push edx
call fcn.0047964d
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 0x4589c0
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 0x458a27
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x458a03
cmp eax, 2
jne 0x458a16
test esi, esi
mov eax, dword [esp + 0x14]
je 0x458a23
test eax, eax
je 0x458a20
cmp byte [eax + esi - 1], 0
je 0x458a23
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 0x458a30
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4c7894]
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 0x458aa4
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x458a9d
cmp esi, dword [esp + 0x18]
je 0x458a8c
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x458a75
jmp 0x458a9d
test edi, edi
je 0x458a9b
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.0047a194
add esp, 0x12c
ret
Function at 0x459160
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4a7d38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
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 0x4591b4
sub eax, edi
push eax
push str.XUNYOU_H_ShareMemory
lea ecx, [esp + 0x20]
call fcn.0040ecf0
push 6
push str._event
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.00417ce0
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 0x45926e
push 0x14
call fcn.00479c61
push 0xc
mov ebp, eax
call fcn.00479c61
add esp, 8
cmp ebp, ebx
mov edi, eax
je 0x459248
cmp edi, ebx
je 0x459248
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x459248
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x459248
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 0x45926a
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x4592b1
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 0x459298
cmp dword [esp + 0x30], 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jb 0x4592c5
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4592bd
cmp byte [esp + 0x17], bl
jne 0x4592aa
push 0x32
push ebx
push eax
call fcn.00479d70
add esp, 0xc
mov dword [esi + 0xc], 0x32
cmp dword [esp + 0x30], 0x10
jb 0x4592c5
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047964d
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.0047a194
add esp, 0x30
ret
Function at 0x45d910
Capabilities:
Check if file exists
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4c7894]
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 0x45daac
test edi, edi
je 0x45daac
test ebx, ebx
je 0x45daac
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 0x45d970
sub eax, edx
push ebp
lea ebp, [eax + 1]
cmp ebp, 0x104
jle 0x45d99b
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 0x45da4b
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 0x45da32
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45da19
lea ecx, [esp + 0x1c]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x45da10
test dl, dl
je 0x45da0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x45da10
add eax, 2
add ecx, 2
test dl, dl
jne 0x45d9f0
xor eax, eax
jmp 0x45da15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45da8e
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 0x45da88
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 0x45da88
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 0x45da83
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.0047a194
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047a194
add esp, 0x114
ret

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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x45f108
push 0x80004005
call fcn.004014a0
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 0x45f115
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 0x45fac0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4c7894]
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 0x45fb2e
test ecx, ecx
je 0x45fb20
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 0x45fb3c
test ecx, ecx
je 0x45fbe1
push ecx
jmp 0x45fbdb
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 0x45fbae
jmp 0x45fb70
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0045fac0
mov edi, eax
test edi, edi
jne 0x45fbfd
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 0x45fb70
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45fbc5
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 0x45fbe1
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.0047a194
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45fc0c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x45fbe3
Function at 0x4621a0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4c9606
push eax
mov si, cx
mov ebx, edx
call fcn.0047bd0d
mov edi, eax
add esp, 8
test edi, edi
je 0x462297
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00479d70
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 0x4621ff
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.0047bd20
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x462223
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.00479e6d
add esp, 4
test esi, esi
je 0x462277
test ebx, ebx
jne 0x462275
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 0x46228e
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047964d
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x4622ab
mov edx, dword [esp + 0x68]
push edx
call fcn.0047964d
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x4637f0
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4a8ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4c7894]
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.00408310
lea ecx, [esp + 0xc]
push ecx
push 0x460460
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x463874
mov edx, dword [esp + 0x14]
push edx
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x463899
mov eax, dword [esp + 0x44]
push eax
call fcn.0047964d
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.0047a194
add esp, 0x30
ret
Function at 0x464310
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a8cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.00463e00
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.00418fe0
mov ebp, 0x10
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x464378
mov eax, dword [eax + 4]
jmp 0x46437b
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x464399
mov eax, dword [esp + 0x18]
push eax
call fcn.0047964d
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
je 0x46445b
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.00418fe0
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x4643dc
mov eax, dword [eax + 4]
jmp 0x4643df
add eax, 4
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x4643f7
mov eax, dword [esp + 0x18]
push eax
call fcn.0047964d
add esp, 4
test esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
je 0x46445b
push esi
call edi
push str.update.exe
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00418fe0
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x464434
mov eax, dword [eax + 4]
jmp 0x464437
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
setne bl
cmp dword [esp + 0x2c], ebp
jb 0x464457
mov eax, dword [esp + 0x18]
push eax
call fcn.0047964d
add esp, 4
test bl, bl
je 0x464476
push ebp
push 0x4ac78c
push 0x4ae844
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x48], ebp
jb 0x464489
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047964d
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.0047a194
add esp, 0x48
ret
Function at 0x465aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.00410850
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 0x465b7f
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x465af4
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 0x465b58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x465b58
push ebx
push edi
call fcn.0042f5d0
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 0x465b44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x465b66
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x465b66
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 0x465b75
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 0x465bc0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4a8ed2
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4c7894]
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 0x465c74
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x465c6d
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.0047bc85
add esp, 8
test eax, eax
jne 0x465c5e
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00465990
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x465c40
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.0047a194
add esp, 0x140
ret