Function at 0x491ae0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x588a20], 0x4000
jne 0x491b00
mov ecx, dword [ebp + 8]
call fcn.004918f0
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
mov esi, dword [0x588a2c]
push edi
lea eax, [esi*4 + 0x120]
push eax
call fcn.00497cab
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x491b38
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [0x588a2c]
lea eax, [esi*4 + 0x120]
mov dword [ebp - 8], 0
push eax
call fcn.00497cab
mov edi, eax
add esp, 4
test edi, edi
jne 0x491b68
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [0x588a0c]
mov ecx, dword [0x588a40]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x491c9b
cmp dword [ecx + 0x10], eax
jne 0x491c93
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, ecx
mov eax, dword [0x588a0c]
imul edx, dword [0x5889f4]
mov dword [ebp - 0x10], ecx
add ecx, dword [0x588a28]
imul ecx, dword [eax + 8]
add edx, dword [0x588a14]
add ecx, dword [eax + 0x2c]
mov eax, dword [0x588a24]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
cmp eax, dword [ecx + 4]
jge 0x491dc6
mov eax, edx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [0x588a40]
sar eax, 0xe
mov ecx, dword [edx + 8]
mov esi, ecx
mov edx, dword [edx + 0x2c]
imul esi, eax
inc eax
imul eax, ecx
add esi, edx
add eax, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov eax, esi
mov esi, dword [0x588a2c]
cmp dword [ebp - 8], eax
je 0x491c2b
cmp dword [ebp - 4], eax
jne 0x491c1b
mov eax, ebx
mov ebx, edi
mov edi, eax
jmp 0x491c2b
sub esp, 8
mov edx, eax
mov ecx, ebx
push esi
call fcn.004917a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
je 0x491c46
sub esp, 8
mov edx, eax
mov ecx, edi
push esi
call fcn.004917a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sar eax, 6
and eax, 0xff
mov dword [ebp - 8], ecx
push eax
lea eax, [esi*4]
mov esi, dword [ebp - 0x1c]
push eax
push ebx
mov ecx, esi
call fcn.00492910
mov eax, dword [0x588a0c]
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, dword [0x5889f4]
add esi, dword [eax + 8]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
jmp 0x491bc5
test eax, eax
je 0x491dbb
cmp dword [ecx + 0x10], 0
je 0x491dbb
mov eax, dword [ebp + 8]
mov ecx, dword [0x588a0c]
mov eax, dword [eax]
mov edx, eax
imul edx, dword [0x5889f4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x588a28]
add eax, dword [ebp - 0xc]
imul eax, dword [ecx + 8]
add edx, dword [0x588a14]
mov dword [ebp - 0x10], edx
add eax, dword [ecx + 0x2c]
add eax, dword [0x588a24]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
mov ecx, dword [0x588a40]
jge 0x491dc6
mov ecx, dword [ecx + 8]
mov eax, edx
cdq
mov esi, ecx
and edx, 0x3fff
add eax, edx
mov edx, dword [0x588a40]
sar eax, 0xe
imul esi, eax
inc eax
imul eax, ecx
mov edx, dword [edx + 0x2c]
add esi, edx
add eax, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
mov eax, esi
mov esi, dword [0x588a2c]
cmp dword [ebp - 8], eax
je 0x491d49
cmp dword [ebp - 4], eax
jne 0x491d39
mov eax, ebx
mov ebx, edi
mov edi, eax
jmp 0x491d49
sub esp, 8
mov edx, eax
mov ecx, ebx
push esi
call fcn.00491870
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], eax
je 0x491d64
sub esp, 8
mov edx, eax
mov ecx, edi
push esi
call fcn.00491870
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
sar eax, 6
and eax, 0xff
mov dword [ebp - 8], ecx
push eax
push esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
push ebx
call fcn.00492910
mov eax, dword [0x588a0c]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
add edx, dword [0x5889f4]
add esi, dword [eax + 8]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx + 4]
jge 0x491dc6
mov ecx, dword [0x588a40]
jmp 0x491cf2
push str.HQGrpModifyCopy_NotSupportFormat_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call fcn.00494034
push edi
call fcn.00494034
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4