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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ecx], eax
mov edx, dword [eax]
test edx, edx
je 0x497e90
cmp edx, 0xffffffff
je 0x497e82
lock add dword [eax], 1
setne dl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [eax + 4]
mov edi, ecx
mov dword [ebp - 0x40], ecx
mov dword [esp], eax
call dword [method.QListData.detach_int_]
mov eax, dword [ebx]
sub esp, 4
mov edx, dword [eax + 8]
lea eax, [eax + edx*4 + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea edi, [eax + edx*4 + 0x10]
mov edx, dword [eax + 8]
mov ecx, edi
mov dword [ebp - 0x20], edi
lea eax, [eax + edx*4 + 0x10]
cmp ecx, eax
mov dword [ebp - 0x3c], eax
mov edi, eax
je 0x497e82
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 - 0x28], 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 - 0x24], 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 - 0x30], 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 - 0x2c], 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 0x497ed0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4