joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee35e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x534524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], 0xff
mov ecx, esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00420bb0
mov dword [esi], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
call fcn.00408a80
mov ecx, eax
test ecx, ecx
je 0x41eb28
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
push 0xa4
mov byte [ebp - 4], 4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.004334a0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41ea74
mov ecx, eax
call fcn.00464c50
test eax, eax
jne 0x41ea76
xor eax, eax
mov dword [edi + 0x44], eax
lea esi, [edi + 0x78]
mov dword [edi], vtable.CInputWnd.0
mov dword [edi + 0x24], vtable.CInputWnd.1.0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 7
mov dword [esi], vtable.CEditExImpl_class_CEditEx__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 0x18], ebx
call fcn.00408a80
mov ecx, eax
test ecx, ecx
je 0x41eb32
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x4fbe24
mov byte [ebp - 4], 8
mov ecx, ebx
test eax, 0xffff0000
jne 0x41eaf4
movzx eax, ax
push eax
call fcn.00406b10
jmp 0x41eb00
push 0
push 0x4fbe24
call fcn.00407920
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x54], 0
mov dword [esi], vtable.CEditEx.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
push 0x80004005
call fcn.004061c0
int3
Function at 0x41eb40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x534524]
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.00478f90
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.00478f90
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 [0x538194]
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.0046bf98
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41f8a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee46b
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.0046c400
mov eax, dword [0x534524]
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.00478f90
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.0046bf98
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 0x4ee990
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x534524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004375d0
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x537964]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x42378a
push str.InitPackInfo_failed__exit
call fcn.0042a620
add esp, 4
push 0
push 4
push 0x4fd9ac
push 0
call fcn.00431150
cmp eax, 6
jne 0x4236f5
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fc3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x4238af
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 0x423778
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 [0x537964]
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x42388d
push str.InitConfig_failed__exit
call fcn.0042a620
add esp, 4
push 0
push 4
push 0x4fd9ac
push 0
call fcn.00431150
cmp eax, 6
jne 0x4237f4
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fc3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x4238b9
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 0x423778
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 0x423bd0
Capabilities:
Create process on windows

Disassembly:
push 0
push 4
push 0x4fd9ac
push 0
call fcn.00431150
cmp eax, 6
jne 0x423bfd
push 1
push 0
push 0
push str.http:__down.360safe.com_bizhi_360wallpaper_bird.exe
push 0x4fc3b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4242b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee9f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x534524]
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 0x42435c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x42435c
call fcn.00416d80
mov edi, eax
jmp 0x42447b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42437f
call fcn.00416d80
jmp 0x42446e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42439d
call fcn.00416d80
jmp 0x42446e
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 0x4243be
mov edi, 0x8007000e
jmp 0x424470
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4244b4
jb 0x4243dc
cmp eax, 0xffffffff
ja 0x4244b4
cmp eax, 0x400
jbe 0x4243f1
push eax
lea ecx, [ebp - 0x418]
call fcn.00422400
jmp 0x424417
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x424417
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42442e
mov edi, 0x8007000e
jmp 0x424470
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 0x42444e
call fcn.00416d80
jmp 0x42446e
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.00424110
mov edi, eax
test esi, esi
je 0x42447b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x424494
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.0046bf98
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004061c0
int3
Function at 0x425d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x534524]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00478f90
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 0x4fc3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x425e69
call fcn.00406910
mov ecx, eax
test ecx, ecx
je 0x425f7c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x418]
push 0x4fd860
mov dword [ebp - 0x418], eax
call fcn.00407f10
test al, al
jne 0x425db2
push 7
push 0x4fd860
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 0x425de3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4fc028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478f90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x537964]
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.0046bf98
mov esp, ebp
pop ebp
ret
push 1
call fcn.00419020
add esp, 4
test eax, eax
jne 0x425f42
push 0x4fd860
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 0x425ebc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4fc028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478f90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x537964]
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.0046bf98
mov esp, ebp
pop ebp
ret
cmp dword [0x537978], 0
jne 0x425f69
push 0
push str._s___pidludashi
push 0
push dword [0x537964]
mov dword [0x537978], 1
call main
mov ecx, dword [ebp - 4]
mov eax, dword [0x53310c]
xor ecx, ebp
call fcn.0046bf98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
int3
Function at 0x425f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x534524]
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.00478f90
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 0x4fc3dc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4260b0
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 0x4fc028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478f90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x537964]
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.0046bf98
mov esp, ebp
pop ebp
ret
push 1
call fcn.00419020
add esp, 4
test eax, eax
jne 0x42616f
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 0x4fc028
call fcn.00417f60
mov ecx, eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478f90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x537964]
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.0046bf98
mov esp, ebp
pop ebp
ret
cmp dword [0x537978], 0
jne 0x426192
push 0
push esi
push 0
push dword [0x537964]
mov dword [0x537978], 1
call main
mov ecx, dword [ebp - 4]
mov eax, dword [0x53310c]
xor ecx, ebp
pop esi
call fcn.0046bf98
mov esp, ebp
pop ebp
ret
Function at 0x427160
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eebed
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x534524]
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 0x4fd860
push esi
call fcn.004793f0
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.00478f90
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.0046bf98
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 0x4eee8c
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x534524]
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.00478f90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00470190
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.00459900
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.00478f90
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 0x4fc3dc
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.0046bf98
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 [0x534524]
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.00497afc
push 0x208
mov dword [esi + 8], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00478f90
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 0x4fc3dc
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 0x4fc3b8
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.0046bf98
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.004375d0
push 0x4fbe24
push str.360wpsrv.exe
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.004375d0
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