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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d2dad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
cmp dword [eax], 4
jge 0x428812
mov edx, dword [ebp + 0x18]
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
mov ecx, 4
mov dword [eax], 0x3f800000
add eax, 0x14
dec ecx
jne 0x4287f1
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push fcn.004011f0
push fcn.004294b0
push 2
lea ecx, [esp + 0xa8]
push 0x18
push ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.004ce784
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0xf8]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x170], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x178]
mov dword [esp + 0x174], eax
mov dword [esp + 0x2f0], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x2f8]
mov dword [esp + 0x2f4], eax
mov edx, dword [ebp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x1f8]
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1e
lea edi, [esp + 0x278]
mov dword [esp + 0x270], eax
mov dword [esp + 0x274], eax
rep stosd dword es:[edi], eax
mov ecx, dword [edx]
mov dword [esp + 0x378], 0
test ecx, ecx
jle 0x42899e
fld qword [esp + 0x54]
fld qword [esp + 0xc4]
fld qword [esp + 0xbc]
fld qword [esp + 0xb4]
fld qword [esp + 0xac]
mov eax, dword [ebp + 0xc]
mov edi, ebx
fld qword [esp + 0xa4]
fld qword [esp + 0x9c]
mov edx, edi
add eax, 8
sub edx, dword [ebp + 0xc]
fld dword [ebx]
fmul qword [esi]
add ebx, 0xc
add eax, 0xc
add esi, 8
dec ecx
faddp st(1)
fld dword [ebx - 8]
fmul qword [esi - 8]
faddp st(2)
fld dword [edx + eax - 0xc]
fmul qword [esi - 8]
faddp st(3)
fld dword [eax - 0x14]
fmul qword [esi - 8]
faddp st(4)
fld dword [eax - 0x10]
fmul qword [esi - 8]
faddp st(5)
fld dword [eax - 0xc]
fmul qword [esi - 8]
faddp st(6)
fxch st(6)
fadd qword [esi - 8]
fxch st(6)
jne 0x42892c
fstp qword [esp + 0x9c]
fstp qword [esp + 0xa4]
fstp qword [esp + 0xac]
fstp qword [esp + 0xb4]
fstp qword [esp + 0xbc]
fstp qword [esp + 0xc4]
fstp qword [esp + 0x54]
jmp 0x4289a1
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0xdc]
push edx
push eax
call fcn.00429b00
lea ecx, [esp + 0x60]
lea edx, [esp + 0xc0]
push ecx
lea eax, [esp + 0xe8]
push edx
push eax
call fcn.00429b00
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 0x18
mov ecx, edi
mov esi, dword [eax]
mov dword [esp + 0x60], ecx
test esi, esi
mov dword [esp + 0x20], edx
jle 0x428c94
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
sub edi, ebx
lea eax, [ebx + 4]
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], eax
jmp 0x428a18
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
fld dword [eax - 4]
fsub qword [esp + 0xb4]
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
fmul qword [esp + 0xc]
fst qword [esp + 0x178]
fld dword [eax]
fsub qword [esp + 0xbc]
fmul qword [esp + 0xc]
fst qword [esp + 0x14]
fstp qword [esp + 0x180]
fld dword [eax + 4]
fsub qword [esp + 0xc4]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1a8], edx
mov dword [esp + 0x1ac], esi
fmul qword [esp + 0xc]
fst qword [esp + 0x188]
fld st(1)
fchs
fst qword [esp + 0x6c]
fstp qword [esp + 0x190]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
fld st(0)
fchs
fst qword [esp + 0x34]
fstp qword [esp + 0x1a0]
fld qword [esp + 0x14]
fchs
fst qword [esp + 0x14]
fstp qword [esp + 0x1b0]
mov dword [esp + 0x1c8], edx
mov edx, dword [esp + 0x34]
fstp qword [esp + 0x1b8]
mov dword [esp + 0x1cc], esi
mov esi, dword [esp + 0x38]
fstp qword [esp + 0x1e0]
fld dword [ecx]
fsub qword [esp + 0x9c]
mov dword [esp + 0x1d0], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1d4], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], esi
fst qword [esp + 0xf8]
fld dword [edi + eax]
fsub qword [esp + 0xa4]
fstp qword [esp + 0x14]
fld dword [ecx + 8]
fsub qword [esp + 0xac]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x14]
fst qword [esp + 0x108]
fld st(1)
fchs
fst qword [esp + 0x6c]
fstp qword [esp + 0x110]
fst qword [esp + 0x120]
fld qword [esp + 0x14]
fchs
fst qword [esp + 0x128]
fstp qword [esp + 0x130]
fchs
fst qword [esp + 0x34]
fstp qword [esp + 0x138]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
fstp qword [esp + 0x148]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x158], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
xor ebx, ebx
lea edi, [esp + 0xf0]
lea edx, [esp + ebx + 0x2f0]
mov dword [esp + 0x14], 4
mov dword [edx], 0
mov dword [edx + 4], 0
fld qword [edx]
lea eax, [esp + ebx + 0x170]
mov ecx, edi
mov esi, 4
fld qword [eax]
fmul qword [ecx]
add eax, 8
add ecx, 0x20
dec esi
faddp st(1)
jne 0x428bf6
fstp qword [edx]
mov eax, dword [esp + 0x14]
add edx, 8
add edi, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x428bd9
add ebx, 0x20
cmp ebx, 0x80
jl 0x428bc3
xor eax, eax
mov ecx, 4
fld qword [esp + eax + 0x1f0]
fadd qword [esp + eax + 0x2f0]
add eax, 8
dec ecx
fstp qword [esp + eax + 0x268]
jne 0x428c2a
cmp eax, 0x80
jl 0x428c25
mov edx, dword [esp + 0x50]
mov ecx, 0x20
lea esi, [esp + 0x270]
lea edi, [esp + 0x1f0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov eax, 0xc
add ecx, 8
add esi, eax
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], esi
dec eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x428a08
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x84]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
push 0x80
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
lea eax, [esp + 0x1f4]
push edi
push 4
push eax
call fcn.00429d10
mov ecx, dword [esp + 0x200]
mov edx, dword [esp + 0x204]
fld qword [esp + 0x200]
add esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
xor esi, esi
mov edx, 1
lea ecx, [esp + 0x218]
fadd qword [ecx]
fld qword [esp + 0xc]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x428d1f
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
inc edx
add ecx, 0x28
cmp edx, 4
jl 0x428d01
fstp st(0)
lea ecx, [esp + 0x7c]
lea eax, [edi + esi*8]
mov edx, 4
mov esi, dword [eax]
add eax, 0x20
mov dword [ecx], esi
mov esi, dword [eax - 0x1c]
mov dword [ecx + 4], esi
add ecx, 8
dec edx
jne 0x428d36
push edi
call sub.MFC42.DLL_operatordelete
mov esi, dword [ebp + 0x18]
add esp, 4
mov ecx, 0x10
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, esi
mov ecx, 4
mov dword [eax], 0x3f800000
add eax, 0x14
dec ecx
jne 0x428d67
fld qword [esp + 0x7c]
fmul qword [esp + 0x7c]
fld qword [esp + 0x84]
fmul qword [esp + 0x84]
fld qword [esp + 0x8c]
fmul qword [esp + 0x8c]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x10]
push edx
mov dword [esp + 0x3c], 0
fstp qword [esp + 0x14]
fld qword [esp + 0x9c]
fmul qword [esp + 0x9c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push eax
lea ecx, [esp + 0xe4]
fstp qword [esp + 0x30]
fld st(0)
fadd st(2)
fsub qword [esp + 0x18]
fsub qword [esp + 0x30]
fstp dword [esi]
fxch st(1)
fsub st(1)
fxch st(1)
fstp st(0)
fld st(0)
fadd qword [esp + 0x18]
fsub qword [esp + 0x30]
fstp dword [esi + 0x14]
fsub qword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
fadd qword [esp + 0x30]
fstp dword [esi + 0x28]
fld qword [esp + 0xa0]
fmul qword [esp + 0x88]
fld qword [esp + 0x98]
fmul qword [esp + 0x90]
fld st(0)
fadd st(2)
fadd st(0), st(0)
fstp dword [esi + 4]
fsub st(1)
fadd st(0), st(0)
fstp dword [esi + 0x10]
fstp st(0)
fld qword [esp + 0xa0]
fmul qword [esp + 0x90]
fld qword [esp + 0x98]
fmul qword [esp + 0x88]
fld st(1)
fsub st(1)
fadd st(0), st(0)
fstp dword [esi + 8]
fadd st(1)
fadd st(0), st(0)
fstp dword [esi + 0x20]
fstp st(0)
fld qword [esp + 0x90]
fmul qword [esp + 0x88]
fld qword [esp + 0xa0]
fmul qword [esp + 0x98]
fld st(0)
fadd st(2)
fadd st(0), st(0)
fstp dword [esi + 0x18]
fsub st(1)
fadd st(0), st(0)
fstp dword [esi + 0x24]
fstp st(0)
call fcn.00429c10
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x7c]
push ecx
push edx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x380], 1
call fcn.00429cc0
lea ecx, [esp + 0x170]
mov byte [esp + 0x378], 2
push ecx
push eax
call fcn.0042a1f0
add esp, 8
lea edx, [esp + 0xb4]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x9c]
push edx
push eax
mov byte [esp + 0x380], 1
call fcn.00429cc0
lea ecx, [esp + 0x270]
mov byte [esp + 0x378], 3
push ecx
push eax
call fcn.0042a1f0
lea edx, [esp + 0xf8]
lea eax, [esp + 0xa4]
push edx
push eax
mov byte [esp + 0x388], 1
call fcn.0042a1f0
lea ecx, [esp + 0x300]
lea edx, [esp + 0x280]
push ecx
push 4
push 4
push esi
push edx
call fcn.0042a250
lea eax, [esp + 0x294]
lea ecx, [esp + 0x314]
push eax
push 4
push 4
lea edx, [esp + 0x1a0]
push ecx
push edx
call fcn.00405b20
push esi
push 4
lea eax, [esp + 0x130]
push 4
lea ecx, [esp + 0x2b4]
push eax
push ecx
call fcn.00405bd0
fld qword [0x4e00c0]
add esp, 0x4c
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
xor edx, edx
fld qword [esp + 0x34]
xor ecx, ecx
xor eax, eax
cmp ecx, eax
lea edi, [eax + ecx*4]
jne 0x428fca
fld dword [esi + edi*4]
fsubr qword [0x4e1438]
faddp st(1)
jmp 0x428fcd
fadd dword [esi + edi*4]
inc eax
cmp eax, 4
jl 0x428fb6
inc ecx
cmp ecx, 4
jl 0x428fb4
fmul qword [0x4e1c30]
xor ecx, ecx
xor eax, eax
lea edi, [eax + ecx*4]
cmp ecx, eax
fld dword [esi + edi*4]
jne 0x428ff3
fsubr qword [0x4e1438]
fsub st(1)
inc eax
cmp eax, 4
fld st(0)
fmul st(1)
faddp st(3)
fstp st(0)
jl 0x428fe3
inc ecx
cmp ecx, 4
jl 0x428fe1
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x64], 0
fstp st(0)
fmul qword [0x4e1c30]
fld qword [ecx + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x14], 0
fsub st(1)
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], edx
fabs
fstp qword [ecx + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
fstp qword [ecx + 0x10]
mov ebx, dword [ebp + 0x14]
mov byte [esp + 0x378], 4
mov edi, dword [ebx]
cmp edi, 1
jb 0x4290b2
lea eax, [edi*8]
push eax
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov edx, eax
test edi, edi
mov dword [esp + 0x44], edx
jbe 0x4290a1
mov ecx, edi
mov edi, edx
and ecx, 0x1fffffff
shl ecx, 1
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x1c]
add eax, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
fld qword [esp + 0xac]
fld qword [esp + 0xa4]
fld qword [esp + 0x9c]
fstp dword [esp + 0xcc]
fstp dword [esp + 0xd0]
fstp dword [esp + 0xd4]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
test eax, eax
mov byte [esp + 0x378], 5
mov dword [esp + 0x24], 0
jle 0x4291df
mov ebx, dword [ebp + 8]
mov eax, edi
sub ebx, eax
mov dword [esp + 0x30], ebx
jmp 0x429111
mov ebx, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.0041a5d0
lea eax, [ebx + edi]
push edi
push eax
call fcn.0043e550
fstp qword [esp + 0x78]
add esp, 0x14
lea edx, [esp + 0xcc]
lea eax, [esp + 0x6c]
mov ecx, edi
push edx
push eax
call fcn.00405230
mov ebx, eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xd8]
push ecx
push edx
lea ecx, [eax + edi]
call fcn.00405230
fld dword [eax + 4]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebx + 8]
faddp st(1)
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 1
je 0x42918f
fld qword [esp + 0x64]
fmul qword [0x4e1488]
fstp qword [esp + 0x64]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x64]
push ecx
push 1
push edx
lea ecx, [esp + 0x50]
call fcn.00429850
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fld qword [esp + 0x64]
fmul qword [ecx]
add ecx, 8
inc eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x14]
fadd qword [esp + 0xc]
mov edx, dword [ecx]
add edi, 0xc
cmp eax, edx
mov dword [esp + 0x24], eax
fstp qword [esp + 0xc]
jl 0x42910d
mov edx, dword [esp + 0x44]
mov ebx, ecx
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebx]
mov eax, dword [ebp + 0x10]
fld qword [esp + 0xc]
fdiv qword [esp + 0x54]
test esi, esi
jle 0x429215
mov ecx, edx
mov edi, eax
sub ecx, edi
fld qword [ecx + eax]
fsub st(1)
add eax, 8
dec esi
fld st(0)
fmul st(1)
fmul qword [eax - 8]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fstp st(0)
jne 0x4291f6
mov ecx, dword [ebp + 0x1c]
fld qword [esp + 0x14]
fdiv qword [esp + 0x54]
fxch st(1)
test edx, edx
fstp qword [ecx + 8]
fstp qword [ecx + 0x20]
je 0x429240
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push fcn.004011f0
push 2
lea edx, [esp + 0xa4]
push 0x18
push edx
mov dword [esp + 0x388], 0xffffffff
call fcn.004ce690
mov ecx, dword [esp + 0x370]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret