joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b340
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45af84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebp
mov dword [esp + 4], ecx
lea ebp, [ecx + 0x64]
mov dword [esp + 0x814], 0
mov dword [esp + 8], ebp
mov dword [ebp], 0x460830
mov eax, dword [ebp + 0x44]
mov byte [esp + 0x814], 2
test eax, eax
jne 0x41b488
mov eax, dword [0x4730e0]
test eax, eax
je 0x41b3a3
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x41b478
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x41b3e0
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x41b3cf
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x14]
pop edi
test edx, edx
pop esi
je 0x41b432
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b436
lea ecx, [esp + 0xc]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41b436
call fcn.00456be0
lea edx, [esp + 0xc]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x41b441
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x41b488
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x41b478
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x41b488
call eax
test eax, eax
je 0x41b488
mov edx, dword [eax]
lea ecx, [ebp + 0x44]
push ecx
push eax
call dword [edx + 0x58]
lea ecx, [ebp + 0x40]
mov byte [esp + 0x814], 1
call sub.MFC42u.DLL_CString::CString
mov ecx, ebp
mov byte [esp + 0x814], 0
call sub.MFC42u.DLL_CStatic::CStatic
mov ecx, dword [esp + 4]
mov dword [esp + 0x814], 0xffffffff
call sub.MFC42u.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x80c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x41d1d0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
mov eax, dword [0x473100]
sub esp, 0x800
test eax, eax
jne 0x41d2fe
mov eax, dword [0x473104]
push esi
test eax, eax
jne 0x41d296
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x473108]
xor esi, esi
test eax, eax
jle 0x41d22d
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x473108]
inc esi
cmp esi, eax
jl 0x41d21c
lea eax, [esp + 8]
push str.360Common.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
je 0x41d27e
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d282
lea ecx, [esp + 4]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41d282
call fcn.00456be0
lea edx, [esp + 4]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x41d28d
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x473104], eax
je 0x41d2f4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x473104]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x473100], eax
call esi
mov edx, dword [0x473104]
push str.Create360FireWareStateFunction
push edx
mov dword [0x4730fc], eax
call esi
mov dword [0x4730f8], eax
mov eax, dword [0x473104]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x473104]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x4730f4], eax
call esi
mov dword [0x4730f0], eax
mov eax, dword [0x473100]
pop esi
test eax, eax
je 0x41d30d
call eax
test eax, eax
je 0x41d30d
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x41d316
xor eax, eax
add esp, 0x800
ret
mov edx, dword [esp + 0x804]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x30]
add esp, 0x800
ret
Function at 0x41d580
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x4730e0]
sub esp, 0x800
test eax, eax
je 0x41d59d
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x41d679
push esi
push edi
lea eax, [esp + 8]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x41d5da
lea edx, [esp + 8]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x41d5c9
lea eax, [esp + 8]
push str.MiniUI.dll
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 8]
pop edi
test edx, edx
pop esi
je 0x41d62c
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d630
lea ecx, [esp]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41d630
call fcn.00456be0
lea edx, [esp]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x41d63b
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x41d670
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x41d679
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
xor eax, eax
add esp, 0x800
ret
call eax
test eax, eax
je 0x41d670
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
test eax, eax
je 0x41d670
mov edx, dword [esp + 0x804]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx]
add esp, 0x800
ret
Function at 0x41f1a0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1418
call fcn.00456620
mov ax, word [0x473258]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1428]
push edi
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push 0x473258
mov ecx, esi
mov ebp, 1
stosw word es:[edi], ax
call fcn.00456320
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x18]
test ecx, ecx
je 0x41f287
mov edx, str.safemon360procmon.dll
mov word [esp + 0x18], 0
test edx, edx
je 0x41f287
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x428]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41f26f
lea eax, [esp + 0x428]
push 0x800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x428]
push ecx
call ebx
lea edx, [esp + 0x428]
push str.safemon360procmon.dll
lea eax, [esp + 0x42c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x428]
push 0x104
lea edx, [esp + 0x1c]
push ecx
push edx
jmp 0x41f27e
push 0x104
lea eax, [esp + 0x1c]
push str.safemon360procmon.dll
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
call fcn.0041da70
test eax, eax
jne 0x41f29b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1418
ret
lea ecx, [esp + 0x18]
test ecx, ecx
je 0x41f2f8
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f2e3
lea eax, [esp + 0x18]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x41f2e3
call fcn.00456be0
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1418
ret
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x41f305
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1418
ret
push str.Is360SafeUnique
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f37f
lea ecx, [esp + 0x220]
push 0x104
lea edx, [esp + 0x14]
mov ebp, 1
push ecx
push edx
mov dword [esp + 0x1c], ebp
call eax
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x220]
push eax
call ebx
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.00456320
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x41f36d
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41f36d
push 0x46d988
mov ecx, esi
call fcn.004562cc
test edi, edi
je 0x41f379
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41f37b
xor ebp, ebp
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x41f391
xor ebp, ebp
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x1418
ret
Function at 0x420120
Capabilities:
Check if file exists

Disassembly:
push str.360ExaminUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x420177
mov eax, str.360ExaminUI.dll
test eax, eax
je 0x420193
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420168
push str.360ExaminUI.dll
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x420168
call fcn.00456be0
push eax
push str.360ExaminUI.dll
call fcn.00456bf0
add esp, 8
ret
push str.360ExaminUI.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x420193
push str.SetConfigCmdInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420193
mov ecx, dword [esp + 4]
push 0x800c
push ecx
call eax
ret
Function at 0x420580
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x180c
call fcn.00456620
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42u.DLL_CString::CString_4
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x41b]
mov byte [ebp - 0x41c], bl
lea edx, [ebp - 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x41c]
push eax
push ecx
push edx
push 0x473258
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
jne 0x420730
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 0x14]
push eax
push 0x46e9ac
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, ebx
mov esi, edx
je 0x420730
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x81c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x81c]
test eax, eax
je 0x420730
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x181c]
push edx
rep stosd dword es:[edi], eax
mov word [ebp - 0x81c], bx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4206b5
lea ecx, [ebp - 0x181c]
push 0x800
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x181c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x181c]
push esi
lea ecx, [ebp - 0x181c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x181c]
push 0x400
lea eax, [ebp - 0x81c]
push edx
push eax
jmp 0x4206c2
push 0x400
lea ecx, [ebp - 0x81c]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea edx, [ebp - 0x81c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x420730
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0041d330
add esp, 0xc
test eax, eax
je 0x420730
mov ecx, dword [ebp - 0x14]
push 5
push ebx
push ecx
call fcn.004204a0
add esp, 0xc
cmp eax, ebx
je 0x420730
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420aa0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b4d6
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x808
push esi
xor esi, esi
cmp eax, 4
jne 0x420cbe
mov eax, dword [0x473100]
cmp eax, esi
jne 0x420ae6
call fcn.00414740
mov eax, dword [0x473100]
cmp eax, esi
je 0x420cbe
call eax
cmp eax, esi
je 0x420cbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp eax, esi
je 0x420cbe
mov eax, dword [0x473100]
cmp eax, esi
jne 0x420b15
call fcn.00414740
mov eax, dword [0x473100]
cmp eax, esi
je 0x420b23
call eax
cmp eax, esi
je 0x420b23
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x420b25
xor eax, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x420c8a
push ebx
push ebp
push 0x80
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov ebp, dword [eax]
push 0xef73
lea ecx, [esp + 0x14]
mov dword [esp + 0x820], esi
call sub.MFC42u.DLL_CString::CString_1
mov ebx, dword [eax]
mov eax, dword [0x4732b8]
cmp eax, esi
mov byte [esp + 0x81c], 1
je 0x420b79
cmp dword [0x4730e4], esi
jne 0x420c30
push edi
lea edx, [esp + 0x18]
push 0x400
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x18]
push eax
call edi
mov eax, dword [0x4730e8]
test eax, eax
jle 0x420bb2
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x420ba1
lea edx, [esp + 0x18]
push str.MiniUI.dll
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
pop edi
test ecx, ecx
je 0x420c03
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420c07
lea eax, [esp + 0x14]
push eax
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x420c07
call fcn.00456be0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x420c12
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x420c4b
push str.GetMiniUI3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4732b8], eax
je 0x420c4b
call eax
test eax, eax
je 0x420c4b
mov edx, dword [esp + 0x824]
mov ecx, dword [eax]
push 0x30
push ebp
push ebx
push edx
push eax
call dword [ecx + 0x8c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x81c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x81c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop ebp
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x808]
mov dword fs:[0], ecx
add esp, 0x814
ret
push str._URL:http:__pinst.360.cn_360sd_sd_safetab.cab
call fcn.00420800
add esp, 4
cmp eax, esi
jne 0x420cc0
push str.http:__down.360safe.com_360sd_360sd_setup.exe
call fcn.0041d1d0
add esp, 4
pop esi
mov ecx, dword [esp + 0x808]
mov dword fs:[0], ecx
add esp, 0x814
ret
mov eax, esi
mov ecx, dword [esp + 0x80c]
pop esi
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x421170
Capabilities:
Query environment variable
Read .ini file

Disassembly:
sub esp, 0x414
mov dx, word [0x473258]
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], dx
mov word [esp + 0xc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x424]
push eax
call fcn.00420dd0
add esp, 4
test eax, eax
jne 0x4211d3
push 0x473258
jmp 0x42129e
lea ecx, [esp + 0xc]
push 0x104
push ecx
push str._AppData_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x4211ff
push eax
lea edx, [esp + 0x10]
push 0x1a
push edx
push eax
push 0x4732d0
call fcn.00423860
mov ecx, 0x82
lea eax, [esp + 0xc]
cmp word [eax], 0
je 0x421216
add eax, 2
dec ecx
jne 0x421208
jmp 0x421263
test ecx, ecx
je 0x421263
lea eax, [esp + 8]
test eax, eax
je 0x42122b
mov eax, 0x82
sub eax, ecx
jmp 0x42122f
mov eax, dword [esp + 8]
mov edx, 0x82
sub edx, eax
lea eax, [esp + eax*2 + 0xc]
je 0x421263
mov esi, str.360SafeUser.Ini
sub esi, eax
mov cx, word [esi + eax]
test cx, cx
je 0x421257
mov word [eax], cx
add eax, 2
dec edx
jne 0x421243
jmp 0x42125b
test edx, edx
jne 0x42125e
sub eax, 2
mov word [eax], 0
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x214]
lea edx, [esp + 0x214]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x208
push edx
push eax
push str.Name
push str.User
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x214]
push eax
mov esi, dword [esp + 0x424]
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
add esp, 0x414
ret
Function at 0x4212c0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1824
call fcn.00456620
mov dx, word [0x473258]
push esi
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], dx
mov word [esp + 0x41c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x41e]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
mov dword [esp + 8], esi
test eax, eax
je 0x4213ad
mov ecx, str.360OEMoeminfo.ini
mov word [esp + 0xc], si
test ecx, ecx
je 0x4213ad
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x82c]
push str.360OEMoeminfo.ini
rep stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x421395
lea edx, [esp + 0x82c]
push 0x800
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x82c]
push str.360OEMoeminfo.ini
lea edx, [esp + 0x830]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x82c]
push 0x208
lea ecx, [esp + 0x10]
push eax
push ecx
jmp 0x4213a4
push 0x208
lea edx, [esp + 0x10]
push str.360OEMoeminfo.ini
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x41c]
push eax
push 0x103
push ecx
push esi
push 0x46ec0c
push 0x46ec04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x41c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x42140b
push 7
lea eax, [esp + 0x420]
push str.http:__
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x42140b
lea ecx, [esp + 0x41c]
push ecx
jmp 0x421410
push 0x46ebd0
mov esi, dword [esp + 0x1834]
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
add esp, 0x1824
ret
Function at 0x421430
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x4730e0]
push ebp
mov ebp, dword [esp + 0x80c]
mov dword [esp + 4], 0
test eax, eax
je 0x42145d
mov ecx, dword [0x4730e4]
test ecx, ecx
jne 0x421532
push esi
push edi
lea eax, [esp + 0x10]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x10]
push ecx
call edi
mov eax, dword [0x4730e8]
xor esi, esi
test eax, eax
jle 0x42149a
lea edx, [esp + 0x10]
push edx
call edi
mov eax, dword [0x4730e8]
inc esi
cmp esi, eax
jl 0x421489
lea eax, [esp + 0x10]
push str.MiniUI.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
pop edi
test edx, edx
pop esi
je 0x4214ec
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4214f0
lea ecx, [esp + 8]
push ecx
call fcn.00456ce0
add esp, 4
test eax, eax
jne 0x4214f0
call fcn.00456be0
lea edx, [esp + 8]
push eax
push edx
call fcn.00456bf0
add esp, 8
xor eax, eax
jmp 0x4214fb
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4730e4], eax
je 0x421549
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4730e0], eax
jne 0x421532
mov ecx, dword [0x4730e4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4730e4], 0
jmp 0x421549
call eax
test eax, eax
je 0x421549
mov edx, dword [eax]
lea ecx, [esp + 4]
push ecx
push 0x2710
push ebp
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 4]
test eax, eax
je 0x42156b
mov edx, dword [eax]
push eax
call dword [edx + 0x60]
mov eax, dword [esp + 0x810]
push eax
push fcn.00421430
push ebp
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, 1
pop ebp
add esp, 0x804
ret 8

Function at 0x421580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push str.360122FF_13C3_3f30_A177_3B9CA9BF7B33
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
test ax, ax
je 0x421599
xor eax, eax
add esp, 0xc
ret
mov eax, 4
lea ecx, [esp]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
lea edx, [esp + 8]
push eax
push ecx
push edx
push str.360Preview
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [esp]
xor eax, eax
cmp ecx, 1
sete al
add esp, 0xc
ret

Function at 0x421610
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 8]
pop edi
cmp eax, 6
jbe 0x42164d
mov eax, 1
add esp, 0x11c
ret
jne 0x42165c
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
jae 0x42165e
xor eax, eax
add esp, 0x11c
ret
Function at 0x4217c0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x45b53f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
mov esi, eax
call sub.MFC42u.DLL_CString::CString_4
test esi, esi
mov dword [esp + 0x14], 1
je 0x421808
push esi
lea ecx, [esp + 8]
call fcn.00456320
lea ecx, [esp + 4]
call sub.MFC42u.DLL_CString::MakeLower
push 0x46ece4
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
je 0x421833
add eax, 8
lea ecx, [esp + 4]
push eax
push 0
call sub.MFC42u.DLL_CString::Delete
push 0x46e824
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
je 0x42185a
mov ecx, dword [esp + 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::Delete
push 0x46ece0
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
je 0x421881
mov edx, dword [esp + 4]
mov ecx, dword [edx - 8]
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::Delete
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.004562c0
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret