joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489d60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x52022c
mov ecx, dword [ebp + 8]
call fcn.0040f550
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xc]
call fcn.00418350
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x3fc
lea eax, [ebp - 8]
push eax
push 0x400
lea ecx, [ebp - 0xc]
call fcn.0040fb00
push eax
lea ecx, [ebp - 4]
push ecx
push str.UninstallString
push 0x516538
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00418620
cmp dword [ebp - 0x14], 0
jne 0x489e3e
lea ecx, [ebp - 0xc]
call fcn.0047ef80
test eax, eax
jle 0x489e3e
push 0x516510
lea ecx, [ebp - 0xc]
call fcn.0040e800
lea ecx, [ebp - 0x18]
call fcn.00418350
lea ecx, [ebp - 0xc]
call fcn.0044ea20
push eax
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0040fb00
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00418620
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489e36
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418390
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x18]
call fcn.004335b0
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
call fcn.004335b0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x489e60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x52022c
mov ecx, dword [ebp + 8]
call fcn.0040f550
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xc]
call fcn.00418350
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x3fc
lea eax, [ebp - 8]
push eax
push 0x400
lea ecx, [ebp - 0xc]
call fcn.0040fb00
push eax
lea ecx, [ebp - 4]
push ecx
push str.UninstallString
push str.Software360ChromeUpdateClientState27D39816_7A3D_406c_9ABC_97FB55674016
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00418620
cmp dword [ebp - 0x14], 0
jne 0x489f3e
lea ecx, [ebp - 0xc]
call fcn.0047ef80
test eax, eax
jle 0x489f3e
push str.......360chrome.exe
lea ecx, [ebp - 0xc]
call fcn.0040e800
lea ecx, [ebp - 0x18]
call fcn.00418350
lea ecx, [ebp - 0xc]
call fcn.0044ea20
push eax
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0040fb00
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00418620
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489f36
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418390
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x18]
call fcn.004335b0
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xc]
call fcn.004335b0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x48a410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48a4bf
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Path
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ebfed
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48a4b8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
cmp ecx, 0x5c
je 0x48a4b8
mov edx, 0x5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2], dx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 + 2], dx
mov eax, 1
jmp 0x48a4c1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x48c530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 4
push str.questionfeedbackclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp + 8], 0
je 0x48c582
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0048c6f0
mov esp, ebp
pop ebp
ret 4

Function at 0x48c590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push str.questionfeedbackclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 0xc]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x48c5e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 4
push str.myfeedbackclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret 4
Function at 0x48c630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push str.myfeedbackclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 0xc]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x48c680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 4
push str.replaynotifywndclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esp, ebp
pop ebp
ret 4

Function at 0x48c770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push str.replaynotifywndclicked
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 0xc]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x48c7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push str.redflag
push str.SOFTWARE360SafeFeedback
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 0xc]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x48c9a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push str.ConfigExamineTips.ini
mov ecx, 0x535320
call fcn.00416d90
push eax
lea eax, [ebp - 4]
push eax
call fcn.004185a0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0044ea20
push eax
push 1
push 0x516914
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 8], 0
setne cl
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 4]
call fcn.004335b0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x48d310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
mov dword [ebp - 4], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x51696c
push 0x50f92c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 0xc], 1
setne al
mov esp, ebp
pop ebp
ret
Function at 0x48d870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x80], 0
jne 0x48d8fc
mov ecx, 0x535320
call fcn.00416d90
push eax
lea ecx, [ebp - 8]
call fcn.00418370
push str.UtilsSiteUIProxy.dll
lea ecx, [ebp - 8]
call fcn.0040e800
lea ecx, [ebp - 8]
call fcn.0044ea20
push eax
call fcn.00417dc0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d8dc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 8]
call fcn.004335b0
mov eax, dword [ebp - 0x30]
jmp 0x48da28
push str.GetSkinImage
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x80], eax
lea ecx, [ebp - 8]
call fcn.004335b0
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x80], 0
je 0x48da25
lea ecx, [ebp - 0x10]
call fcn.00418350
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x535320
call fcn.00415eb0
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.0048e450
push 0x104
lea ecx, [ebp - 0x20]
call fcn.0048e450
mov dword [ebp - 0x24], 0x504
push 0x504
lea ecx, [ebp - 0x18]
call fcn.0048e450
push 0x504
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
mov ecx, 0x535320
call fcn.00416190
test eax, eax
jne 0x48d984
push 0x1c
push str.360CurSkinImg
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
call fcn.004ece7d
add esp, 0xc
push str..png
push 0x504
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
call fcn.004f04b2
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0044ea20
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x10]
call fcn.0044ea20
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x80]
call edx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
call fcn.0044ea20
push eax
mov ecx, dword [ebp + 8]
call fcn.0040f550
lea ecx, [ebp - 0x18]
call fcn.00491dc0
lea ecx, [ebp - 0x20]
call fcn.00491dc0
lea ecx, [ebp - 0x2c]
call fcn.00491dc0
lea ecx, [ebp - 0x10]
call fcn.004335b0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x48f810
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x48f8cf
mov ecx, dword [ebp + 8]
push ecx
call fcn.004176a0
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x48f845
xor eax, eax
jmp 0x48f8fd
push str.HttpInit
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.HttpUninit
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.zlib_uncompress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.zlib_compress
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push str.zlib_compressBound
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x48f8cf
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
call ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x48f8f3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x48f8f3
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x48f8f3
mov dword [ebp - 8], 1
jmp 0x48f8fa
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x48fac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0x516b64
push str.SOFTWARE360SafeTheme
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0044ea20
push eax
call fcn.00451ea0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x491c00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jne 0x491c16
xor eax, eax
jmp 0x491ca9
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0xffffffff
jne 0x491c43
xor eax, eax
jmp 0x491ca9
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x491c60
cmp dword [ebp - 8], 0xf00000
jbe 0x491c64
xor eax, eax
jmp 0x491ca9
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00491d50
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0044ea20
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x491ca4
xor eax, eax
jmp 0x491ca9
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x493eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov dword [ebp - 0xc], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00495440
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x493f68
push 0x10
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x493f5e
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x493f5e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x493f54
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004ec9cd
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x493f54
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004ef680
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x493fbd
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x50d6f8
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x493fb1
mov esi, dword [ebp - 0x20]
mov ecx, 0xd
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004ec3c2
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x495670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov dword [ebp - 0xbc], ecx
push 1
mov eax, dword [ebp - 0xbc]
add eax, 0x34
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041bf10
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4956f4
mov dword [ebp - 0x20], 0x80070057
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0041bf40
mov eax, dword [ebp - 0x20]
jmp 0x4958a8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x10]
call fcn.00418600
movzx ecx, al
test ecx, ecx
je 0x495741
mov dword [ebp - 0x24], 0x80070057
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0041bf40
mov eax, dword [ebp - 0x24]
jmp 0x4958a8
lea ecx, [ebp - 0xc]
call fcn.00418600
movzx edx, al
test edx, edx
jne 0x49575c
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d780
push 0x538e3c
push 0xc
call fcn.004ede92
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x495784
mov ecx, dword [ebp - 0x28]
call fcn.00497b20
mov dword [ebp - 0xc0], eax
jmp 0x49578e
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x4957c4
mov dword [ebp - 0x2c], 0x80004005
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0041bf40
mov eax, dword [ebp - 0x2c]
jmp 0x4958a8
push 0xfde9
lea ecx, [ebp - 0x10]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0xb0]
call fcn.004838c0
mov ecx, eax
call fcn.0044ea20
push eax
mov ecx, dword [ebp - 8]
call fcn.0047ecf0
lea ecx, [ebp - 0xb0]
call fcn.00434180
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xbc]
mov dword [edx + 8], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x496340
push 0
push 0
call fcn.004eddb8
add esp, 0x18
mov edx, dword [ebp - 0xbc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 4], 0
jne 0x495880
mov dword [ebp - 0xb4], 0x80004005
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0041bf40
mov eax, dword [ebp - 0xb4]
jmp 0x4958a8
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0xc]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0041bf40
mov eax, dword [ebp - 0xb8]
mov esp, ebp
pop ebp
ret
Function at 0x499050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x527658
push 0x4ebe00
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [0x533014]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x20000
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
push 2
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
test eax, eax
je 0x499125
mov dword [ebp - 0x28], 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
test eax, eax
je 0x49911b
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
je 0x49911b
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
mov dword [ebp - 4], 0xfffffffe
jmp 0x499145
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret