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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
mov esi, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
je 0x4a6cad
test edx, edx
je 0x4a6990
mov eax, dword [edx - 0x88]
fld qword [edx - 0xa0]
mov dword [edx], vtable.et.0
fstp qword [edx + 8]
mov dword [edx + 0x20], eax
mov eax, dword [edx - 0x84]
fld qword [edx - 0x98]
mov dword [edx + 0x24], eax
mov eax, dword [edx - 0x80]
fstp qword [edx + 0x10]
fld qword [edx - 0x90]
mov dword [edx + 0x28], eax
mov eax, dword [edx - 0x7c]
fstp qword [edx + 0x18]
mov dword [edx + 0x2c], eax
mov eax, dword [edx - 0x78]
mov dword [edx + 0x30], eax
mov eax, dword [edx - 0x74]
mov dword [edx + 0x34], eax
mov eax, dword [edx - 0x70]
mov dword [edx + 0x38], eax
mov eax, dword [edx - 0x6c]
mov dword [edx + 0x3c], eax
mov eax, dword [edx - 0x68]
mov dword [edx + 0x40], eax
mov eax, dword [edx - 0x64]
mov dword [edx + 0x44], eax
mov eax, dword [edx - 0x60]
mov dword [edx + 0x48], eax
mov eax, dword [edx - 0x5c]
mov dword [edx + 0x4c], eax
mov eax, dword [edx - 0x58]
mov dword [edx + 0x50], eax
mov eax, dword [edx - 0x54]
fld qword [edx - 0x38]
mov dword [edx + 0x68], vtable.et.0
mov dword [edx + 0x88], vtable.et.0
fstp qword [edx + 0x70]
mov dword [edx + 0x54], eax
mov eax, dword [edx - 0x50]
fld qword [edx - 0x30]
mov dword [edx + 0x58], eax
mov eax, dword [edx - 0x4c]
fstp qword [edx + 0x78]
fld qword [edx - 0x28]
mov dword [edx + 0x5c], eax
mov eax, dword [edx - 0x48]
fstp qword [edx + 0x80]
fld qword [edx - 0x18]
mov dword [edx + 0x60], eax
mov eax, dword [edx - 0x44]
fstp qword [edx + 0x90]
fld qword [edx - 0x10]
mov dword [edx + 0x64], eax
fstp qword [edx + 0x98]
fld qword [edx - 8]
fstp qword [edx + 0xa0]
lea eax, [edx + 0xa8]
fld qword [ebx + 8]
sub edx, 0xa8
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x38], vtable.et.0
mov ebp, edx
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x28]
fst qword [esp + 0x40]
mov ecx, dword [ebx + 0x24]
sub ebp, esi
fld qword [ebx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x2c]
fst qword [esp + 0x48]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x30]
fld qword [ebx + 0x18]
fst qword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x84], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x88], eax
fld qword [ebx + 0x70]
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x28], edx
fst qword [esp + 0xa8]
mov dword [esp + 0xa0], vtable.et.0
mov dword [esp + 0xc0], vtable.et.0
fld qword [ebx + 0x78]
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 0x58]
fst qword [esp + 0xb0]
fld qword [ebx + 0x80]
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x5c]
fst qword [esp + 0xb8]
fld qword [ebx + 0x90]
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x60]
fst qword [esp + 0xc8]
fld qword [ebx + 0x98]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x64]
fst qword [esp + 0x18]
fstp qword [esp + 0xd0]
mov dword [esp + 0x9c], eax
mov eax, edx
sub eax, ebp
fld qword [ebx + 0xa0]
mov ebx, ebp
mov ebp, eax
sar ebx, 3
mov eax, dword [esp + 0x28]
imul ebx, ebx, 0x3cf3cf3d
fst qword [esp + 0x20]
fstp qword [esp + 0xd8]
test ebx, ebx
jg 0x4a6ae6
jmp 0x4a6bb5
sub edx, 0xa8
sub eax, 0xa8
cmp eax, edx
je 0x4a6bad
fld qword [eax + 8]
mov ebx, dword [eax + 0x20]
fstp qword [edx + 8]
fld qword [eax + 0x10]
fstp qword [edx + 0x10]
fld qword [eax + 0x18]
mov dword [edx + 0x20], ebx
mov ebx, dword [eax + 0x24]
fstp qword [edx + 0x18]
mov dword [edx + 0x24], ebx
mov ebx, dword [eax + 0x28]
mov dword [edx + 0x28], ebx
mov ebx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ebx
mov ebx, dword [eax + 0x30]
mov dword [edx + 0x30], ebx
mov ebx, dword [eax + 0x34]
mov dword [edx + 0x34], ebx
mov ebx, dword [eax + 0x38]
mov dword [edx + 0x38], ebx
mov ebx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ebx
mov ebx, dword [eax + 0x40]
mov dword [edx + 0x40], ebx
mov ebx, dword [eax + 0x44]
mov dword [edx + 0x44], ebx
mov ebx, dword [eax + 0x48]
mov dword [edx + 0x48], ebx
mov ebx, dword [eax + 0x4c]
mov dword [edx + 0x4c], ebx
mov ebx, dword [eax + 0x50]
mov dword [edx + 0x50], ebx
mov ebx, dword [eax + 0x54]
mov dword [edx + 0x54], ebx
mov ebx, dword [eax + 0x58]
mov dword [edx + 0x58], ebx
mov ebx, dword [eax + 0x5c]
mov dword [edx + 0x5c], ebx
mov ebx, dword [eax + 0x60]
mov dword [edx + 0x60], ebx
mov ebx, dword [eax + 0x64]
mov dword [edx + 0x64], ebx
fld qword [eax + 0x70]
fstp qword [edx + 0x70]
fld qword [eax + 0x78]
fstp qword [edx + 0x78]
fld qword [eax + 0x80]
fstp qword [edx + 0x80]
fld qword [eax + 0x90]
fstp qword [edx + 0x90]
fld qword [eax + 0x98]
fstp qword [edx + 0x98]
fld qword [eax + 0xa0]
fstp qword [edx + 0xa0]
cmp eax, ebp
jne 0x4a6ae0
lea eax, [esp + 0x38]
cmp esi, eax
je 0x4a6c90
fxch st(6)
mov eax, dword [esp + 0x60]
fstp qword [esi + 8]
fxch st(4)
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], ecx
fstp qword [esi + 0x10]
fxch st(2)
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x64]
fstp qword [esi + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x98]
fstp qword [esi + 0x70]
fstp qword [esi + 0x78]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x9c]
fstp qword [esi + 0x80]
fstp qword [esi + 0x90]
mov dword [esi + 0x64], eax
fld qword [esp + 0x18]
fstp qword [esi + 0x98]
fld qword [esp + 0x20]
fstp qword [esi + 0xa0]
jmp 0x4a6ca0
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edi, ecx
mov ecx, dword [ecx]
mov ebp, edx
sub ebp, ecx
sar ebp, 3
imul ebp, ebp, 0x3cf3cf3d
test ebp, ebp
jne 0x4a7083
mov ebp, esi
mov dword [esp + 0x20], 0xa8
sub ebp, ecx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], ecx
lea ecx, [eax + 0xa8]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi]
add ebp, eax
je 0x4a6dcb
fld qword [ebx + 8]
mov edx, dword [ebx + 0x20]
mov dword [ebp], vtable.et.0
fstp qword [ebp + 8]
fld qword [ebx + 0x10]
fstp qword [ebp + 0x10]
fld qword [ebx + 0x18]
mov dword [ebp + 0x20], edx
mov edx, dword [ebx + 0x24]
fstp qword [ebp + 0x18]
mov dword [ebp + 0x24], edx
mov edx, dword [ebx + 0x28]
mov dword [ebp + 0x28], edx
mov edx, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], edx
mov edx, dword [ebx + 0x30]
mov dword [ebp + 0x30], edx
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0x34], edx
mov edx, dword [ebx + 0x38]
mov dword [ebp + 0x38], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebp + 0x3c], edx
mov edx, dword [ebx + 0x40]
mov dword [ebp + 0x40], edx
mov edx, dword [ebx + 0x44]
mov dword [ebp + 0x44], edx
mov edx, dword [ebx + 0x48]
mov dword [ebp + 0x48], edx
mov edx, dword [ebx + 0x4c]
mov dword [ebp + 0x4c], edx
mov edx, dword [ebx + 0x50]
mov dword [ebp + 0x50], edx
mov edx, dword [ebx + 0x54]
fld qword [ebx + 0x70]
mov dword [ebp + 0x54], edx
mov edx, dword [ebx + 0x58]
mov dword [ebp + 0x58], edx
mov edx, dword [ebx + 0x5c]
mov dword [ebp + 0x5c], edx
mov edx, dword [ebx + 0x60]
mov dword [ebp + 0x60], edx
mov edx, dword [ebx + 0x64]
fstp qword [ebp + 0x70]
mov dword [ebp + 0x68], vtable.et.0
fld qword [ebx + 0x78]
mov dword [ebp + 0x64], edx
fstp qword [ebp + 0x78]
fld qword [ebx + 0x80]
mov dword [ebp + 0x88], vtable.et.0
fstp qword [ebp + 0x80]
fld qword [ebx + 0x90]
fstp qword [ebp + 0x90]
fld qword [ebx + 0x98]
fstp qword [ebp + 0x98]
fld qword [ebx + 0xa0]
fstp qword [ebp + 0xa0]
cmp esi, ecx
je 0x4a6f04
mov edx, dword [esp + 0x28]
mov ebp, ecx
mov ebx, eax
mov dword [esp + 0x18], eax
nop
test ebx, ebx
je 0x4a6eb9
fld qword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov dword [ebx], vtable.et.0
fstp qword [ebx + 8]
fld qword [ebp + 0x10]
fstp qword [ebx + 0x10]
fld qword [ebp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
fstp qword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [ebx + 0x68], vtable.et.0
mov dword [ebx + 0x64], eax
fld qword [ebp + 0x70]
fstp qword [ebx + 0x70]
fld qword [ebp + 0x78]
fstp qword [ebx + 0x78]
fld qword [ebp + 0x80]
mov dword [ebx + 0x88], vtable.et.0
fstp qword [ebx + 0x80]
fld qword [ebp + 0x90]
fstp qword [ebx + 0x90]
fld qword [ebp + 0x98]
fstp qword [ebx + 0x98]
fld qword [ebp + 0xa0]
fstp qword [ebx + 0xa0]
add ebp, 0xa8
add ebx, 0xa8
cmp esi, ebp
jne 0x4a6de0
lea ebx, [ecx + 0xa8]
mov ebp, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
sub ebp, ebx
mov ebx, ebp
shr ebx, 3
imul ebx, ebx, 0x1cf3cf3d
and ebx, 0x1fffffff
add ebx, 1
imul ebx, ebx, 0xa8
lea ebx, [eax + ebx + 0xa8]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x28]
cmp esi, edx
je 0x4a703b
mov ebx, dword [esp + 0x18]
mov ebp, esi
mov dword [esp + 0x2c], eax
lea esi, [esi]
test ebx, ebx
je 0x4a6ff9
fld qword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov dword [ebx], vtable.et.0
fstp qword [ebx + 8]
fld qword [ebp + 0x10]
fstp qword [ebx + 0x10]
fld qword [ebp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x24]
fstp qword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [ebx + 0x68], vtable.et.0
mov dword [ebx + 0x64], eax
fld qword [ebp + 0x70]
fstp qword [ebx + 0x70]
fld qword [ebp + 0x78]
fstp qword [ebx + 0x78]
fld qword [ebp + 0x80]
mov dword [ebx + 0x88], vtable.et.0
fstp qword [ebx + 0x80]
fld qword [ebp + 0x90]
fstp qword [ebx + 0x90]
fld qword [ebp + 0x98]
fstp qword [ebx + 0x98]
fld qword [ebp + 0xa0]
fstp qword [ebx + 0xa0]
add ebp, 0xa8
add ebx, 0xa8
cmp ebp, edx
jne 0x4a6f20
add esi, 0xa8
mov ebx, edx
mov eax, dword [esp + 0x2c]
sub ebx, esi
mov dword [esp + 0x28], edx
shr ebx, 3
imul ebx, ebx, 0x1cf3cf3d
and ebx, 0x1fffffff
add ebx, 1
imul ebx, ebx, 0xa8
add dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ecx
mov ebx, ecx
mov edx, dword [esp + 0x28]
je 0x4a705a
mov esi, esi
lea edi, [edi]
add ebx, 0xa8
cmp edx, ebx
jne 0x4a7050
test ecx, ecx
je 0x4a706e
mov dword [esp], ecx
mov dword [esp + 0x28], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [esp + 0x28]
mov dword [edi], eax
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
jmp 0x4a6ca0
lea eax, [ebp + ebp]
cmp ebp, eax
jbe 0x4a709c
mov ebp, esi
mov dword [esp + 0x20], 0xffffffa8
sub ebp, ecx
jmp 0x4a6cd2
cmp eax, 0x1861861
ja 0x4a708b
imul ebp, eax, 0xa8
mov dword [esp + 0x20], ebp
mov ebp, esi
sub ebp, ecx
test eax, eax
jne 0x4a6cd2
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 0xa8
xor eax, eax
jmp 0x4a6cf1