joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1008
call fcn.0042ac70
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00420660
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push 0x43612c
push ecx
call fcn.0041ed7c
add esp, 0xc
push 0x800
lea edx, [esp + 0xc]
push esi
push edx
call fcn.0041ed3c
add esp, 0xc
push 0x800
lea eax, [esp + 0xc]
push 0x436134
push eax
call fcn.0041ed3c
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.0041ed3c
add esp, 0xc
push 0x800
lea edx, [esp + 0xc]
push str.vL
push edx
call fcn.0041ed3c
add esp, 0xc
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0041ed3c
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push 0x436184
push ecx
call fcn.0041ed3c
add esp, 0xc
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x4027a4
push 0xc8
push 0x4360c0
push str.http:__down.360safe.com_setup.exe
call fcn.00431b4e
add esp, 0xc
test eax, eax
jne 0x40278c
call fcn.00402560
test eax, eax
je 0x40278c
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x402797
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x4027b1
push 0
call fcn.0041eca4
mov ecx, dword [esp + 0x100c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041e5bb
mov esp, ebp
pop ebp
ret

Function at 0x4027d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00402160
add esp, 4
test eax, eax
jne 0x40282a
test edi, edi
je 0x402823
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40282a
lea esi, [esp + 8]
mov eax, edi
mov dword [esp + 8], 0
call fcn.00402410
test eax, eax
jne 0x40282a
cmp dword [esp + 8], eax
jne 0x402823
push 1
push 0x440d80
push edi
call fcn.00402670
add esp, 0xc
xor eax, eax
pop esi
add esp, 8
ret
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x402bb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x432879
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x230]
mov ebx, 1
mov dword [esp + 0x10], 0
test byte [0x443510], bl
jne 0x402c3e
or dword [0x443510], ebx
push 0x44350c
mov ecx, 0x43649c
mov dword [esp + 0x22c], 0
call fcn.00404c80
push 0x433500
call fcn.0041eeed
add esp, 4
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [0x44350c]
cmp dword [eax - 0xc], 0
jne 0x402cdc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.00420660
add esp, 0xc
push 0
push 0x1a
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404c80
mov dword [esp + 0x228], ebx
lea ebx, [esp + 0x10]
call fcn.00403d40
push 0xf
push str.360CleanMaster
mov edx, ebx
push edx
call fcn.00404850
mov eax, ebx
mov edi, 0x44350c
call fcn.00403de0
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x44350c]
add eax, 0xfffffff0
call fcn.004049c0
add eax, 0x10
mov dword [ebp], eax
mov eax, ebp
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x21c
ret
Function at 0x4030b0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x4031de
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4030e0
sub eax, edx
sar eax, 1
je 0x4031de
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4031c3
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x4031c3
push esi
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00420660
lea eax, [esp + 0x18]
mov esi, edi
mov ecx, eax
add esp, 0xc
mov edx, 0x104
sub esi, ecx
jmp 0x403140
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x403160
movzx ecx, word [esi + eax]
test cx, cx
je 0x403160
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x403140
jmp 0x403164
test edx, edx
jne 0x403167
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0xc]
push edx
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
pop esi
test eax, eax
je 0x4031de
lea eax, [esp + 8]
push eax
call fcn.004030b0
add esp, 4
test eax, eax
je 0x4031de
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x210
ret
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0041e5bb
add esp, 0x210
ret
Function at 0x403200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x43b820
push 0x420740
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x43f090]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov ebx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
push esi
lea ecx, [ebp - 0x30]
push ecx
push esi
push 0x20000
push 2
call dword [sym.imp.ADVAPI32.dll_SaferCreateLevel]
test eax, eax
je 0x403336
mov dword [ebp - 0x2c], esi
push esi
push esi
lea edx, [ebp - 0x2c]
push edx
push esi
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_SaferComputeTokenFromLevel]
test eax, eax
je 0x40331c
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x23], 0x10
lea ecx, [ebp - 0x34]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x2000
push 1
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4032f2
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x38], 0x20
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x19
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x40]
push eax
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40331c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_SaferCloseLevel]
jmp 0x403336
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041e5bb
mov esp, ebp
pop ebp
ret
Function at 0x403360
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x20
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4033d5
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4033d5
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push esi
push esi
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push esi
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4033d5
mov esi, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x4033e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x20
ret
Function at 0x404060
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push esi
push 0x441940
push 0x4000
call fcn.0041f673
mov esi, eax
add esp, 8
test esi, esi
je 0x404119
push 0x4000
push 0
push esi
call fcn.00420660
add esp, 0xc
lea eax, [esp + 8]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x404110
cmp eax, 0x3fff
ja 0x404110
push esi
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x404110
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
push 0x43653c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x404110
mov eax, dword [esp + 4]
movzx ecx, word [eax + 0xa]
mov edx, dword [esp + 0x14]
mov word [edx], cx
movzx ecx, word [eax + 8]
mov edx, dword [esp + 0x18]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [esp + 0x1c]
mov ax, word [eax + 0xc]
mov word [edx], cx
mov ecx, dword [esp + 0x20]
push esi
mov word [ecx], ax
call fcn.0041f1c4
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.0041f1c4
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret

Function at 0x4043f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x40446e
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x404467
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x404466
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40445f
push ebp
call fcn.0041f58b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40445f
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.00421e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x4044b2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x43653c
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4044a9
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.0041ef04
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4044c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00420660
push 0x11c
push 0
push ebx
mov dword [esp + 0x60], 0x11c
call fcn.00420660
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x404564
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x404564
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x404564
cmp dword [esp + 0x10], 0
jne 0x40462b
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x40457e
lea ecx, [esp + 0x48]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x4045ab
mov ecx, 0x47
lea esi, [esp + 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x16e]
push ecx
mov word [esp + 0x170], ax
call fcn.00420660
add esp, 0xc
lea esi, [esp + 0x164]
call fcn.00404330
test eax, eax
jl 0x40462b
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.004043f0
test eax, eax
je 0x40462b
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x40461e
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x404636
mov edx, dword [esp + 0xc]
mov dword [edx + 4], 0
jmp 0x404636
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0041e5bb
add esp, 0x56c
ret 4

Function at 0x404920
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40498e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40495f
cmp eax, 2
jne 0x40497a
mov eax, dword [esp]
test esi, esi
je 0x404988
test eax, eax
je 0x404983
test al, 1
jne 0x40497a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x404988
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x404ab0
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 0x404ac7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404af8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x404af4
cmp esi, eax
jae 0x404af8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x404ae4
cmp esi, eax
jb 0x404afe
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 0x406930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432552
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.0040b8f0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], vtable.CSiteUIBase.0
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi], vtable.CMainDlg.0
mov dword [esi + 0x2c], vtable.CMainDlg.1.0
mov dword [esi + 0x50], vtable.CMainDlg.2.0
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
lea ecx, [esi + 0x8c]
mov byte [esp + 0x14], 9
push ecx
mov dword [esi + 0x88], vtable.CAtlAdviser.0
call fcn.00412150
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov edx, dword [0x4418c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4418c4
call eax
add eax, 0x10
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4079d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x432c68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
call fcn.004127d0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebp
test eax, eax
jne 0x407ab3
lea esi, [esp + 0x1c]
call fcn.004129d0
lea edi, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00403de0
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407a58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call ebp
test eax, eax
jne 0x407ab3
lea ecx, [esp + 0x1c]
call fcn.00412bf0
lea edi, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00403de0
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call ebp
test eax, eax
jne 0x407ab3
lea esi, [esp + 0x14]
call fcn.00402840
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x407ad7
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x407b34
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.http:__www.360.cn_privacy_v3_bps360qldsWin10.html
call fcn.00404c80
mov eax, dword [esp + 0x14]
test eax, eax
je 0x407af8
mov edx, dword [esp + 0x18]
push edx
call fcn.00412d40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x407b60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432fd0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, 0x43649c
call fcn.00404c80
lea ecx, [esp + 4]
push ecx
mov ecx, 0x438994
mov dword [esp + 0x18], 0
call fcn.00404c80
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.00403920
mov byte [esp + 0x18], 0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x30]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4
Function at 0x4081a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x432f91
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x43649c
call fcn.00404c80
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
mov ecx, 0x438a30
mov dword [esp + 0x28c], ebx
call fcn.00404c80
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x28c], 1
call fcn.00403920
mov byte [esp + 0x28c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408243
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x288], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
call fcn.00402d40
mov dword [esp + 0x288], 2
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408346
mov ecx, dword [esp + 0x10]
push ebx
push 1
push 1
call fcn.00402450
test eax, eax
je 0x408346
push 0x206
lea eax, [esp + 0x7a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x80], dx
call fcn.00420660
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push str._srcspeedup__funnameqinglilaji_yijianqingli__from360CleanMaster_Setup
push ecx
push str.__s___s
mov ecx, 0x104
lea ebx, [esp + 0x80]
call fcn.0040b490
add esp, 0xc
push 0x44
lea edx, [esp + 0x30]
push 0
push edx
call fcn.00420660
add esp, 0xc
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, ebx
push edx
push 0
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [edi + 0x30]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x288], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40837a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0041e5bb
add esp, 0x27c
ret
Function at 0x409740
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x80], 0
je 0x409790
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x409760
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0
push 0x400
push eax
call edx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x409783
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
push edi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edi, [esi + 0xac]
push edi
push 0
push esi
push 0x40a700
push 0
push 0
mov dword [esi + 0xa8], eax
call fcn.0041fc4e
mov dword [esi + 0xa4], eax
mov esi, dword [esi + 0xa8]
add esp, 0x18
test esi, esi
je 0x4097dc
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [edi]
test edi, edi
je 0x4097f2
push 0
push 0
push 0x420
push edi
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop edi
pop esi
ret