Function at 0x1000cbfe
Capabilities:
Accept command line arguments

Disassembly:
push ebp
sub esp, 0x88
lea ebp, [esp - 4]
mov eax, dword [0x1008f210]
xor eax, ebp
mov dword [ebp + 0x88], eax
push 0x3c
mov eax, 0x1006d20c
call fcn.1005218d
mov eax, dword [ebp + 0x94]
xor ebx, ebx
mov edi, ecx
lea esi, [ebp + 0x50]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
call fcn.100040d0
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x1000cfa3
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x1000cfa3
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
jle 0x1000cf9a
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 0x24], edi
mov eax, dword [edi*4 + 0x10090f78]
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi]
push eax
push ecx
call fcn.1004d7ad
pop ecx
pop ecx
mov ecx, dword [esi]
cmp eax, ecx
jne 0x1000cf7a
cmp edi, ebx
jne 0x1000ccb6
mov dword [ebp + 0x38], 1
jmp 0x1000cf7a
push ecx
lea esi, [ebp + 0x6c]
call fcn.100040e3
push 0x10077c9c
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.1000d011
cmp eax, 0xffffffff
je 0x1000cf6c
mov ecx, dword [ebp + 0x80]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
mov eax, esi
push eax
lea esi, [ebp]
call fcn.10004135
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 2
call fcn.1000426a
push ebx
push 1
mov byte [ebp - 4], 1
call fcn.1000457f
cmp edi, 1
jne 0x1000cd2e
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x1000cd1f
lea eax, [ebp + 0x70]
push eax
call fcn.1004d459
pop ecx
mov dword [ebp + 0x44], eax
jmp 0x1000cf6c
cmp edi, 2
je 0x1000cde6
cmp edi, 3
je 0x1000cde6
cmp edi, 4
jne 0x1000cd63
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x1000cd54
lea eax, [ebp + 0x70]
push eax
call fcn.1004d459
pop ecx
mov dword [ebp + 0x48], eax
jmp 0x1000cf6c
cmp edi, 5
jne 0x1000cd86
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x1000cd77
lea eax, [ebp + 0x70]
push eax
call fcn.1004d459
pop ecx
mov dword [ebp + 0x3c], eax
jmp 0x1000cf6c
cmp edi, 6
jne 0x1000cdbf
cmp dword [ebp + 0x80], ebx
je 0x1000cf6c
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x1000cda6
lea eax, [ebp + 0x70]
push eax
call fcn.1004d459
pop ecx
mov dword [ebp + 0x4c], eax
mov esi, eax
call fcn.1000421c
mov dword [eax + 0x78], esi
jmp 0x1000cf6c
cmp edi, 7
jne 0x1000cf6c
cmp dword [ebp + 0x84], 8
mov eax, dword [ebp + 0x70]
jae 0x1000cdd7
lea eax, [ebp + 0x70]
push eax
call fcn.1004d459
pop ecx
mov dword [ebp + 0x40], eax
jmp 0x1000cf6c
push dword [ebp - 0x2c]
lea esi, [ebp]
call fcn.100040e3
mov byte [ebp - 4], 3
mov eax, 0x10077ca0
cmp edi, 2
je 0x1000ce04
mov eax, 0x10077cb8
push eax
lea eax, [ebp]
push eax
call fcn.1000d011
cmp eax, 0xffffffff
jne 0x1000ce23
push ebx
push 1
lea esi, [ebp]
call fcn.1000457f
jmp 0x1000cf6c
mov ecx, 0x10077ca0
cmp edi, 2
je 0x1000ce32
mov ecx, 0x10077cb8
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
cmp dx, bx
jne 0x1000ce35
sub ecx, esi
sar ecx, 1
push 0xffffffffffffffff
add ecx, eax
push ecx
lea eax, [ebp]
push eax
lea esi, [ebp + 0x1c]
call fcn.10004135
push 0x22
pop edi
push 1
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x10], edi
call fcn.10004370
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000cea9
push 0x10077cc0
lea eax, [ebp + 0x1c]
push eax
call fcn.1000d011
cmp eax, esi
jne 0x1000ce95
push esi
push ebx
lea eax, [ebp + 0x1c]
lea ecx, [ebp + 0x50]
call fcn.1000426a
jmp 0x1000cef7
push eax
push ebx
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x48]
call fcn.10004135
mov byte [ebp - 4], 5
jmp 0x1000cedd
mov dword [ebp - 0x10], edi
push 1
lea eax, [ebp - 0x10]
lea edi, [esi + 1]
push eax
mov eax, edi
lea ecx, [ebp + 0x1c]
call fcn.10004370
cmp eax, 0xffffffff
je 0x1000cef7
sub eax, esi
dec eax
cmp eax, ebx
jbe 0x1000cef7
push eax
push edi
lea eax, [ebp + 0x1c]
push eax
lea esi, [ebp - 0x48]
call fcn.10004135
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x50]
call fcn.1000426a
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.1000457f
cmp dword [ebp + 0x64], ebx
je 0x1000cf53
push 0x20
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x50]
mov dword [ebp - 0x10], esi
call fcn.100044aa
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x50]
mov dword [ebp - 0x10], esi
call fcn.10004513
cmp edi, ebx
jne 0x1000cf2b
mov ecx, dword [ebp + 0x64]
dec ecx
cmp eax, ecx
je 0x1000cf53
sub eax, edi
inc eax
push eax
push edi
lea eax, [ebp + 0x50]
push eax
lea esi, [ebp - 0x48]
call fcn.10004135
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 7
call fcn.1000426a
push ebx
push 1
call fcn.1000457f
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.1000457f
push ebx
push 1
lea esi, [ebp]
call fcn.1000457f
mov edi, dword [ebp - 0x24]
push ebx
push 1
lea esi, [ebp + 0x6c]
mov byte [ebp - 4], bl
call fcn.1000457f
inc edi
cmp edi, 8
mov dword [ebp - 0x24], edi
jl 0x1000cc87
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], 4
cmp eax, dword [ebp - 0x20]
jl 0x1000cc82
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x14]
lea eax, [ebp + 0x38]
call fcn.1000cfde
push ebx
push 1
lea esi, [ebp + 0x50]
call fcn.1000457f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
call fcn.1004c55d
add ebp, 0x8c
leave
ret