Function at 0x65e794
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x65e79c
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x65eb96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68ad7c]
mov eax, dword [eax]
push dword [eax + 8]
push 0x65ebb0
push 0x65ebc4
push 0x65ebe0
push 0x65ebf4
lea eax, [ebp - 8]
push eax
mov cl, 1
mov dl, 1
xor eax, eax
call fcn.0064a90c
push dword [ebp - 8]
push 0x65ec0c
lea eax, [ebp - 0xc]
call fcn.00648df8
push dword [ebp - 0xc]
push 0x65ec28
push 0x65ec3c
push 0
push 0x5597323d
call fcn.0063a840
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x10]
call fcn.005c3510
push dword [ebp - 0x10]
push 0x65ec5c
push 0x65ec70
lea eax, [ebp - 0x14]
call fcn.00644c60
push dword [ebp - 0x14]
mov eax, ebx
mov edx, 0xe
call fcn.0040a8cc
call fcn.0064c1a4
test al, al
je 0x65e896
push dword [ebx]
push 0x65ec94
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
call fcn.0064c794
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea eax, [ebp - 0x30]
call fcn.0064c880
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x65eca8
call fcn.00421cec
push dword [ebp - 0x18]
mov eax, ebx
mov edx, 3
call fcn.0040a8cc
mov eax, ebx
mov edx, 0x65eccc
call fcn.0040a7ec
push dword [ebx]
push 0x65ece0
push 0x65ecf4
call fcn.005f8070
mov edx, eax
lea eax, [ebp - 0x38]
mov ecx, 0
call fcn.00409f28
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call fcn.0040a6b0
push dword [ebp - 0x34]
push 0x65ed10
lea eax, [ebp - 0x3c]
push eax
call fcn.0064d844
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x58]
call fcn.005c3510
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
call fcn.0064d860
lea edx, [ebp - 0x5c]
call fcn.0063aeb8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
call fcn.0064d87c
call fcn.00406dd0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov ecx, 2
mov eax, 0x65ed24
call fcn.00421cec
push dword [ebp - 0x3c]
push 0x65ed74
push 0x65ed88
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x68]
call fcn.0040a640
push dword [ebp - 0x68]
push 0x65eda0
push 0x65edb4
call fcn.00424be0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x6c]
call fcn.005c3510
push dword [ebp - 0x6c]
mov eax, ebx
mov edx, 0xc
call fcn.0040a8cc
mov eax, dword [0x68aa58]
cmp byte [eax + 0x878], 0
je 0x65e9c3
push 0x40e482a0
push 0
lea edx, [ebp - 4]
mov eax, dword [0x68abe0]
call fcn.00425b84
push dword [ebx]
push 0x65edcc
push 0x65ede0
push dword [ebp - 4]
mov eax, ebx
mov edx, 4
call fcn.0040a8cc
mov eax, dword [0x68a9e0]
fld qword [eax]
fcomp dword [0x65edec]
wait
fnstsw ax
sahf
jbe 0x65ea67
push dword [ebx]
push 0x65edfc
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x68aab0]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [0x68a9e0]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x74]
call fcn.005c3510
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
push 0
push 0x3e8
mov eax, dword [0x68a9e0]
push dword [eax + 4]
push dword [eax]
call fcn.00424be0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00645a84
call fcn.0040b578
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x10
lea edx, [ebp - 0x54]
mov ecx, 2
mov eax, 0x65ee10
call fcn.00421cec
push dword [ebp - 0x70]
mov eax, ebx
mov edx, 3
call fcn.0040a8cc
push dword [ebx]
push 0x65ee48
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x68adb8]
mov eax, dword [eax]
call fcn.005a0160
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [0x68adb8]
mov eax, dword [eax]
call fcn.005a0158
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
mov eax, dword [0x68adb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
lea edx, [ebp - 0x54]
mov ecx, 2
mov eax, 0x65ee60
call fcn.00421cec
push dword [ebp - 0x78]
mov eax, ebx
mov edx, 3
call fcn.0040a8cc
push dword [ebx]
push 0x65ee94
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x68adb8]
mov eax, dword [eax]
call fcn.005a135c
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [0x68adb8]
mov eax, dword [eax]
call fcn.005a1300
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x65eea8
call fcn.00421cec
push dword [ebp - 0x7c]
mov eax, ebx
mov edx, 3
call fcn.0040a8cc
push dword [ebx]
push 0x65eed0
push 0x65eee8
push 0x65ef24
lea eax, [ebp - 0x80]
call fcn.0060c6b4
push dword [ebp - 0x80]
mov eax, ebx
mov edx, 5
call fcn.0040a8cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65eb9d
lea eax, [ebp - 0x80]
mov edx, 7
call fcn.00409848
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00409848
lea eax, [ebp - 0x3c]
call fcn.004097e8
lea eax, [ebp - 0x38]
call fcn.0040980c
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00409848
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00409848
ret