Function at 0x52c340
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], 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
je 0x52c7ae
movzx edi, word [eax]
test di, di
je 0x52c7ae
add eax, 2
xor edx, edx
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x52c3b3
mov word [ecx + edx*2], di
inc edx
mov dword [ebp - 0x48], edx
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
je 0x52c403
mov esi, eax
cmp di, 9
je 0x52c3e0
movzx eax, di
cmp eax, 0x20
je 0x52c3e0
cmp eax, 0x22
jne 0x52c3e5
not bl
and bl, 1
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
jne 0x52c3b3
jmp 0x52c403
test bl, 1
je 0x52c403
cmp edx, dword [ebp - 0x4c]
jne 0x52c3a0
lea ecx, [ebp - 0x50]
call fcn.005161c0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
jmp 0x52c3a0
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x52c400
cmp eax, 9
je 0x52c400
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push edx
push edi
push eax
call fcn.0052f440
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.00515f50
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov dword [ebp - 0x54], edi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
movzx ebx, word [esi]
test bx, bx
je 0x52c869
mov ecx, 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
jmp 0x52c4bb
test byte [ebp - 0x34], 1
jne 0x52c62d
movzx ebx, word [edi]
mov al, 1
mov dword [ebp - 0x34], eax
nop word cs:[eax + eax]
nop dword [eax]
test bx, bx
mov esi, edi
je 0x52c877
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x52c560
cmp eax, 9
je 0x52c4d8
cmp eax, 0x20
jne 0x52c5d0
test byte [ebp - 0x34], 1
jne 0x52c5d0
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0052f440
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jne 0x52c50a
lea ecx, [ebp - 0x2c]
call fcn.00515f50
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0
jmp 0x52c543
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x52c540
cmp ebx, 9
je 0x52c540
mov dword [ebp - 0x10], 0
jmp 0x52c4b0
cmp eax, 0x22
je 0x52c490
cmp eax, 0x5c
jne 0x52c5d0
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x52c58f
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x52c580
inc ebx
cmp ax, 0x22
jne 0x52c602
mov eax, dword [ebp - 0x1c]
mov esi, ebx
shr esi, 1
sub eax, dword [ebp - 0x10]
cmp eax, esi
jae 0x52c64d
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push esi
call fcn.005166d0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x52c656
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x52c5e9
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.005161c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], bx
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
movzx ebx, word [edi]
jmp 0x52c4b0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
cmp eax, ebx
jae 0x52c69f
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ebx
call fcn.005166d0
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x52c6a7
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x52c6eb
test ebx, ebx
je 0x52c877
mov dword [ebp - 0x34], 0
jmp 0x52c4b0
cmp ebx, 2
jb 0x52c762
mov ecx, dword [ebp - 0x20]
cmp ebx, 0x20
jb 0x52c750
mov edx, dword [ebp - 0x10]
mov eax, esi
movaps xmm0, xmmword [0x5fe270]
mov dword [ebp - 0x30], ecx
and eax, 0xfffffff0
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, eax
nop
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x52c680
cmp esi, eax
jne 0x52c74a
mov ecx, dword [ebp - 0x30]
jmp 0x52c762
test ebx, ebx
je 0x52c742
cmp ebx, 0x10
jb 0x52c730
mov esi, dword [ebp - 0x10]
movaps xmm0, xmmword [0x5fe270]
mov eax, ebx
mov dword [ebp - 0x30], ecx
and eax, 0xfffffff0
mov edx, eax
lea ecx, [ecx + esi*2 + 0x10]
add esi, eax
nop word [eax + eax]
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x52c6d0
cmp ebx, eax
mov dword [ebp - 0x10], esi
jne 0x52c72a
mov ecx, dword [ebp - 0x30]
jmp 0x52c742
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x52c704
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.005161c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
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, [esi + 4]
cmp word [esi + 2], 0
cmovne edi, eax
movzx ebx, word [edi]
jmp 0x52c4b0
mov ecx, dword [ebp - 0x30]
and ebx, 0xf
mov eax, dword [ebp - 0x10]
dec ebx
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x52c730
mov eax, dword [ebp - 0x10]
jmp 0x52c5f7
mov ecx, dword [ebp - 0x30]
and esi, 0xf
mov eax, dword [ebp - 0x10]
dec esi
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x52c750
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
je 0x52c5fa
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [ebp - 0x10]
setne byte [ebp - 0x30]
cmp eax, dword [ebp - 0x1c]
jne 0x52c794
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.005161c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov bl, al
mov eax, dword [ebp - 0x10]
lea edi, [edi + ebx*2]
mov word [ecx + eax*2], 0x22
jmp 0x52c5f3
lea ecx, [ebp - 0x44]
call fcn.0053b1f0
movzx ecx, byte [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
cmp cl, 2
jne 0x52c81c
cmp al, 3
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 1
jne 0x52c839
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x52c80c
cmp dword [edi + 8], 9
jb 0x52c7fe
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x52c839
movzx edi, word [ebp - 0x37]
mov ch, byte [ebp - 0x35]
mov edx, dword [ebp - 0x3c]
mov word [ebp - 0x13], di
mov byte [ebp - 0x11], ch
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], cl
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.00515f50
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x18]
mov eax, edi
inc edi
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov ebx, dword [ebp - 0x28]
jmp 0x52c8b9
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x52c8d4
mov eax, dword [ebp - 0x34]
and al, 1
jne 0x52c8d4
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
je 0x52c8a3
push dword [ebp - 0x20]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x4c], 0
je 0x52c8b9
push dword [ebp - 0x54]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
shl edi, 4
add edi, esi
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, eax
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0052f440
add esp, 0xc
mov edi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x28]
jne 0x52c8fe
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.00515f50
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x3c]
mov eax, edi
inc edi
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], 0
jne 0x52c893
jmp 0x52c8a3