joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d780
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484a90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42d88b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
push 0x20b
lea eax, [ebp - 0x14]
push eax
call fcn.00415aa0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040e550
push eax
push 0x48fa20
lea ecx, [ebp - 0x14]
call fcn.00411330
lea ecx, [ebp - 0x10]
call fcn.0040e380
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str._s___d_
lea eax, [ebp - 0x10]
push eax
call fcn.00412a80
add esp, 0x10
push 0x30
push 0x66
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00415aa0
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
call fcn.0040e550
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e550
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040e4c0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov al, byte [ebp - 0x1d]
jmp 0x42d88d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e9e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0046ac10
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x140
mov dword [ebp - 0x30], str.runas
mov ecx, dword [ebp + 8]
call fcn.00402260
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00402260
mov dword [ebp - 0x28], eax
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42ea49
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
jmp 0x42ea4b
xor al, al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x430670
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0046a7a0
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x430fa0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0xc8
call fcn.00431c30
test eax, eax
jne 0x430fd5
mov al, 1
jmp 0x431183
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
add eax, 0x200
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0046df68
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x431021
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.PSAPI.DLL_EnumProcesses
jmp 0x431028
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x430fea
cmp dword [ebp - 0x10], 0
jne 0x43103d
xor al, al
jmp 0x431183
mov ecx, dword [ebp - 8]
shr ecx, 2
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
jmp 0x431058
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jae 0x431175
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431170
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x200
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046df68
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4310d9
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
jmp 0x4310e0
mov dword [ebp - 0x24], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x20]
jb 0x43109d
cmp dword [ebp - 0x28], 0
jne 0x4310f3
jmp 0x43104f
mov eax, dword [ebp - 0x20]
shr eax, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0
jmp 0x43110e
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x1c]
jae 0x43115a
push 0x104
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x431158
mov edx, dword [ebp - 0x13c]
push edx
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x13c]
add ecx, 0xc8
call fcn.0041e670
jmp 0x431105
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0046b365
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43104f
mov eax, dword [ebp - 0x10]
push eax
call fcn.0046b365
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret
Function at 0x431c50
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4853b9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Installer_Driver.0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040e380
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0040e380
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0040e380
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040e380
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0040e380
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0040e380
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040e380
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0040e380
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040e380
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040e380
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00434b10
mov byte [ebp - 4], 0xa
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x431d60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48544d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Installer_Driver.0
mov dword [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00434ba0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040e4c0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0040e4c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0040e4c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0040e4c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0040e4c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0040e4c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040e4c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0040e4c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040e4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x434710
Capabilities:
Copy file
Create directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485924
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0xd], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004349d0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
push 0x80
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040e550
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne dl
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x4347ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x50
jne 0x4347fd
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042ff40
add esp, 8
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x434816
push 0x80
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x434aa0
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x80
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x434afb
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x434b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x434b0a
mov al, 1
jmp 0x434b0c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x43e0a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4871d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e440
mov dword [ebp - 4], 1
push str._driver
lea ecx, [ebp - 0x14]
call fcn.0040e440
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0043dea0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x447f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x94], 1
mov ecx, dword [ebp - 8]
call fcn.004388f0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x120]
or edx, 8
push edx
mov ecx, dword [ebp - 4]
call fcn.00438910
mov eax, dword [ebp - 8]
add eax, 0x11c
push eax
push 0x3025
mov ecx, dword [ebp - 4]
call fcn.0043f2a0
push 5
mov ecx, dword [ebp - 8]
add ecx, 0x98
call fcn.0045aace
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x110], 0
jle 0x448014
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x110]
push eax
push 1
mov ecx, dword [ebp - 8]
call fcn.004489b0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
mov edx, dword [ebp - 8]
add edx, 0x8c
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4486e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x88], eax
mov esp, ebp
pop ebp
ret
Function at 0x448040
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x94]
test ecx, ecx
je 0x448141
mov dword [ebp - 0xc], 0x2710
mov ecx, dword [ebp - 0x14]
call fcn.004388f0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x120]
push eax
mov ecx, dword [ebp - 8]
call fcn.00438910
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x98
call fcn.0045aace
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x110], 0
jle 0x4480ad
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x114]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004489e0
mov ecx, dword [ebp - 0x14]
add ecx, 0x95
call fcn.00448900
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x94], 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x44810d
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp - 0x14]
add edx, 0x118
push edx
push 0x3025
mov ecx, dword [ebp - 8]
call fcn.0043f2a0
mov esp, ebp
pop ebp
ret
Function at 0x44c820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4890ce
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebp - 0x13c]
call fcn.00461c7b
mov ecx, dword [ebp - 0x13c]
call fcn.004388f0
mov dword [ebp - 0x10], eax
push 4
mov ecx, dword [ebp - 0x13c]
add ecx, 0xac
call fcn.00447890
push 0xffffffffffffffff
push 0xc8
push 0
push 0x142
lea eax, [ebp - 0x128]
push eax
call fcn.00415aa0
add esp, 8
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
call fcn.0040e550
push eax
push 0
mov ecx, dword [ebp - 0x13c]
add ecx, 0xac
call fcn.004624bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0040e4c0
push 0xffffffffffffffff
push 0x5a
push 0
push 0x148
lea edx, [ebp - 0x12c]
push edx
call fcn.00415aa0
add esp, 8
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14c]
call fcn.0040e550
push eax
push 1
mov ecx, dword [ebp - 0x13c]
add ecx, 0xac
call fcn.004624bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.0040e4c0
push 0xffffffffffffffff
push 0x5a
push 0
push 0x149
lea ecx, [ebp - 0x130]
push ecx
call fcn.00415aa0
add esp, 8
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x154]
call fcn.0040e550
push eax
push 2
mov ecx, dword [ebp - 0x13c]
add ecx, 0xac
call fcn.004624bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.0040e4c0
call fcn.0042db20
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0043fb00
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040de50
movzx ecx, al
test ecx, ecx
je 0x44ca19
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00410290
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040e510
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.0040e4c0
lea ecx, [ebp - 0x18]
call fcn.0040de50
movzx edx, al
test edx, edx
je 0x44ca49
lea eax, [ebp - 0x124]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040e530
mov ecx, dword [ebp - 0x10]
call fcn.0043a7f0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x13c]
call fcn.0044cde0
push 0
mov ecx, dword [ebp - 0x13c]
call fcn.0045cc55
mov eax, dword [ebp - 0x13c]
mov byte [eax + 0x92], 0
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040e4c0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret
Function at 0x44e0c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893ae
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004388f0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x138], eax
push 8
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x138]
call fcn.00438910
push str.Progress_Page_Active
lea ecx, [ebp - 0x10]
call fcn.0040e440
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x138]
call fcn.00439830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00410840
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
call fcn.0040e550
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x138]
call fcn.00459c58
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x138]
call fcn.0043d3b0
mov eax, dword [ebp - 0x18]
add eax, 0x134
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x44e210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x130], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x44f020
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x44f0c9
lea ecx, [ebp - 0xa4]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x44f077
xor al, al
jmp 0x44f0e0
lea edx, [ebp - 0xb0]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xa8], 2
push 0
push 0
push 0
lea eax, [ebp - 0xb4]
push eax
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44f0c9
xor al, al
jmp 0x44f0e0
push 0x80040001
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x44f0de
xor al, al
jmp 0x44f0e0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret
Function at 0x4565c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x456661
push 0x498074
push 4
push eax
call fcn.0046ea87
push eax
call fcn.004119b0
add esp, 0x10
push ebx
push edi
call fcn.0046eede
mov edi, dword [eax]
call fcn.0046eede
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0046e21e
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0046eede
cmp dword [eax], ebx
je 0x456678
call fcn.0046eede
push dword [eax]
call fcn.00455c94
pop ecx
jmp 0x45667f
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x456609
jmp 0x456706
call fcn.0046eede
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x456702
cmp dword [ebp - 0x11c], esi
jae 0x456702
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.0046ac10
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4566f1
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4566f1
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4566f1
push ebx
push ebx
push esi
jmp 0x4566fa
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x456704
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046a0d3
leave
ret

Function at 0x4596cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4596e7
mov edi, dword [esi + 0xc]
jmp 0x459727
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x459700
call fcn.00460f45
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x459715
call fcn.00460f45
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x459727
call fcn.00460f45
call fcn.00460aae
cmp dword [eax + 0x3c], 0
je 0x45973c
push edi
mov ecx, ebx
call fcn.0045857c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004595f5
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x45975a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x459766
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8