Function at 0x4ec670
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7ca8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, SysReAllocString
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x18]
mov eax, esi
sub eax, ecx
cmp eax, 0xa
jb 0x4ec91d
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
push eax
push 0xa
push str.qbinstall
lea eax, [ebx + 8]
push eax
push dword [ebp - 0x30]
call fcn.004448b5
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, edx
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x38], edx
cmp eax, 2
jb 0x4ec72e
cmp edx, 8
lea eax, [ebp - 0x2c]
lea ecx, [edi + 2]
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov dword [eax + edi*2], 0xa000d
mov word [eax + ecx*2], dx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
jmp 0x4ec864
mov eax, esi
sub eax, edi
cmp eax, 2
jb 0x4ec922
lea eax, [edi + 2]
mov edi, eax
mov dword [ebp - 0x3c], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4ec75a
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ec78e
mov eax, edx
shr eax, 1
sub esi, eax
cmp edx, esi
jbe 0x4ec770
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4ec78e
add eax, edx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4ec918
add eax, eax
cmp eax, 0x1000
jb 0x4ec7b8
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4ec918
push ecx
call fcn.005a1c68
add esp, 4
test eax, eax
je 0x4ec927
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
mov edx, dword [ebp - 0x38]
jmp 0x4ec7d3
test eax, eax
je 0x4ec7d1
push eax
call fcn.005a1c68
mov esi, eax
add esp, 4
test esi, esi
je 0x4ec935
jmp 0x4ec7b3
xor esi, esi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
add eax, eax
mov dword [ebp - 0x18], edi
push eax
lea ecx, [esi + eax]
mov dword [ebp - 0x30], ecx
cmp edx, 8
jb 0x4ec842
push dword [ebp - 0x2c]
push esi
call fcn.00570780
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov dword [eax], 0xa000d
mov eax, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov word [esi + eax*2], cx
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ec836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ec943
push edx
push ecx
call fcn.0056d0c8
add esp, 8
jmp 0x4ec861
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00570780
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor ecx, ecx
mov dword [eax], 0xa000d
mov eax, dword [ebp - 0x3c]
mov word [esi + eax*2], cx
mov dword [ebp - 0x2c], esi
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x4ec89e
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ec894
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ec948
push edx
push ecx
call fcn.0056d0c8
add esp, 8
movups xmm0, xmmword [ebp - 0x2c]
cmp edi, 8
lea eax, [ebx + 8]
movups xmmword [ebx + 8], xmm0
cmovae eax, esi
movq xmm0, qword [ebp - 0x1c]
push eax
movq qword [ebx + 0x18], xmm0
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x4ec8fa
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ec8f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ec948
push edx
push ecx
call fcn.0056d0c8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00407541
call fcn.004072dc
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0x31]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0x32]
push eax
call fcn.0057134b
call fcn.0057b201
call fcn.0057b201
int3