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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a8e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ae830]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00448a30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0044c8d0
push eax
push 0
push 0x20106
push 0
push 0
push 0
push str.softwareWeatherTool
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4485b6
mov eax, dword [ebp + 8]
push eax
call fcn.00470944
add esp, 4
test eax, eax
jbe 0x44858b
lea ecx, [ebp - 0x1c]
call fcn.00448a30
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.0044c8d0
push eax
push 0
push 0x20106
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x14]
call fcn.00448ad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44857d
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00448ad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00448a50
jmp 0x4485b6
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00448ad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00448a50
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4485e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a908
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00448a30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.0046fba0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.softwareWeatherTool
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x14]
call fcn.0044c8d0
push eax
push 0x20119
push 0
lea ecx, [ebp - 0x224]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4486ac
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00448ad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00448a50
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret
Function at 0x449140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x25c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0x260], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x250], 1
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x448fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x254], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x449200
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ae830]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x260], 0
je 0x449253
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x25c]
push edx
push 0
push 0x10001
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x260]
call ecx
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.0044ba10
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
call fcn.0044bd90
mov edx, dword [ebp - 0x20]
add edx, 0x44
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.easy_start_boxupdate
mov eax, dword [ebp - 0x20]
add eax, 0x44
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4492ad
mov edx, dword [ebp - 0x20]
add edx, 0x44
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
push ecx
call fcn.0044a420
add esp, 8
push 0x50
call fcn.00453500
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x4492ea
mov ecx, dword [ebp - 0x14]
call fcn.00440980
mov dword [ebp - 0x24], eax
jmp 0x4492f1
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x20]
push edx
push 0x449400
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
call fcn.00440a20
push 1
mov ecx, dword [ebp - 0x20]
call fcn.00449420
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x250], 0
je 0x44935c
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x260], 0
je 0x44935c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x25c]
push ecx
push 0
push 0x10002
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x260]
call eax
add esp, 0xc
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x250], 0
je 0x449374
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x44935c
mov edx, dword [ebp - 0x20]
cmp dword [edx + 4], 0
je 0x4493bd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
call fcn.00440ac0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4493ac
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0044b430
mov dword [ebp - 0x28], eax
jmp 0x4493b3
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x260], 0
je 0x4493e8
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x25c]
push ecx
push 0
push 0x10004
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x260]
call eax
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4495a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0046fba0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], ecx
push 0x493e94
mov edx, dword [ebp + 0xc]
push edx
call fcn.0046ff07
add esp, 8
test eax, eax
jne 0x4495fd
call fcn.0044b460
test eax, eax
je 0x4495fd
mov dword [ebp - 0x34], str.runas
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x449655
cmp dword [ebp + 0x1c], 0
je 0x44964b
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], 0
je 0x44963a
push 0xa
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x102
je 0x449638
jmp 0x44963a
jmp 0x449616
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 0x20
Function at 0x449b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x250], 0
je 0x449ba2
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x264], 0xffffffff
jne 0x449b37
mov ecx, dword [ebp - 4]
call fcn.00449f80
push 0
mov ecx, dword [ebp - 4]
call fcn.00449420
jmp 0x449ba2
mov edx, dword [ebp - 4]
cmp dword [edx + 0x264], 0
jle 0x449b6c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x264]
sub ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x264], ecx
mov ecx, dword [ebp - 4]
call fcn.00449f80
push 0
mov ecx, dword [ebp - 4]
call fcn.00449420
jmp 0x449ba2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x264], 0
jne 0x449ba2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x250], 0
mov edx, dword [ebp - 4]
mov dword [edx], 7
push 2
mov ecx, 0x4b0860
call fcn.00447620
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x449f80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x250], 0
je 0x449fed
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x258]
imul edx, edx, 0x3e8
cmp dword [ebp - 8], edx
jb 0x449feb
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x258], 0x708
jae 0x449fe9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x258]
shl edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x258], edx
jmp 0x449fed
jmp 0x449f92
mov esp, ebp
pop ebp
ret
Function at 0x44a6c0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a6eb
jmp 0x44a782
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44a712
jmp 0x44a782
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x44a73c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44a73c
jmp 0x44a782
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov cl, 0x20
call fcn.0046fd50
mov ecx, dword [ebp - 0x18]
xor esi, esi
add eax, ecx
adc edx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x10]
jne 0x44a77a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x44a77a
mov dword [ebp - 8], 1
xor ecx, ecx
jne 0x44a6d8
cmp dword [ebp - 4], 0xffffffff
je 0x44a792
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44ecb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x13c], 3
push 0x11c
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
mov dword [ebp - 0x134], 6
mov dword [ebp - 0x130], 0
xor ecx, ecx
mov word [ebp - 0x24], cx
xor edx, edx
mov word [ebp - 0x22], dx
movzx eax, byte [ebp - 0x13c]
push eax
push 2
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0x13c]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0x13c]
push eax
push 0x20
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0x13c]
push eax
push 0x10
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x33
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44edbd
mov eax, 1
jmp 0x44ee40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
jne 0x44edce
xor eax, eax
jmp 0x44ee40
push 0x11c
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44ee3e
cmp dword [ebp - 0x134], 6
ja 0x44ee26
cmp dword [ebp - 0x134], 6
jne 0x44ee1a
cmp dword [ebp - 0x130], 0
jae 0x44ee26
mov dword [ebp - 0x140], 0
jmp 0x44ee30
mov dword [ebp - 0x140], 1
mov edx, dword [ebp - 0x140]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
jmp 0x44ee40
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret
Function at 0x44f0f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aeae
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], reloc.OLEAUT32.dll_SysReAllocString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWeatherTool
lea ecx, [ebp - 0x450]
call fcn.00417010
mov dword [ebp - 4], 0
mov ax, word [0x4943b0]
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x434], 0x20019
call fcn.00451f60
mov ecx, eax
call fcn.00451fd0
call fcn.00451f60
mov ecx, eax
call fcn.00452020
test eax, eax
je 0x44f19e
mov edx, dword [ebp - 0x434]
or edx, 0x100
mov dword [ebp - 0x434], edx
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
push 0
lea ecx, [ebp - 0x450]
call fcn.00417120
push eax
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x44f1fc
mov dword [ebp - 0x454], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00417080
mov eax, dword [ebp - 0x454]
jmp 0x44f25c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0
push str.DisplayIcon
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x458], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.00417080
mov eax, dword [ebp - 0x458]
jmp 0x44f25c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret
Function at 0x452030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.0046fba0
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
jne 0x45209b
cmp dword [ebp - 0x120], 0
jbe 0x45209b
xor eax, eax
cmp dword [ebp - 0x120], 1
setne al
add eax, 1
jmp 0x4520f1
cmp dword [ebp - 0x124], 6
jne 0x4520df
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0
je 0x4520c4
cmp dword [ebp - 0x130], 1
je 0x4520cd
jmp 0x4520d6
mov eax, 3
jmp 0x4520f1
mov eax, 4
jmp 0x4520f1
mov eax, 5
jmp 0x4520f1
cmp dword [ebp - 0x124], 6
jbe 0x4520ef
mov eax, 6
jmp 0x4520f1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret

