Function at 0x402383
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3d4
mov eax, dword [0x434040]
xor eax, esp
mov dword [esp + 0x3d0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x24], eax
lea edi, [esp + 0x7c]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x20], eax
xor eax, eax
mov esi, dword [ebp + 0x10]
push 9
pop ecx
rep stosd dword es:[edi], eax
lea edi, [esp + 0xa0]
mov dword [esp + 0x1c], esi
stosd dword es:[edi], eax
mov dword [esp + 0x18], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0xa0], ax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 7
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
or dword [esp + 0x9c], 0xffffffff
test esi, esi
je 0x40242d
push str.__type
push esi
call fcn.00410542
pop ecx
pop ecx
test eax, eax
jne 0x40242d
push str.__crashable
push esi
call fcn.00410542
pop ecx
pop ecx
test eax, eax
jne 0x40242d
mov byte [esp + 0x10], 1
jmp 0x402435
mov byte [esp + 0x10], bl
test esi, esi
je 0x40244d
push str.__typerenderer
push esi
call fcn.00410542
pop ecx
pop ecx
test eax, eax
je 0x40244d
mov byte [esp + 0x14], 1
jmp 0x402455
mov byte [esp + 0x14], bl
test esi, esi
je 0x40247a
push str.__perload_dll
push esi
call fcn.00410542
pop ecx
pop ecx
test eax, eax
je 0x40247a
mov byte [esp + 0xf], 1
call fcn.0040219c
test al, al
je 0x40265b
jmp 0x40247e
mov byte [esp + 0xf], bl
push 0x208
lea eax, [esp + 0x1d4]
push ebx
push eax
call fcn.00411010
add esp, 0xc
lea eax, [esp + 0x1d0]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
cmp byte [esp + 0x10], bl
je 0x4024e0
lea eax, [esp + 0x1d0]
push eax
lea ecx, [esp + 0x68]
call fcn.00402ffd
lea ecx, [esp + 0x64]
mov dword [esp + 0x18], 1
call fcn.0040ab90
test al, al
je 0x4024e0
xor eax, eax
mov byte [esp + 0xe], 1
inc eax
jmp 0x4024e8
mov eax, dword [esp + 0x18]
mov byte [esp + 0xe], bl
test al, 1
je 0x4024f5
lea ecx, [esp + 0x64]
call fcn.004032be
cmp byte [esp + 0xe], bl
je 0x402548
push 0x3c
pop edi
push edi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00411010
add esp, 0xc
mov dword [esp + 0x28], edi
lea eax, [esp + 0x1d0]
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], 0x42ff2c
mov dword [esp + 0x40], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x40265b
push 0x80
lea eax, [esp + 0x154]
push ebx
push eax
call fcn.00411010
add esp, 0xc
lea edx, [esp + 0x150]
lea ecx, [esp + 0x1d0]
call fcn.00401afd
test al, al
je 0x40265b
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x68]
call fcn.00402ffd
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xbc]
call fcn.004067b0
mov byte [esp + 0xe], bl
cmp byte [esp + 0x10], bl
je 0x4025cc
lea eax, [esp + 0xe]
push eax
lea ecx, [esp + 0xbc]
call fcn.00406aa0
test al, al
je 0x4025c6
lea ecx, [esp + 0xb8]
call fcn.00407a50
cmp byte [esp + 0xe], bl
jne 0x402646
push edi
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x1d8]
push eax
push dword [esp + 0x20]
lea edx, [esp + 0x8c]
push dword [esp + 0x20]
call fcn.00401fe2
add esp, 0x14
mov esi, eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp byte [esp + 0xf], bl
je 0x40260e
test esi, esi
jmp 0x40263d
test esi, esi
je 0x402646
push str.KugouMain
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x7c]
push ecx
push dword [ebp + 0x14]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x34]
call eax
mov ebx, eax
call fcn.00401ac0
test al, al
je 0x402646
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xb8]
call fcn.00406a30
lea ecx, [esp + 0x64]
call fcn.004032be
lea ecx, [esp + 0xa0]
call fcn.004032be
mov ecx, dword [esp + 0x3dc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f104
mov esp, ebp
pop ebp
ret 0x10