Function at 0x402551
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3ec
mov eax, dword [0x438070]
xor eax, esp
mov dword [esp + 0x3e8], eax
mov eax, dword [ebp + 8]
and dword [esp + 0xc], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0x24], eax
lea edi, [esp + 0x64]
mov eax, dword [ebp + 0xc]
push 9
mov dword [esp + 0x24], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
and dword [esp + 0x98], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov word [esp + 0x88], ax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xa0], 7
call edi
or dword [esp + 0x84], 0xffffffff
test ebx, ebx
je 0x4025e9
push str.__type
push ebx
call fcn.00410f6e
pop ecx
pop ecx
test eax, eax
jne 0x4025e9
push str.__crashable
push ebx
call fcn.00410f6e
mov byte [esp + 0x1c], 1
pop ecx
pop ecx
test eax, eax
je 0x4025ee
mov byte [esp + 0x14], 0
test ebx, ebx
je 0x402608
push str.__typerenderer
push ebx
call fcn.00410f6e
mov byte [esp + 0x24], 1
pop ecx
pop ecx
test eax, eax
jne 0x40260d
mov byte [esp + 0x1c], 0
test ebx, ebx
je 0x402636
push str.__perload_dll
push ebx
call fcn.00410f6e
pop ecx
pop ecx
test eax, eax
je 0x402636
mov byte [esp + 0x13], 1
call fcn.0040235d
test al, al
je 0x402766
jmp 0x40263b
mov byte [esp + 0x13], 0
push 0x208
lea eax, [esp + 0x1ec]
push 0
push eax
call fcn.004129f0
add esp, 0xc
lea eax, [esp + 0x1e8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [esp + 0x14], 0
mov esi, eax
je 0x4026a6
lea eax, [esp + 0x1e8]
push eax
lea ecx, [esp + 0xa4]
call fcn.004028ac
lea ecx, [esp + 0xa0]
mov dword [esp + 0x18], 1
call fcn.0040b370
test al, al
je 0x4026a6
xor eax, eax
mov byte [esp + 0x12], 1
inc eax
jmp 0x4026af
mov eax, dword [esp + 0x18]
mov byte [esp + 0x12], 0
test al, 1
je 0x4026c3
push 0
push 1
lea ecx, [esp + 0xa8]
call fcn.00403f80
cmp byte [esp + 0x12], 0
je 0x402717
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004129f0
add esp, 0xc
mov dword [esp + 0x28], 0x3c
lea eax, [esp + 0x1e8]
mov dword [esp + 0x44], 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x800100
push eax
mov dword [esp + 0x38], 0x434668
mov dword [esp + 0x40], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x402766
cmp byte [esp + 0x14], 0
mov byte [esp + 0x18], 0
je 0x402738
call fcn.00406a20
test al, al
jne 0x402738
call fcn.00406ad0
test eax, eax
setns byte [esp + 0x18]
push 0x80
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.004129f0
add esp, 0xc
lea edx, [esp + 0x168]
lea ecx, [esp + 0x1e8]
call fcn.00401c8e
test al, al
jne 0x40276d
xor edi, edi
jmp 0x402864
lea eax, [esp + 0x168]
push eax
lea ecx, [esp + 0xbc]
call fcn.004028ac
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xd4]
call fcn.00407940
cmp byte [esp + 0x14], 0
mov byte [esp + 0x12], 0
je 0x4027cd
lea eax, [esp + 0x12]
push eax
lea ecx, [esp + 0xd4]
call fcn.00407d90
test al, al
je 0x4027c6
push dword [esp + 0x18]
lea ecx, [esp + 0xd4]
call fcn.00408560
cmp byte [esp + 0x12], 0
jne 0x40280f
push esi
lea eax, [esp + 0x16c]
push eax
lea eax, [esp + 0x1f0]
push eax
push dword [esp + 0x28]
lea edx, [esp + 0x74]
push dword [esp + 0x24]
call fcn.00402199
add esp, 0x14
mov esi, eax
lea eax, [esp + 0x7c]
push eax
call edi
xor edi, edi
cmp byte [esp + 0x13], 0
je 0x402813
test esi, esi
je 0x40280f
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
jmp 0x402848
test esi, esi
je 0x402848
push str.KugouMain
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x64]
push ecx
push dword [ebp + 0x14]
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x34]
call eax
mov edi, eax
call fcn.00401c4f
test al, al
je 0x402848
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xd0]
call fcn.00407d00
push 0
push 1
lea ecx, [esp + 0xc0]
call fcn.00403f80
push 0
push 1
lea ecx, [esp + 0x90]
call fcn.00403f80
mov ecx, dword [esp + 0x3f4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f8a1
mov esp, ebp
pop ebp
ret 0x10