joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430fa0
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 0x431092
mov ebx, dword [esp + 0x124]
test ebx, ebx
je 0x431092
mov ebp, dword [esp + 0x128]
cmp ebp, 0x80
jl 0x431092
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 0x431092
cmp eax, 0xff
ja 0x431092
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x431092
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x46354c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x431092
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.0042a960
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 0x4317e0
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 [0x463058]
lea eax, [esp + 0x218]
test eax, eax
mov dword [ebx], edx
je 0x43199b
lea ecx, [esp + 0x218]
shr ecx, 0x10
jne 0x43193c
mov eax, dword [0x469708]
xor ebp, ebp
lea edx, [esp + 0x218]
lea ecx, [esp + 0x18]
mov eax, dword [eax + 8]
mov bp, dx
push pe_nt_image_headers32
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x43189e
mov word [esp + 0x18], si
mov edx, pe_nt_image_headers32
sub edx, eax
cmp edx, 1
jle 0x4318d9
lea eax, [esp + 0x18]
test eax, eax
je 0x4318bd
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 0x431924
mov eax, dword [0x469708]
push edi
push esi
push ebp
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x431904
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x431924
add edi, 0x100
mov ecx, ebx
lea edx, [edi - 1]
push edx
call fcn.00403bf0
mov esi, eax
test esi, esi
jne 0x4318eb
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 0x43199b
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00442bba
add esp, 4
test eax, eax
je 0x43199b
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 0x43199b
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 0x432560
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 0x432596
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.004325d0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x4325d0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.00443b20
mov eax, dword [esp + 0x1010]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
je 0x4326fc
mov ebp, dword [esp + 0x1024]
xor esi, esi
cmp ebp, esi
je 0x4326fc
mov ecx, dword [esp + 0x1028]
cmp ecx, esi
jle 0x4326fc
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
mov ebx, eax
mov eax, ecx
sar ebx, 0xc
and eax, 0x80000fff
jns 0x43262e
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 0x43269e
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 0x4326fc
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x432687
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 0x43263e
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4326ec
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 0x4326fc
mov eax, dword [esp + 0x102c]
test eax, eax
je 0x4326ec
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 0x432bb0
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 0x432be3
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 0x432c00
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 0x432c20
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.00432a90
add esp, 8
test eax, eax
jne 0x432c3d
pop esi
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
ret

Function at 0x433470
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.00443b20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x201c]
test esi, esi
push edi
je 0x433563
mov ebx, dword [esp + 0x2024]
test ebx, ebx
je 0x433563
mov ebp, dword [esp + 0x2028]
cmp ebp, 0x80
jl 0x433563
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 0x433563
cmp eax, 0x1fff
ja 0x433563
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x433563
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x46354c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x433563
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.0044465a
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 0x433e20
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 0x434008
mov eax, dword [0x463058]
mov ecx, str.update.360safe.com
test ecx, ecx
mov dword [esp + 0xc], eax
je 0x433ec9
mov edx, ecx
shr edx, 0x10
jne 0x433e88
xor eax, eax
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.00406f90
jmp 0x433ec9
push str.update.360safe.com
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x433ec9
push esi
lea ecx, [esp + 0x10]
call fcn.00403db0
test eax, eax
je 0x433ec9
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x433ec9
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 0x433ef0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x433f23
mov ecx, dword [esp + 0x58]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push ecx
push 0x464140
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x433f4f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
jmp 0x433ff8
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x433fad
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 [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
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 [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x434040
Capabilities:
Create thread

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

Function at 0x4348a0
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 0x434be0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x458e70
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.004317e0
lea ecx, [esp + 4]
push str.modules360Inst.exe
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.0040d130
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434d3f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x434cb8
mov esi, dword [esp + 0x18]
push 1
call fcn.00441f80
push eax
push esi
call fcn.00442210
mov eax, dword [esp + 0x24]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434c90
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434c90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d9b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d9b
jmp 0x434d8b
mov eax, dword [esp + 0x18]
push 5
push str._S__URL:http:__pinst.360.cn_zhuomian_desktopsafe.cab
push eax
push 0
call fcn.0041f700
mov eax, dword [esp + 0x28]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434cff
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434cff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d2a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d2a
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
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 [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d70
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d70
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d9b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d9b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434df0
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 0x469720
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x434eb8
cmp dword [esp + 0x14], ebp
jne 0x434eb8
cmp word [esp + 0x2c], 0
je 0x434eb8
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x434eb8
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434eb8
lea edx, [esp + 0x2c]
push edx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x434f07
mov eax, dword [esp + 0x10]
add esi, 4
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x434e31
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 0x434f14
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
Function at 0x434f30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x458e90
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.004317e0
lea ecx, [esp + 4]
push str.modules360Inst.exe
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.0040d130
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43508f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x435008
mov esi, dword [esp + 0x18]
push 1
call fcn.00441f80
push eax
push esi
call fcn.00442210
mov eax, dword [esp + 0x24]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434fe0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434fe0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350eb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350eb
jmp 0x4350db
mov eax, dword [esp + 0x18]
push 5
push str._S__URL:http:__pinst.360.cn_360se_wssj_setup.cab
push eax
push 0
call fcn.0041f700
mov eax, dword [esp + 0x28]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43504f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43504f
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43507a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43507a
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
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 [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350c0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350c0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350eb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350eb
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x435d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x458ede
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x24]
mov dword [esp + 0x18], edi
cmp eax, edi
mov dword [esi + 0x20], 0x45ac4c
je 0x435d87
lea ecx, [eax - 0x24]
jmp 0x435d89
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0x2c
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00442bba
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 2
je 0x435dd2
mov ecx, eax
call fcn.00436b10
jmp 0x435dd4
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi], 0x45ac40
mov dword [esi + 0x20], 0x45ac30
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x436740
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00436a30
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436789
test edi, edi
je 0x436789
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43677d
mov ecx, esi
call fcn.00436920
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x436b10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
mov dword [esi + 4], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x18], 0
test eax, eax
je 0x436b35
lea ecx, [eax - 0x20]
jmp 0x436b37
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x28], 0
mov dword [esi], 0x45ac5c
mov eax, esi
pop esi
ret