Function at 0x45bb90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x46c9a0
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 - 0x40], 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
je 0x45c0ed
movzx esi, word [eax]
test si, si
je 0x45c0ed
xor edx, edx
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
test si, si
jne 0x45bc30
jmp 0x45bca3
mov word [ecx + edx*2], si
inc edx
mov dword [ebp - 0x5c], edx
movzx esi, word [eax]
test si, si
je 0x45bca3
add eax, 2
cmp si, 9
je 0x45bc60
cmp si, 0x20
je 0x45bc60
cmp si, 0x22
jne 0x45bc65
movzx esi, word [eax]
not bl
and bl, 1
test si, si
jne 0x45bc30
jmp 0x45bca3
test bl, 1
je 0x45bca3
cmp edx, dword [ebp - 0x60]
jne 0x45bc20
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x1e], si
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 1
call fcn.0045a200
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
movzx esi, word [ebp - 0x1e]
mov ebx, dword [ebp - 0x28]
jmp 0x45bc20
add eax, 2
movzx ecx, word [eax]
cmp cx, 0x20
je 0x45bca0
cmp cx, 9
je 0x45bca0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x50]
push edx
push eax
push ecx
call fcn.004603d0
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x3c]
jne 0x45bce7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 5
call fcn.0045a0c0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
lea ecx, [edx + edx*2]
movaps xmm1, xmmword [0x4b0b00]
inc edx
mov edi, 2
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x50]
movsd qword [eax + ecx*4], xmm0
mov dword [ebp - 0x38], edx
xor edx, edx
xor eax, eax
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x45bd51
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x4b0b00]
mov bl, byte [ebp - 0x1e]
movzx eax, word [ebp - 0x28]
mov edi, dword [ebp - 0x34]
mov word [edi + edx*2], ax
inc edx
mov dword [ebp - 0x2c], edx
mov eax, ebx
mov ebx, eax
movzx eax, word [esi]
test ax, ax
je 0x45c160
mov ecx, esi
add esi, 2
cmp ax, 0x21
jg 0x45be20
cmp ax, 9
je 0x45bd7e
cmp ax, 0x20
jne 0x45bed0
test bl, bl
jne 0x45bed0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 2
push edx
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004603d0
add esp, 0xc
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x3c]
jne 0x45bdc1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 3
call fcn.0045a0c0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
lea ecx, [edx + edx*2]
movaps xmm1, xmmword [0x4b0b00]
mov bl, byte [ebp - 0x1e]
mov edi, dword [ebp - 0x28]
inc edx
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x50]
movsd qword [eax + ecx*4], xmm0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], 0
jmp 0x45be03
add esi, 2
movzx eax, word [esi]
cmp ax, 0x20
je 0x45be00
cmp ax, 9
je 0x45be00
xor edx, edx
mov eax, ebx
jmp 0x45bd51
cmp ax, 0x22
je 0x45bef7
cmp ax, 0x5c
jne 0x45bed0
movzx eax, word [esi]
mov dword [ebp - 0x28], edi
mov edi, ecx
xor ecx, ecx
cmp ax, 0x5c
jne 0x45be5f
xor ecx, ecx
nop word cs:[eax + eax]
movzx eax, word [edi + ecx*2 + 4]
add esi, 2
inc ecx
cmp ax, 0x5c
je 0x45be50
inc ecx
cmp ax, 0x22
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x54], ecx
jne 0x45bf21
mov eax, dword [ebp - 0x30]
mov edi, ecx
shr edi, 1
mov dword [ebp - 0x58], edi
sub eax, edx
cmp eax, edi
mov eax, edi
jae 0x45bf6b
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push eax
call fcn.0047f980
add esp, 4
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movaps xmm1, xmmword [0x4b0b00]
mov bl, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
lea esi, [edi + edx*2]
cmp ecx, 0x20
jae 0x45bf7f
mov ecx, esi
jmp 0x45bfc0
cmp edx, dword [ebp - 0x30]
jne 0x45bd44
lea ecx, [ebp - 0x34]
mov word [ebp - 0x28], ax
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 2
call fcn.0045a200
jmp 0x45bd30
mov al, 1
test bl, bl
je 0x45bd51
mov dword [ebp - 0x28], ecx
movzx ecx, word [esi]
cmp cx, 0x22
je 0x45c096
xor eax, eax
test cx, cx
jne 0x45bd51
jmp 0x45c1c4
mov eax, dword [ebp - 0x30]
sub eax, edx
cmp eax, ecx
jae 0x45c02b
mov eax, ecx
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x34]
push eax
call fcn.0047f980
add esp, 4
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
movaps xmm1, xmmword [0x4b0b00]
mov ecx, dword [ebp - 0x54]
lea esi, [edi + edx*2]
cmp ecx, 0x10
jae 0x45c042
mov bl, byte [ebp - 0x1e]
mov eax, ecx
mov ecx, esi
jmp 0x45c080
mov edi, dword [ebp - 0x34]
cmp ecx, 2
jb 0x45bfd4
lea esi, [edi + edx*2]
cmp ecx, 0x20
jb 0x45bebe
mov ebx, eax
mov dword [ebp - 0x28], edi
and eax, 0xf
and ebx, 0xfffffff0
lea ecx, [esi + ebx*2]
add esi, 0x10
mov edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [esi - 0x10], xmm1
movups xmmword [esi], xmm1
add esi, 0x20
add edi, 0xfffffff0
jne 0x45bfa0
cmp dword [ebp - 0x58], ebx
mov bl, byte [ebp - 0x1e]
mov edi, dword [ebp - 0x28]
je 0x45bfcb
nop word [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x45bfc0
add edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x54]
test cl, 1
mov eax, ebx
mov dword [ebp - 0x2c], edx
je 0x45bd51
xor eax, eax
cmp word [esi], 0
setne cl
cmp edx, dword [ebp - 0x30]
jne 0x45c01a
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], 2
call fcn.0045a200
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x4b0b00]
mov bl, byte [ebp - 0x1e]
mov cl, byte [ebp - 0x28]
xor eax, eax
mov al, cl
mov word [edi + edx*2], 0x22
inc edx
lea esi, [esi + eax*2]
jmp 0x45bd4c
test ecx, ecx
je 0x45c0e2
mov edi, dword [ebp - 0x28]
lea esi, [edi + edx*2]
cmp ecx, 0x10
jb 0x45bf5f
mov ebx, ecx
mov eax, ecx
mov dword [ebp - 0x28], edi
and ebx, 0xfffffff0
and eax, 0xf
lea ecx, [esi + ebx*2]
add esi, 0x10
mov edi, ebx
nop word [eax + eax]
movups xmmword [esi - 0x10], xmm1
movups xmmword [esi], xmm1
add esi, 0x20
add edi, 0xfffffff0
jne 0x45c060
cmp dword [ebp - 0x54], ebx
mov bl, byte [ebp - 0x1e]
mov edi, dword [ebp - 0x28]
je 0x45c08b
nop word [eax + eax]
mov word [ecx], 0x5c
add ecx, 2
dec eax
jne 0x45c080
add edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x24]
jmp 0x45bd4c
cmp edx, dword [ebp - 0x30]
jne 0x45c0c0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x1e], bl
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 2
call fcn.0045a200
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
movaps xmm1, xmmword [0x4b0b00]
mov bl, byte [ebp - 0x1e]
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov word [edi + edx*2], 0x22
inc edx
mov dword [ebp - 0x2c], edx
cmp word [eax + 2], 0
lea eax, [eax + 4]
cmovne esi, eax
mov eax, ebx
jmp 0x45bd51
mov bl, byte [ebp - 0x1e]
mov edi, dword [ebp - 0x28]
jmp 0x45bd4c
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x10], 0
call fcn.00468b20
cmp dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
je 0x45c184
cmp al, 3
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jne 0x45c190
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x10], 7
push eax
mov dword [ebp - 0x24], edx
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45c151
push dword [eax + 8]
push ecx
push dword [esi]
call fcn.00406c80
add esp, 0xc
push 4
push 0xc
push esi
call fcn.00406c80
add esp, 0xc
jmp 0x45c190
test edx, edx
jne 0x45c1c4
test bl, bl
jne 0x45c1c4
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
test eax, eax
jne 0x45c220
jmp 0x45c230
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x10], 6
call fcn.0045a0c0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
lea eax, [esi + esi*2]
inc esi
mov dword [edi + eax*4 + 8], ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax*4], xmm0
mov ebx, dword [ebp - 0x3c]
jmp 0x45c249
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 2
push edx
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004603d0
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x3c]
jne 0x45c1fb
lea ecx, [ebp - 0x40]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.0045a0c0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x24]
inc esi
mov dword [edi + eax*4 + 8], ecx
movsd xmm0, qword [ebp - 0x50]
movsd qword [edi + eax*4], xmm0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
test eax, eax
je 0x45c230
add eax, eax
je 0x45c230
push 2
push eax
push edx
call fcn.00406c80
add esp, 0xc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x45c249
add eax, eax
je 0x45c249
push 2
push eax
push dword [ebp - 0x64]
call fcn.00406c80
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [esi + esi*2]
lea ecx, [edi + ecx*4]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword fs:[0], edx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret