Function at 0x103a117
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x105ddf7
call fcn.0104dc9c
mov esi, ecx
mov dword [ebp - 0x28], esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
cmp dword [esi], eax
jne 0x103ac64
and dword [ebp - 4], eax
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
xor edi, edi
inc edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jge 0x103a2ad
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
push 0x100ad3c
push dword [eax]
mov dword [ebp - 0x20], eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103a188
mov eax, dword [ebp - 0x20]
push 0x100ad20
push dword [eax]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103a188
inc dword [ebp - 0x18]
jmp 0x103a14a
mov edi, 0x1066af4
push edi
lea ecx, [ebp - 0x1c]
call fcn.010442ec
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.010442ec
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x100ad00
push 0x100aca0
push 0x80000002
mov byte [ebp - 4], 2
call fcn.01042765
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103a1f6
push 0x100ac50
push 0x100ac2c
push eax
call fcn.01048c52
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0102fb3e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0102fb3e
jmp 0x103ac46
push dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x20]
push 0x100ac20
push eax
call fcn.01030c5e
xor edi, edi
add esp, 0x10
inc edi
cmp edi, dword [ebp + 8]
jge 0x103a236
cmp edi, dword [ebp - 0x18]
je 0x103a233
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
lea eax, [ebp - 0x20]
push 0x100ac18
push eax
call fcn.01030c79
add esp, 0xc
inc edi
jmp 0x103a212
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x103a28c
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jle 0x103a261
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
test eax, eax
jl 0x103a26f
mov dword [ebp - 0x14], 0x80004005
push 0x100abd0
push 0x100abb0
call ebx
push eax
call fcn.01048d15
add esp, 0xc
lea ecx, [edi - 0x10]
jmp 0x103a1e1
lea ecx, [edi - 0x10]
mov dword [ebp - 0x2c], 1
call fcn.0102fb3e
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0102fb3e
xor edi, edi
inc edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x20], eax
jge 0x103ac35
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [eax + ecx*4]
mov eax, ecx
lea edx, [eax + 2]
mov dword [ebp - 0x18], edx
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x103a2cd
sub eax, dword [ebp - 0x18]
sar eax, 1
mov dword [ebp - 0x18], eax
cmp eax, edi
jb 0x103abf8
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x103a2fa
cmp ax, 0x2d
jne 0x103abf8
lea edi, [ecx + 2]
push 0x100ab9c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103ab7a
push 0x100ab88
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103ab7a
push 0x100ab84
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103ab6e
push 0x100ab78
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103ab6e
push 0x100ab6c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a3b7
cmp dword [esi + 0x34], eax
je 0x103a378
push 0x100ab40
push 0x100ab1c
mov eax, 0x80070057
mov dword [ebp - 0x14], eax
push eax
call fcn.01048c52
add esp, 0xc
jmp 0x103ac4c
cmp dword [esi + 0xc], eax
je 0x103a389
push 0x100aae4
push 0x100aac0
jmp 0x103a362
cmp dword [esi + 0x24], eax
je 0x103a39a
push 0x100aa70
push 0x100aa48
jmp 0x103a362
cmp dword [esi + 0x30], eax
je 0x103a3ab
push 0x100aa00
push 0x100a9dc
jmp 0x103a362
mov dword [esi + 0xc], 1
jmp 0x103abe7
push 0x100a9c0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a3f7
cmp dword [esi + 0x18], eax
je 0x103a3d6
push 0x100a978
push 0x100a954
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a3eb
push 0x100aa00
push 0x100a930
jmp 0x103a362
mov dword [esi + 0x18], 1
jmp 0x103abe7
cmp dword [ebp - 0x18], 0xd
jbe 0x103a486
push 0xc
push 0x100a914
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a486
cmp dword [esi + 0x10], eax
je 0x103a42a
push 0x100a8d0
push 0x100a8a8
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a43f
push 0x100aa00
push 0x100a884
jmp 0x103a362
push 0xc
pop ebx
mov eax, dword [ebp - 0x18]
dec eax
cmp ebx, eax
jae 0x103a46c
movzx eax, word [edi + ebx*2]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
jne 0x103a469
push 0x100a810
push 0x100a7ec
jmp 0x103a362
inc ebx
jmp 0x103a442
add edi, 0x18
push edi
call dword [sym.imp.msvcrt.dll__wtol]
pop ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 1
jmp 0x103abe7
push 0x100a7d4
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a4c6
cmp dword [esi + 0x10], eax
je 0x103a4a8
push 0x100a8d0
push 0x100a7b0
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a4bd
push 0x100aa00
push 0x100a78c
jmp 0x103a362
mov dword [esi + 0x14], 0x1e
jmp 0x103a47a
push 0x100a770
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a509
cmp dword [esi + 0x20], eax
je 0x103a4e8
push 0x100a728
push 0x100a704
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a4fd
push 0x100aa00
push 0x100a6e0
jmp 0x103a362
mov dword [esi + 0x20], 1
jmp 0x103abe7
push 0x100a6cc
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a54c
cmp dword [esi + 0x28], eax
je 0x103a52b
push 0x100a68c
push 0x100a668
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a540
push 0x100a620
push 0x100a5f8
jmp 0x103a362
mov dword [esi + 0x28], 1
jmp 0x103abe7
push 0x100a5e4
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a5a2
cmp dword [esi + 0x24], eax
je 0x103a56e
push 0x100a5a4
push 0x100a580
jmp 0x103a362
cmp dword [esi + 0xc], eax
je 0x103a582
push 0x100a530
push 0x100a508
jmp 0x103a362
cmp dword [esi + 0x30], eax
je 0x103a596
push 0x100a4c0
push 0x100a49c
jmp 0x103a362
mov dword [esi + 0x24], 1
jmp 0x103abe7
cmp dword [ebp - 0x18], 3
jbe 0x103a5bd
push 2
push 0x100a494
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x103a5e0
cmp dword [ebp - 0x18], 9
jbe 0x103a6da
push 8
push 0x100a480
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a6da
xor eax, eax
cmp dword [esi + 0x30], eax
je 0x103a5f6
push 0x100a450
push 0x100a42c
jmp 0x103a362
cmp dword [esi + 0x2c], eax
je 0x103a60a
push 0x100a3ec
push 0x100a3c8
jmp 0x103a362
cmp dword [esi + 0x24], eax
je 0x103a61e
push 0x100a380
push 0x100a358
jmp 0x103a362
cmp dword [esi + 0x28], eax
je 0x103a632
push 0x100a310
push 0x100a2ec
jmp 0x103a362
cmp dword [esi + 0x10], eax
je 0x103a646
push 0x100a2a0
push 0x100a278
jmp 0x103a362
cmp dword [esi + 0x20], eax
je 0x103a65a
push 0x100a228
push 0x100a200
jmp 0x103a362
cmp dword [esi + 0x18], eax
je 0x103a66e
push 0x100a1b0
push 0x100a188
jmp 0x103a362
cmp dword [esi + 0xc], eax
je 0x103a682
push 0x100a148
push 0x100a120
jmp 0x103a362
cmp dword [esi + 8], eax
je 0x103a696
push 0x100a0d8
push 0x100a0b0
jmp 0x103a362
cmp dword [esi + 0x34], eax
je 0x103a6aa
push 0x100a070
push 0x100a04c
jmp 0x103a362
lea ebx, [esi + 0x50]
add edi, 4
push edi
mov ecx, ebx
mov dword [esi + 0x30], 1
call fcn.01031359
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103abe7
push 0x100a008
push 0x1009fe4
jmp 0x103a362
push 0x1009fe0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103aa9b
push 0x1009fd0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103aa9b
cmp dword [ebp - 0x18], 6
jbe 0x103a7a1
push 5
push 0x1009fc4
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a7a1
cmp dword [esi + 0x2c], eax
je 0x103a735
push 0x1009f8c
push 0x1009f68
jmp 0x103a362
cmp dword [esi + 0x30], 0
je 0x103a74a
push 0x1009f28
push 0x1009f04
jmp 0x103a362
lea ebx, [esi + 0x54]
add edi, 0xa
push edi
mov ecx, ebx
mov dword [esi + 0x2c], 1
call fcn.01031359
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103a776
push 0x1009eb8
push 0x1009e94
jmp 0x103a362
push ebx
call fcn.01042591
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103abe7
push 0x1009e50
push 0x1009e2c
push dword [ebp - 0x14]
call fcn.01048c52
add esp, 0xc
jmp 0x103ac46
push 0x1009e20
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a7be
push 0x1009dd0
push 0x1009dac
jmp 0x103a362
push 0x1009da0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a816
cmp dword [esi + 0xc], eax
je 0x103a7e0
push 0x100ab40
push 0x1009d7c
jmp 0x103a362
cmp dword [esi + 0x34], eax
je 0x103a7f4
push 0x1009d44
push 0x1009d20
jmp 0x103a362
cmp dword [esi + 0x30], eax
je 0x103a808
push 0x1009ce0
push 0x1009cbc
jmp 0x103a362
xor eax, eax
inc eax
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], eax
jmp 0x103abe7
push 7
push 0x1009cac
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a88b
cmp dword [esi + 0x38], eax
je 0x103a83f
push 0x1009c70
push 0x1009c4c
jmp 0x103a362
lea ebx, [esi + 0x58]
add edi, 0xe
push edi
mov ecx, ebx
mov dword [esi + 0x38], 1
call fcn.01031359
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103a86b
push 0x1009c00
push 0x1009bd8
jmp 0x103a362
push ebx
call fcn.01042591
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103abe7
push 0x1009b90
push 0x1009b6c
jmp 0x103a791
push 0x1009b5c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a8a8
push 0x1009b08
push 0x1009ae0
jmp 0x103a362
push 9
push 0x1009acc
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a91d
cmp dword [esi + 0x3c], eax
je 0x103a8d1
push 0x1009a8c
push 0x1009a68
jmp 0x103a362
lea ebx, [esi + 0x5c]
add edi, 0x12
push edi
mov ecx, ebx
mov dword [esi + 0x3c], 1
call fcn.01031359
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103a8fd
push 0x1009a18
push 0x10099f4
jmp 0x103a362
push ebx
call fcn.01042591
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103abe7
push 0x10099a8
push 0x1009984
jmp 0x103a791
push 0x1009970
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a93a
push 0x1009918
push 0x10098f0
jmp 0x103a362
push 0x10098cc
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a968
cmp dword [esi + 0x40], eax
je 0x103a95c
push 0x1009838
push 0x1009810
jmp 0x103a362
mov dword [esi + 0x40], 1
jmp 0x103abe7
push 0x10097ec
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a996
cmp dword [esi + 0x44], eax
je 0x103a98a
push 0x1009758
push 0x1009730
jmp 0x103a362
mov dword [esi + 0x44], 1
jmp 0x103abe7
push 0x100970c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a9c4
cmp dword [esi + 0x48], eax
je 0x103a9b8
push 0x1009678
push 0x1009654
jmp 0x103a362
mov dword [esi + 0x48], 1
jmp 0x103abe7
push 0x1009634
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a9f2
cmp dword [ebp - 0x24], eax
je 0x103a9e6
push 0x10095e8
push 0x10095c0
jmp 0x103a362
mov dword [ebp - 0x24], 1
jmp 0x103abe7
push 9
push 0x10095ac
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103aa67
cmp dword [esi + 0x4c], eax
je 0x103aa1b
push 0x100956c
push 0x1009548
jmp 0x103a362
lea ebx, [esi + 0x60]
add edi, 0x12
push edi
mov ecx, ebx
mov dword [esi + 0x4c], 1
call fcn.01031359
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103aa47
push 0x10094f8
push 0x10094d4
jmp 0x103a362
push ebx
call fcn.01042591
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103abe7
push 0x1009488
push 0x1009464
jmp 0x103a791
push 0x1009450
push edi
call ebx
test eax, eax
pop ecx
mov eax, 0x80070057
pop ecx
mov dword [ebp - 0x14], eax
jne 0x103aa8c
push 0x10093f8
push 0x10093d0
jmp 0x103a36a
push 0x10093ac
push 0x1009388
jmp 0x103a36a
xor eax, eax
cmp dword [esi + 0x30], eax
je 0x103aab1
push 0x100a450
push 0x1009364
jmp 0x103a362
cmp dword [esi + 0x2c], eax
je 0x103aac5
push 0x100a3ec
push 0x1009340
jmp 0x103a362
cmp dword [esi + 0x24], eax
je 0x103aad9
push 0x100a380
push 0x100931c
jmp 0x103a362
cmp dword [esi + 0x28], eax
je 0x103aaed
push 0x100a310
push 0x10092f8
jmp 0x103a362
cmp dword [esi + 0x10], eax
je 0x103ab01
push 0x100a2a0
push 0x10092d4
jmp 0x103a362
cmp dword [esi + 0x20], eax
je 0x103ab15
push 0x100a228
push 0x10092b0
jmp 0x103a362
cmp dword [esi + 0x18], eax
je 0x103ab29
push 0x100a1b0
push 0x100928c
jmp 0x103a362
cmp dword [esi + 0xc], eax
je 0x103ab3d
push 0x100a148
push 0x1009268
jmp 0x103a362
cmp dword [esi + 8], eax
je 0x103ab51
push 0x100a0d8
push 0x1009244
jmp 0x103a362
cmp dword [esi + 0x34], eax
je 0x103ab65
push 0x100a070
push 0x1009220
jmp 0x103a362
mov dword [esi + 0x30], 1
jmp 0x103abe7
mov dword [esi + 0x1c], 1
jmp 0x103ac46
xor eax, eax
cmp dword [esi + 8], eax
je 0x103ab90
push 0x10091e0
push 0x10091c0
jmp 0x103a362
cmp dword [esi + 0x18], eax
je 0x103aba4
push 0x1009160
push 0x100913c
jmp 0x103a362
cmp dword [esi + 0x10], eax
je 0x103abb8
push 0x10090e0
push 0x10090c0
jmp 0x103a362
cmp dword [esi + 0x20], eax
je 0x103abcc
push 0x1009060
push 0x1009040
jmp 0x103a362
cmp dword [esi + 0x30], eax
je 0x103abe0
push 0x100aa00
push 0x1009020
jmp 0x103a362
mov dword [esi + 8], 1
inc dword [ebp - 0x20]
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
xor edi, edi
inc edi
jmp 0x103a2b0
push 0x1008fc0
push 0x1008f9c
jmp 0x103a362
cmp dword [ebp - 0x24], 0
je 0x103ac44
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], edi
cmp dword [ebp - 0x14], 0
jge 0x103ac4f
and dword [esi], 0
cmp dword [ebp - 0x2c], 0
je 0x103ac64
cmp dword [ebp + 0xc], 0
je 0x103ac64
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
call fcn.0104dd50
ret 8