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

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x458a60
mov dword [esi + 0x50], 0xffffffff
test eax, eax
jl 0x458a8c
cmp eax, dword [esi + 0x30]
jge 0x458a8c
mov ecx, dword [esi + 0x1c]
push edi
test ecx, ecx
je 0x4589e9
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea edi, [eax + 1]
push edi
mov edi, dword [esi + 0x2c]
shl eax, 5
push 0
lea eax, [eax + edi + 4]
push eax
push esi
call edx
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x458a5f
test eax, eax
jl 0x458a7b
cmp eax, dword [esi + 0x30]
jge 0x458a7b
mov ecx, dword [esi + 0x2c]
shl eax, 5
mov edi, dword [eax + ecx + 0x1c]
push 7
push 0x517170
push edi
call fcn.004da779
add esp, 0xc
test eax, eax
jne 0x458a63
add edi, 0xe
cmp word [edi], 0x30
jne 0x458a41
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x458a35
cmp ax, 0x58
jne 0x458a41
push 0x10
lea edx, [esp + 0xc]
push edx
add edi, 4
jmp 0x458a48
push 0xa
lea eax, [esp + 0xc]
push eax
push edi
call fcn.004da5fe
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
mov eax, dword [edx + 0x14]
push 0
push esi
call eax
pop edi
pop esi
pop ecx
ret
push 1
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ecx
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x45bab0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x420]
cmp dword [eax - 0xc], 0
push esi
mov esi, dword [esp + 0x41c]
jne 0x45baec
push 0xc
push str.360NewCenter
lea ecx, [esp + 0x42c]
call fcn.0043a260
mov eax, dword [esp + 0x428]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x42c]
call fcn.0043c7c0
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0xe]
push eax
mov word [esp + 0x10], dx
call fcn.004d86e0
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x45bbbb
mov eax, dword [esp + 0x420]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45bb5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bb7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bba0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x414
ret
mov ecx, dword [esp + 0x420]
push ecx
push str.360SafeSafeId
lea edx, [esp + 0xc]
push edx
push 0x517398
push esi
call fcn.0043a600
mov eax, dword [esi]
add esp, 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45bc41
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x45bc41
cmp eax, 0x50
je 0x45bc41
cmp eax, 0xb7
je 0x45bc41
lea ecx, [esp + 0x420]
call fcn.00439d40
lea ecx, [esp + 0x424]
call fcn.00439d40
lea ecx, [esp + 0x428]
call fcn.00439d40
xor eax, eax
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x414
ret
push 0x517394
mov ecx, esi
call fcn.0043c910
mov eax, dword [esp + 0x424]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0043c7c0
mov eax, dword [esp + 0x420]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45bc83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x424]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x428]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bcc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004d7eb0
add esp, 0x414
ret
Function at 0x45c060
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c070
sub eax, edx
sar eax, 1
test esi, esi
je 0x45c1f1
test eax, eax
je 0x45c1f1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c0a4
mov eax, 1
pop esi
add esp, 8
ret
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push edi
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
mov ecx, 0x54ffc8
call edx
add eax, 0x10
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push 0x517408
push eax
call fcn.0043a600
mov edi, dword [esp + 0x20]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
jl 0x45c1e7
cmp eax, ecx
jg 0x45c1e7
cmp word [edi + eax*2], 0x5c
je 0x45c117
push 0x517394
lea ecx, [esp + 0x18]
call fcn.0043c910
mov edi, dword [esp + 0x14]
push ebx
push ebp
push 0
push 0x5c
lea ecx, [esp + 0x24]
call fcn.004549f0
mov esi, eax
cmp esi, 0xffffffff
je 0x45c1ac
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call fcn.00456e80
push eax
lea ecx, [esp + 0x14]
call fcn.0043a540
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c16c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c183
push eax
push ebx
call ebp
test eax, eax
je 0x45c1cb
lea eax, [esi + 1]
test eax, eax
jl 0x45c1ac
cmp eax, dword [edi - 0xc]
jge 0x45c1ac
lea ecx, [edi + eax*2]
push 0x5c
push ecx
call fcn.004d9a27
add esp, 8
test eax, eax
je 0x45c1ac
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c133
lea ecx, [esp + 0x10]
call fcn.00439d40
lea ecx, [esp + 0x1c]
call fcn.00439d40
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 8
ret
lea ecx, [esp + 0x10]
call fcn.00439d40
lea ecx, [esp + 0x1c]
call fcn.00439d40
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret
push 0x80070057
call fcn.00438530
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x45c200
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
mov ebp, dword [esp + 0x42c]
push esi
mov esi, dword [esp + 0x42c]
xor ebx, ebx
xor eax, eax
cmp esi, ebx
je 0x45c32f
push 0x40e
lea ecx, [esp + 0x1a]
push ebx
push ecx
mov word [esp + 0x20], ax
call fcn.004d86e0
push 0x207
lea edx, [esp + 0x24]
push esi
push edx
call fcn.004da81f
add esp, 0x18
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x14]
push ecx
call fcn.0045c060
add esp, 4
lea edx, [esp + 0xc]
push edx
mov ecx, 0x544768
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call fcn.0048c2b0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45c2b1
mov ecx, eax
test al, 1
je 0x45c29d
and ecx, 0xfffffffe
test cl, 2
je 0x45c2a5
and ecx, 0xfffffffd
cmp ecx, eax
je 0x45c2b1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push 2
push ebx
push 5
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c2f4
mov eax, dword [esp + 0xc]
push eax
mov ecx, 0x544768
call fcn.0048c2f0
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x41c
ret
push edi
mov edi, dword [esp + 0x438]
push ebx
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], edi
pop edi
jne 0x45c317
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xc]
push edx
mov ecx, 0x544768
call fcn.0048c2f0
mov eax, ebx
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x41c
ret
Function at 0x45c350
Capabilities:
Get file version info

