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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4249f8
mov eax, 0x1001
pop esi
ret
mov eax, dword [esi + 4]
push eax
call fcn.00438ae0
add esp, 4
test eax, eax
jne 0x424a0f
mov eax, 0x1003
pop esi
ret
mov eax, dword [esi + 4]
push eax
call fcn.00417b70
add esp, 4
test eax, eax
jne 0x424a5f
mov cl, byte [0x45f8b0]
mov al, 1
test al, cl
jne 0x424a4c
mov dl, cl
mov ecx, 0x45f8c0
or dl, al
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x1f
mov ecx, 0x45f8c0
call fcn.00429dc0
mov eax, 0x1002
pop esi
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x424aba
mov esi, dword [esi + 4]
push esi
push eax
call fcn.00421200
add esp, 8
test eax, eax
jne 0x424aba
mov cl, byte [0x45f8b0]
mov al, 1
test al, cl
jne 0x424aa7
mov dl, cl
mov ecx, 0x45f8c0
or dl, al
mov byte [0x45f8b0], dl
call fcn.00429af0
push 0x403fb0
call fcn.00438cb0
add esp, 4
push 0x1e
mov ecx, 0x45f8c0
call fcn.00429dc0
mov eax, 0x1004
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x424ac0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x424af0
push 0
push 0
mov dword [esp + 0x1c], 0
call fcn.0043ac9c
add esp, 0x18
mov dword [esi + 0x1c], eax
pop esi
pop ecx
ret

Function at 0x4254a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
xor eax, eax
push ecx
push eax
push esi
push 0x4254d0
push eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4c], eax
call fcn.0043ac9c
add esp, 0x18
mov dword [esi + 0x20], eax
mov eax, 1
pop esi
pop ecx
ret
Function at 0x425a50
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44ea16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x450b30
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
push eax
mov dword [esp + 0x2c], 1
call ebx
lea edi, [esi + 8]
push str.liveupdatelogP2SP_360installer.log
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.00407e90
mov edx, dword [eax]
push 4
push 0
push edx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x425add
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x425add
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
push str.liveupdatelog
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00407e90
mov ecx, dword [eax]
push 4
push 0
push ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x425b21
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x425b21
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
mov ecx, dword [edi]
push 4
push 0
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x425b53
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x425b53
mov eax, dword [esi + 0xc]
sub eax, 0xc
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [edi]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x425b7a
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x425b7a
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.0042d78e
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x426870
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x84]
mov esi, dword [ebp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x10], edi
jg 0x4268a7
cmp esi, dword [eax - 4]
jle 0x426938
mov eax, dword [eax - 8]
cmp esi, eax
mov dword [esp + 0x24], eax
jge 0x4268b4
mov esi, eax
test esi, esi
jne 0x4268c2
mov ecx, dword [0x458050]
mov dword [ebx], ecx
jmp 0x4268ef
lea edx, [esi + esi + 0xe]
push edx
call fcn.0043936a
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x42693a
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], cx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax + 2]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x426916
mov eax, ecx
lea esi, [edi + 0xc]
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov eax, dword [0x458054]
cmp edi, eax
je 0x426938
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426938
push edi
call fcn.0042d78e
add esp, 4
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x88]
push edx
mov edx, dword [ebp + 0x8c]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jle 0x4269ce
mov ecx, dword [0x458054]
add eax, 0xfffffff4
cmp eax, ecx
je 0x42699a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x426993
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [0x458050]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, ebx
call fcn.00403db0
test eax, eax
je 0x4269ce
mov edi, dword [ebx]
mov edx, dword [esi + 4]
mov eax, dword [edi - 4]
lea ecx, [edx + edx + 2]
lea edx, [eax + eax + 2]
cmp edx, ecx
jb 0x4269ce
mov eax, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebx]
pop edi
pop esi
mov dword [edx - 8], eax
mov ecx, dword [ebx]
mov word [ecx + eax*2], 0
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x427360
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
test esi, esi
push edi
je 0x427452
mov ebx, dword [esp + 0x124]
test ebx, ebx
je 0x427452
mov ebp, dword [esp + 0x128]
cmp ebp, 0x80
jl 0x427452
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x427452
cmp eax, 0xff
ja 0x427452
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x427452
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4584dc
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x427452
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push ebp
push ebx
call fcn.00420d10
add esp, 0x1c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0xc
Function at 0x427ba0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x608
push ebx
push ebp
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x218]
push eax
push ecx
mov ecx, dword [edx + 0x4c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 0x48]
push ecx
mov ecx, dword [edx + 0x54]
mov edi, 0x200
push eax
mov dword [esp + 0x24], esi
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [esp + 0x61c]
mov edx, dword [0x458050]
lea eax, [esp + 0x218]
test eax, eax
mov dword [ebx], edx
je 0x427d5b
lea ecx, [esp + 0x218]
shr ecx, 0x10
jne 0x427cfc
mov eax, dword [0x45e460]
xor ebp, ebp
lea edx, [esp + 0x218]
lea ecx, [esp + 0x18]
mov eax, dword [eax + 8]
mov bp, dx
push 0x100
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x427c5e
mov word [esp + 0x18], si
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x427c99
lea eax, [esp + 0x18]
test eax, eax
je 0x427c7d
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
push eax
call fcn.00403e10
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4
push 0x1ff
mov ecx, ebx
call fcn.00403bf0
mov esi, eax
test esi, esi
je 0x427ce4
mov eax, dword [0x45e460]
push edi
push esi
push ebp
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x427cc4
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x427ce4
add edi, 0x100
mov ecx, ebx
lea edx, [edi - 1]
push edx
call fcn.00403bf0
mov esi, eax
test esi, esi
jne 0x427cab
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00403cb0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x427d5b
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.0043936a
add esp, 4
test eax, eax
je 0x427d5b
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
add eax, 0xc
cmp edx, ecx
mov dword [ebx], eax
jb 0x427d5b
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x608
ret 4

Function at 0x428a30
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x428a66
pop edi
xor eax, eax
pop esi
ret 4
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push ecx
push edx
push esi
call fcn.00428aa0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x428aa0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.0043a440
mov eax, dword [esp + 0x1010]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
je 0x428bcc
mov ebp, dword [esp + 0x1024]
xor esi, esi
cmp ebp, esi
je 0x428bcc
mov ecx, dword [esp + 0x1028]
cmp ecx, esi
jle 0x428bcc
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
mov ebx, eax
mov eax, ecx
sar ebx, 0xc
and eax, 0x80000fff
jns 0x428afe
dec eax
or eax, 0xfffff000
inc eax
cmp ebx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
jle 0x428b6e
mov edx, dword [esp + 0x1020]
mov ecx, 0x400
mov esi, ebp
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x1000
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428bcc
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x428b57
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0x14]
add ebp, 0x1000
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x428b0e
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x428bbc
mov ecx, eax
mov esi, ebp
mov edx, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x102c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x428bcc
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x428bbc
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
add edx, ecx
mov dword [eax], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x100c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x100c
ret
Function at 0x429080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, ebp
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
push edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4290b3
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4290d0
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10

Function at 0x4290f0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00428f60
add esp, 8
test eax, eax
jne 0x42910d
pop esi
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
ret

Function at 0x429940
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.0043a440
push ebx
push ebp
push esi
mov esi, dword [esp + 0x201c]
test esi, esi
push edi
je 0x429a33
mov ebx, dword [esp + 0x2024]
test ebx, ebx
je 0x429a33
mov ebp, dword [esp + 0x2028]
cmp ebp, 0x80
jl 0x429a33
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x429a33
cmp eax, 0x1fff
ja 0x429a33
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x429a33
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4584dc
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x429a33
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push ebx
call fcn.0043ac2d
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200c
ret
Function at 0x42a2f0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
push 0
rep stosd dword es:[edi], eax
push 0
push 0
push 0
push 0
stosw word es:[edi], ax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x42a4d8
mov eax, dword [0x458050]
mov ecx, str.update.360safe.com
test ecx, ecx
mov dword [esp + 0xc], eax
je 0x42a399
mov edx, ecx
shr edx, 0x10
jne 0x42a358
xor eax, eax
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.004076b0
jmp 0x42a399
push str.update.360safe.com
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42a399
push esi
lea ecx, [esp + 0x10]
call fcn.00403db0
test eax, eax
je 0x42a399
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x42a399
mov edi, dword [esp + 0xc]
mov eax, ecx
mov esi, str.update.360safe.com
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
test esi, esi
jne 0x42a3c0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x42a3f3
mov ecx, dword [esp + 0x58]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push ecx
push 0x458ea8
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x42a41f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42a4d8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a4d8
jmp 0x42a4c8
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42a47d
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push esi
call ebx
push edi
call ebx
mov eax, dword [esp + 0xc]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42a4d8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a4d8
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x13
push edi
mov dword [esp + 0x24], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
push ebx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x458054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42a4d8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a4d8
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x42a510
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0
push esi
push 0x42a6c0
push 0
push 0
mov dword [esi], 0
mov dword [esp + 0x1c], 0
call fcn.0043ac9c
add esp, 0x18
mov dword [esi + 8], eax
pop esi
pop ecx
ret

Function at 0x42ad70
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 edx, dword [esp + 8]
pop edi
cmp edx, 6
sbb eax, eax
inc eax
add esp, 0x11c
ret
Function at 0x42b0b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44ef20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp]
push esi
push eax
call fcn.00427ba0
lea ecx, [esp + 4]
push str.modules360Inst.exe
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.00407e90
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b20f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00417b70
add esp, 4
test eax, eax
jne 0x42b188
mov esi, dword [esp + 0x18]
push 1
call fcn.00438730
push eax
push esi
call fcn.004389c0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b160
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b160
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b26b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b26b
jmp 0x42b25b
mov eax, dword [esp + 0x18]
push 5
push str._S__URL:http:__pinst.360.cn_zhuomian_desktopsafe.cab
push eax
push 0
call fcn.00417e10
mov eax, dword [esp + 0x28]
mov edx, dword [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b1cf
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b1cf
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b1fa
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b1fa
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x458054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b240
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b240
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x458054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b26b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b26b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42b2c0
Capabilities:
Check if file exists
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x81c
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebp
push esi
push edi
mov dword [esp + 0x1c], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
mov dword [esp + 0x20], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov dword [esp + 0x24], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_5.exe
mov dword [esp + 0x28], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
mov dword [esp + 0x10], 0
lea esi, [esp + 0x1c]
mov ebp, 1
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
push edx
push 0x45e590
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x42b388
cmp dword [esp + 0x14], ebp
jne 0x42b388
cmp word [esp + 0x2c], 0
je 0x42b388
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x42b388
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b388
lea edx, [esp + 0x2c]
push edx
call fcn.00417b70
add esp, 4
test eax, eax
jne 0x42b3d7
mov eax, dword [esp + 0x10]
add esi, 4
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x42b301
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b3e4
mov ecx, dword [esp + 0x10]
mov esi, ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x81c
ret