joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ae60
Capabilities:
Check if file exists
Read .ini file
Set registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
push 0x49104c
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42af6d
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00462160
add esp, 0xc
push str.updatecfg.ini
push 0x49104c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0045c5b0
test eax, eax
je 0x42aedf
lea eax, [esp + 4]
push eax
push 0x64
push 0x4912bc
push 0x47abd0
push 0x47cad4
push str.libleak_64.dat
jmp 0x42aefa
lea ecx, [esp + 4]
push ecx
push 0x64
push 0x4912bc
push 0x47abd0
push 0x47cad4
push str.libleak.dat
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4912bc
call esi
test eax, eax
jle 0x42af54
push 0x4912bc
call esi
add eax, eax
push eax
push 0x4912bc
push 1
push str.lastnotiver
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
pop esi
inc eax
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00460259
add esp, 0x20c
ret
pop esi
mov eax, edi
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00460259
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00460259
add esp, 0x20c
ret
Function at 0x42c500
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x418
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, edx
cmp dword [esi], 0
push edi
mov edi, ecx
je 0x42c53b
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00460259
add esp, 0x418
ret
push ebx
push ebp
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00462160
mov ebp, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360Examin.dll
lea ebx, [edi + 0x2e0]
push ebx
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c5aa
lea ecx, [esp + 0x14]
push ecx
call fcn.0045eb50
add esp, 4
test eax, eax
jne 0x42c5aa
call fcn.0045eb70
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0045eb80
add esp, 8
xor edi, edi
jmp 0x42c651
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42c64d
push str.CreateExaminMgr
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c64d
call eax
mov dword [esi], eax
test eax, eax
je 0x42c667
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.00462160
add esp, 0xc
push str.configExaminePlugin_leak.xml
push ebx
lea ecx, [esp + 0x224]
push ecx
call ebp
mov eax, dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x21c]
push ecx
push eax
call edx
test eax, eax
jl 0x42c64d
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push eax
call edx
test edi, edi
je 0x42c639
lea eax, [edi + 4]
jmp 0x42c63b
xor eax, eax
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push eax
push esi
call edx
mov eax, 1
jmp 0x42c678
mov edi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x42c66b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi], 0
jmp 0x42c66b
mov edi, dword [esp + 0x10]
test edi, edi
je 0x42c676
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x424]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00460259
add esp, 0x418
ret
Function at 0x42c6a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [ebx + 0x1208]
mov ecx, dword [eax + 4]
push esi
lea esi, [ebx + 0x11f0]
push edi
push ecx
mov ecx, esi
call fcn.00427fb0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov edi, dword [ebx + 0x11c8]
cmp dword [ebx + 0x11c4], edi
lea esi, [ebx + 0x11b8]
jbe 0x42c704
call fcn.004605e2
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x42c71f
call fcn.004605e2
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push edx
push ecx
push eax
lea edi, [esp + 0x20]
call fcn.00449b10
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00462160
add esp, 0xc
push str.config_antiadwa_leak.ini
lea edx, [ebx + 0x2e0]
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c7af
lea esi, [ebx + 0x11b4]
mov edx, esi
mov ecx, ebx
call fcn.0042c500
test eax, eax
je 0x42c7af
mov eax, dword [esi]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jl 0x42c7af
mov ecx, dword [0x48ffc4]
push 0
push 1
push 0x4fc
mov dword [ebx + 0x11b0], 1
push ecx
jmp 0x42c7c9
mov edx, dword [0x48ffc4]
push 0
push 2
push 0x4fc
mov dword [ebx + 0x11b0], 2
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00460259
mov esp, ebp
pop ebp
ret
Function at 0x42f8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x42f8f0
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 0x42f900
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 0x42fdd0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x42fe45
xor eax, eax
cmp ecx, edi
je 0x42fe33
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x42fe53
cmp ecx, edi
je 0x42fef0
push ecx
jmp 0x42feea
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x42febe
jmp 0x42fe80
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042fdd0
mov ebp, eax
cmp ebp, edi
jne 0x42ff0d
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x42fe80
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42fed1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42fef0
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.00460259
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x42ff1c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x42fef2
Function at 0x4309b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x470330
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48a3c0]
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 0x430a2f
call fcn.0042f200
mov esi, eax
jmp 0x430b10
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 0x430a4b
call fcn.0042f200
jmp 0x430b07
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x430a64
call fcn.0042f200
jmp 0x430b07
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x430a98
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x430a86
lea eax, [ebp]
call fcn.0042f890
lea esi, [ebp - 0x1c]
call fcn.0043c540
mov eax, 0x8007000e
jmp 0x430b22
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0042f1c0
mov dword [ebp - 4], 1
jmp 0x430ac1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x430acf
mov esi, 0x8007000e
jmp 0x430b09
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x430aec
call fcn.0042f200
jmp 0x430b07
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.00430860
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x430b20
lea eax, [ebp]
call fcn.0042f890
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.00460259
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4331d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46fc1f
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x10], 1
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 2
mov eax, dword [edi + 0x1c]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x10], 3
mov eax, dword [edi + 0x20]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x10], 4
mov eax, dword [edi + 0x24]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 5
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x10], 6
mov eax, dword [edi + 0x2c]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x10], 7
mov eax, dword [edi + 0x30]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x10], 8
mov eax, dword [edi + 0x34]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [esp + 0x10], 9
mov eax, dword [edi + 0x38]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x10], 0xa
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x40]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x10], 0xb
mov edx, dword [edi + 0x44]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [esp + 0x10], 0xc
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
sub eax, 0x10
call fcn.00452ce0
add eax, 0x10
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x436f00
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
xor edi, edi
mov esi, ecx
test ebx, ebx
jbe 0x436fd4
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00462160
add esp, 0xc
push str.360Common.dll
add esi, 0x2e0
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436f88
lea ecx, [esp + 8]
push ecx
call fcn.0045eb50
add esp, 4
test eax, eax
jne 0x436f88
call fcn.0045eb70
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0045eb80
add esp, 8
jmp 0x436fd4
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x436fd4
push str.Get360ProductHistoryManager
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436fcd
call eax
test eax, eax
je 0x436fcd
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 1
push str.leakfixer
push eax
call edx
test eax, eax
je 0x436fcd
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push eax
call edx
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00460259
add esp, 0x20c
ret
Function at 0x4376b0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x470568
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push 0x47b530
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], 4
call fcn.0044e380
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43771c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push str.lastreboottime
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x437832
cmp dword [esp + 0xc], 4
jne 0x437832
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00437670
add esp, 4
test eax, eax
jne 0x437832
push str.lastreboottime
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x34], edi
movzx eax, word [esp + 0x1e]
movzx ecx, word [esp + 0x1a]
movzx edx, word [esp + 0x18]
push eax
push ecx
push edx
push 0x47abe8
lea edi, [esp + 0x18]
call fcn.004543e0
add esp, 0x10
call fcn.00437880
test eax, eax
je 0x4377e2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.aiRestore
jmp 0x4377fd
call fcn.004403e0
test eax, eax
je 0x43780d
mov eax, dword [esp + 8]
mov edx, dword [eax - 0xc]
add edx, edx
push edx
push eax
push 1
push str.aiRestore0
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp + 0x3c]
call fcn.0044b420
lea eax, [esp + 8]
call fcn.004568e0
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x30
ret 4
lea eax, [esp + 0x3c]
push 0x47b5b0
push eax
call fcn.0044e380
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437864
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x30
ret 4
Function at 0x437880
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
xor esi, esi
mov word [esp + 0x10], ax
call fcn.00462160
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x47abe4
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.360SysRtRESULT
lea edx, [esp + 8]
xor ecx, ecx
push edx
mov word [eax + 2], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437908
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [esi + 1]
je 0x43790a
mov eax, esi
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.00460259
add esp, 0x20c
ret

Function at 0x437920
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x200c], eax
lea eax, [esp + 4]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4379a5
cmp eax, 0x1fff
ja 0x4379a5
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4379a5
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x47abe4
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4379a5
mov eax, dword [esp]
mov edx, dword [eax + 0xc]
mov dword [edi], edx
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, 1
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.00460259
add esp, 0x2010
ret
mov ecx, dword [esp + 0x200c]
xor ecx, esp
xor eax, eax
call fcn.00460259
add esp, 0x2010
ret

Function at 0x4379c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x340
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00462160
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
xor ecx, ecx
push 0x206
lea ebx, [eax + edx*2]
push ecx
lea edx, [esp + 0x142]
push edx
mov word [esp + 0x144], cx
call fcn.00462160
add esp, 0xc
lea eax, [esp + 0x138]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x437aa4
push str._ntoskrnl.exe
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x437aa4
lea edi, [esp + 0x10]
lea esi, [esp + 0x138]
call fcn.00437920
test eax, eax
je 0x437aa4
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x10
lea edx, [eax + eax*4]
movzx eax, cx
lea ecx, [eax + edx*2]
cmp ebx, ecx
jge 0x437aa4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00460259
add esp, 0x340
ret
mov ecx, dword [esp + 0x344]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00460259
add esp, 0x340
ret
Function at 0x437ac0
Capabilities:
Check if file exists

Disassembly:
cmp dword [esi], 0
push edi
mov edi, eax
jne 0x437b3a
test edi, edi
je 0x437af3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437af7
push edi
call fcn.0045eb50
add esp, 4
test eax, eax
jne 0x437af7
call fcn.0045eb70
push eax
push edi
call fcn.0045eb80
add esp, 8
xor eax, eax
jmp 0x437afe
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x437b3a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DllGetClassObject
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
mov eax, dword [esi]
jne 0x437b3e
test eax, eax
je 0x437b3a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor eax, eax
pop edi
ret
push str.DllCanUnloadNow
push eax
call edi
mov dword [esi + 8], eax
mov eax, 1
pop edi
ret
Function at 0x437e10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f8ee
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x48a3c0]
xor eax, ebp
mov dword [ebp - 0x18], 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 + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 4], esi
mov ebx, edx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], esi
cmp dword [edi + 0x61c], esi
jne 0x437f17
push 0x206
lea edx, [ebp - 0x222]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x224], cx
call fcn.00462160
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x474]
push edx
push str.path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push SysReAllocStringLen
mov dword [ebp - 0x474], 1
mov dword [ebp - 0x468], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x437f17
cmp dword [ebp - 0x468], esi
jbe 0x437f17
push str.pdown.dll
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x88
call fcn.004607ac
mov esi, eax
add esp, 4
mov dword [ebp - 0x478], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x437f09
lea eax, [ebp - 0x224]
call fcn.00437c20
jmp 0x437f0b
xor eax, eax
mov byte [ebp - 4], 0
mov dword [edi + 0x61c], eax
xor esi, esi
mov eax, dword [edi + 0x61c]
cmp eax, esi
je 0x437fde
mov eax, dword [eax + 0x38]
cmp eax, esi
jne 0x437f34
mov dword [ebp - 0x468], esi
jmp 0x437f4c
mov ecx, dword [ebp - 0x470]
push esi
push esi
push esi
push esi
push esi
push ecx
push ebx
call eax
add esp, 0x1c
mov dword [ebp - 0x468], eax
mov ebx, 0x12c
cmp esi, ebx
jae 0x437faa
push 0x240
lea edx, [ebp - 0x464]
push 0
push edx
call fcn.00462160
mov eax, dword [edi + 0x61c]
mov eax, dword [eax + 0x30]
add esp, 0xc
test eax, eax
je 0x437f8b
mov edx, dword [ebp - 0x468]
lea ecx, [ebp - 0x464]
push ecx
push edx
call eax
add esp, 8
mov eax, dword [ebp - 0x438]
cmp eax, 5
je 0x437f9b
cmp eax, 6
jne 0x437faa
mov eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
jmp 0x437f51
mov eax, dword [edi + 0x61c]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x437fc3
mov ecx, dword [ebp - 0x468]
push ecx
call eax
add esp, 4
mov edx, dword [ebp - 0x470]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437fde
mov dword [ebp - 0x46c], 1
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00460259
mov esp, ebp
pop ebp
ret 4