Function at 0x40b6c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x41a360
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
je 0x40bbfe
movzx edi, word [eax]
test di, di
je 0x40bbfe
xor edx, edx
mov esi, 2
xor ebx, ebx
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
test di, di
jne 0x40b770
jmp 0x40b7d3
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
movzx edi, word [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov word [esi + edx*2], di
inc edx
mov dword [ebp - 0x60], edx
movzx edi, word [eax]
test di, di
je 0x40b7d3
add eax, 2
cmp di, 9
je 0x40b7a0
movzx ecx, di
cmp ecx, 0x20
je 0x40b7a0
cmp ecx, 0x22
jne 0x40b7a5
movzx edi, word [eax]
not bl
and bl, 1
test di, di
jne 0x40b770
jmp 0x40b7d3
test bl, 1
je 0x40b7d3
cmp edx, dword [ebp - 0x64]
jne 0x40b760
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x24], di
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 2
call fcn.0040a370
jmp 0x40b750
add eax, 2
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x40b7d0
cmp ecx, 9
je 0x40b7d0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x58]
push edx
mov dword [ebp - 0x6c], eax
push eax
push ecx
call fcn.0040e830
add esp, 0xc
lea ecx, [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x10], 6
call fcn.0040a2d0
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
movaps xmm2, xmmword [str._]
mov edi, dword [ebp - 0x20]
mov esi, 2
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], 0
jmp 0x40b881
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x38]
mov word [esi + edx*2], ax
inc edx
mov dword [ebp - 0x30], edx
mov eax, ebx
mov ebx, eax
movzx eax, word [edi]
test eax, eax
je 0x40bc86
mov ecx, edi
add edi, 2
cmp eax, 0x21
jg 0x40b950
cmp eax, 9
je 0x40b8aa
cmp eax, 0x20
jne 0x40b9f0
test bl, bl
jne 0x40b9f0
mov eax, dword [ebp - 0x38]
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
push edx
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040e830
add esp, 0xc
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x40b8ed
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 5
call fcn.0040a2d0
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], 0
jmp 0x40b933
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x40b930
cmp eax, 9
je 0x40b930
xor edx, edx
mov eax, ebx
jmp 0x40b881
cmp eax, 0x22
je 0x40ba16
cmp eax, 0x5c
jne 0x40b9f0
movzx eax, word [edi]
mov byte [ebp - 0x24], bl
mov ebx, ecx
xor ecx, ecx
cmp ax, 0x5c
jne 0x40b98f
xor ecx, ecx
nop word cs:[eax + eax]
nop
movzx eax, word [ebx + ecx*2 + 4]
add edi, 2
inc ecx
cmp ax, 0x5c
je 0x40b980
inc ecx
cmp ax, 0x22
mov dword [ebp - 0x48], ecx
jne 0x40ba3e
mov eax, dword [ebp - 0x34]
mov ebx, ecx
shr ebx, 1
sub eax, edx
cmp eax, ebx
mov eax, ebx
movzx ebx, byte [ebp - 0x24]
jae 0x40ba83
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x5c], eax
push eax
call fcn.0042bba0
add esp, 4
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x5c]
jmp 0x40ba88
cmp edx, dword [ebp - 0x34]
jne 0x40b874
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.0040a370
jmp 0x40b860
mov al, 1
test bl, bl
je 0x40b881
mov dword [ebp - 0x28], ecx
movzx ecx, word [edi]
cmp ecx, 0x22
je 0x40bbb1
xor eax, eax
test ecx, ecx
jne 0x40b881
jmp 0x40bcfe
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x24]
sub eax, edx
cmp eax, ecx
jae 0x40bb3a
mov eax, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x38]
push eax
call fcn.0042bba0
add esp, 4
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
jmp 0x40bb42
cmp ecx, 2
jb 0x40badf
mov esi, dword [ebp - 0x38]
cmp ecx, 0x20
jb 0x40bad0
mov ebx, eax
lea ecx, [esi + edx*2 + 0x10]
mov dword [ebp - 0x5c], eax
and eax, 0xf
mov dword [ebp - 0x28], esi
and ebx, 0xfffffff0
add edx, ebx
mov dword [ebp - 0x20], edx
mov edx, ebx
nop dword [eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add ebx, 0xfffffff0
jne 0x40bab0
cmp dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
movzx ebx, byte [ebp - 0x24]
je 0x40badc
nop
mov ecx, edx
mov word [esi + edx*2], 0x5c
inc edx
dec eax
jne 0x40bad0
mov ecx, dword [ebp - 0x48]
test cl, 1
mov eax, ebx
mov dword [ebp - 0x30], edx
je 0x40b881
xor eax, eax
cmp word [edi], 0
setne cl
cmp edx, dword [ebp - 0x34]
jne 0x40bb27
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.0040a370
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
movzx ecx, byte [ebp - 0x28]
xor eax, eax
mov esi, dword [ebp - 0x38]
mov al, cl
lea edi, [edi + eax*2]
mov word [esi + edx*2], 0x22
jmp 0x40b87b
test ecx, ecx
je 0x40b87c
cmp ecx, 0x10
jae 0x40bb4b
mov eax, ecx
jmp 0x40bba0
mov ebx, ecx
mov eax, ecx
lea ecx, [esi + edx*2 + 0x10]
mov dword [ebp - 0x28], esi
and ebx, 0xfffffff0
and eax, 0xf
add edx, ebx
mov dword [ebp - 0x20], edx
mov edx, ebx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add ebx, 0xfffffff0
jne 0x40bb70
cmp dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
movzx ebx, byte [ebp - 0x24]
je 0x40b87c
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edx
mov word [esi + edx*2], 0x5c
inc edx
dec eax
jne 0x40bba0
jmp 0x40b87c
cmp edx, dword [ebp - 0x34]
jne 0x40bbdc
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 3
call fcn.0040a370
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
movaps xmm2, xmmword [str._]
movzx ebx, byte [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov word [esi + edx*2], 0x22
inc edx
mov dword [ebp - 0x30], edx
cmp word [eax + 2], 0
lea eax, [eax + 4]
cmovne edi, eax
mov eax, ebx
jmp 0x40b881
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], 0
call fcn.00416870
movzx ecx, byte [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
cmp cl, 2
jne 0x40bca7
cmp al, 3
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 1
jne 0x40bcc4
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0x24], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
test eax, eax
je 0x40bc75
push dword [ecx + 8]
push eax
push dword [ebp - 0x28]
call fcn.004080a0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x20]
call fcn.004080a0
add esp, 0xc
jmp 0x40bcc4
test edx, edx
jne 0x40bcfe
test bl, bl
jne 0x40bcfe
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x40]
test eax, eax
jne 0x40bd5a
jmp 0x40bd6a
movzx esi, word [ebp - 0x4b]
mov ch, byte [ebp - 0x49]
mov edx, dword [ebp - 0x50]
mov word [ebp - 0x2b], si
mov byte [ebp - 0x29], ch
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edx
mov byte [ebp - 0x2c], cl
lea ecx, [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x10], 1
call fcn.0040a2d0
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x38]
movsd xmm1, qword [ebp - 0x30]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x40]
jmp 0x40bd81
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], 3
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040e830
add esp, 0xc
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x40]
jne 0x40bd32
lea ecx, [ebp - 0x44]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.0040a2d0
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x44]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x40]
test eax, eax
je 0x40bd6a
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.004080a0
add esp, 0xc
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x40bd81
add eax, eax
push 2
push eax
push dword [ebp - 0x6c]
call fcn.004080a0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
shl esi, 4
add esi, edi
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret