Function at 0x1006df52
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1006e1fd
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1006dfc1
mov byte [ebp - 1], 0
push 1
push 0x45fc
push 1
push 1
push 0x6ebb
push 0x69fd
lea eax, [ebp - 1]
push eax
push 0xd85
call fcn.10069799
add esp, 0x20
jmp 0x1006e1fb
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
push 0x14
push 0
push 0x3a4a
push 0x45ee
call fcn.10049a96
pop ecx
pop ecx
call eax
push eax
push 0x3a4a
push 0x37f6
call fcn.10049a96
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0x5cb
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x3a80
push 0x8c7
call fcn.1005f7ee
add esp, 0x20
push 1
lea eax, [ebp - 8]
push eax
push 1
push 0x34ac
push 0x3db
push 0x424e
call fcn.1005c183
add esp, 0x18
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and dword [eax + 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0x7a29
push 0x3814
push 0x73ac
push 0x7a09
call fcn.10075075
add esp, 0x20
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x3a4a
push 0x3c9e
call fcn.10049a96
pop ecx
pop ecx
call eax
mov dword [ebp - 0x28], 0xee1
mov dword [ebp - 0x48], 0x1000ea10
cmp dword [ebp - 0x28], 0x118a
jle 0x1006e153
and dword [ebp - 0x14], 0
jmp 0x1006e0cf
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x128c
jge 0x1006e153
and dword [ebp - 0xc], 0
jmp 0x1006e0e5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc20
jge 0x1006e14e
and dword [ebp - 0x10], 0
jmp 0x1006e0fb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xf9e
jge 0x1006e14c
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
sub eax, edx
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x70]
call fcn.100252df
jmp 0x1006e0f4
jmp 0x1006e0de
jmp 0x1006e0c8
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x54]
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x3a4a
push 0x3c9e
call fcn.10049a96
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
cmp dword [ebp - 0x28], 0xe18
jge 0x1006e18f
push dword [ebp - 0x48]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.1004d3d7
add esp, 0xc
push 0x3a88
push 1
lea eax, [ebp - 8]
push eax
push 0x560f
lea eax, [ebp - 0x20]
push eax
push 0x1760
push 0x77a4
push 0x10b5
push 0x3bd
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.1005c3ea
add esp, 0x2c
push 0x3175
push 0
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.10069cf9
add esp, 0x14
jmp 0x1006e20f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
call fcn.1004e84f
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret