joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402830
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x218
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x214], eax
test esi, esi
je 0x4029dd
xor eax, eax
cmp eax, 0x50fb04
je 0x4029dd
test ebx, ebx
je 0x4029dd
push ebp
push 0x208
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
call fcn.004d7710
push esi
push 0x50faa0
push 0x50f944
lea edx, [esp + 0x28]
push 0x103
push edx
mov dword [esp + 0x28], 0x208
call fcn.004cc228
add esp, 0x20
lea eax, [esp + 4]
push eax
push 0x20219
push 0
lea ecx, [esp + 0x1c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402913
mov eax, dword [esp + 4]
test eax, eax
je 0x4028f9
push edi
lea edx, [esp + 0xc]
push edx
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x50fb04
push eax
call ebp
mov edx, dword [esp + 8]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x402913
mov eax, dword [esp + 8]
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret
cmp byte [esp + 0x220], 0
je 0x4029c5
lea eax, [esp + 4]
push eax
push 0x20219
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4029c5
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.Path
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x206
call ebp
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xe
push str.updatecfg.ini
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004cc8a4
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x104
push ebx
push 0
push 0x50fb04
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
xor ecx, esp
xor eax, eax
call fcn.004cb38b
add esp, 0x218
ret
Function at 0x402af0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x80c
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
mov ebp, dword [esp + 0x814]
push edi
mov edi, ecx
test ebp, ebp
je 0x402c40
test edi, edi
je 0x402c40
push ebx
push esi
push 0x5c
push ebp
call fcn.004cc992
add esp, 8
test eax, eax
je 0x402b4d
push 0
lea esi, [eax + 2]
mov ebx, edi
call fcn.00402830
add esp, 4
test eax, eax
je 0x402b4d
cmp word [edi], 0
jne 0x402c18
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402c3c
push 2
push ebx
push 0xffffff00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x800
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004d7710
add esp, 0xc
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0x800
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402bf0
mov edx, dword [esp + 0x14]
cmp edx, 0x100
ja 0x402bf0
shr edx, 1
lea ebx, [esp + 0x18]
call fcn.00402540
test eax, eax
je 0x402be2
call fcn.004025a0
test al, al
je 0x402be2
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
jne 0x402c36
push 0x5c
push ebp
call fcn.004cc992
add esp, 8
test eax, eax
je 0x402c36
push 1
lea esi, [eax + 2]
mov ebx, edi
call fcn.00402830
add esp, 4
test eax, eax
je 0x402c36
cmp word [edi], 0
je 0x402c36
mov eax, 1
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.004cb38b
add esp, 0x80c
ret
mov eax, dword [esp + 0x10]
jmp 0x402c1d
xor eax, eax
jmp 0x402c1d
mov ecx, dword [esp + 0x810]
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004cb38b
add esp, 0x80c
ret
Function at 0x402e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
xor edi, edi
mov word [esp + 0x20], ax
call fcn.004d7710
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x14], di
jne 0x402eb6
push 0x104
lea edx, [esp + 0x18]
push edx
push str.360Safe.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402eaf
push str.....
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [esp + 0x14], di
je 0x402f31
test esi, esi
je 0x402f05
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402ec0
sub eax, edx
sar eax, 1
je 0x402f05
push esi
lea ecx, [esp + 0x18]
push ecx
push 0x50f944
mov ecx, 0x104
call fcn.00407c30
add esp, 0xc
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret
lea eax, [esp + 0x14]
mov ecx, 0x104
mov edx, ebx
call fcn.00407be0
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.004cb38b
add esp, 0x218
ret

Function at 0x402fb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.no_wn
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x403015
cmp dword [esp], 1
jne 0x403015
push str.reg_no_w_n
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
xor eax, eax
add esp, 0xc
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
call fcn.00402360
add esp, 4
push eax
push str.safetype__d
mov dword [0x548990], eax
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
mov eax, dword [0x548990]
add esp, 8
test al, 0x6e
jne 0x403082
call fcn.00402cd0
test eax, eax
je 0x403079
push 0x50fd90
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
xor eax, eax
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret
push eax
push 0x50fd7c
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 8
xor eax, eax
add esp, 0xc
ret
Function at 0x4030b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.no_wn
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x403115
cmp dword [esp], 1
jne 0x403115
push str.reg_no_w_n
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
xor eax, eax
add esp, 0xc
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
call fcn.00402360
add esp, 4
push eax
push str.safetype__d
mov dword [0x548990], eax
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 8
test byte [0x548990], 0x20
je 0x40310f
push 0x50fd9c
call fcn.00401f50
mov edx, str.MultiTip
mov ecx, eax
call fcn.00401fd0
add esp, 4
mov eax, 1
add esp, 0xc
ret
Function at 0x405060
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x504ff0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call fcn.004085e0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4050af
push 0x80070057
call fcn.00408810
movzx edx, word [ecx]
or ebp, 0xffffffff
cmp dx, 0x22
jne 0x405126
cmp eax, 1
jle 0x405126
add ecx, 2
push 0x22
push ecx
call fcn.004cc1f7
add esp, 8
test eax, eax
je 0x405122
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x405126
lea ecx, [esp + 0x14]
push ecx
dec eax
lea ecx, [ebp + 2]
lea edx, [esp + 0x1c]
call fcn.00407e70
lea edi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00407fc0
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edi, ecx
test ecx, ecx
je 0x4051ab
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4051a7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0045afbc
add esp, 4
test eax, eax
jne 0x405153
call fcn.00433d00
test eax, eax
je 0x4051a7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push 0
push edx
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x405190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov dword [esp + 0x24], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4051c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x4065e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4065f0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406600
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406b30
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x5466b0]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x406baa
xor eax, eax
cmp ecx, ebp
je 0x406b92
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x406bb8
cmp ecx, ebp
je 0x406c4b
push ecx
jmp 0x406c45
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x406c1a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00406b30
mov ebx, eax
cmp ebx, ebp
jne 0x406c68
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x406be0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406c2d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00406ce0
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406c4b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cb38b
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406c77
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x406c4d
Function at 0x407760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4f8d00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x4077df
call fcn.00405ec0
mov esi, eax
jmp 0x4078c1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4077fb
call fcn.00405ec0
jmp 0x4078b8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x407814
call fcn.00405ec0
jmp 0x4078b8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x407848
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x407836
lea eax, [ebp]
call fcn.00406670
lea esi, [ebp - 0x1c]
call fcn.00406630
mov eax, 0x8007000e
jmp 0x4078d3
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00405e80
mov dword [ebp - 4], 1
jmp 0x407871
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x40787f
mov esi, 0x8007000e
jmp 0x4078ba
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x40789d
call fcn.00405ec0
jmp 0x4078b8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00407610
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x4078d1
lea eax, [ebp]
call fcn.00406670
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407da0
Capabilities:
Check if file exists

Disassembly:
push edi
mov edi, eax
test edi, edi
jne 0x407dab
xor eax, eax
pop edi
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407da7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0045afbc
add esp, 4
test eax, eax
je 0x407dd0
mov eax, 1
pop edi
ret
call fcn.00433d00
pop edi
ret
Function at 0x408180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408197
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4081c8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4081c4
cmp esi, eax
jae 0x4081c8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4081b4
cmp esi, eax
jb 0x4081ce
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x409120
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4f6e11
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [ebp], ebx
mov dword [esp + 0x2c], ebx
mov esi, 1
mov dword [esp + 0x14], esi
cmp dword [0x54f088], ebx
je 0x4092b3
push ebp
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov edi, str.msgtipwnd_window_theme
mov dword [ebp], ebx
call fcn.0040a2d0
mov dword [esp + 0x34], esi
mov eax, dword [0x54f088]
cmp eax, ebx
jne 0x40919a
push 0x80004003
call fcn.004cb0d0
lea esi, [esp + 0x20]
call fcn.0040a370
mov byte [esp + 0x34], 2
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x4091b8
push 0x80004003
call fcn.004cb0d0
mov edx, dword [0x514d84]
push 0xe
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x514d88]
mov dword [eax + 4], edx
mov edx, dword [0x514d8c]
mov dword [eax + 8], edx
mov edx, dword [0x514d90]
mov dword [eax + 0xc], edx
mov byte [esp + 0x48], 3
call fcn.0040a1d0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409200
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp], ebx
je 0x4092b3
mov edi, dword [esp + 0x38]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409293
push ecx
mov ebx, esp
mov dword [esp + 0x20], esp
push 0x514d70
call fcn.00409ed0
push ecx
mov dword [esp + 0x34], 4
mov eax, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0040a2d0
mov byte [esp + 0x34], 5
mov eax, dword [0x54f088]
test eax, eax
jne 0x409256
push 0x80004003
call fcn.004cb0d0
lea esi, [esp + 0x20]
call fcn.0040a540
mov byte [esp + 0x34], 6
mov ecx, dword [eax]
test ecx, ecx
jne 0x409274
push 0x80004003
call fcn.004cb0d0
mov byte [esp + 0x34], 7
call fcn.00409f60
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x409293
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp]
test eax, eax
jne 0x4092a4
push 0x80004003
call fcn.004cb0d0
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40b110
Capabilities:
Check if file exists

Disassembly:
push edi
mov edi, eax
test edi, edi
je 0x40b147
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b147
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0045afbc
add esp, 4
test eax, eax
jne 0x40b13e
call fcn.00433d00
test eax, eax
je 0x40b147
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x40b290
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 4], eax
test eax, eax
jne 0x40b2b1
pop esi
add esp, 8
ret
lea eax, [esi + 8]
push eax
push 0
lea ecx, [esp + 0xc]
push ecx
push 0x40b340
push 0
push 0
mov dword [esp + 0x20], esi
call fcn.004cd307
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x40b2e5
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
add esp, 8
ret

Function at 0x40b540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fc8fe
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x28], 1
mov dword [esp + 0x10], eax
mov dword [esi], vtable.CUploadLog.0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov ecx, str.360softmgr
mov byte [esp + 0x14], 1
call fcn.004085e0
lea ecx, [esi + 0x34]
push ecx
mov ecx, str.smgrlog
mov byte [esp + 0x14], 2
call fcn.004085e0
mov edx, dword [0x54d210]
mov eax, dword [edx + 0xc]
mov ecx, 0x54d210
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x40bf60
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bf99
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8

Function at 0x40c800
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f524a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], vtable.os::script_shared_ptr_class__variant__.0
call dword [vtable.os::script_shared_ptr_class__variant__.0]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
push 0x54cfe0
push 0x10
mov dword [esp + 0x38], ebx
call fcn.004cba2a
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], 1
cmp esi, ebx
je 0x40c883
mov eax, dword [ebp + 8]
cdq
push edx
push eax
mov dword [esi], ebx
call fcn.0040c130
jmp 0x40c885
xor esi, esi
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0040ed50
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x18], vtable.os::script_shared_ptr_class__variant__.0
call fcn.0040ea60
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4