Function at 0x4c37c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
call sub.kernel32.dll_GetCommandLineW
test eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 4
movlps qword [ebp - 0x28], xmm0
je 0x4c3c0e
movzx esi, word [eax]
test si, si
je 0x4c3c0e
xorps xmm0, xmm0
add eax, 2
xor edx, edx
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x54], 2
movlps qword [ebp - 0x50], xmm0
jmp 0x4c3823
mov word [ecx + edx*2], si
inc edx
mov dword [ebp - 0x4c], edx
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
je 0x4c3873
mov edi, eax
cmp si, 9
je 0x4c3850
movzx eax, si
cmp eax, 0x20
je 0x4c3850
cmp eax, 0x22
jne 0x4c3855
not bl
and bl, 1
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
jne 0x4c3823
jmp 0x4c3873
test bl, 1
je 0x4c3873
cmp edx, dword [ebp - 0x50]
jne 0x4c3810
lea ecx, [ebp - 0x54]
call fcn.004b1de0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
jmp 0x4c3810
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x4c3870
cmp eax, 9
je 0x4c3870
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x40]
push edx
push esi
push eax
call fcn.004c5b70
add esp, 0xc
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.004b1f30
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov dword [ebp - 0x5c], esi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx], xmm0
xorps xmm0, xmm0
movsd qword [eax + edx + 8], xmm1
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], ecx
movlps qword [ebp - 0x18], xmm0
movzx ebx, word [edi]
test bx, bx
je 0x4c3cc6
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x30], 0
jmp 0x4c3909
mov edx, dword [ebp - 0x1c]
mov word [edx + ecx*2], bx
inc ecx
mov dword [ebp - 0x14], ecx
movzx ebx, word [esi]
test bx, bx
mov edi, esi
je 0x4c3ccf
movzx eax, bx
lea esi, [edi + 2]
cmp eax, 0x21
jg 0x4c39b0
cmp eax, 9
je 0x4c3926
cmp eax, 0x20
jne 0x4c3a20
test byte [ebp - 0x30], 1
jne 0x4c3a20
mov eax, dword [ebp - 0x1c]
push ecx
mov edi, eax
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004c5b70
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jne 0x4c3956
lea ecx, [ebp - 0x2c]
call fcn.004b1f30
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebp - 0x24], edx
mov edx, edi
mov dword [ebp - 0x14], 0
jmp 0x4c3993
add esi, 2
movzx ebx, word [esi]
cmp ebx, 0x20
je 0x4c3990
cmp ebx, 9
je 0x4c3990
xor ecx, ecx
jmp 0x4c38fe
cmp eax, 0x22
je 0x4c3a40
cmp eax, 0x5c
jne 0x4c3a20
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x4c39df
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [edi + ebx*2 + 4]
add esi, 2
inc ebx
cmp ax, 0x5c
je 0x4c39d0
inc ebx
cmp ax, 0x22
jne 0x4c3a53
mov eax, dword [ebp - 0x18]
mov edx, ebx
shr edx, 1
mov dword [ebp - 0x20], edx
sub eax, ecx
cmp eax, edx
jae 0x4c3a92
mov eax, edx
mov edx, ecx
lea ecx, [ebp - 0x1c]
push eax
call fcn.004b23c0
add esp, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
jmp 0x4c3a9e
cmp ecx, dword [ebp - 0x18]
jne 0x4c38f0
mov edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004b1de0
mov ecx, dword [ebp - 0x14]
jmp 0x4c38f0
test byte [ebp - 0x30], 1
jne 0x4c3a72
movzx ebx, word [esi]
mov al, 1
mov dword [ebp - 0x30], eax
jmp 0x4c38fe
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp eax, ebx
jae 0x4c3ab4
mov edx, ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.004b23c0
add esp, 4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
jmp 0x4c3ab8
movzx ebx, word [esi]
cmp ebx, 0x22
je 0x4c3bdf
test ebx, ebx
je 0x4c3ccf
mov dword [ebp - 0x30], 0
jmp 0x4c38fe
mov edx, dword [ebp - 0x1c]
cmp ebx, 2
jb 0x4c3ba0
lea eax, [edx + ecx*2]
cmp ebx, 0x20
jae 0x4c3b37
mov edi, ecx
mov ecx, dword [ebp - 0x20]
jmp 0x4c3b90
test ebx, ebx
je 0x4c3b2f
lea eax, [edx + ecx*2]
cmp ebx, 0x10
jae 0x4c3ac6
mov edi, ecx
mov ecx, ebx
jmp 0x4c3b20
mov dword [ebp - 0x44], edx
mov edx, ebx
movaps xmm0, xmmword [0x566550]
mov dword [ebp - 0x48], ecx
lea edi, [eax + 0x10]
and edx, 0xfffffff0
lea ecx, [edx + edx]
mov dword [ebp - 0x20], ecx
mov ecx, edx
nop word cs:[eax + eax]
nop dword [eax]
movups xmmword [edi - 0x10], xmm0
movups xmmword [edi], xmm0
add edi, 0x20
add ecx, 0xfffffff0
jne 0x4c3af0
cmp ebx, edx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
je 0x4c3b2b
add eax, dword [ebp - 0x20]
mov ecx, ebx
and ecx, 0xf
nop word cs:[eax + eax]
nop dword [eax + eax]
mov word [eax], 0x5c
add eax, 2
dec ecx
jne 0x4c3b20
mov ecx, edi
add ecx, ebx
mov dword [ebp - 0x14], ecx
jmp 0x4c38fb
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x20]
movaps xmm0, xmmword [0x566550]
mov dword [ebp - 0x48], ecx
lea edi, [eax + 0x10]
and edx, 0xfffffff0
lea ecx, [edx + edx]
mov dword [ebp - 0x58], ecx
mov ecx, edx
nop word cs:[eax + eax]
nop
movups xmmword [edi - 0x10], xmm0
movups xmmword [edi], xmm0
add edi, 0x20
add ecx, 0xfffffff0
jne 0x4c3b60
cmp dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
je 0x4c3b9b
mov ecx, dword [ebp - 0x20]
add eax, dword [ebp - 0x58]
and ecx, 0xf
nop word cs:[eax + eax]
nop dword [eax]
mov word [eax], 0x5c
add eax, 2
dec ecx
jne 0x4c3b90
mov ecx, edi
add ecx, dword [ebp - 0x20]
test bl, 1
mov dword [ebp - 0x14], ecx
je 0x4c38fb
xor ebx, ebx
cmp word [esi], 0
setne byte [ebp - 0x20]
cmp ecx, dword [ebp - 0x18]
jne 0x4c3bcb
mov edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004b1de0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ebp - 0x20]
mov word [edx + ecx*2], 0x22
mov bl, al
lea esi, [esi + ebx*2]
jmp 0x4c38f7
cmp ecx, dword [ebp - 0x18]
jne 0x4c3bf1
mov edx, ecx
lea ecx, [ebp - 0x1c]
call fcn.004b1de0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 4]
mov word [edx + ecx*2], 0x22
inc ecx
mov dword [ebp - 0x14], ecx
cmp word [edi + 2], 0
cmovne esi, eax
jmp 0x4c38fb
lea ecx, [ebp - 0x40]
call fcn.004d0010
movzx ecx, byte [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
cmp cl, 2
jne 0x4c3c79
cmp al, 3
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 1
movlps qword [ebp - 0x18], xmm0
mov byte [ebp - 0x10], 1
jne 0x4c3c96
mov eax, dword [edi + 4]
mov eax, dword [eax]
push dword [edi]
call eax
add esp, 4
mov ecx, dword [edi + 4]
cmp dword [ecx + 4], 0
je 0x4c3c69
mov eax, dword [edi]
cmp dword [ecx + 8], 9
jb 0x4c3c5b
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x5880e0]
call sub.kernel32.dll_HeapFree
push edi
push 0
push dword [0x5880e0]
call sub.kernel32.dll_HeapFree
jmp 0x4c3c96
movzx esi, word [ebp - 0x33]
mov ch, byte [ebp - 0x31]
mov edx, dword [ebp - 0x38]
mov word [ebp - 0xf], si
mov byte [ebp - 0xd], ch
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x10], cl
lea ecx, [ebp - 0x2c]
xor edx, edx
call fcn.004b1f30
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x1c]
movsd xmm1, qword [ebp - 0x14]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x28]
jmp 0x4c3d0f
mov dword [ebp - 0x30], 0
xor ecx, ecx
test ecx, ecx
jne 0x4c3d2a
mov eax, dword [ebp - 0x30]
and al, 1
jne 0x4c3d2a
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 0
je 0x4c3cf9
push dword [ebp - 0x1c]
push 0
push dword [0x5880e0]
call sub.kernel32.dll_HeapFree
cmp dword [ebp - 0x50], 0
je 0x4c3d0f
push dword [ebp - 0x5c]
push 0
push dword [0x5880e0]
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp + 8]
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
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push eax
call fcn.004c5b70
add esp, 0xc
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x28]
jne 0x4c3d4f
lea ecx, [ebp - 0x2c]
mov edx, esi
call fcn.004b1f30
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 0
jne 0x4c3ce9
jmp 0x4c3cf9