Function at 0x5fa898
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x5fa8a0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x5fad56
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040684c
mov esi, eax
test esi, esi
jle 0x5faca5
mov ebx, 1
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x5c]
mov ecx, 4
mov edx, 1
call fcn.0040a560
lea eax, [ebp - 0x14]
mov edx, 0x5fad70
call fcn.004099e0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x5fa909
mov al, 1
jmp 0x5fa929
cmp dword [ebp - 0x10], 0
je 0x5fa915
cmp dword [ebp - 0x14], 0
jne 0x5fa919
xor eax, eax
jmp 0x5fa929
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fa955
mov eax, dword [ebp - 0x58]
add eax, 4
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x60]
mov ecx, 0x7fffffff
mov edx, 5
call fcn.0040a560
jmp 0x5fac9d
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x64]
mov ecx, 8
mov edx, 1
call fcn.0040a560
lea eax, [ebp - 0x1c]
mov edx, 0x5fad88
call fcn.004099e0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jne 0x5fa98e
mov al, 1
jmp 0x5fa9ae
cmp dword [ebp - 0x18], 0
je 0x5fa99a
cmp dword [ebp - 0x1c], 0
jne 0x5fa99e
xor eax, eax
jmp 0x5fa9ae
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5faa04
push 1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x6c]
mov ecx, 0x7fffffff
mov edx, 9
call fcn.0040a560
lea eax, [ebp - 8]
mov word [ebp - 0x70], 0x3b
lea edx, [ebp - 0x70]
xor ecx, ecx
call fcn.0042a760
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov ecx, dword [0x41f3e4]
call fcn.0040b79c
jmp 0x5fac9d
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x74]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x74]
mov ecx, 3
mov edx, 1
call fcn.0040a560
lea eax, [ebp - 0x24]
mov edx, 0x5fada8
call fcn.004099e0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jne 0x5faa3d
mov al, 1
jmp 0x5faa5d
cmp dword [ebp - 0x20], 0
je 0x5faa49
cmp dword [ebp - 0x24], 0
jne 0x5faa4d
xor eax, eax
jmp 0x5faa5d
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5faab3
push 1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.004068ac
mov eax, dword [ebp - 0x7c]
mov ecx, 0x7fffffff
mov edx, 4
call fcn.0040a560
lea eax, [ebp - 0xc]
mov word [ebp - 0x70], 0x3b
lea edx, [ebp - 0x70]
xor ecx, ecx
call fcn.0042a760
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov ecx, dword [0x41f3e4]
call fcn.0040b79c
jmp 0x5fac9d
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x2c]
mov edx, 0x5fadbc
call fcn.004099e0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jne 0x5faad6
mov al, 1
jmp 0x5faaf6
cmp dword [ebp - 0x28], 0
je 0x5faae2
cmp dword [ebp - 0x2c], 0
jne 0x5faae6
xor eax, eax
jmp 0x5faaf6
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fab06
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x10], 1
jmp 0x5fac9d
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x34]
mov edx, 0x5fadd8
call fcn.004099e0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jne 0x5fab29
mov al, 1
jmp 0x5fab49
cmp dword [ebp - 0x30], 0
je 0x5fab35
cmp dword [ebp - 0x34], 0
jne 0x5fab39
xor eax, eax
jmp 0x5fab49
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fab59
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x10], 1
jmp 0x5fac9d
lea edx, [ebp - 0x38]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x3c]
mov edx, 0x5fadec
call fcn.004099e0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x5fab7c
mov al, 1
jmp 0x5fab9c
cmp dword [ebp - 0x38], 0
je 0x5fab88
cmp dword [ebp - 0x3c], 0
jne 0x5fab8c
xor eax, eax
jmp 0x5fab9c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fabac
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x11], 1
jmp 0x5fac9d
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x44]
mov edx, 0x5fae0c
call fcn.004099e0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x5fabcf
mov al, 1
jmp 0x5fabef
cmp dword [ebp - 0x40], 0
je 0x5fabdb
cmp dword [ebp - 0x44], 0
jne 0x5fabdf
xor eax, eax
jmp 0x5fabef
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fabff
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x11], 1
jmp 0x5fac9d
lea edx, [ebp - 0x48]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x4c]
mov edx, 0x5fae20
call fcn.004099e0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
jne 0x5fac22
mov al, 1
jmp 0x5fac42
cmp dword [ebp - 0x48], 0
je 0x5fac2e
cmp dword [ebp - 0x4c], 0
jne 0x5fac32
xor eax, eax
jmp 0x5fac42
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fac4f
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x12], 1
jmp 0x5fac9d
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.004068ac
lea eax, [ebp - 0x54]
mov edx, 0x5fae40
call fcn.004099e0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jne 0x5fac72
mov al, 1
jmp 0x5fac92
cmp dword [ebp - 0x50], 0
je 0x5fac7e
cmp dword [ebp - 0x54], 0
jne 0x5fac82
xor eax, eax
jmp 0x5fac92
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
call fcn.004214a4
test eax, eax
sete al
test al, al
je 0x5fac9d
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x12], 1
inc ebx
dec esi
jne 0x5fa8d0
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040a204
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x5fae54
call fcn.0040a770
mov ebx, eax
test ebx, ebx
jle 0x5facfa
lea edi, [ebx + 1]
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, 0x5fae54
call fcn.0040a770
mov esi, eax
test esi, esi
jle 0x5facfa
mov eax, dword [ebp - 0x58]
add eax, 8
push eax
mov ecx, esi
sub ecx, ebx
dec ecx
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0040a560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fad5d
lea eax, [ebp - 0x7c]
call fcn.004095b8
lea eax, [ebp - 0x78]
mov edx, dword [0x41f3e4]
call fcn.0040b760
lea eax, [ebp - 0x74]
call fcn.004095b8
lea eax, [ebp - 0x6c]
call fcn.004095b8
lea eax, [ebp - 0x68]
mov edx, dword [0x41f3e4]
call fcn.0040b760
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00409618
lea eax, [ebp - 0x54]
mov edx, 0x15
call fcn.00409618
ret