joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd4]
push eax
push 0x4ef180
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4192c5
xor eax, eax
jmp 0x4193da
mov dword [ebp - 0xe0], 0x64
mov dword [ebp - 0xdc], 0xc8
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd0]
push edx
push 0
push 0
push 0x4ef1e0
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x419308
xor eax, eax
jmp 0x4193da
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xd8], 0
lea edx, [ebp - 0xd0]
push edx
push 0x4ef1f8
call fcn.004ad659
add esp, 8
test eax, eax
jne 0x41934f
mov eax, dword [ebp + 8]
mov dword [eax], 2
mov dword [ebp - 0xd8], 1
jmp 0x4193d4
lea ecx, [ebp - 0xd0]
push ecx
push str.SERVERNT
call fcn.004ad659
add esp, 8
test eax, eax
jne 0x41937c
mov edx, dword [ebp + 8]
mov dword [edx], 6
mov dword [ebp - 0xd8], 1
jmp 0x4193d4
lea eax, [ebp - 0xd0]
push eax
push str.LANMANNT
call fcn.004ad659
add esp, 8
test eax, eax
jne 0x4193a9
mov ecx, dword [ebp + 8]
mov dword [ecx], 7
mov dword [ebp - 0xd8], 1
jmp 0x4193d4
lea edx, [ebp - 0xd0]
push edx
push str.LANSECNT
call fcn.004ad659
add esp, 8
test eax, eax
jne 0x4193d4
mov eax, dword [ebp + 8]
mov dword [eax], 8
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret

Function at 0x4198a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov word [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419954
mov dword [ebp - 0x98], 0x80
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x94]
push eax
push 0
push str.CSDVersion
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41994a
cmp dword [ebp - 0x94], 1
jne 0x41992a
lea edx, [ebp - 0x90]
push edx
call fcn.00419820
add esp, 4
mov word [ebp - 4], ax
jmp 0x41994a
cmp dword [ebp - 0x94], 4
jne 0x41994a
movzx eax, word [ebp - 0x90]
shr eax, 8
and eax, 0xff
movzx cx, al
mov word [ebp - 4], cx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x4199f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push str.SystemCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x419a21
xor eax, eax
jmp 0x419bc1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x4ef350
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419a59
cmp dword [ebp - 8], 0
jne 0x419a6a
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x419bc1
mov edx, dword [ebp - 8]
push edx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.ProductSuite
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419aab
cmp dword [ebp - 4], 7
je 0x419ace
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0048c532
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x419bc1
mov edx, dword [ebp + 8]
push edx
call fcn.004ade29
add esp, 4
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
push ecx
push 2
mov edx, dword [ebp - 0x18]
push edx
call fcn.00405230
mov eax, dword [ebp - 0x18]
push eax
call fcn.004ade29
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004b25c7
add esp, 8
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
test ecx, ecx
je 0x419b90
mov edx, dword [ebp - 0x20]
push edx
call fcn.004ade29
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b25c7
add esp, 8
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00419d50
add esp, 8
test eax, eax
je 0x419b7a
mov dword [ebp - 0x1c], 1
jmp 0x419b90
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x20], edx
jmp 0x419b37
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0048c532
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0048c532
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x41a430
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c0], 0
push 0x2b0
push 0
lea eax, [ebp - 0x2bc]
push eax
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c8], 0x2e10
mov ecx, dword [ebp - 0x2c8]
push ecx
push 0x2b4
lea edx, [ebp - 0x2c0]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2b8]
mov dword [ecx + 0x2b8], edx
lea eax, [ebp - 0x2b4]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
push ecx
call fcn.004ae3b5
add esp, 0xc
lea edx, [ebp - 0xac]
push edx
push 0x50
mov eax, dword [ebp + 0xc]
add eax, 0x218
push eax
call fcn.004ae3b5
add esp, 0xc
mov ecx, dword [ebp + 0x10]
and ecx, 1
je 0x41a560
push 0x100
push 0x2b4
lea edx, [ebp - 0x2c0]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x41a531
push 0x110
push 0x2b4
lea ecx, [ebp - 0x2c0]
push ecx
push 0x20
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2bc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x2c0], 0
mov edx, dword [ebp + 0x10]
and edx, 2
je 0x41a5df
push 0x101
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jne 0x41a5b1
push 0x111
push 0x2b4
lea edx, [ebp - 0x2c0]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c0]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2bc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x2c0]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x2c0], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x41bcf0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
push 0x4efd38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41bd18
xor eax, eax
jmp 0x41bde6
push 0x4efd54
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
push 0x4efd68
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x4efd80
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je 0x41bd60
cmp dword [ebp - 8], 0
je 0x41bd60
cmp dword [ebp - 0x18], 0
jne 0x41bd6e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x41bde6
lea ecx, [ebp - 4]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x10]
test eax, eax
je 0x41bdd9
mov dword [ebp - 0x28], 1
lea edx, [ebp - 0x24]
push edx
push str.SeDebugPrivilege
push 0
call dword [ebp - 8]
test eax, eax
je 0x41bdd9
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x18]
test eax, eax
je 0x41bdd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41bdf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x28], 1
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x2c], eax
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x2c], 0
je 0x41bf1a
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x24], 0
push str.EnumProcessModules
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x124]
mov dword [edx + 4], eax
push str.GetModuleFileNameExW
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x124]
mov dword [edx + 8], eax
push str.EnumProcesses
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x124]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x124]
cmp dword [eax + 4], 0
je 0x41bf1a
mov ecx, dword [ebp - 0x124]
cmp dword [ecx + 8], 0
je 0x41bf1a
mov edx, dword [ebp - 0x124]
cmp dword [edx + 0xc], 0
je 0x41bf1a
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x28], 0
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41bfa1
cmp dword [ebp - 0x11c], 6
jb 0x41bfa1
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x30], 0
je 0x41bfa1
push str.QueryFullProcessImageNameW
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x124]
cmp dword [edx + 0x10], 0
je 0x41bfa1
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x41c740
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4eff68
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c78e
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x4effd4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x41f940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x420d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0x21
jae 0x420d77
xor eax, eax
jmp 0x420e85
mov dword [ebp - 8], 0
push 0x4f0198
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004b1d73
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420e82
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x7d], 0
lea edx, [ebp - 0x68]
push edx
call fcn.0041f940
add esp, 4
mov eax, dword [ebp - 8]
push eax
push 1
push 1
lea ecx, [ebp - 0x7d]
push ecx
call fcn.004b1452
add esp, 0x10
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jle 0x420dea
mov edx, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x7d]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0041f980
add esp, 0xc
jmp 0x420db7
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0041fa80
add esp, 8
mov dword [ebp - 0x84], 0
jmp 0x420e15
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x10
jge 0x420e61
mov edx, dword [ebp - 0x84]
movzx eax, byte [ebp + edx - 0x78]
sar eax, 4
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp + 0xc]
mov al, byte [eax + str.0123456789ABCDEF]
mov byte [edx + ecx*2], al
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ebp + ecx - 0x78]
and edx, 0xf
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov dl, byte [edx + str.0123456789ABCDEF]
mov byte [ecx + eax*2 + 1], dl
jmp 0x420e06
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004ae52d
add esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x421700
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x42171f
cmp dword [ebp + 0xc], 0
jne 0x421726
xor eax, eax
jmp 0x421812
mov ax, word [0x4f0660]
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004ad2c0
add esp, 0xc
call fcn.00454c50
test eax, eax
je 0x421768
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00454cb0
add esp, 8
jmp 0x42177a
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov cx, word [0x4f0664]
mov word [ebp - 0x418], cx
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.004ad2c0
add esp, 0xc
push 0x4f0668
lea eax, [ebp - 0x210]
push eax
push 0x4f0680
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401cd0
add esp, 0x14
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4217f9
push str.nsppis.xml
lea eax, [ebp - 0x210]
push eax
push str._sINCAInternet_nProtect_Security_Platform_2007conf_s
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401cd0
add esp, 0x14
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405cc0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x426c00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
ja 0x426c0d
xor al, al
jmp 0x426c2a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._SystemDrive_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x426c28
xor al, al
jmp 0x426c2a
mov al, 1
pop ebp
ret

