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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
sub esp, 0x4c
mov eax, dword [ecx]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 8]
lea eax, [eax + edx*4 + 0x10]
mov dword [ebp - 0x44], eax
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call dword [method.QListData.detach_grow_int__int_]
mov edx, dword [edi]
mov dword [ebp - 0x40], eax
sub esp, 8
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
lea ebx, [ecx*4]
lea eax, [edx + eax*4 + 0x10]
lea edi, [eax + ebx]
mov dword [ebp - 0x48], eax
cmp edi, eax
mov dword [ebp - 0x20], edi
je 0x497115
mov edi, eax
mov dword [ebp - 0x1c], esi
nop
mov dword [esp], 0x7c
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + 0x34]
mov esi, dword [eax]
mov ecx, edx
mov dword [ebp - 0x24], edx
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
movzx eax, byte [esi + 0x30]
mov byte [ebx + 0x30], al
movzx eax, byte [esi + 0x31]
mov byte [ebx + 0x31], al
movzx eax, byte [esi + 0x32]
mov byte [ebx + 0x32], al
lea eax, [esi + 0x34]
mov dword [esp], eax
call fcn.0049bc70
lea edx, [ebx + 0x38]
lea eax, [esi + 0x38]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x28], edx
call fcn.00496570
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
sub esp, 4
fld dword [esi + 0x44]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], edx
lea eax, [esi + 0x48]
lea edx, [ebx + 0x48]
fstp dword [ebx + 0x44]
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x2c], edx
call fcn.0049aa10
lea edx, [ebx + 0x4c]
lea eax, [esi + 0x4c]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x30], edx
call fcn.0049aa10
lea eax, [esi + 0x50]
sub esp, 4
lea ecx, [ebx + 0x50]
mov dword [esp], eax
mov dword [ebp - 0x34], ecx
call fcn.0049b100
lea edx, [ebx + 0x54]
lea eax, [esi + 0x54]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x38], edx
call fcn.0049b100
mov eax, dword [esi + 0x5c]
fld dword [esi + 0x58]
sub esp, 4
lea ecx, [ebx + 0x60]
fstp dword [ebx + 0x58]
mov dword [ebx + 0x5c], eax
lea eax, [esi + 0x60]
mov dword [esp], eax
call fcn.00498840
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x78]
sub esp, 4
add edi, 4
add dword [ebp - 0x1c], 4
mov dword [ebx + 0x64], eax
movzx eax, byte [esi + 0x68]
mov byte [ebx + 0x68], al
movzx eax, byte [esi + 0x69]
mov byte [ebx + 0x69], al
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x74], eax
mov dword [edi - 4], ebx
cmp dword [ebp - 0x20], edi
jne 0x496dd0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
lea ebx, [ecx*4]
mov eax, dword [edx + 8]
lea eax, [edx + eax*4 + 0x10]
add ebx, dword [ebp - 0x44]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [edx + 0xc]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x44], eax
lea edi, [edx + ebx*4 + 0x10]
cmp eax, edi
mov dword [ebp - 0x20], edi
je 0x4970ca
mov edi, eax
mov esi, esi
lea edi, [edi]
mov dword [esp], 0x7c
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov ebx, eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebx + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x24], ecx
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
movzx eax, byte [esi + 0x30]
mov byte [ebx + 0x30], al
movzx eax, byte [esi + 0x31]
mov byte [ebx + 0x31], al
movzx eax, byte [esi + 0x32]
mov byte [ebx + 0x32], al
lea eax, [esi + 0x34]
mov dword [esp], eax
call fcn.0049bc70
lea edx, [ebx + 0x38]
lea eax, [esi + 0x38]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x28], edx
call fcn.00496570
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
sub esp, 4
fld dword [esi + 0x44]
lea ecx, [ebx + 0x48]
mov dword [ebx + 0x3c], eax
lea eax, [esi + 0x48]
fstp dword [ebx + 0x44]
mov dword [ebx + 0x40], edx
mov dword [ebp - 0x2c], ecx
mov dword [esp], eax
call fcn.0049aa10
lea edx, [ebx + 0x4c]
lea eax, [esi + 0x4c]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x30], edx
call fcn.0049aa10
lea eax, [esi + 0x50]
sub esp, 4
lea ecx, [ebx + 0x50]
mov dword [esp], eax
mov dword [ebp - 0x34], ecx
call fcn.0049b100
lea edx, [ebx + 0x54]
lea eax, [esi + 0x54]
sub esp, 4
mov dword [esp], eax
mov ecx, edx
mov dword [ebp - 0x38], edx
call fcn.0049b100
mov eax, dword [esi + 0x5c]
fld dword [esi + 0x58]
sub esp, 4
lea ecx, [ebx + 0x60]
fstp dword [ebx + 0x58]
mov dword [ebx + 0x5c], eax
lea eax, [esi + 0x60]
mov dword [esp], eax
call fcn.00498840
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x78]
sub esp, 4
add edi, 4
add dword [ebp - 0x1c], 4
mov dword [ebx + 0x64], eax
movzx eax, byte [esi + 0x68]
mov byte [ebx + 0x68], al
movzx eax, byte [esi + 0x69]
mov byte [ebx + 0x69], al
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x74], eax
mov dword [edi - 4], ebx
cmp dword [ebp - 0x20], edi
jne 0x496f70
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
test eax, eax
jne 0x497100
mov eax, dword [ebp - 0x40]
call fcn.00417a50
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax + 8]
lea eax, [eax + edx*4 + 0x10]
mov edx, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
lea eax, [eax + edx*4]
pop esi
pop edi
pop ebp
ret 8
cmp eax, 0xffffffff
je 0x4970db
mov eax, dword [ebp - 0x40]
lock sub dword [eax], 1
setne al
test al, al
jne 0x4970db
jmp 0x4970d3
mov eax, dword [ebp - 0x20]
jmp 0x496f44