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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00409970
mov edi, dword [esp + 0x20]
fld qword [edi]
fstp qword [ebx]
fld qword [edi + 8]
fstp qword [ebx + 8]
fld qword [edi + 0x10]
fstp qword [ebx + 0x10]
fld qword [edi + 0x18]
fstp qword [ebx + 0x18]
fld qword [edi + 0x20]
fstp qword [ebx + 0x20]
fld qword [edi + 0x28]
fstp qword [ebx + 0x28]
fld qword [edi + 0x30]
fstp qword [ebx + 0x30]
fld qword [edi + 0x38]
fstp qword [ebx + 0x38]
fld qword [edi + 0x40]
fstp qword [ebx + 0x40]
fld qword [edi + 0x48]
fstp qword [ebx + 0x48]
mov al, byte [edi + 0x50]
mov byte [ebx + 0x50], al
mov ecx, dword [edi + 0xe4]
mov dword [ebx + 0xe4], ecx
mov ebp, dword [edi + 0x70]
mov edx, ebp
imul edx, edx, 0x98
add edx, 4
push edx
mov dword [ebx + 0x70], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor esi, esi
add esp, 4
cmp eax, esi
je 0x409caf
mov dword [eax], ebp
dec ebp
cmp ebp, esi
lea edx, [eax + 4]
mov ecx, edx
jl 0x409cab
lea eax, [ecx + 0x3c]
inc ebp
mov edi, edi
fld qword [0x41a2a8]
mov dword [eax - 8], esi
mov dword [eax - 4], esi
mov dword [eax], esi
fstp qword [eax - 0x14]
fld qword [0x41a2a8]
mov dword [eax - 0xc], esi
fstp qword [eax - 0x1c]
add ecx, 0x98
fld qword [0x41a2a8]
add eax, 0x98
dec ebp
fstp qword [eax - 0xbc]
fld qword [0x41a2a8]
fstp qword [eax - 0xc4]
fld qword [0x41a2a8]
fstp qword [eax - 0xcc]
fld qword [0x41a2a8]
fstp qword [ecx - 0x98]
jne 0x409c50
mov eax, edx
jmp 0x409cb1
xor eax, eax
mov dword [ebx + 0x74], eax
cmp dword [ebx + 0x70], esi
mov dword [esp + 0x14], esi
jle 0x409d94
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x409cd0
mov esi, dword [edi + 0x74]
mov ebp, dword [ebx + 0x74]
mov ecx, dword [esi + eax + 0x30]
add esi, eax
add ebp, eax
mov dword [ebp + 0x30], ecx
fld qword [esi]
fstp qword [ebp]
mov dword [esp + 0x18], esi
fld qword [esi + 8]
fstp qword [ebp + 8]
fld qword [esi + 0x10]
fstp qword [ebp + 0x10]
fld qword [esi + 0x18]
fstp qword [ebp + 0x18]
fld qword [esi + 0x20]
fstp qword [ebp + 0x20]
fld qword [esi + 0x28]
fstp qword [ebp + 0x28]
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x409d23
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 0x3c], 0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x409d62
lea edx, [ecx*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp + 0x3c], eax
mov ecx, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
shl ecx, 2
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x38]
mov dword [ebp + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [ebp + 0x38], edx
mov ecx, dword [ebx + 0x74]
mov dword [eax + ecx + 0x30], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x70]
inc ecx
add eax, 0x98
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jl 0x409cd0
xor esi, esi
mov ebp, dword [edi + 0x78]
lea edx, [ebp + ebp*4]
shl edx, 3
push edx
mov dword [ebx + 0x78], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x409de8
lea edx, [ebp - 1]
cmp edx, esi
jl 0x409dea
lea ecx, [eax + 8]
inc edx
lea esp, [esp]
fld qword [0x41a2a8]
mov dword [ecx - 8], esi
fstp qword [ecx]
mov dword [ecx - 4], esi
fld qword [0x41a2a8]
add ecx, 0x28
dec edx
fstp qword [ecx - 0x20]
fld qword [0x41a2a8]
fstp qword [ecx - 0x18]
jne 0x409dc0
jmp 0x409dea
xor eax, eax
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0x78], esi
jle 0x409e31
xor edx, edx
mov eax, dword [edi + 0x7c]
mov ecx, dword [ebx + 0x7c]
mov ebp, dword [eax + edx + 0x20]
add eax, edx
add ecx, edx
mov dword [ecx + 0x20], ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
fld qword [eax + 8]
fstp qword [ecx + 8]
inc esi
fld qword [eax + 0x10]
add edx, 0x28
fstp qword [ecx + 0x10]
fld qword [eax + 0x18]
fstp qword [ecx + 0x18]
mov eax, dword [ebx + 0x7c]
mov dword [edx + eax - 8], ebx
cmp esi, dword [ebx + 0x78]
jl 0x409df4
lea ecx, [edi + 0x9c]
push ecx
lea ecx, [ebx + 0x9c]
call fcn.00406570
lea edx, [edi + 0xa8]
push edx
lea ecx, [ebx + 0xa8]
call fcn.00406570
lea eax, [edi + 0xb4]
push eax
lea ecx, [ebx + 0xb4]
call fcn.00409a90
mov ecx, dword [edi + 0xd0]
mov dword [ebx + 0xd0], ecx
mov edx, dword [edi + 0xd4]
mov dword [ebx + 0xd4], edx
mov eax, dword [edi + 0xd8]
mov dword [ebx + 0xd8], eax
mov ecx, dword [edi + 0xdc]
lea edx, [ebx + 0xc0]
mov dword [ebx + 0xdc], ecx
push edx
mov ecx, ebx
call fcn.00402960
mov ecx, ebx
call fcn.00404ab0
mov al, byte [ebx + 0x51]
cmp al, byte [edi + 0x51]
je 0x409ebb
mov ecx, ebx
call fcn.00404d90
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret 4