Function at 0x426c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x426c58
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x426deb
mov ax, word [0x4f1950]
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov dx, word [0x4f1954]
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x420]
push ecx
call fcn.00421700
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0x208
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.00422980
add esp, 0x24
push 1
call fcn.00431740
add esp, 4
mov dword [ebp - 8], eax
mov cx, word [0x4f1958]
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x4f195c
push 0x104
lea edx, [ebp - 0x630]
push edx
call fcn.00401cd0
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426d65
push 0x409
lea ecx, [ebp - 0x218]
push ecx
push 0x4f1968
push 0x104
lea edx, [ebp - 0x630]
push edx
call fcn.00401cd0
add esp, 0x14
mov dword [ebp - 0x424], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x630]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
ja 0x426dd4
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x630]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x630]
push eax
call fcn.004ade29
add esp, 4
mov dword [ebp - 0x424], eax
jmp 0x426de5
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x426e00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x426e28
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x426fa5
mov ax, word [0x4f1974]
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov dx, word [0x4f1978]
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x420]
push ecx
call fcn.00421700
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0x208
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.00422980
add esp, 0x24
push 1
call fcn.00431740
add esp, 4
mov dword [ebp - 8], eax
mov cx, word [0x4f197c]
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x4f1980
push 0x104
lea edx, [ebp - 0x630]
push edx
call fcn.00401cd0
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426f35
push 0x409
lea ecx, [ebp - 0x218]
push ecx
push 0x4f198c
push 0x104
lea edx, [ebp - 0x630]
push edx
call fcn.00401cd0
add esp, 0x14
mov dword [ebp - 0x424], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push SysReAllocString
lea ecx, [ebp - 0x630]
push ecx
call fcn.00405280
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
ja 0x426f8e
lea eax, [ebp - 0x630]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405230
lea eax, [ebp - 0x630]
push eax
call fcn.004ade29
add esp, 4
mov dword [ebp - 0x424], eax
jmp 0x426f9f
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x427170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x427198
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4272e8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426e00
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4272e5
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ax, word [0x4f19b4]
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov dx, word [0x4f19b8]
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x420]
push ecx
call fcn.00421700
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0x208
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.00422980
add esp, 0x24
mov cx, word [0x4f19bc]
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.004ad2c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._s1033
push 0x104
lea ecx, [ebp - 0x628]
push ecx
call fcn.00401cd0
add esp, 0x10
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push SysReAllocString
lea eax, [ebp - 0x628]
push eax
call fcn.00405280
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
ja 0x4272d7
lea edx, [ebp - 0x628]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405230
lea edx, [ebp - 0x628]
push edx
call fcn.004ade29
add esp, 4
mov dword [ebp - 4], eax
jmp 0x4272e5
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret