Function at 0x4cb150
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], 0x4edb70
mov dword [ebp - 0x6c], ecx
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], 0
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 0
je 0x4cb67e
movzx edi, word [eax]
test di, di
je 0x4cb67e
xor esi, esi
mov ecx, 2
xor ebx, ebx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 0
test di, di
jne 0x4cb200
jmp 0x4cb263
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
movzx edi, word [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov word [ecx + esi*2], di
inc esi
mov dword [ebp - 0x60], esi
movzx edi, word [eax]
test di, di
je 0x4cb263
add eax, 2
cmp di, 9
je 0x4cb230
movzx edx, di
cmp edx, 0x20
je 0x4cb230
cmp edx, 0x22
jne 0x4cb235
movzx edi, word [eax]
not bl
and bl, 1
test di, di
jne 0x4cb200
jmp 0x4cb263
test bl, 1
je 0x4cb263
cmp esi, dword [ebp - 0x68]
jne 0x4cb1f0
lea ecx, [ebp - 0x68]
mov edx, esi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x24], di
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
call fcn.004c6980
jmp 0x4cb1e0
add eax, 2
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x4cb260
cmp ecx, 9
je 0x4cb260
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x58]
push esi
call fcn.004c7f70
add esp, 4
lea ecx, [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x10], 5
call fcn.004cb910
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x50]
movaps xmm2, xmmword [0x511820]
mov esi, dword [ebp - 0x20]
xor ebx, ebx
xor edi, edi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
mov dword [ebp - 0x3c], ecx
mov ecx, 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0
movzx edx, word [esi]
mov dword [ebp - 0x24], ecx
lea ecx, [esi + 2]
add esi, 4
mov eax, esi
mov esi, ecx
mov ecx, dword [ebp - 0x24]
test dx, dx
je 0x4cb749
cmp dx, 0x22
jne 0x4cb330
test bl, bl
je 0x4cb470
movzx edx, word [esi]
test edx, edx
je 0x4cb759
add esi, 2
add eax, 2
xor ebx, ebx
cmp edx, 0x22
jne 0x4cb2f9
jmp 0x4cb4b9
movzx ecx, dx
cmp ecx, 9
je 0x4cb341
cmp ecx, 0x20
jne 0x4cb3e0
test bl, bl
jne 0x4cb477
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], edx
push edi
call fcn.004c7f70
add esp, 4
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x44]
jne 0x4cb382
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], 3
call fcn.004cb910
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
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 0x4cb3c3
add esi, 2
movzx edx, word [esi]
cmp edx, 0x20
je 0x4cb3c0
cmp edx, 9
je 0x4cb3c0
xor edi, edi
jmp 0x4cb2ec
cmp ecx, 0x5c
jne 0x4cb477
movzx ecx, word [esi]
xor edx, edx
cmp cx, 0x5c
jne 0x4cb412
xor edx, edx
nop word cs:[eax + eax]
movzx ecx, word [eax]
inc edx
add eax, 2
cmp cx, 0x5c
je 0x4cb400
add eax, 0xfffffffe
mov esi, eax
inc edx
cmp cx, 0x22
mov dword [ebp - 0x48], edx
jne 0x4cb4fe
mov eax, dword [ebp - 0x38]
mov ecx, edx
shr ecx, 1
sub eax, edi
cmp eax, ecx
mov eax, ecx
mov ecx, dword [ebp - 0x24]
jae 0x4cb53f
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x38]
mov edx, edi
mov dword [ebp - 0x5c], eax
push eax
call fcn.0050fc40
add esp, 4
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x5c]
jmp 0x4cb548
mov bl, 1
jmp 0x4cb2e6
cmp edi, dword [ebp - 0x38]
jne 0x4cb4a9
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x38]
mov edx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.004c6980
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov word [ecx + edi*2], dx
inc edi
mov dword [ebp - 0x30], edi
jmp 0x4cb2e6
cmp edi, dword [ebp - 0x38]
jne 0x4cb4df
lea ecx, [ebp - 0x38]
mov edx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.004c6980
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ecx, dword [ebp - 0x34]
lea eax, [esi - 2]
mov bl, 1
mov word [ecx + edi*2], 0x22
inc edi
mov dword [ebp - 0x30], edi
cmp word [esi - 2], 0
cmove esi, eax
jmp 0x4cb2e6
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
sub eax, edi
cmp eax, edx
jae 0x4cb559
mov eax, edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x38]
mov edx, edi
push eax
call fcn.0050fc40
add esp, 4
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x48]
jmp 0x4cb561
cmp edx, 2
jb 0x4cb621
mov ecx, edi
mov edi, dword [ebp - 0x34]
cmp edx, 0x20
jae 0x4cb5a1
mov edx, edi
jmp 0x4cb60c
test edx, edx
je 0x4cb5fa
cmp edx, 0x10
jb 0x4cb5f0
mov eax, edx
mov dword [ebp - 0x24], ecx
lea ecx, [ecx + edi*2 + 0x10]
and eax, 0xfffffff0
add edi, eax
mov edx, eax
nop word [eax + eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add edx, 0xfffffff0
jne 0x4cb580
mov edx, dword [ebp - 0x48]
cmp edx, eax
jne 0x4cb5db
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edi
jmp 0x4cb2e6
mov edx, ecx
mov dword [ebp - 0x5c], eax
and eax, 0xfffffff0
mov dword [ebp - 0x24], edi
lea ecx, [edi + ecx*2 + 0x10]
mov edi, edx
mov edx, eax
add edi, eax
nop word cs:[eax + eax]
movups xmmword [ecx - 0x10], xmm2
movups xmmword [ecx], xmm2
add ecx, 0x20
add edx, 0xfffffff0
jne 0x4cb5c0
mov ecx, dword [ebp - 0x5c]
cmp ecx, eax
jne 0x4cb602
mov ecx, dword [ebp - 0x24]
jmp 0x4cb61e
mov ecx, dword [ebp - 0x24]
and edx, 0xf
nop word cs:[eax + eax]
nop dword [eax + eax]
mov word [ecx + edi*2], 0x5c
inc edi
dec edx
jne 0x4cb5f0
mov dword [ebp - 0x30], edi
jmp 0x4cb2e6
mov edx, dword [ebp - 0x24]
mov eax, ecx
mov ecx, edi
and eax, 0xf
mov edi, ecx
nop
mov ecx, eax
mov word [edx + edi*2], 0x5c
inc edi
dec eax
jne 0x4cb610
mov ecx, edx
mov edx, dword [ebp - 0x48]
test dl, 1
mov dword [ebp - 0x30], edi
je 0x4cb2e6
xor eax, eax
cmp word [esi], 0
setne cl
cmp edi, dword [ebp - 0x38]
jne 0x4cb66b
mov byte [ebp - 0x24], cl
lea ecx, [ebp - 0x38]
mov edx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 2
call fcn.004c6980
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movaps xmm2, xmmword [0x511820]
mov ebx, dword [ebp - 0x28]
movzx ecx, byte [ebp - 0x24]
xor eax, eax
mov al, cl
mov ecx, dword [ebp - 0x34]
lea esi, [esi + eax*2]
mov word [ecx + edi*2], 0x22
jmp 0x4cb4b0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], 0
call fcn.004caf60
movzx ecx, byte [ebp - 0x4c]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
cmp cl, 2
jne 0x4cb6f2
cmp al, 3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 1
jne 0x4cb70f
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], 7
push eax
mov dword [ebp - 0x20], edi
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x4cb6e4
mov edx, dword [eax + 8]
mov ecx, dword [esi]
call fcn.00415e60
mov ecx, esi
mov edx, 4
call fcn.00415e60
jmp 0x4cb70f
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], 6
call fcn.004cb910
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
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 - 0x44]
jmp 0x4cb7d2
test edi, edi
jne 0x4cb759
test bl, bl
jne 0x4cb759
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
jmp 0x4cb7a9
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x58]
push edi
call fcn.004c7f70
add esp, 4
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x44]
jne 0x4cb78b
lea ecx, [ebp - 0x44]
mov edx, esi
mov dword [ebp - 0x10], 4
call fcn.004cb910
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
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 ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x38], 0
je 0x4cb7bf
mov ecx, dword [ebp - 0x34]
mov edx, 2
call fcn.00415e60
cmp dword [ebp - 0x68], 0
je 0x4cb7d2
mov ecx, dword [ebp - 0x64]
mov edx, 2
call fcn.00415e60
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x18]
shl esi, 4
add esi, edi
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword fs:[0], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret