Function at 0x404250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca891
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], ecx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc4]
call eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x2f0]
call eax
cmp eax, 2
je 0x40445b
push 0x4e6d7c
lea ecx, [ebp - 0x64]
call fcn.00406f50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x24c]
call edx
push str._bindownload_
lea ecx, [ebp - 0x64]
call fcn.00407050
push 0x4e7538
lea ecx, [ebp - 0x80]
call fcn.00406f50
mov byte [ebp - 4], 2
push str.MiniThunderPlatform.exe
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00409480
add esp, 0xc
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00407030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.00406fd0
push str.MiniTPFw.exe
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xd4]
push edx
call fcn.00409480
add esp, 0xc
mov dword [ebp - 0x120], eax
push 0
push 0
lea ecx, [ebp - 0x80]
call fcn.00407070
push eax
mov ecx, dword [ebp - 0x120]
call fcn.00407070
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xd4]
call fcn.00406fd0
push 0
push 0
push str._installprotocol
lea ecx, [ebp - 0x2c]
call fcn.00407070
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x48]
call fcn.00406f20
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x24c]
call eax
push 0x4e75d4
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.00409480
add esp, 0xc
mov dword [ebp - 0x124], eax
push 0
push 0
push str._regserver
mov ecx, dword [ebp - 0x124]
call fcn.00407070
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xf0]
call fcn.00406fd0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00406fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00406fd0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x278]
call eax
movzx ecx, al
test ecx, ecx
je 0x404512
push 0
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc4]
call eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x24c]
call edx
push str._sggamedlupdate.exe
lea ecx, [ebp - 0x9c]
call fcn.00407050
push str._setupfinish
lea ecx, [ebp - 0x10c]
call fcn.00406f50
mov byte [ebp - 4], 6
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x174]
call edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00406fd0
mov byte [ebp - 0x10d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov al, byte [ebp - 0x10d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 4