Function at 0x103a68b
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x105f495
call fcn.0104f320
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 0x103b1d8
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 0x103a821
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*4]
push 0x100a9a4
push dword [eax]
mov dword [ebp - 0x20], eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103a6fc
mov eax, dword [ebp - 0x20]
push 0x100a988
push dword [eax]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103a6fc
inc dword [ebp - 0x18]
jmp 0x103a6be
mov edi, 0x1068adc
push edi
lea ecx, [ebp - 0x1c]
call fcn.010309e3
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.010309e3
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x100a968
push 0x100a908
push 0x80000002
mov byte [ebp - 4], 2
call fcn.01043cd6
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103a76a
push 0x100a8b8
push 0x100a894
push eax
call fcn.0104a504
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.010303ce
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.010303ce
jmp 0x103b1ba
push dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x20]
push 0x100a888
push eax
call fcn.0103152e
xor edi, edi
add esp, 0x10
inc edi
cmp edi, dword [ebp + 8]
jge 0x103a7aa
cmp edi, dword [ebp - 0x18]
je 0x103a7a7
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
lea eax, [ebp - 0x20]
push 0x100a880
push eax
call fcn.01031549
add esp, 0xc
inc edi
jmp 0x103a786
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 0x103a800
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
jle 0x103a7d5
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
test eax, eax
jl 0x103a7e3
mov dword [ebp - 0x14], 0x80004005
push 0x100a838
push 0x100a818
call ebx
push eax
call fcn.0104a5f6
add esp, 0xc
lea ecx, [edi - 0x10]
jmp 0x103a755
lea ecx, [edi - 0x10]
mov dword [ebp - 0x2c], 1
call fcn.010303ce
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.010303ce
xor edi, edi
inc edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x20], eax
jge 0x103b1a9
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 0x103a841
sub eax, dword [ebp - 0x18]
sar eax, 1
mov dword [ebp - 0x18], eax
cmp eax, edi
jb 0x103b16c
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x103a86e
cmp ax, 0x2d
jne 0x103b16c
lea edi, [ecx + 2]
push 0x100a804
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b0ee
push 0x100a7f0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b0ee
push 0x100a7ec
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b0e2
push 0x100a7e0
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b0e2
push 0x100a7d4
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a92b
cmp dword [esi + 0x34], eax
je 0x103a8ec
push 0x100a7a8
push 0x100a784
mov eax, 0x80070057
mov dword [ebp - 0x14], eax
push eax
call fcn.0104a504
add esp, 0xc
jmp 0x103b1c0
cmp dword [esi + 0xc], eax
je 0x103a8fd
push 0x100a74c
push 0x100a728
jmp 0x103a8d6
cmp dword [esi + 0x24], eax
je 0x103a90e
push 0x100a6d8
push 0x100a6b0
jmp 0x103a8d6
cmp dword [esi + 0x30], eax
je 0x103a91f
push 0x100a668
push 0x100a644
jmp 0x103a8d6
mov dword [esi + 0xc], 1
jmp 0x103b15b
push 0x100a628
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103a96b
cmp dword [esi + 0x18], eax
je 0x103a94a
push 0x100a5e0
push 0x100a5bc
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103a95f
push 0x100a668
push 0x100a598
jmp 0x103a8d6
mov dword [esi + 0x18], 1
jmp 0x103b15b
cmp dword [ebp - 0x18], 0xd
jbe 0x103a9fa
push 0xc
push 0x100a57c
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103a9fa
cmp dword [esi + 0x10], eax
je 0x103a99e
push 0x100a538
push 0x100a510
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103a9b3
push 0x100a668
push 0x100a4ec
jmp 0x103a8d6
push 0xc
pop ebx
mov eax, dword [ebp - 0x18]
dec eax
cmp ebx, eax
jae 0x103a9e0
movzx eax, word [edi + ebx*2]
push eax
call dword [sym.imp.msvcrt.dll_isdigit]
pop ecx
test eax, eax
jne 0x103a9dd
push 0x100a478
push 0x100a454
jmp 0x103a8d6
inc ebx
jmp 0x103a9b6
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 0x103b15b
push 0x100a43c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103aa3a
cmp dword [esi + 0x10], eax
je 0x103aa1c
push 0x100a538
push 0x100a418
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103aa31
push 0x100a668
push 0x100a3f4
jmp 0x103a8d6
mov dword [esi + 0x14], 0x1e
jmp 0x103a9ee
push 0x100a3d8
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103aa7d
cmp dword [esi + 0x20], eax
je 0x103aa5c
push 0x100a390
push 0x100a36c
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103aa71
push 0x100a668
push 0x100a348
jmp 0x103a8d6
mov dword [esi + 0x20], 1
jmp 0x103b15b
push 0x100a334
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103aac0
cmp dword [esi + 0x28], eax
je 0x103aa9f
push 0x100a2f4
push 0x100a2d0
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103aab4
push 0x100a288
push 0x100a260
jmp 0x103a8d6
mov dword [esi + 0x28], 1
jmp 0x103b15b
push 0x100a24c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103ab16
cmp dword [esi + 0x24], eax
je 0x103aae2
push 0x100a20c
push 0x100a1e8
jmp 0x103a8d6
cmp dword [esi + 0xc], eax
je 0x103aaf6
push 0x100a198
push 0x100a170
jmp 0x103a8d6
cmp dword [esi + 0x30], eax
je 0x103ab0a
push 0x100a128
push 0x100a104
jmp 0x103a8d6
mov dword [esi + 0x24], 1
jmp 0x103b15b
cmp dword [ebp - 0x18], 3
jbe 0x103ab31
push 2
push 0x100a0fc
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x103ab54
cmp dword [ebp - 0x18], 9
jbe 0x103ac4e
push 8
push 0x100a0e8
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103ac4e
xor eax, eax
cmp dword [esi + 0x30], eax
je 0x103ab6a
push 0x100a0b8
push 0x100a094
jmp 0x103a8d6
cmp dword [esi + 0x2c], eax
je 0x103ab7e
push 0x100a054
push 0x100a030
jmp 0x103a8d6
cmp dword [esi + 0x24], eax
je 0x103ab92
push 0x1009fe8
push 0x1009fc0
jmp 0x103a8d6
cmp dword [esi + 0x28], eax
je 0x103aba6
push 0x1009f78
push 0x1009f54
jmp 0x103a8d6
cmp dword [esi + 0x10], eax
je 0x103abba
push 0x1009f08
push 0x1009ee0
jmp 0x103a8d6
cmp dword [esi + 0x20], eax
je 0x103abce
push 0x1009e90
push 0x1009e68
jmp 0x103a8d6
cmp dword [esi + 0x18], eax
je 0x103abe2
push 0x1009e18
push 0x1009df0
jmp 0x103a8d6
cmp dword [esi + 0xc], eax
je 0x103abf6
push 0x1009db0
push 0x1009d88
jmp 0x103a8d6
cmp dword [esi + 8], eax
je 0x103ac0a
push 0x1009d40
push 0x1009d18
jmp 0x103a8d6
cmp dword [esi + 0x34], eax
je 0x103ac1e
push 0x1009cd8
push 0x1009cb4
jmp 0x103a8d6
lea ebx, [esi + 0x50]
add edi, 4
push edi
mov ecx, ebx
mov dword [esi + 0x30], 1
call fcn.01031649
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103b15b
push 0x1009c70
push 0x1009c4c
jmp 0x103a8d6
push 0x1009c48
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b00f
push 0x1009c38
push edi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x103b00f
cmp dword [ebp - 0x18], 6
jbe 0x103ad15
push 5
push 0x1009c2c
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103ad15
cmp dword [esi + 0x2c], eax
je 0x103aca9
push 0x1009bf4
push 0x1009bd0
jmp 0x103a8d6
cmp dword [esi + 0x30], 0
je 0x103acbe
push 0x1009b90
push 0x1009b6c
jmp 0x103a8d6
lea ebx, [esi + 0x54]
add edi, 0xa
push edi
mov ecx, ebx
mov dword [esi + 0x2c], 1
call fcn.01031649
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103acea
push 0x1009b20
push 0x1009afc
jmp 0x103a8d6
push ebx
call fcn.01043b02
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103b15b
push 0x1009ab8
push 0x1009a94
push dword [ebp - 0x14]
call fcn.0104a504
add esp, 0xc
jmp 0x103b1ba
push 0x1009a88
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103ad32
push 0x1009a38
push 0x1009a14
jmp 0x103a8d6
push 0x1009a08
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103ad8a
cmp dword [esi + 0xc], eax
je 0x103ad54
push 0x100a7a8
push 0x10099e4
jmp 0x103a8d6
cmp dword [esi + 0x34], eax
je 0x103ad68
push 0x10099ac
push 0x1009988
jmp 0x103a8d6
cmp dword [esi + 0x30], eax
je 0x103ad7c
push 0x1009948
push 0x1009924
jmp 0x103a8d6
xor eax, eax
inc eax
mov dword [esi + 0x34], eax
mov dword [esi + 0xc], eax
jmp 0x103b15b
push 7
push 0x1009914
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103adff
cmp dword [esi + 0x38], eax
je 0x103adb3
push 0x10098d8
push 0x10098b4
jmp 0x103a8d6
lea ebx, [esi + 0x58]
add edi, 0xe
push edi
mov ecx, ebx
mov dword [esi + 0x38], 1
call fcn.01031649
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103addf
push 0x1009868
push 0x1009840
jmp 0x103a8d6
push ebx
call fcn.01043b02
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103b15b
push 0x10097f8
push 0x10097d4
jmp 0x103ad05
push 0x10097c4
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103ae1c
push 0x1009770
push 0x1009748
jmp 0x103a8d6
push 9
push 0x1009734
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103ae91
cmp dword [esi + 0x3c], eax
je 0x103ae45
push 0x10096f4
push 0x10096d0
jmp 0x103a8d6
lea ebx, [esi + 0x5c]
add edi, 0x12
push edi
mov ecx, ebx
mov dword [esi + 0x3c], 1
call fcn.01031649
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103ae71
push 0x1009680
push 0x100965c
jmp 0x103a8d6
push ebx
call fcn.01043b02
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103b15b
push 0x1009610
push 0x10095ec
jmp 0x103ad05
push 0x10095d8
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103aeae
push 0x1009580
push 0x1009558
jmp 0x103a8d6
push 0x1009534
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103aedc
cmp dword [esi + 0x40], eax
je 0x103aed0
push 0x10094a0
push 0x1009478
jmp 0x103a8d6
mov dword [esi + 0x40], 1
jmp 0x103b15b
push 0x1009454
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103af0a
cmp dword [esi + 0x44], eax
je 0x103aefe
push 0x10093c0
push 0x1009398
jmp 0x103a8d6
mov dword [esi + 0x44], 1
jmp 0x103b15b
push 0x1009374
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103af38
cmp dword [esi + 0x48], eax
je 0x103af2c
push 0x10092e0
push 0x10092bc
jmp 0x103a8d6
mov dword [esi + 0x48], 1
jmp 0x103b15b
push 0x100929c
push edi
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x103af66
cmp dword [ebp - 0x24], eax
je 0x103af5a
push 0x1009250
push 0x1009228
jmp 0x103a8d6
mov dword [ebp - 0x24], 1
jmp 0x103b15b
push 9
push 0x1009214
push edi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103afdb
cmp dword [esi + 0x4c], eax
je 0x103af8f
push 0x10091d4
push 0x10091b0
jmp 0x103a8d6
lea ebx, [esi + 0x60]
add edi, 0x12
push edi
mov ecx, ebx
mov dword [esi + 0x4c], 1
call fcn.01031649
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x103afbb
push 0x1009160
push 0x100913c
jmp 0x103a8d6
push ebx
call fcn.01043b02
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x103b15b
push 0x10090f0
push 0x10090cc
jmp 0x103ad05
push 0x10090b8
push edi
call ebx
test eax, eax
pop ecx
mov eax, 0x80070057
pop ecx
mov dword [ebp - 0x14], eax
jne 0x103b000
push 0x1009060
push 0x1009038
jmp 0x103a8de
push 0x1009014
push 0x1008ff0
jmp 0x103a8de
xor eax, eax
cmp dword [esi + 0x30], eax
je 0x103b025
push 0x100a0b8
push 0x1008fcc
jmp 0x103a8d6
cmp dword [esi + 0x2c], eax
je 0x103b039
push 0x100a054
push 0x1008fa8
jmp 0x103a8d6
cmp dword [esi + 0x24], eax
je 0x103b04d
push 0x1009fe8
push 0x1008f84
jmp 0x103a8d6
cmp dword [esi + 0x28], eax
je 0x103b061
push 0x1009f78
push 0x1008f60
jmp 0x103a8d6
cmp dword [esi + 0x10], eax
je 0x103b075
push 0x1009f08
push 0x1008f3c
jmp 0x103a8d6
cmp dword [esi + 0x20], eax
je 0x103b089
push 0x1009e90
push 0x1008f18
jmp 0x103a8d6
cmp dword [esi + 0x18], eax
je 0x103b09d
push 0x1009e18
push 0x1008ef4
jmp 0x103a8d6
cmp dword [esi + 0xc], eax
je 0x103b0b1
push 0x1009db0
push 0x1008ed0
jmp 0x103a8d6
cmp dword [esi + 8], eax
je 0x103b0c5
push 0x1009d40
push 0x1008eac
jmp 0x103a8d6
cmp dword [esi + 0x34], eax
je 0x103b0d9
push 0x1009cd8
push 0x1008e88
jmp 0x103a8d6
mov dword [esi + 0x30], 1
jmp 0x103b15b
mov dword [esi + 0x1c], 1
jmp 0x103b1ba
xor eax, eax
cmp dword [esi + 8], eax
je 0x103b104
push 0x1008e48
push 0x1008e28
jmp 0x103a8d6
cmp dword [esi + 0x18], eax
je 0x103b118
push 0x1008dc8
push 0x1008da4
jmp 0x103a8d6
cmp dword [esi + 0x10], eax
je 0x103b12c
push 0x1008d48
push 0x1008d28
jmp 0x103a8d6
cmp dword [esi + 0x20], eax
je 0x103b140
push 0x1008cc8
push 0x1008ca8
jmp 0x103a8d6
cmp dword [esi + 0x30], eax
je 0x103b154
push 0x100a668
push 0x1008c88
jmp 0x103a8d6
mov dword [esi + 8], 1
inc dword [ebp - 0x20]
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
xor edi, edi
inc edi
jmp 0x103a824
push 0x1008c28
push 0x1008c00
jmp 0x103a8d6
cmp dword [ebp - 0x24], 0
je 0x103b1b8
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 0x103b1c3
and dword [esi], 0
cmp dword [ebp - 0x2c], 0
je 0x103b1d8
cmp dword [ebp + 0xc], 0
je 0x103b1d8
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
call fcn.0104f3d4
ret 8