Function at 0x100013a2
Capabilities:
Accept command line arguments

Disassembly:
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [0x10017b28]
push 0x10003
push dword [ebp - 4]
push dword [0x10020764]
call fcn.10005494
cmp eax, ebx
jne fcn.100013a2
mov ecx, dword [ebp - 8]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, edx
mov dword [esi], eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [0x10020764]
call fcn.100017c8
cmp eax, ebx
jne fcn.100013a2
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jbe 0x1000125c
push esi
mov dword [ebp - 8], eax
call fcn.100052f4
push dword [ebp - 8]
call fcn.10002ff8
mov esi, eax
cmp esi, ebx
je 0x10001454
push esi
push ebx
push dword [0x10017b28]
push dword [ebp - 4]
push dword [0x10020764]
call fcn.100017c8
cmp eax, ebx
jne fcn.100013a2
cmp dword [0x10017b28], 0x20000
jne fcn.100013a2
mov eax, dword [0x1002075c]
mov edx, dword [0x10017b44]
mov ecx, dword [esi + 0x1c]
lea eax, [eax + eax*2]
mov dword [edx + eax*8], ecx
mov eax, dword [esi + 0x24]
add eax, esi
push eax
call fcn.10003624
mov ecx, dword [0x1002075c]
mov edx, dword [0x10017b44]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*8 + 8], eax
mov eax, dword [esi + 0x10]
add eax, esi
push eax
call fcn.10003624
mov ecx, dword [0x1002075c]
mov edx, dword [0x10017b44]
lea ecx, [ecx + ecx*2]
mov dword [edx + ecx*8 + 0xc], eax
mov ecx, dword [esi + 0x80]
mov eax, dword [0x1002075c]
mov edx, dword [0x10017b44]
and cl, 2
neg cl
sbb ecx, ecx
lea eax, [eax + eax*2]
and ecx, dword [0x10020690]
mov dword [edx + eax*8 + 0x10], ecx
mov eax, dword [0x1002075c]
mov ecx, dword [0x10017b44]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 + 0x14], 3
mov eax, dword [0x1002075c]
mov ecx, dword [0x10017b44]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 8]
cmp eax, ebx
je 0x10001323
push 0x2c
push eax
call dword [fcn.100076d0]
pop ecx
cmp eax, ebx
pop ecx
je 0x10001323
mov word [eax], 0x5f
jmp 0x10001309
cmp dword [esi + 0xf4], ebx
mov dword [ebp - 0x14], ebx
je 0x10001367
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x10001367
lea edi, [esi + eax]
cmp word [edi], bx
je 0x10001367
push 0x100022a6
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
pop ecx
test eax, eax
pop ecx
je 0x10001360
push edi
call dword [0x10007a18]
pop ecx
lea edi, [edi + eax*2 + 2]
jmp 0x1000133b
mov dword [ebp - 0x14], 1
mov eax, dword [esi + 0x34]
test al, 1
je 0x10001372
test al, 0x40
jne 0x10001375
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x10001396
mov eax, dword [0x1002075c]
mov ecx, dword [0x10017b44]
push esi
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
push eax
call fcn.100075ec
test eax, eax
jmp 0x1000139a
test byte [esi + 0x3c], 0x20
je fcn.100013a2
inc dword [0x1002075c]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [0x10017a74]
jb 0x100011bf
cmp dword [0x1002075c], ebx
je 0x10001454
lea eax, [ebp - 0x10]
push eax
call fcn.10001544
cmp eax, ebx
je 0x10001400
cmp eax, 0x8000000e
jne 0x100013fc
cmp dword [0x10020664], ebx
jne 0x100013fc
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
push ebx
push dword [0x10020764]
call fcn.10002863
cmp eax, ebx
jne 0x10001454
lea eax, [ebp - 0x10]
push eax
call fcn.10001544
cmp eax, ebx
jne 0x10001454
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
add eax, ecx
cmp edx, ebx
jbe 0x1000142d
mov edi, dword [ecx + 0x18]
mov dword [ebp + 8], eax
mov ebx, dword [ebp + 8]
cmp edi, dword [ebx]
je 0x1000142b
inc dword [ebp - 4]
add dword [ebp + 8], 0x44
cmp dword [ebp - 4], edx
jb 0x10001418
xor ebx, ebx
cmp dword [ebp - 4], edx
je 0x10001454
mov edx, dword [ecx + 0x18]
mov dword [0x100205c8], edx
mov edx, dword [eax + 0x34]
mov dword [0x100177ec], edx
mov eax, dword [eax + 0x14]
add eax, ecx
push eax
call fcn.10003624
mov dword [0x10017894], eax
push esi
call fcn.100052f4
push dword [ebp - 0x10]
call fcn.100052f4
mov eax, dword [0x10020764]
cmp eax, ebx
je 0x10001477
push eax
call fcn.10007016
mov dword [0x10020764], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4