Function at 0x1006de10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100831d0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x101dea44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], ecx
xor eax, eax
mov dword [ebp - 4], eax
wait
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x70]
call fcn.10020cf0
lea ecx, [ebp - 0x7c]
call fcn.1005a100
lea ecx, [ebp - 0x70]
call fcn.10020b70
wait
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [0x101dfb50]
cmp dword [eax + 0x7c], 0
je 0x1006e084
mov edi, dword [eax + 0x78]
add edi, ecx
mov dword [ebp - 0x74], edi
cmp dword [edi + 0x18], 0
je 0x1006e084
cmp dword [edi + 0x14], 0
je 0x1006e084
mov ebx, dword [edi + 0x20]
add ebx, ecx
mov dword [ebp - 0x60], ebx
mov esi, dword [edi + 0x24]
add esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 2
wait
push 0xa
sub esp, 0xc
fld dword [0x100846a0]
fstp dword [esp + 8]
fld dword [0x1008469c]
fstp dword [esp + 4]
fld dword [0x10084698]
fstp dword [esp]
push 0x11
lea ecx, [ebp - 0xb0]
call fcn.1005d150
lea ecx, [ebp - 0x70]
call fcn.100694b0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
fld dword [0x10084c3c]
fstp dword [ebp - 0x58]
push 0x10084c28
lea ecx, [ebp - 0x30]
call fcn.10060e10
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x50]
call fcn.1001f3d0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.10069520
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.10021ff0
lea ecx, [ebp - 0x50]
call fcn.1001f4a0
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x44]
call fcn.1003bd80
lea eax, [ebp - 0x44]
push eax
sub esp, 8
fld qword [0x10084c20]
fstp qword [esp]
lea ecx, [ebp - 0xb0]
call fcn.1006ba60
mov ecx, eax
call fcn.10068220
lea ecx, [ebp - 0x44]
call fcn.100691d0
lea ecx, [ebp - 0x30]
call fcn.1001f4a0
lea ecx, [ebp - 0x70]
call fcn.100691d0
lea ecx, [ebp - 0xb0]
call fcn.1006bdf0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x1006dfd2
mov dword [ebp - 0x58], 0
cmp dword [edi + 0x18], 0
jbe 0x1006e07e
movzx ecx, word [esi]
mov edx, dword [edi + 0x1c]
lea ecx, [edx + ecx*4]
mov eax, dword [0x101dfb50]
mov esi, dword [ecx + eax]
add esi, eax
mov ecx, dword [ebx]
add ecx, eax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov eax, ecx
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x1006e011
sub eax, edx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10027400
mov dword [ebp - 0x18], esi
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
mov esi, dword [eax]
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [esi + 0xc]
call fcn.10067950
push eax
lea edx, [ebp - 0x78]
push edx
lea ecx, [esi + 0xc]
call fcn.10063e40
cmp dword [ebp - 0x20], 0x10
jb 0x1006e05c
mov eax, dword [ebp - 0x34]
push eax
call fcn.10075bbf
add esp, 4
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x60]
add ebx, 4
mov dword [ebp - 0x60], ebx
mov esi, dword [ebp - 0x5c]
add esi, 2
mov dword [ebp - 0x5c], esi
cmp eax, dword [edi + 0x18]
jb 0x1006dfe3
mov ecx, dword [0x101dfb50]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
add eax, ecx
xor esi, esi
push esi
push 1
push ecx
call eax
test eax, eax
jne 0x1006e129
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 4
wait
lea ecx, [ebp - 0xac]
call fcn.1006d930
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x30]
call fcn.10060e10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.1001f3d0
push eax
lea ecx, [ebp - 0xac]
call fcn.1006d950
lea ecx, [ebp - 0x50]
call fcn.1001f4a0
lea ecx, [ebp - 0x30]
call fcn.1001f4a0
lea ecx, [ebp - 0xac]
call fcn.1006d8f0
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
push eax
call fcn.10069f60
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [0x101dfb50]
push edx
call fcn.10074cd0
add esp, 8
mov edi, 6
mov dword [ebp - 4], edi
wait
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
lea ecx, [ebp - 0x44]
call fcn.100692c0
mov byte [ebp - 4], 7
wait
push 0x10
lea ecx, [ebp - 0x70]
call fcn.1005c180
wait
mov dword [ebp - 4], edi
jmp 0x1006e191
mov byte [ebp - 4], 9
wait
push 0x9b
lea ecx, [ebp - 0x70]
call fcn.1005c180
wait
mov dword [ebp - 4], edi
mov dword [ebp - 0x74], 0x148f
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.100681a0
lea ecx, [ebp - 0x44]
call fcn.1006ac50
lea ecx, [ebp - 0x70]
call fcn.10068160
wait
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x28]
add ecx, dword [0x101dfb50]
je 0x1006e1ee
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075fae
mov esp, ebp
pop ebp
ret