Function at 0x63009f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6304db0f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6309ff88]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x40]
mov esi, dword [esp + 0x74]
mov ecx, esi
mov dword [esp + 0x20], eax
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::width_void_const]
dec eax
mov ecx, eax
sar ecx, 1
or eax, ecx
mov edx, eax
sar edx, 2
or eax, edx
mov ecx, eax
sar ecx, 4
or eax, ecx
mov edx, eax
sar edx, 8
or eax, edx
mov ecx, eax
sar ecx, 0x10
or eax, ecx
mov ecx, esi
lea ebp, [eax + 1]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
dec eax
mov edx, eax
sar edx, 1
or eax, edx
mov ecx, eax
sar ecx, 2
or eax, ecx
mov edx, eax
sar edx, 4
or eax, edx
mov ecx, eax
sar ecx, 8
or eax, ecx
mov edx, eax
sar edx, 0x10
or eax, edx
push esi
lea ecx, [esp + 0x2c]
lea ebx, [eax + 1]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_class_QImage_const__]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x70], 0
call fcn.63006370
mov ecx, dword [eax]
add esp, 4
and ecx, 0x2000
jne 0x6300a03c
lea edx, [esp + 0x74]
push edx
call sym.QtOpenGL4.dll_public:_static_class_QFlags_enum_QGLFormat::OpenGLVersionFlag____cdecl_QGLFormat::openGLVersionFlags_void_
mov eax, dword [eax]
add esp, 4
and eax, 0x800
jne 0x6300a03c
cmp dword [esp + 0x78], 0xde1
jne 0x6300a03c
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::width_void_const]
cmp ebp, eax
jne 0x6300a002
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
cmp ebx, eax
je 0x6300a03c
push 0
push 0
push ebx
push ebp
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::scaled_int__int__enum_Qt::AspectRatioMode__enum_Qt::TransformationMode_]
mov ebx, dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
call ebx
mov ebp, dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0
call ebp
jmp 0x6300a048
mov ebx, dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
mov ebp, dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov edx, dword [esp + 0x88]
and edx, 8
mov eax, 0
setne al
lea ecx, [esp + 0x1c]
push ecx
push 1
add eax, 0x2600
mov esi, eax
call dword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
push edx
push eax
call dword [sym.imp.OPENGL32.dll_glBindTexture]
mov dword [esp + 0x74], esi
fild dword [esp + 0x74]
test esi, esi
jge 0x6300a090
fadd dword [0x63055554]
mov esi, dword [sym.imp.OPENGL32.dll_glTexParameterf]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x2800
push ecx
call esi
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 4]
add eax, 4
and edx, 0x80
setne al
test al, al
je 0x6300a13e
lea eax, [esp + 0x24]
push eax
call fcn.63006370
mov ecx, dword [eax]
add esp, 4
and ecx, 4
je 0x6300a13e
cmp dword [esp + 0x78], 0xde1
jne 0x6300a13e
mov edx, dword [esp + 0x88]
and edx, 2
je 0x6300a13e
push 0x1102
push 0x8192
call dword [sym.imp.OPENGL32.dll_glHint]
push 1
push 0x8191
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexParameteri]
mov eax, dword [esp + 0x88]
and eax, 8
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2700
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
push ecx
fstp dword [esp]
push 0x2801
push 0xde1
jmp 0x6300a150
fld dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push ecx
fstp dword [esp]
push 0x2801
push eax
call esi
lea ecx, [esp + 0x28]
call dword [sym.imp.QtGui4.dll_public:_enum_QImage::Format___thiscall_QImage::format_void_]
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x24]
and ecx, 4
push edx
mov esi, eax
setne byte [esp + 0x78]
call fcn.63006370
mov eax, dword [eax]
add esp, 4
and eax, 0x4000
je 0x6300a1b1
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], 0x80e1
call sym.QtOpenGL4.dll_public:_static_class_QFlags_enum_QGLFormat::OpenGLVersionFlag____cdecl_QGLFormat::openGLVersionFlags_void_
mov eax, dword [eax]
and eax, 2
add esp, 4
neg eax
sbb eax, eax
and eax, 0x6f66
add eax, 0x1401
mov dword [esp + 0x14], eax
jmp 0x6300a1c1
mov dword [esp + 0x18], 0x1908
mov dword [esp + 0x14], 0x1401
lea eax, [esi - 4]
cmp eax, 3
ja case.default.0x6300a1cd
jmp dword [eax*4 + 0x6300a4b4]
cmp byte [esp + 0x74], 0
je case.0x6300a1cd.4
push ecx
mov eax, esp
mov dword [esp + 0x78], esp
push 6
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x34]
mov dword [eax], 0
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::convertToFormat_enum_QImage::Format__class_QFlags_enum_Qt::ImageConversionFlag__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 2
call ebx
lea ecx, [esp + 0x34]
jmp 0x6300a2d5
cmp byte [esp + 0x74], 0
jne case.0x6300a1cd.4
push ecx
mov eax, esp
mov dword [esp + 0x78], esp
mov dword [eax], 0
push 5
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::convertToFormat_enum_QImage::Format__class_QFlags_enum_Qt::ImageConversionFlag__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 3
call ebx
lea ecx, [esp + 0x40]
jmp 0x6300a2d5
mov eax, 0x1907
mov dword [esp + 0x14], 0x8363
mov dword [esp + 0x18], eax
mov dword [esp + 0x7c], eax
jmp case.0x6300a1cd.4
lea ecx, [esp + 0x28]
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QImage::hasAlphaChannel_void_const]
push ecx
test al, al
mov eax, esp
mov dword [eax], 0
je 0x6300a2b0
xor ecx, ecx
cmp byte [esp + 0x78], cl
mov dword [esp + 0x28], esp
setne cl
lea edx, [esp + 0x50]
add ecx, 5
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::convertToFormat_enum_QImage::Format__class_QFlags_enum_Qt::ImageConversionFlag__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 4
call ebx
lea ecx, [esp + 0x4c]
jmp 0x6300a2d5
mov dword [esp + 0x78], esp
push 4
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::convertToFormat_enum_QImage::Format__class_QFlags_enum_Qt::ImageConversionFlag__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 5
call ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0
call ebp
mov ecx, dword [esp + 0x88]
and ecx, 1
je 0x6300a3b1
lea ecx, [esp + 0x28]
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QImage::isDetached_void_const]
lea ecx, [esp + 0x28]
test al, al
je 0x6300a38b
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::bytesPerLine_void_const]
cdq
and edx, 3
add eax, edx
mov edi, eax
lea ecx, [esp + 0x28]
sar edi, 2
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
xor ebx, ebx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x6300a3b1
mov ebp, dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
dec ecx
mov dword [esp + 0x74], ecx
lea ecx, [ecx]
push ebx
lea ecx, [esp + 0x2c]
call ebp
mov edx, dword [esp + 0x74]
push edx
lea ecx, [esp + 0x2c]
mov esi, eax
call ebp
test edi, edi
jle 0x6300a378
mov ecx, esi
sub eax, esi
mov esi, edi
mov edi, edi
mov ebp, dword [eax + ecx]
mov edx, dword [ecx]
mov dword [ecx], ebp
mov dword [eax + ecx], edx
add ecx, 4
sub esi, 1
jne 0x6300a360
mov ebp, dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
dec dword [esp + 0x74]
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x6300a340
mov ebp, dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
jmp 0x6300a3b1
push 1
push 0
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.QtGui4.dll_public:_class_QImage___thiscall_QImage::mirrored_bool__bool_]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0
call ebp
mov esi, dword [esp + 0x18]
cmp esi, 0x1908
jne 0x6300a3ce
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
call fcn.63002240
add esp, 4
lea ecx, [esp + 0x28]
call dword [sym.imp.QtGui4.dll_public:_unsigned_char_const____thiscall_QImage::bits_void_const]
mov edx, dword [esp + 0x14]
push eax
push edx
push esi
push 0
lea ecx, [esp + 0x38]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
mov esi, dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::width_void_const]
push eax
lea ecx, [esp + 0x3c]
call esi
mov edi, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x94]
push eax
push 0
push edi
call dword [sym.imp.OPENGL32.dll_glTexImage2D]
lea ecx, [esp + 0x28]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
lea ecx, [esp + 0x28]
mov ebx, eax
call esi
imul ebx, eax
add ebx, ebx
add ebx, ebx
mov eax, ebx
cdq
and edx, 0x3ff
add eax, edx
mov esi, eax
push 0x10
sar esi, 0xa
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x6300a466
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x20]
mov dword [eax + 8], edi
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov edi, eax
jmp 0x6300a468
xor edi, edi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x20]
push esi
push edi
push ecx
push edx
push eax
call fcn.63009c60
mov ecx, eax
call fcn.63009d30
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], 0xffffffff
call ebp
mov eax, edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18