joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436af0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x436b59
push 0x4b339c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.Process32First
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Process32Next
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x436b78
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x436b78
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x436bfa
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x436b83
jmp 0x436bfa
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x436bfa
push str.ZwQuerySystemInformation
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x4b3408
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x4b3418
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0x4b3424
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x436c50
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00436cd0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x436c76
xor al, al
jmp 0x436cc3
mov edx, dword [ebp - 4]
push edx
push 0x4372a0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x436ca9
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
jmp 0x436cb0
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret 4
Function at 0x436f80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
push 0x424
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004677c0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x436fdf
xor eax, eax
jmp 0x437087
mov dword [ebp - 0x430], 0x428
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x437077
mov ecx, dword [ebp - 0x42c]
cmp ecx, dword [ebp + 0xc]
je 0x43700e
cmp dword [ebp + 0x18], 0
jne 0x437050
cmp dword [ebp + 0x14], 0x428
jae 0x437022
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x438], edx
jmp 0x43702c
mov dword [ebp - 0x438], 0x428
mov eax, dword [ebp - 0x438]
push eax
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0046ab00
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x428
cmp dword [ebp - 0x434], 0
jne 0x437077
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x436ffd
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x437a20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x437b2b
cmp dword [ebp + 0x14], 4
jne 0x437a9c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0046a9ea
add esp, 4
mov dword [ebp - 4], eax
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437a97
mov dword [ebp - 0xc], 1
jmp 0x437b21
cmp dword [ebp + 0x14], 3
jne 0x437acb
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 + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437ac9
mov dword [ebp - 0xc], 1
jmp 0x437b21
cmp dword [ebp + 0x14], 7
jne 0x437afa
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437af8
mov dword [ebp - 0xc], 1
jmp 0x437b21
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 + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437b21
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.RegDBSetKeyValue__s___s___s____d
call fcn.00456a00
add esp, 0x14
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x437b50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x437bbf
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
push 4
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x437bb5
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.RegDBSetKeyValueDw__s___s___d____d
call fcn.00456a00
add esp, 0x14
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x437bf0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437c22
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x437c30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437c8b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437c81
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x437ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437d8d
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437d83
cmp dword [ebp - 0x14], 4
jne 0x437d4f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
push eax
push 0x4b3988
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00467d96
add esp, 0x10
jmp 0x437d76
mov eax, dword [ebp + 0x18]
shl eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437d83
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x437df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437e6c
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
jne 0x437e6c
cmp dword [ebp - 0x10], 4
jne 0x437e6c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x437fd0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 4], 0x100
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x103
jne 0x43803f
mov dword [ebp - 8], 0
jmp 0x43806d
cmp dword [ebp - 8], 0
jne 0x438066
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x438064
mov eax, dword [ebp - 8]
jmp 0x438070
jmp 0x43806b
mov eax, dword [ebp - 8]
jmp 0x438070
jmp 0x438002
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x438160
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x28], eax
xor eax, eax
mov word [ebp - 0x228], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x226]
push ecx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x20], 0
lea edx, [ebp - 8]
push edx
push 0xf003f
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4382de
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4382d4
cmp dword [ebp - 0x10], 0
je 0x4382d4
mov edx, dword [ebp - 0x14]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4382c1
mov dword [ebp - 0xc], 0
jmp 0x43822c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x4382c1
mov dword [ebp - 0x18], 0x100
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4382ba
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.RegCreateValues__d___s___d_
call fcn.00456a00
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4382b8
jmp 0x4382c1
jmp 0x4382bc
jmp 0x4382c1
jmp 0x438223
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x4382f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x418], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x424], 0x100
mov dword [ebp - 8], 0x100
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x103
jne 0x4383b0
mov dword [ebp - 0x420], 0
jmp 0x4384bf
cmp dword [ebp - 0x420], 0
jne 0x4384a9
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x438404
jmp 0x4384bf
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00438160
add esp, 0xc
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x438439
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4384bf
lea ecx, [ebp - 0xc]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x43849b
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004382f0
add esp, 8
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x420], 0
je 0x438499
jmp 0x4384bf
jmp 0x4384a7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4384bf
jmp 0x4384ab
jmp 0x4384bf
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
jmp 0x43834b
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x438830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x438893
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x438893
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x438893
mov eax, dword [ebp - 8]
jmp 0x438895
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43aa40
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3214
call fcn.00467dc0
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3210], dx
push 0xffe
push 0
lea eax, [ebp - 0x320e]
push eax
call fcn.004677c0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x2210], cx
push 0xffe
push 0
lea edx, [ebp - 0x220e]
push edx
call fcn.004677c0
add esp, 0xc
mov dword [ebp - 0x3214], 0
push 0x4b43e8
push 0x800
lea eax, [ebp - 0x1210]
push eax
call fcn.0046a10d
add esp, 0xc
push 0x4b43ec
push 0x41
push 0x4d0760
call fcn.0046a10d
add esp, 0xc
push 0x2c
push 0x800
lea ecx, [ebp - 0x1210]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040e880
add esp, 0x18
test eax, eax
je 0x43ab6b
push 0x2c
push 0x800
lea ecx, [ebp - 0x3210]
push ecx
push 0x800
lea edx, [ebp - 0x1210]
push edx
lea eax, [ebp - 0x1210]
push eax
call fcn.0040e880
add esp, 0x18
test eax, eax
je 0x43ab6b
push 0x2c
push 0x800
lea ecx, [ebp - 0x2210]
push ecx
push 0x800
lea edx, [ebp - 0x3210]
push edx
lea eax, [ebp - 0x3210]
push eax
call fcn.0040e880
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00446fc0
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x1210]
push eax
push 0x4cf908
call fcn.00409e50
add esp, 8
test eax, eax
je 0x43ac37
push 0x4cf840
lea ecx, [ebp - 0x2210]
push ecx
call fcn.0046b42e
add esp, 8
test eax, eax
jne 0x43ac37
movzx edx, word [ebp - 0x3210]
test edx, edx
je 0x43abee
movzx eax, word [ebp - 0x3210]
test eax, eax
je 0x43ac37
lea ecx, [ebp - 0x3210]
push ecx
push 0x4cf914
call fcn.00402310
add esp, 8
test eax, eax
je 0x43ac37
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x3214], eax
mov eax, dword [ebp - 0x3214]
push eax
push 0x4b43f0
push 0x41
push 0x4d0760
call fcn.00467d96
add esp, 0x10
mov ecx, dword [ebp - 0x3214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.ChangeDir__s____d
call fcn.00456a00
add esp, 0xc
mov eax, dword [ebp - 0x3214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x449970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x50], ax
push 0x3e
push 0
lea ecx, [ebp - 0x4e]
push ecx
call fcn.004677c0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x4ba9b8
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.00467d96
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x449a2c
cmp dword [0x4d55ee], 0
je 0x449a2c
xor ecx, ecx
mov word [ebp - 0x250], cx
push 0x1fe
push 0
lea edx, [ebp - 0x24e]
push edx
call fcn.004677c0
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0x4ba9c0
push 0x100
lea ecx, [ebp - 0x250]
push ecx
call fcn.00467d96
add esp, 0x10
push 0x4da9d8
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x449a5b
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x449a5b
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.LoadStringEx__d____s
call fcn.00456a00
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret
Function at 0x450360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x124]
mov dword [0x4e7e84], eax
push 0x3bc
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 8
push ecx
call fcn.004677c0
add esp, 0xc
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x3d0], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x3d4], 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3d8], 1
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x418], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x41c], 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3dc], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x3fc], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x414], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3cc], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x420], 0
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004677c0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x450488
cmp dword [ebp - 0x11c], 5
jb 0x450488
mov dword [ebp - 0x128], 1
jmp 0x450492
mov dword [ebp - 0x128], 0
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x3e0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret