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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [esp + 0xc0]
mov eax, dword [ebx]
sub eax, 1
cmp eax, dword [ebx + 8]
je 0x41f553
lea eax, [ecx + 0x40]
lea ecx, [esp + 0x28]
mov ebp, 0xffffffff
mov dword [esp], eax
call fcn.00515870
sub esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [edx + 8]
lea ecx, [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x34], 1
lea eax, [ecx + eax*4]
lea edx, [ecx + edx*4]
cmp eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
je 0x41f4d0
lea edi, [esp + 0x54]
xor esi, esi
mov esi, esi
lea edi, [edi]
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
mov edx, dword [ecx]
add edx, 1
cmp edx, 1
jbe 0x41f3a7
lock add dword [ecx], 1
fld qword [eax + 0x28]
mov edx, dword [eax + 0x20]
fstp qword [esp + 0x70]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x38]
fld qword [eax + 0x30]
fstp qword [esp + 0x78]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0x50]
fld qword [eax + 0x40]
fstp qword [esp + 0x88]
fld qword [eax + 0x48]
mov dword [esp + 0x98], edx
movzx eax, byte [eax + 0x54]
mov edx, dword [esp + 0x34]
fstp qword [esp + 0x90]
test edx, edx
mov byte [esp + 0x9c], al
je 0x41f48b
mov dword [esp + 4], ebx
mov dword [esp], edi
lea ecx, [esp + 0x38]
call dword [method.QRect.operator_QRect_const__const]
sub esp, 8
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
add eax, 1
imul eax, edx
cmp eax, esi
jle 0x41f510
mov ecx, dword [ebx]
sub ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], 0
mov edx, ecx
sar edx, 0x1f
xor ecx, edx
sub ecx, edx
mov edx, dword [ebx + 4]
sub edx, dword [esp + 0x58]
mov esi, edx
sar esi, 0x1f
xor edx, esi
sub edx, esi
lea esi, [ecx + edx]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [ebx + 8]
mov dword [esp + 0x18], esi
mov edx, ecx
sar edx, 0x1f
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x60]
sub edx, dword [ebx + 0xc]
mov esi, edx
sar esi, 0x1f
xor edx, esi
sub edx, esi
lea esi, [ecx + edx]
mov dword [esp + 0x1c], esi
mov esi, eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
test edx, edx
je 0x41f526
lea esi, [esi]
cmp edx, 0xffffffff
je 0x41f4af
lock sub dword [eax], 1
je 0x41f569
mov eax, dword [esp + 0x2c]
add eax, 4
xor dword [esp + 0x34], 1
mov dword [esp + 0x2c], eax
je 0x41f4d0
cmp dword [esp + 0x30], eax
jne 0x41f360
nop
lea esi, [esi]
lea ecx, [esp + 0x28]
call fcn.005159e0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x41f544
cmp dword [esp + 0x18], 3
mov edi, dword [esp + 0xc4]
setbe dl
cmp dword [esp + 0x1c], 3
setbe al
and eax, edx
mov byte [edi], al
mov eax, ebp
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], 0
mov edx, dword [eax]
test edx, edx
jne 0x41f4a0
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x41f4af
add esp, 0xac
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx + 4]
lea edx, [eax - 1]
cmp edx, dword [ebx + 0xc]
mov eax, 0xffffffff
jne 0x41f2ff
jmp 0x41f501
mov eax, dword [esp + 0x64]
jmp 0x41f526