Function at 0x1002565b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078cf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002569d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
jmp 0x10025d28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
push 2
lea ecx, [ebp - 0xcc]
call fcn.1001627b
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0x694a61bf
push 2
lea ecx, [ebp - 0xc0]
call fcn.1001627b
mov byte [ebp - 4], 1
push 3
lea ecx, [ebp - 0x9c]
call fcn.1001627b
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 0x85ba
push 2
lea ecx, [ebp - 0xd8]
call fcn.1001627b
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10026913
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x10025745
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002575e
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
call fcn.100162f3
and dword [eax], 0
jmp 0x1002573e
mov dword [ebp - 0x10], 0
jmp 0x1002576e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002578a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x9c]
call fcn.100162f3
mov dword [eax], 0xfffffff7
jmp 0x10025767
mov dword [ebp - 0x10], 0
jmp 0x1002579a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x100257b6
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd8]
call fcn.100162f3
mov dword [eax], 4
jmp 0x10025793
mov dword [ebp - 0x2c], 0
jmp 0x100257c6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x10025889
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x70], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x64]
push eax
push 0xbe6
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.1002a219
add esp, 0x28
mov dword [ebp - 0x24], 1
jmp 0x10025826
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10025884
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x1dc8
call fcn.1002432f
add esp, 0x2c
mov byte [ebp - 0x1a], 0
push 0x4cc4
lea eax, [ebp - 0x1a]
push eax
push 0
call fcn.10025433
add esp, 0xc
jmp 0x1002581f
jmp 0x100257bf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.100162d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.100162d7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.100162d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.100162d7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0x30], 0
jmp 0x100258e3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x16
jle 0x10025b76
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0x1a
jmp 0x10025904
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffef
jg 0x10025a96
push 3
lea ecx, [ebp - 0xb4]
call fcn.1001627b
mov dword [ebp - 4], 4
push 1
lea ecx, [ebp - 0xa8]
call fcn.1001627b
mov byte [ebp - 4], 5
mov dword [ebp - 0x38], 0xfffffffd
mov dword [ebp - 0x78], 0xffffffff
push 3
lea ecx, [ebp - 0xe4]
call fcn.1001627b
mov byte [ebp - 4], 6
push 0
lea eax, [ebp - 0x28]
push eax
push 0x1823
push 0xa10
lea eax, [ebp - 0xb4]
push eax
call fcn.1002d183
add esp, 0x14
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x7091
push 0x317
lea eax, [ebp - 0x28]
push eax
call fcn.1002d5e8
add esp, 0x14
mov dword [ebp - 0x28], 0
jmp 0x100259a0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x100259bc
push dword [ebp - 0x28]
lea ecx, [ebp - 0xe4]
call fcn.100162f3
mov dword [eax], 8
jmp 0x10025999
push 0x5947
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10026881
add esp, 0x14
mov dword [ebp - 0x38], 0
jmp 0x100259ed
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x10025a64
mov dword [ebp - 0x6c], 0xfffffffc
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x26f1
lea eax, [ebp - 0x78]
push eax
push 0x3e61
lea eax, [ebp - 0x30]
push eax
push 0x985
push 0x7e29
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x4114
push 0x1313
lea eax, [ebp - 0xa8]
push eax
call fcn.10026422
add esp, 0x38
push 0x7ec3
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.10025579
add esp, 0x14
jmp 0x100259e6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe4]
call fcn.100162d7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.100162d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.100162d7
jmp 0x100258fd
mov dword [ebp - 0x14], 0
jmp 0x10025aa6
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffea
je 0x10025b71
mov dword [ebp - 0xf8], 0x43657218
mov dword [ebp - 0xf4], 0x43657218
mov dword [ebp - 0xf0], 0x43657218
mov dword [ebp - 0xec], 0x43657218
mov byte [ebp - 0x1b], 0
push 0x10f6
push 0x6154
push 0x137f
lea eax, [ebp - 0x1b]
push eax
push 0
call fcn.1002d7aa
add esp, 0x14
mov dword [ebp - 0x34], 3
jmp 0x10025b09
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x11
jle 0x10025b6c
mov dword [ebp - 0x40], 0x4b52dd86
mov dword [ebp - 0x40], 3
jmp 0x10025b26
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10025b6a
mov byte [ebp - 0x1d], 0
push 0x7c8a
push 0x4dbd
push 0x68f
push 0x101a
push 1
push 0x72d5
push 0x157
push 0xc22
push 0x64be
push 0x30
lea eax, [ebp - 0x1d]
push eax
call fcn.1002432f
add esp, 0x2c
jmp 0x10025b1f
jmp 0x10025b02
jmp 0x10025a9f
jmp 0x100258dc
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x1007f848]
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x60], 0x2395e2de
cmp dword [ebp - 0x18], 1
jne 0x10025bbd
mov dword [ebp - 0x54], 1
jmp 0x10025bc1
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
dec eax
cmp eax, dword [ebp - 0x18]
jle 0x10025bd9
mov eax, 0x21e1d82c
test eax, eax
jne 0x10025bd9
and dword [ebp - 0x58], 0
jmp 0x10025be0
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x58]
cmp eax, 0x28f
je 0x10025bf6
mov dword [ebp - 0x74], 1
jmp 0x10025bfa
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0x18], 1
jge 0x10025c12
mov dword [ebp - 0x80], 1
jmp 0x10025c16
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x60]
cmp eax, 0x3af7
jl 0x10025c46
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10025c44
push 0x664d
push 0
call fcn.100193db
pop ecx
pop ecx
jmp 0x10025c5d
mov byte [ebp - 0x1e], 0
lea eax, [ebp - 0x1e]
push eax
push 0
push 0x5ca6
call fcn.1002c506
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x10025d28
mov dword [ebp - 0x3c], 0
jmp 0x10025c81
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10025c94
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x4c], 0x68ec0ae9
jmp 0x10025c7a
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 0
jmp 0x10025cb9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 0xffffffe3
jle 0x10025ceb
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.1002ac96
pop ecx
pop ecx
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10025ce9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x10025ca4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
add eax, 0x1fc9a572
cmp eax, 1
jge 0x10025d08
mov dword [ebp - 0x68], 1
jmp 0x10025d0c
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x4c], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret