Function at 0x10012590
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100709e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100125c7
push 0
push 0x2b0d
call fcn.10012aa3
pop ecx
pop ecx
jmp 0x10012789
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x100125f4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x10012789
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1001262e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 6
jg 0x10012789
mov dword [ebp - 0x14], 0x111738ab
mov dword [ebp - 0x30], 0x9973063d
push 4
lea ecx, [ebp - 0x70]
call fcn.1001795c
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x10012666
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1001267c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
call fcn.100179fa
and dword [eax], 0
jmp 0x1001265f
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x100126a6
mov dword [ebp - 0x20], 1
jmp 0x100126aa
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 4
jge 0x100126b9
mov dword [ebp - 0x24], 1
jmp 0x100126bd
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xe81720d7
jne 0x100126d8
mov eax, 0x6d6dbc1c
test eax, eax
je 0x100126d8
mov dword [ebp - 0x28], 1
jmp 0x100126dc
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], eax
jne 0x100126f5
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x100126f5
mov dword [ebp - 0x1c], 1
jmp 0x100126f9
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.100179fa
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jne 0x1001271b
mov dword [ebp - 0x2c], 1
jmp 0x1001271f
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xf777
jne 0x10012737
mov dword [ebp - 0x34], 1
jmp 0x1001273b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
je 0x1001274e
mov dword [ebp - 0x38], 1
jmp 0x10012752
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x38]
test eax, eax
je 0x10012763
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov esi, dword [ebp - 0x14]
sub esi, 0x457
push 1
lea ecx, [ebp - 0x70]
call fcn.100179fa
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100179de
jmp 0x10012623
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret