joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eb40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.00478070
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.00478070
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41eba3
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x41eba8
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x41ebc6
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x41ebc8
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x41ebdc
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x53716c]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046b078
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41f8a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed52b
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.0046b4e0
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.00478070
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f914
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00408a80
mov ecx, eax
test ecx, ecx
je 0x41f990
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x41f94a
movzx eax, ax
mov ecx, esi
push eax
call fcn.00406b10
jmp 0x41f971
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f953
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004061c0
int3
Function at 0x423670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eda50
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x533524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00436990
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x53693c]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x423788
push str.InitPackInfo_failed__exit
call fcn.0042a620
add esp, 4
push 4
push 0x4fc9ac
push 0
call fcn.004305b0
cmp eax, 6
jne 0x4236f3
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fb3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x4238ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
push eax
call fcn.00406320
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 1
call fcn.00417f60
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00413410
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423776
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.0042a620
mov eax, dword [esi]
add esp, 4
push str.bizhi.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x53693c]
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x423889
push str.InitConfig_failed__exit
call fcn.0042a620
add esp, 4
push 4
push 0x4fc9ac
push 0
call fcn.004305b0
cmp eax, 6
jne 0x4237f0
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fb3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x4238b5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push str._sInitConfig:_d
push eax
call fcn.00406320
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 3
call fcn.00417f60
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00413410
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423776
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.0042a620
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
push 0x80004005
call fcn.004061c0
int3
Function at 0x423bc0
Capabilities:
Create process on windows

Disassembly:
push 4
push 0x4fc9ac
push 0
call fcn.004305b0
cmp eax, 6
jne 0x423beb
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fb3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4242a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edab6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x42434c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x42434c
call fcn.00416d80
mov edi, eax
jmp 0x42446b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42436f
call fcn.00416d80
jmp 0x42445e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42438d
call fcn.00416d80
jmp 0x42445e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x4243ae
mov edi, 0x8007000e
jmp 0x424460
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4244a4
jb 0x4243cc
cmp eax, 0xffffffff
ja 0x4244a4
cmp eax, 0x400
jbe 0x4243e1
push eax
lea ecx, [ebp - 0x418]
call fcn.00422400
jmp 0x424407
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x424407
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42441e
mov edi, 0x8007000e
jmp 0x424460
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42443e
call fcn.00416d80
jmp 0x42445e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00424100
mov edi, eax
test esi, esi
je 0x42446b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x424484
lea ecx, [ebp - 0x418]
call fcn.00422bc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004061c0
int3
Function at 0x425cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00478070
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x104
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x4fb3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x425e59
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x425f6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x418]
push 0x4fc860
mov dword [ebp - 0x418], eax
call fcn.00407f10
test al, al
jne 0x425da2
push 7
push 0x4fc860
lea ecx, [ebp - 0x418]
call fcn.00407920
lea eax, [ebp - 0x418]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.00413860
mov edx, dword [ebp - 0x418]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425dd3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4fb028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x53693c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.004137d0
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.exist_wp
mov dword [eax + 0x24], 0
call fcn.00417f60
mov ecx, eax
call fcn.00413410
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
push 1
call fcn.00419020
add esp, 4
test eax, eax
jne 0x425f32
push 0x4fc860
lea ecx, [ebp - 0x418]
call fcn.00405a70
lea eax, [ebp - 0x418]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.00413860
mov edx, dword [ebp - 0x418]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425eac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4fb028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x53693c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.004137d0
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.giveup
mov dword [eax + 0x24], 0
call fcn.00417f60
mov ecx, eax
call fcn.00413410
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
cmp dword [0x536950], 0
jne 0x425f59
push 0
push str._s___pidludashi
push 0
push dword [0x53693c]
mov dword [0x536950], 1
call main
mov ecx, dword [ebp - 4]
mov eax, dword [0x53210c]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
int3
Function at 0x425f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.00478070
add esp, 0xc
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x104
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x4fb3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4260a0
push esi
call fcn.00422c90
mov ecx, eax
call fcn.0041c480
call fcn.00422c90
mov ecx, eax
call fcn.0041bef0
push eax
call fcn.00417f60
mov ecx, eax
call fcn.00413860
push 0x4fb028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x53693c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.004137d0
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.exist_wp
mov dword [eax + 0x24], 0
call fcn.00417f60
mov ecx, eax
call fcn.00413410
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
push 1
call fcn.00419020
add esp, 4
test eax, eax
jne 0x42615f
push esi
call fcn.00422c90
mov ecx, eax
call fcn.0041c480
call fcn.00422c90
mov ecx, eax
call fcn.0041bef0
push eax
call fcn.00417f60
mov ecx, eax
call fcn.00413860
push 0x4fb028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x53693c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00417f60
mov ecx, eax
call fcn.004137d0
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.giveup
mov dword [eax + 0x24], 0
call fcn.00417f60
mov ecx, eax
call fcn.00413410
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
cmp dword [0x536950], 0
jne 0x426182
push 0
push esi
push 0
push dword [0x53693c]
mov dword [0x536950], 1
call main
mov ecx, dword [ebp - 4]
mov eax, dword [0x53210c]
xor ecx, ebp
pop esi
call fcn.0046b078
mov esp, ebp
pop ebp
ret
Function at 0x427160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edcad
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.00422c90
mov ecx, eax
call fcn.0041bef0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00408040
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 1
call fcn.00422c90
mov ecx, eax
call fcn.0041c360
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00408040
add eax, 0x10
add esp, 4
mov dword [edi], eax
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x21c], 1
jne 0x4272b0
cmp dword [esi - 0xc], 0
jl 0x4272b0
push 0x4fc860
push esi
call fcn.004784d0
add esp, 8
test eax, eax
je 0x4272b0
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4272b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00478070
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.VendorID
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4272b0
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427292
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00407920
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4272cc
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret 4
Function at 0x428820
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edf4c
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x1c], 0
je 0x428a4c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046f270
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x428a66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x428]
call fcn.00407f10
test al, al
jne 0x4288e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4288c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00407920
mov dword [ebp - 4], 1
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x428a70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push str.miniby3
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.00407f10
test al, al
jne 0x428930
push 7
push str.miniby3
lea ecx, [ebp - 0x424]
call fcn.00407920
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00458cb0
mov edx, dword [ebp - 0x424]
or esi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00478070
add esp, 0xc
mov dword [ebp - 0x434], 1
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0x104
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x434]
push eax
push 0x4fb3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x428a31
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428a31
push str.config.set
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x42c]
push str.mini_external
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x42c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x428a4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
push 0x80004005
call fcn.004061c0
int3
Function at 0x4295d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.00422c90
mov ecx, eax
call fcn.0041bef0
call fcn.00422db0
mov ecx, eax
call fcn.00428f20
test eax, eax
je 0x4296c7
call fcn.00422db0
mov ecx, eax
call fcn.00427940
test eax, eax
je 0x4296c7
push 0
push 0
push esi
push 0x429500
push 0
push 0
call fcn.00496bcc
push 0x208
mov dword [esi + 8], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478070
add esp, 0x24
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4fb3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4296c7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4296c7
push str.config.set
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push 0x4fb3b8
push str.games
push str.install_config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046b078
mov esp, ebp
pop ebp
ret

Function at 0x4296e0
Capabilities:
Check if file exists
Create thread
Query or enumerate registry value

Disassembly:
push esi
mov esi, ecx
call fcn.00436990
push 0x4fae24
push str.360wpsrv.exe
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.00436990
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jne 0x42970f
mov ecx, esi
pop esi
jmp fcn.004295d0
pop esi
ret
Function at 0x42dc90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee807
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x533524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xa8]
call fcn.00420470
mov ecx, 0x536990
call fcn.0040b720
push str.quit
call fcn.0042a620
add esp, 4
lea ecx, [esi + 0x8c]
call fcn.00429d30
test eax, eax
jne 0x42dd83
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x536930]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x42dd6e
push 0x531e2c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x536930], 0
jne 0x42dd5d
push 0x20
call fcn.00432860
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42dd4e
mov ecx, eax
call fcn.00412810
mov ecx, eax
jmp 0x42dd50
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0x10], eax
mov dword [0x536930], ecx
push 0x531e2c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x536930]
push 1
push 0
push str.install_r_fail
mov dword [ebp - 4], 0xffffffff
call fcn.00413410
mov eax, dword [esi + 0x9c]
lea ecx, [esi + 0x9c]
call dword [eax + 0xc]
push str.quit_finish
call fcn.0042a620
add esp, 4
xor esi, esi
call fcn.00422c90
mov ecx, eax
call fcn.0041d250
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.00436990
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
call fcn.00436990
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434eb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x533524]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x434f28
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0046b078
mov esp, ebp
pop ebp
ret