Function at 0x485360
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
call sub.kernel32.dll_GetCommandLineW
test eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], 0
je 0x485796
movzx esi, word [eax]
test si, si
je 0x485796
add eax, 2
xor ebx, ebx
mov ecx, 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10], 0
jmp 0x4853d6
mov ecx, dword [ebp - 0x4c]
mov word [ecx + ebx*2], si
inc ebx
mov dword [ebp - 0x48], ebx
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
je 0x485423
mov edi, eax
cmp si, 9
je 0x485400
movzx eax, si
cmp eax, 0x20
je 0x485400
cmp eax, 0x22
jne 0x485406
mov eax, dword [ebp - 0x10]
not al
and al, 1
mov dword [ebp - 0x10], eax
jmp 0x4853cb
test byte [ebp - 0x10], 1
je 0x485423
cmp ebx, dword [ebp - 0x50]
jne 0x4853c3
lea ecx, [ebp - 0x50]
call fcn.0046fec0
jmp 0x4853c0
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x485420
cmp eax, 9
je 0x485420
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
push ebx
mov dword [ebp - 0x54], eax
push eax
push ecx
call fcn.00491170
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.0046fbb0
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 0
movzx ebx, word [edi]
test bx, bx
je 0x48583f
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x34], 0
jmp 0x4854d1
test byte [ebp - 0x34], 1
jne 0x48562c
mov edi, dword [ebp - 0x14]
mov al, 1
mov dword [ebp - 0x34], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, word [esi]
mov dword [ebp - 0x14], edi
test bx, bx
mov edi, esi
je 0x48582f
movzx eax, bx
lea esi, [edi + 2]
cmp eax, 0x21
jg 0x485570
cmp eax, 9
je 0x4854ee
cmp eax, 0x20
jne 0x4855e0
test byte [ebp - 0x34], 1
jne 0x4855e0
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00491170
add esp, 0xc
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x2c]
jne 0x48551e
lea ecx, [ebp - 0x2c]
call fcn.0046fbb0
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov ecx, edi
inc edi
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], 0
jmp 0x485553
add esi, 2
movzx ebx, word [esi]
cmp ebx, 0x20
je 0x485550
cmp ebx, 9
je 0x485550
mov dword [ebp - 0x10], 0
jmp 0x4854c6
cmp eax, 0x22
je 0x4854a1
cmp eax, 0x5c
jne 0x4855e0
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x48559f
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [edi + ebx*2 + 4]
add esi, 2
inc ebx
cmp ax, 0x5c
je 0x485590
lea ecx, [ebx + 1]
cmp ax, 0x22
jne 0x485606
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov edi, ecx
shr edi, 1
sub eax, edx
cmp eax, edi
jae 0x48564c
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x20]
push edi
call fcn.0046f8c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
jmp 0x485655
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x4855f0
lea ecx, [ebp - 0x20]
call fcn.0046fec0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov word [edi + eax*2], bx
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
jmp 0x4854c0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
sub eax, edx
cmp eax, ecx
mov eax, ecx
jae 0x485667
mov ebx, eax
lea ecx, [ebp - 0x20]
push eax
call fcn.0046f8c0
add esp, 4
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, ebx
jmp 0x48566e
movzx ebx, word [esi]
cmp ebx, 0x22
je 0x485761
test ebx, ebx
je 0x48585d
mov dword [ebp - 0x34], 0
jmp 0x4854c6
cmp ecx, 2
jb 0x48571d
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x20
mov dword [ebp - 0x14], eax
jae 0x4856c7
mov eax, edi
jmp 0x485704
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x4856bc
cmp eax, 0x10
jb 0x4856b0
movaps xmm0, xmmword [0x53f730]
mov ecx, eax
mov dword [ebp - 0x30], eax
and eax, 0xf
mov dword [ebp - 0x14], edi
lea ebx, [edi + edx*2 + 0x10]
and ecx, 0xfffffff0
add edx, ecx
mov edi, ecx
movups xmmword [ebx - 0x10], xmm0
movups xmmword [ebx], xmm0
add ebx, 0x20
add edi, 0xfffffff0
jne 0x485690
cmp dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x14]
je 0x4856bc
nop word [eax + eax]
mov ecx, edx
mov word [edi + edx*2], 0x5c
inc edx
dec eax
jne 0x4856b0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
jmp 0x4854c0
mov ecx, edi
mov edx, dword [ebp - 0x10]
movaps xmm0, xmmword [0x53f730]
mov eax, edi
and ecx, 0xfffffff0
and eax, 0xf
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + edx*2 + 0x10]
mov ecx, dword [ebp - 0x30]
add dword [ebp - 0x10], ecx
nop dword [eax + eax]
movups xmmword [edx - 0x10], xmm0
movups xmmword [edx], xmm0
add edx, 0x20
add ecx, 0xfffffff0
jne 0x4856f0
cmp edi, dword [ebp - 0x30]
je 0x48571d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
nop word [eax + eax]
mov word [edx + ecx*2], 0x5c
inc ecx
dec eax
jne 0x485710
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
jne 0x485759
xor ebx, ebx
cmp word [esi], 0
setne byte [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x48573f
lea ecx, [ebp - 0x20]
call fcn.0046fec0
movzx eax, byte [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov bl, al
mov eax, dword [ebp - 0x10]
lea esi, [esi + ebx*2]
mov word [edi + eax*2], 0x22
jmp 0x4855fa
mov edi, dword [ebp - 0x14]
jmp 0x4854c0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x485771
lea ecx, [ebp - 0x20]
call fcn.0046fec0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x22
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
lea eax, [edi + 4]
cmp word [edi + 2], 0
mov edi, ecx
cmovne esi, eax
jmp 0x4854c0
lea ecx, [ebp - 0x44]
call fcn.004a1bd0
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
cmp esi, 0x80000000
jne 0x4857fd
cmp bl, 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 1
jne 0x4857f4
mov ebx, dword [edi + 4]
mov esi, dword [edi]
mov eax, dword [ebx]
test eax, eax
je 0x4857d3
push esi
call eax
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x4857e7
push dword [ebx + 8]
push eax
push esi
call fcn.0040d1e0
add esp, 0xc
push 4
push 0xc
push edi
call fcn.0040d1e0
add esp, 0xc
mov ebx, 1
xor esi, esi
jmp 0x485806
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0046fbb0
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov esi, 1
mov ebx, dword [ebp - 0x2c]
jmp 0x4858cf
test byte [ebp - 0x34], 1
mov ecx, dword [ebp - 0x10]
sete al
test ecx, ecx
je 0x485847
jmp 0x485860
mov al, 1
xor ecx, ecx
test ecx, ecx
jne 0x485860
test al, al
je 0x485860
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x4858a8
jmp 0x4858b8
mov ecx, dword [ebp - 0x10]
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call fcn.00491170
add esp, 0xc
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x2c]
jne 0x485880
lea ecx, [ebp - 0x2c]
call fcn.0046fbb0
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
test eax, eax
je 0x4858b8
add eax, eax
push 2
push eax
push dword [ebp - 0x1c]
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4858cf
add eax, eax
push 2
push eax
push dword [ebp - 0x54]
call fcn.0040d1e0
add esp, 0xc
mov eax, dword [ebp + 8]
shl esi, 4
add esi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret