joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436b60
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 0x436bc9
push 0x4b43bc
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 0x436be8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x436be8
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x436c6a
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x436bf3
jmp 0x436c6a
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 0x436c6a
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 0x4b4428
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 0x4b4438
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 0x4b4444
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 0x436cc0
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.00436d40
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x436ce6
xor al, al
jmp 0x436d33
mov edx, dword [ebp - 4]
push edx
push 0x437310
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 0x436d19
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
jmp 0x436d20
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 0x436ff0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4ce724]
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.00468010
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 0x43704f
xor eax, eax
jmp 0x4370f7
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 0x4370e7
mov ecx, dword [ebp - 0x42c]
cmp ecx, dword [ebp + 0xc]
je 0x43707e
cmp dword [ebp + 0x18], 0
jne 0x4370c0
cmp dword [ebp + 0x14], 0x428
jae 0x437092
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x438], edx
jmp 0x43709c
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.0046b350
add esp, 0xc
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x430], 0x428
cmp dword [ebp - 0x434], 0
jne 0x4370e7
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x43706d
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.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x437a90
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 0x437b9b
cmp dword [ebp + 0x14], 4
jne 0x437b0c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0046b23a
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 0x437b07
mov dword [ebp - 0xc], 1
jmp 0x437b91
cmp dword [ebp + 0x14], 3
jne 0x437b3b
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 0x437b39
mov dword [ebp - 0xc], 1
jmp 0x437b91
cmp dword [ebp + 0x14], 7
jne 0x437b6a
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 0x437b68
mov dword [ebp - 0xc], 1
jmp 0x437b91
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 0x437b91
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.00457270
add esp, 0x14
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x437bc0
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 0x437c2f
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 0x437c25
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.00457270
add esp, 0x14
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x437c60
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 0x437c92
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x437ca0
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 0x437cfb
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 0x437cf1
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 0x437d10
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 0x437dfd
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 0x437df3
cmp dword [ebp - 0x14], 4
jne 0x437dbf
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 0x4b49a8
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.004685e6
add esp, 0x10
jmp 0x437de6
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 0x437df3
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 0x437e60
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 0x437edc
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 0x437edc
cmp dword [ebp - 0x10], 4
jne 0x437edc
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 0x438040
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ce724]
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.00468010
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 0x4380af
mov dword [ebp - 8], 0
jmp 0x4380dd
cmp dword [ebp - 8], 0
jne 0x4380d6
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 0x4380d4
mov eax, dword [ebp - 8]
jmp 0x4380e0
jmp 0x4380db
mov eax, dword [ebp - 8]
jmp 0x4380e0
jmp 0x438072
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x4381d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4ce724]
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.00468010
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 0x43834e
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 0x438344
cmp dword [ebp - 0x10], 0
je 0x438344
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 0x438331
mov dword [ebp - 0xc], 0
jmp 0x43829c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x438331
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 0x43832a
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.00457270
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 0x438328
jmp 0x438331
jmp 0x43832c
jmp 0x438331
jmp 0x438293
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.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x438360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ce724]
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.00468010
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00468010
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 0x438420
mov dword [ebp - 0x420], 0
jmp 0x43852f
cmp dword [ebp - 0x420], 0
jne 0x438519
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 0x438474
jmp 0x43852f
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004381d0
add esp, 0xc
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x4384a9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43852f
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 0x43850b
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00438360
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 0x438509
jmp 0x43852f
jmp 0x438517
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43852f
jmp 0x43851b
jmp 0x43852f
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
jmp 0x4383bb
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x4388a0
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 0x438903
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 0x438903
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 0x438903
mov eax, dword [ebp - 8]
jmp 0x438905
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43aaa0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3214
call fcn.00468610
mov eax, dword [0x4ce724]
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.00468010
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3210], dx
push 0xffe
push 0
lea eax, [ebp - 0x320e]
push eax
call fcn.00468010
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x2210], cx
push 0xffe
push 0
lea edx, [ebp - 0x220e]
push edx
call fcn.00468010
add esp, 0xc
mov dword [ebp - 0x3214], 0
push 0x4b5408
push 0x800
lea eax, [ebp - 0x1210]
push eax
call fcn.0046a95d
add esp, 0xc
push 0x4b540c
push 0x41
push 0x4d1760
call fcn.0046a95d
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x43abcb
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.0040e8e0
add esp, 0x18
test eax, eax
je 0x43abcb
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.0040e8e0
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004475b0
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x1210]
push eax
push 0x4d0844
call fcn.00409e40
add esp, 8
test eax, eax
je 0x43ac97
push 0x4d0850
lea ecx, [ebp - 0x2210]
push ecx
call fcn.0046bc7e
add esp, 8
test eax, eax
jne 0x43ac97
movzx edx, word [ebp - 0x3210]
test edx, edx
je 0x43ac4e
movzx eax, word [ebp - 0x3210]
test eax, eax
je 0x43ac97
lea ecx, [ebp - 0x3210]
push ecx
push 0x4d0918
call fcn.00402310
add esp, 8
test eax, eax
je 0x43ac97
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 0x4b5410
push 0x41
push 0x4d1760
call fcn.004685e6
add esp, 0x10
mov ecx, dword [ebp - 0x3214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.ChangeDir__s____d
call fcn.00457270
add esp, 0xc
mov eax, dword [ebp - 0x3214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x44a170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4ce724]
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.00468010
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x4bbc38
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.004685e6
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x44a22c
cmp dword [0x4d6a33], 0
je 0x44a22c
xor ecx, ecx
mov word [ebp - 0x250], cx
push 0x1fe
push 0
lea edx, [ebp - 0x24e]
push edx
call fcn.00468010
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0x4bbc40
push 0x100
lea ecx, [ebp - 0x250]
push ecx
call fcn.004685e6
add esp, 0x10
push 0x4dbe20
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 0x44a25b
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 0x44a25b
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.00457270
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00467fff
mov esp, ebp
pop ebp
ret
Function at 0x450b50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x124]
mov dword [0x4e92d4], eax
push 0x3bc
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 8
push ecx
call fcn.00468010
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.00468010
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x450c78
cmp dword [ebp - 0x11c], 5
jb 0x450c78
mov dword [ebp - 0x128], 1
jmp 0x450c82
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.00467fff
mov esp, ebp
pop ebp
ret