Function at 0x452580
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00470d70
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 4], 0x400
mov dword [ebp - 8], 1
mov dword [ebp - 0x814], 0x800
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x810]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x101c]
call fcn.00452680
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x45265d
cmp dword [ebp - 8], 1
jne 0x4525fc
lea ecx, [ebp - 0x810]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004170d0
jmp 0x45265d
cmp dword [ebp - 8], 2
jne 0x452653
push 0x400
lea edx, [ebp - 0x1018]
push edx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x452636
cmp dword [ebp - 0x814], 0x400
jbe 0x452642
mov dword [ebp - 0x818], 0xea
jmp 0x452651
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004170d0
jmp 0x45265d
mov dword [ebp - 0x818], 0x3f4
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret 8
Function at 0x452b60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.00452af0
movzx eax, al
test eax, eax
je 0x452bd6
mov dword [ebp - 4], 0x208
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x418], 0x208
mov edx, dword [ebp - 0xc]
add edx, 0x418
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x210
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x41c
push ecx
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
add eax, 8
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x452bd6
mov al, 1
jmp 0x452bfa
xor edx, edx
mov eax, dword [ebp - 0xc]
mov word [eax + 8], dx
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov word [edx + 0x210], cx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x418], 0
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x452d80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00452d10
movzx eax, al
test eax, eax
je 0x452dd4
mov dword [ebp - 4], 0x208
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x452dd4
mov al, 1
jmp 0x452ddf
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + 8], dx
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x454553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x454577
cmp dword [edi + 0x54], 0
jne 0x454577
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0045f1cb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00454514
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x459cc5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x459d0c
call fcn.0045f1cb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x459d0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x459d28
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045983d
mov esi, eax
test edi, edi
je 0x459d26
test ebx, ebx
je 0x459d26
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45aba6
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48ba4c
call fcn.004744c0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45abcb
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x45ac11
lea ecx, [ebp - 0x10]
call fcn.0045389d
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00453698
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0042f5a0
mov eax, esi
call fcn.00474598
ret 8

Function at 0x45d706
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x45d74e
call fcn.0045f1cb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45d74e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x45d791
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x45d77a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x45d77a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x45d78e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x46fd33
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ae830]
jne 0x46fd3d
repz ret
jmp fcn.00477a7e