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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578c0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x84], ebp
jne 0x46a468
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov dword [esp + 0xe8], ebp
je 0x46a448
push 0x273e
mov ecx, eax
call fcn.00486d60
jmp 0x46a44a
xor eax, eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0x5a5210
push eax
mov dword [esp + 0xf0], 0xffffffff
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 0x114]
call fcn.00465160
mov ecx, dword [esi + 0xc0]
call fcn.00422bf0
mov ecx, esi
call fcn.00468790
fld dword [0x590620]
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0xe8]
fmul dword [0x590620]
mov ecx, dword [eax + 0x510]
mov edi, dword [eax + 0x514]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x7c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x24]
mov dword [esi + 0x120], ebp
mov dword [esi + 0x128], ebp
fmul qword [0x586030]
fstp dword [esp + 0x4c]
fild dword [esp + 0x18]
mov dword [esi + 0x130], ebp
mov dword [esi + 0x138], ebp
cmp eax, 0xffffffff
mov dword [esp + 0x60], edi
fstp dword [esp + 0x3c]
fld qword [esi + 0x100]
mov dword [esp + 0x74], eax
mov dword [esp + 0x30], ebx
mov dword [esi + 0x124], ebp
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x134], ebp
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x118], ebp
mov dword [esp + 0x5c], 0
jne 0x46a540
fmul qword [0x58e008]
fdiv dword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x108]
mov dword [esp + 0x54], eax
jmp 0x46a55d
fmul qword [0x58e000]
fdiv dword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x100]
fadd st(0), st(0)
mov dword [esp + 0x54], eax
fcos
fstp dword [esp + 0x64]
xor eax, eax
mov dword [esp + 0xa4], 0x3f800000
cmp ebx, eax
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0x98], 0xbf800000
mov dword [esp + 0xac], 0xbf800000
mov dword [esp + 0x9c], 0xbf800000
mov dword [esp + 0xb0], 0xbf800000
mov dword [esp + 0xa0], 0x3f800000
jle 0x46ab36
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0xbc]
lea eax, [esp + 0xc4]
push edx
push eax
push ebp
call fcn.0045c120
test al, al
je 0x46ab61
fld qword [esp + 0xc4]
fmul qword [0x585b20]
fstp dword [esp + 0x10]
fld qword [esp + 0xbc]
fmul qword [0x585b20]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x8c]
push ecx
push edx
mov eax, dword [esi + 0xe8]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
push eax
call fcn.00467aa0
fld dword [esp + 0x30]
fsubr qword [0x58df50]
add esp, 0x1c
lea ecx, [esp + 0xcc]
lea edx, [esp + 0xd4]
mov eax, dword [esi + 0xe8]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x20]
fadd qword [0x58df40]
sub esp, 8
fstp qword [esp]
push eax
call fcn.00467aa0
fld qword [esp + 0xa8]
fabs
fdiv dword [esp + 0x58]
add esp, 0x1c
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xb4]
fabs
fdiv dword [esp + 0x3c]
mov ebx, eax
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], edi
lea ecx, [ebx + edx]
cmp ecx, edi
jg 0x46a6b1
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov ebx, 0
sub ecx, edx
mov dword [esp + 0x50], edi
sets bl
dec ebx
add edx, eax
and ecx, ebx
cmp edx, edi
jg 0x46a6ce
mov dword [esp + 0x50], edx
fld dword [esp + 0x14]
fcos
mov ebx, dword [esp + 0x54]
mov edx, dword [esi + 0x7c]
sub eax, ebx
mov ebx, 0
sets bl
dec ebx
mov dword [esp + 0x18], ecx
and ebx, eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x84], ebx
fld dword [esp + 0x10]
fcos
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x10]
fsin
fmul st(1)
fstp dword [esp + 0x80]
fstp st(0)
fld dword [esp + 0x14]
fsin
fstp dword [esp + 0x88]
fld qword [eax + ebp*8]
mov eax, dword [esp + 0x24]
fadd dword [esp + 0x5c]
cmp ecx, eax
fstp dword [esp + 0x5c]
jge 0x46ab27
lea eax, [ecx - 1]
imul ecx, edi
imul eax, edi
mov dword [esp + 0x44], eax
mov eax, edi
shl eax, 4
mov dword [esp + 0x68], eax
mov eax, edi
shl eax, 5
mov dword [esp + 0x78], eax
mov eax, edi
shl eax, 7
mov dword [esp + 0x70], eax
lea eax, [ecx + ebx]
mov ecx, eax
mov dword [esp + 0x34], eax
mov edx, eax
shl ecx, 4
shl eax, 5
shl edx, 7
add ecx, 0xc
add eax, 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x46a78e
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
cmp ebx, eax
jge 0x46aae2
mov eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x58], ecx
xor edi, edi
jmp 0x46a7b8
mov eax, dword [esp + 0x14]
fld dword [esp + 0x6c]
fmul dword [esp + edi*4 + 0x94]
mov ebx, dword [esi + 0xfc]
fmul qword [eax + ebx + 0x28]
fld dword [esp + 0x80]
fmul dword [esp + edi*4 + 0xa4]
fmul qword [eax + ebx + 0x20]
faddp st(1)
fld dword [esp + 0x88]
fmul qword [eax + ebx + 0x18]
faddp st(1)
fabs
fld dword [esp + 0x64]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x46aa92
cmp dword [esp + 0x74], 1
jne 0x46a87c
fst dword [esp + 0x2c]
fcomp qword [0x586028]
fnstsw ax
test ah, 0x41
jne 0x46a823
mov dword [esp + 0x2c], 0x3f800000
fld dword [esp + 0x2c]
call sub.MSVCRT.dll__CIacos
fld qword [esi + 0x100]
fst dword [esp + 0x28]
fdivp st(1)
fmul qword [0x58dff8]
fld st(0)
call sub.MSVCRT.dll__ftol
lea ecx, [eax + 1]
mov dword [esp + 0x28], eax
cmp ecx, 0x32
jle 0x46a85b
fstp st(0)
fld dword [0x588b40]
jmp 0x46a884
fld qword [ecx*8 + 0x68a0c8]
fsub qword [eax*8 + 0x68a0c8]
fild dword [esp + 0x28]
fsubr st(2)
fmulp st(1)
fadd qword [eax*8 + 0x68a0c8]
fstp st(1)
jmp 0x46a884
fstp st(0)
fld dword [0x58a478]
mov edx, dword [esi + 0x7c]
mov ecx, dword [esp + 0x58]
mov edx, dword [edx + 0x2c]
lea eax, [ecx + edi]
add ecx, edi
fld qword [edx + ebp*8]
fld st(1)
fmulp st(1)
lea eax, [ebx + eax*8 - 0x20]
fadd qword [eax]
fstp qword [eax]
mov edx, dword [esi + 0xfc]
mov eax, dword [esi + 0x7c]
lea ecx, [edx + ecx*8]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x2c]
fld qword [edx + ebp*8]
fmul qword [eax + ebp*8]
fxch st(1)
fmulp st(1)
mov eax, dword [esp + 0x14]
fadd qword [ecx]
fstp qword [ecx]
mov ebx, dword [esi + 0xfc]
fld dword [esp + edi*4 + 0xa4]
fmul qword [eax + ebx + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + edi*4 + 0x94]
fmul qword [eax + ebx + 0x38]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fsub qword [esp + 0x8c]
fst qword [esp + 0x34]
fabs
fld dword [esp + 0x4c]
fcompp
fnstsw ax
test ah, 1
jne 0x46aa94
fld dword [esp + 0x2c]
fsub qword [esp + 0xb4]
fld st(0)
fabs
fld dword [esp + 0x4c]
fcompp
fnstsw ax
test ah, 1
jne 0x46aa92
fld dword [esp + 0x4c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x40
jne 0x46aa92
fld dword [esp + 0x4c]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x40
jne 0x46aa94
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0x7c]
lea eax, [ecx + edi]
shl eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x2c]
fld qword [eax + ebp*8]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + ebx]
faddp st(1)
add edx, eax
mov dword [ecx + ebx], edx
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x46aa94
fild dword [esp + 0x18]
fild dword [esp + 0x60]
mov edx, dword [esi + 0xfc]
fmul qword [0x58dff0]
mov dword [ecx + edx], 0
fstp qword [esp + 0x34]
fcom qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x46aa10
fild dword [esp + 0x10]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x46aa10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0xfc]
add eax, ecx
shl eax, 5
add eax, edi
fstp st(0)
lea ebx, [edx + eax*4 - 0x78]
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x2c]
fld qword [ecx + ebp*8]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
add dword [ebx], eax
jmp 0x46aa94
fcom qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x46aa50
fild dword [esp + 0x10]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x46aa50
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0xfc]
add edx, eax
shl edx, 5
add edx, edi
fstp st(0)
lea ebx, [ecx + edx*4 + 8]
mov edx, dword [esi + 0x7c]
mov eax, dword [edx + 0x2c]
fld qword [eax + ebp*8]
jmp 0x46aa83
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x46aa94
fild dword [esp + 0x10]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x46aa94
mov ecx, dword [esp + 0x48]
mov edx, dword [esi + 0xfc]
mov eax, dword [esi + 0x7c]
add ecx, edi
lea ebx, [edx + ecx*4 - 0x80]
mov ecx, dword [eax + 0x2c]
fld qword [ecx + ebp*8]
fadd qword [0x586030]
call sub.MSVCRT.dll__ftol
add dword [ebx], eax
jmp 0x46aa94
fstp st(0)
inc edi
cmp edi, 4
jl 0x46a7b4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add eax, 0x10
inc ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
add eax, 0x80
add edi, 0x20
cmp ecx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], edi
jl 0x46a7b0
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
inc ebx
add edx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
add ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x68]
add eax, edi
add ecx, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp eax, ebx
jl 0x46a787
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x46a5c3
xor eax, eax
cmp edi, eax
jle 0x46acdc
mov eax, edi
mov dword [esp + 0x20], 0x40
shl eax, 7
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
jmp 0x46abb0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov dword [esp + 0xe8], 1
je 0x46ab8c
push 0x273e
mov ecx, eax
call fcn.00486d60
jmp 0x46ab8e
xor eax, eax
lea ecx, [esp + 0x30]
push 0x5a5210
push ecx
mov dword [esp + 0xf0], 0xffffffff
mov dword [esp + 0x38], eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xfc]
lea ebx, [ecx - 0x38]
mov ebp, 4
mov eax, dword [esi + 0x7c]
fld qword [ecx + edx + 0x20]
fdiv qword [eax + 0x18]
fmul qword [0x58b438]
fstp qword [ecx + edx + 0x20]
mov edx, dword [esi + 0xfc]
fld qword [edx + ecx]
lea eax, [edx + ecx]
mov edx, dword [esi + 0x7c]
fdiv qword [edx + 0x10]
fmul qword [0x58b438]
fstp qword [eax]
mov edx, dword [esi + 0xfc]
fld qword [ecx + edx + 0x20]
fcomp qword [esi + 0x128]
fnstsw ax
test ah, 0x41
jne 0x46ac17
mov eax, dword [ecx + edx + 0x20]
mov dword [esi + 0x128], eax
mov eax, dword [ecx + edx + 0x24]
mov dword [esi + 0x12c], eax
fld qword [edx + ecx]
fcomp qword [esi + 0x120]
fnstsw ax
test ah, 0x41
jne 0x46ac3a
mov eax, dword [edx + ecx]
mov dword [esi + 0x120], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + 0x124], eax
fld qword [ecx + edx + 0x20]
fcomp qword [esi + 0x138]
fnstsw ax
test ah, 1
je 0x46ac5f
mov eax, dword [ecx + edx + 0x20]
mov dword [esi + 0x138], eax
mov eax, dword [ecx + edx + 0x24]
mov dword [esi + 0x13c], eax
fld qword [edx + ecx]
fcomp qword [esi + 0x130]
fnstsw ax
test ah, 1
je 0x46ac82
mov eax, dword [edx + ecx]
mov dword [esi + 0x130], eax
mov eax, dword [edx + ecx + 4]
mov dword [esi + 0x134], eax
mov eax, dword [edx + ebx]
cmp eax, dword [esi + 0x118]
jle 0x46ac93
mov dword [esi + 0x118], eax
add ecx, 8
add ebx, 4
dec ebp
jne 0x46abbe
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ecx, 0x80
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jne 0x46abac
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add edx, ecx
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
jne 0x46ab53
xor eax, eax
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0x120]
pop edi
mov dword [edx + 0x10], ecx
mov ecx, dword [esi + 0x124]
mov dword [edx + 0x14], ecx
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0x128]
mov dword [edx + 0x18], ecx
mov ecx, dword [esi + 0x12c]
mov dword [edx + 0x1c], ecx
mov edx, dword [esi + 0xc0]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov ecx, dword [esi + 0xc0]
pop esi
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret