Function at 0x10021200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081750
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x104
mov eax, dword [0x101dea44]
xor eax, ebp
mov dword [ebp - 0x30], 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 - 0xc0], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.10024670
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0x101de1d4
lea ecx, [ebp - 0x1c]
call fcn.100511f0
lea ecx, [ebp - 0x5d]
mov dword [ebp - 0x5c], ecx
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.10022660
push 0x101de1d4
lea ecx, [ebp - 0x18]
call fcn.100511f0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100212a7
mov dword [ebp - 0x64], 0
jmp 0x100212f8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc4]
mov dl, byte [ecx]
mov byte [ebp - 0xc9], dl
add dword [ebp - 0xc4], 1
cmp byte [ebp - 0xc9], 0
jne 0x100212bf
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10027950
mov dword [ebp - 0xd4], str.bhbJLEzNzejg8X
mov ecx, dword [ebp - 0xd4]
add ecx, 1
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd4]
mov al, byte [edx]
mov byte [ebp - 0xd9], al
add dword [ebp - 0xd4], 1
cmp byte [ebp - 0xd9], 0
jne 0x10021321
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
push edx
push str.bhbJLEzNzejg8X
lea ecx, [ebp - 0x4c]
call fcn.10027400
mov dword [ebp - 0xe4], str.qRzItYLtBKYwJ1F02
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe4]
mov dl, byte [ecx]
mov byte [ebp - 0xe9], dl
add dword [ebp - 0xe4], 1
cmp byte [ebp - 0xe9], 0
jne 0x1002137e
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
push 0
push str.qRzItYLtBKYwJ1F02
lea ecx, [ebp - 0x4c]
call fcn.10022420
lea ecx, [ebp - 0x4c]
call fcn.10022700
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x100213de
mov dword [ebp - 0x68], 0
jmp 0x1002142f
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
add eax, 1
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf4]
mov dl, byte [ecx]
mov byte [ebp - 0xf9], dl
add dword [ebp - 0xf4], 1
cmp byte [ebp - 0xf9], 0
jne 0x100213f6
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10022ba0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.10027aa0
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
add eax, 0x10
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1001f8b0
mov edx, dword [ebp - 0x50]
sub edx, 0x10
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x84]
call fcn.1001d230
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1002149e
mov dword [ebp - 0x88], 0
jmp 0x100214f2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x104]
mov al, byte [edx]
mov byte [ebp - 0x109], al
add dword [ebp - 0x104], 1
cmp byte [ebp - 0x109], 0
jne 0x100214b6
mov ecx, dword [ebp - 0x104]
sub ecx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10027950
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x90], edx
push 0x4a
mov eax, dword [ebp - 0x90]
push eax
call fcn.100769ad
add esp, 8
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1002153a
mov dword [ebp - 0x114], 0xffffffff
jmp 0x10021549
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x18]
sub edx, 0x10
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
call fcn.10027aa0
add esp, 4
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
add ecx, 0x10
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1001f8b0
mov eax, dword [ebp - 0x54]
sub eax, 0x10
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.1001d230
mov ecx, dword [ebp - 0x18]
sub ecx, 0x10
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
call fcn.1001d230
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.10022660
mov edx, dword [ebp - 0x1c]
sub edx, 0x10
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
call fcn.1001d230
lea ecx, [ebp - 0x2c]
call fcn.10035d60
jmp 0x100215ea
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.10075fae
mov esp, ebp
pop ebp
ret 4