Disassembly:
sub esp, 0x234
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
mov eax, 1
xor ebp, ebp
test byte [0x543fd0], al
jne 0x45c3a7
or dword [0x543fd0], eax
xor eax, eax
push 0x5136e0
mov dword [0x543fcc], 7
mov dword [0x543fc8], ebp
mov word [0x543fb8], ax
call fcn.004d869c
add esp, 4
cmp dword [0x543fc8], ebp
je 0x45c3d7
push 0xffffffffffffffff
push ebp
push 0x543fb4
mov ecx, ebx
call fcn.004581e0
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x234
ret
push edi
push 0x206
lea edx, [esp + 0x3a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x40], cx
call fcn.004d86e0
add esp, 0xc
push 0x104
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
jne 0x45c435
pop edi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x234
ret
push esi
push edi
call fcn.004d45ee
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x45c44f
mov eax, 0xfffffffd
jmp 0x45c4fa
push edi
push ebp
push esi
call fcn.004d86e0
add esp, 0xc
push esi
push edi
push ebp
lea eax, [esp + 0x44]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x517394
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
movzx edi, word [eax + 0xa]
movzx eax, word [eax + 8]
movzx edx, dx
push edx
movzx ecx, cx
push ecx
movzx edx, ax
push edx
movzx eax, di
push eax
mov dword [esp + 0x40], ebp
lea ecx, [esp + 0x2c]
push str._d._d._d._d
xor ebp, ebp
push ecx
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], bp
call fcn.0045a030
add esp, 0x18
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
call fcn.004581e0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x24]
push eax
mov ecx, 0x543fb4
call fcn.004581e0
push esi
call fcn.004d7e25
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00457ee0
xor eax, eax
mov ecx, dword [esp + 0x240]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x234
ret
Function at 0x45c520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [esp + 0x414]
mov ecx, dword [esp + 0x410]
push ebp
push esi
mov esi, dword [esp + 0x420]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x428]
mov dword [esp + 0xc], ebp
test eax, eax
je 0x45c621
test esi, esi
je 0x45c621
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebp
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45c5ac
or ebp, 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c592
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x40c
ret
push 0x3ff
lea eax, [esp + 0x19]
push 0
push eax
mov dword [esp + 0x1c], 0x400
mov byte [esp + 0x20], 0
call fcn.004d86e0
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45c5f2
mov ebp, 0xfffffffe
jmp 0x45c583
lea eax, [esp + 0x14]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c600
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004590b0
jmp 0x45c583
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0xfffffffd
call fcn.004d7eb0
add esp, 0x40c
ret
Function at 0x460c60
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push ebx
push esi
push edi
mov ecx, 0x54ffc8
call edx
push ecx
add eax, 0x10
mov ecx, esp
push 0x527f5c
mov dword [esp + 0x14], eax
call fcn.0043a930
push ecx
mov ecx, esp
push str.newcentervip.ini
call fcn.0043a930
push ecx
mov ecx, esp
push str.safe
call fcn.0043a930
lea eax, [esp + 0x18]
push eax
call fcn.0045bab0
mov esi, dword [esp + 0x1c]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460ce8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x460cda
and ebx, 0xfffffffe
push ebx
push esi
call edi
test bl, 2
je 0x460d58
and ebx, 0xfffffffd
push ebx
push esi
call edi
jmp 0x460d58
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push esi
mov dword [esp + 0x30], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x460d34
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460d2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push 0
lea ecx, [esp + 0x14]
push ecx
push 2
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460d74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x462890
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xec], 0
je case.default.0x4628ae
mov eax, dword [esp + 8]
dec eax
cmp eax, 3
ja case.default.0x4628ae
jmp dword [eax*4 + 0x4629b8]
push 0
call fcn.00462470
mov eax, dword [esi + 0xec]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 5
je case.default.0x4628ae
push 1
mov ecx, esi
call fcn.004535b0
pop esi
ret 8
push 0
call fcn.00462470
cmp dword [esp + 0xc], 5
je case.default.0x4628ae
push 1
mov ecx, esi
call fcn.004535b0
mov edx, dword [esi + 0xec]
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
push 0
call fcn.004535b0
mov eax, dword [esi + 0xec]
test eax, eax
je 0x462934
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x462956
call fcn.0049d2b0
mov ecx, eax
call fcn.0049d0b0
push 1
mov ecx, esi
call fcn.00462470
pop esi
ret 8
cmp eax, 1
jne 0x462974
call fcn.0049d2b0
mov ecx, eax
call fcn.0049cd90
push 1
mov ecx, esi
call fcn.00462470
pop esi
ret 8
call fcn.0049d2b0
mov ecx, eax
call fcn.0049cf20
push 1
mov ecx, esi
call fcn.00462470
pop esi
ret 8
push 0
call fcn.004535b0
push 0
mov ecx, esi
call fcn.00462470
mov esi, dword [esi + 0xec]
test esi, esi
je case.default.0x4628ae
mov edx, dword [esi + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
Function at 0x463780
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40
push esi
lea eax, [esp + 4]
push edi
push eax
mov esi, ecx
call fcn.0043c950
add esp, 4
push 0x15
push str.utils360UHelper.exe
lea ecx, [esp + 0x10]
call fcn.0043c7c0
mov edi, dword [esp + 8]
push edi
call fcn.0043caa0
add esp, 4
test eax, eax
je 0x463887
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0xc]
add eax, 0x10
push str._fromsafe_pagesetnickname_url0_paramhWnd_d_
push edx
mov dword [esp + 0x14], eax
call fcn.0043a600
push 0x3c
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004d86e0
mov esi, dword [esp + 0x20]
add esp, 0x18
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], 5
mov dword [esp + 0x10], 0x1400
mov dword [esp + 0x18], str.open
call dword [sym.imp.KERNEL32.dll_GetVersion]
or dword [esp + 0x10], 0x1000
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46387c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
add esp, 0x40
ret
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4638a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 0x40
ret
Function at 0x4639b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x44
push esi
push edi
push str._fromsafe_pageprizes_urlhttp:__lucky.hd.360.cn_weishi_2016_index.html_param
lea ecx, [esp + 0x10]
call fcn.0043a930
lea eax, [esp + 8]
push eax
call fcn.0043c950
add esp, 4
push 0x15
push str.utils360UHelper.exe
lea ecx, [esp + 0x10]
call fcn.0043c7c0
push 0x3c
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.004d86e0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 5
mov dword [esp + 0x14], 0x1400
mov dword [esp + 0x1c], str.open
call dword [sym.imp.KERNEL32.dll_GetVersion]
or dword [esp + 0x14], 0x1000
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x463a7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x44
ret

Function at 0x463a95
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
je 0x463ad7
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x516e44
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x463ac7
push 0
push 0
push 0x415
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x51c], 0
je 0x463ad7
mov ecx, esi
call fcn.00460d80
xor eax, eax
pop esi
ret 0x10
Function at 0x4754a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x543fb0]
test eax, eax
jne 0x4754f0
push str.sites.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4754d4
mov eax, 0x93
jmp 0x4754f7
push str.scale
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x543fb0], eax
test eax, eax
jne 0x4754f0
mov eax, 0x93
jmp 0x4754f7
push 0x93
call eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x900]
mov edx, dword [eax + 0x30]
add eax, 0x30
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47553d
push eax
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x900]
push edx
add ecx, 0x2c
call fcn.0045af00
mov eax, dword [esi + 0x900]
mov ecx, dword [eax + 0x30]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push 0x10
sub edx, eax
push edx
mov edx, dword [esp + 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x900]
push ecx
mov ecx, dword [eax + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x10
ret

Function at 0x475b00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push 0x518348
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x475b96
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
lea edx, [ecx + ecx]
push esi
lea ecx, [esp + 0x10]
push ecx
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
push 0x515d38
push edx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475b70
sub eax, edx
sar eax, 1
je 0x475b98
cmp word [esi + eax*2 - 2], 0x5c
je 0x475b98
mov ecx, 0x5c
mov word [esi + eax*2], cx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret