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

Disassembly:
mov eax, 0x1040
call fcn.004aec00
push ebx
push ebp
push esi
push edi
push 0x24
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00420650
mov eax, dword [0xc68d60]
add esp, 0xc
test eax, eax
je 0x4a9d62
mov edx, dword [esp + 0x1058]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x105c]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 1
lea esi, [esp + 0x8c]
lea ebp, [esp + 0x98]
lea edi, [esp + 0x90]
sub edi, 0x20
lea ecx, [esp + 0x70]
sub esi, 0x20
sub ebp, 0x20
cmp edi, ecx
jb 0x4a9a1d
mov ebx, dword [esi + 0x1c]
test ebx, ebx
jge 0x4a9829
lea eax, [ebx*8]
sub eax, ebx
shl eax, 2
mov ecx, eax
mov eax, dword [0xc68e3c]
sub eax, ecx
mov ecx, dword [esp + 0x1060]
test dword [eax + 8], ecx
je 0x4a9a57
mov eax, dword [esp + 0x1064]
test eax, eax
jl 0x4a9821
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push ebp
mov eax, ebx
neg eax
push esi
push eax
call fcn.004a9620
add esp, 0x18
test eax, eax
jne 0x4a9bb2
mov edx, dword [esp + 0x1058]
neg ebx
mov dword [esp + 0x3c], ebx
jmp 0x4a97b0
je 0x4a9c3b
mov eax, dword [0xc68e4c]
fld dword [esi]
lea ecx, [ebx + ebx*2]
mov ebx, dword [0xc68e0c]
lea ecx, [eax + ecx*4]
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ebp]
fld dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
lea eax, [eax + eax*4]
fmul dword [ebx + eax*4 + 8]
lea eax, [ebx + eax*4]
fld dword [esp + 0x4c]
fmul dword [eax + 4]
faddp st(1)
fld st(1)
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fld dword [esp + 0x5c]
fmul dword [eax + 8]
fld dword [esp + 0x58]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fstp dword [esp + 0x20]
fcom dword [0x4bc2d8]
fld dword [esp + 0x20]
fnstsw ax
fcomp dword [0x4bc2d8]
test ah, 1
fnstsw ax
jne 0x4a98cc
test ah, 1
jne 0x4a98f8
mov ecx, dword [ecx + 4]
fstp st(0)
fstp st(0)
jmp 0x4a98d8
test ah, 1
je 0x4a98f8
mov ecx, dword [ecx + 8]
fstp st(0)
fstp st(0)
mov dword [esi + 0x1c], ecx
add edi, 0x20
lea eax, [esp + 0x1050]
add esi, 0x20
add ebp, 0x20
cmp edi, eax
jae 0x4a9d52
jmp 0x4a97b0
fcom dword [esp + 0x20]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
fnstsw ax
test ah, 0x40
je 0x4a9910
fsub dword [0x4bc7d4]
fcom dword [0x4bc2d8]
fld st(0)
fnstsw ax
test ah, 1
je 0x4a9927
fadd qword [0x4bc3a8]
jmp 0x4a992d
fsub qword [0x4bc3a8]
fld st(1)
fsub dword [esp + 0x20]
fdivp st(1)
fcom dword [0x4bc2d8]
fnstsw ax
test ah, 1
je 0x4a994c
fstp st(0)
fld dword [0x4bc7d4]
jmp 0x4a9961
fcom dword [0x4bc318]
fnstsw ax
test ah, 0x41
jne 0x4a9961
fstp st(0)
fld dword [0x4bd2b0]
fld dword [esp + 0x54]
fsub st(3)
fmul st(1)
fadd st(3)
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fsub dword [esp + 0x4c]
fmul st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fsub dword [esp + 0x50]
fmul st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x68]
fstp st(0)
fcomp dword [0x4bc2d8]
fnstsw ax
test ah, 1
je 0x4a99a9
mov eax, 1
jmp 0x4a99ab
xor eax, eax
mov ebx, dword [esp + 0x60]
mov dword [esi], ebx
mov ebx, dword [esp + 0x64]
mov dword [edi], ebx
mov ebx, dword [esp + 0x68]
mov dword [esi + 8], ebx
mov ebx, dword [ecx]
mov dword [esi + 0x18], ebx
xor ebx, ebx
test eax, eax
sete bl
add edi, 0x20
add esi, 0x20
add ebp, 0x20
mov ebx, dword [ecx + ebx*4 + 4]
mov dword [esi - 4], ebx
lea ebx, [esp + 0x1050]
cmp edi, ebx
jae 0x4a9d50
mov ebx, dword [esp + 0x4c]
fstp dword [esi]
mov dword [edi], ebx
mov ebx, dword [esp + 0x50]
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [ebp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esi + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi + 0x18], ebx
mov ecx, dword [ecx + eax*4 + 4]
jmp 0x4a98d8
mov eax, dword [esp + 0x105c]
mov edx, dword [eax]
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
jmp 0x4a9d62
fld dword [esi]
fcomp dword [edx]
fnstsw ax
test ah, 0x40
je 0x4a9aa9
fld dword [esi + 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 0x40
je 0x4a9aa9
fld dword [esi + 8]
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x40
je 0x4a9aa9
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jmp 0x4a9b49
mov eax, dword [esp + 0x105c]
fld dword [eax]
lea ecx, [esp + 0x10]
fsub dword [edx]
push ecx
mov dword [esp + 0x28], 0
fstp dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x18]
fld dword [eax + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x1c]
fld dword [esi]
fsub dword [edx]
fld dword [esi + 4]
fsub dword [edx + 4]
fld dword [esi + 8]
fsub dword [edx + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fstp dword [esp + 0x20]
call fcn.0042c7d0
fdivr dword [esp + 0x20]
add esp, 4
fstp dword [esp + 0x28]
fld dword [esi]
fld dword [esp + 0x10]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi]
fld dword [esi + 4]
fld dword [esp + 0x14]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fld dword [esp + 0x18]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
neg ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], ebx
mov esi, dword [esi + 0x18]
fld dword [esp + 0x14]
mov eax, dword [0xc68e0c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x44], esi
fmul dword [eax + 4]
fld dword [esp + 0x18]
fmul dword [eax + 8]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [eax]
faddp st(1)
fcomp dword [0x4bc2d8]
fnstsw ax
test ah, 0x41
jne 0x4a9d62
xor esi, 1
mov dword [esp + 0x44], esi
jmp 0x4a9d62
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a9d62
mov eax, dword [esp + 0x1058]
mov ecx, dword [esp + 0x105c]
fld dword [ecx]
fsub dword [eax]
fld dword [ecx + 4]
fsub dword [eax + 4]
fld dword [ecx + 8]
fsub dword [eax + 8]
fld dword [esp + 0x2c]
fsub dword [eax]
fld dword [esp + 0x30]
fsub dword [eax + 4]
fld dword [esp + 0x34]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fld st(3)
fmulp st(4)
fld st(2)
fmul st(3)
faddp st(4)
fld st(1)
fmul st(2)
faddp st(4)
fxch st(3)
fsqrt
fxch st(3)
fxch st(3)
fdivp st(3)
fxch st(2)
fstp dword [esp + 0x28]
fxch st(1)
fstp st(0)
fstp st(0)
jmp 0x4a9d62
fld dword [esi]
fcomp dword [edx]
fnstsw ax
test ah, 0x40
je 0x4a9c8d
fld dword [esi + 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 0x40
je 0x4a9c8d
fld dword [esi + 8]
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x40
je 0x4a9c8d
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jmp 0x4a9d2d
mov eax, dword [esp + 0x105c]
fld dword [eax]
lea ecx, [esp + 0x10]
fsub dword [edx]
push ecx
mov dword [esp + 0x28], 0
fstp dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x18]
fld dword [eax + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x1c]
fld dword [esi]
fsub dword [edx]
fld dword [esi + 4]
fsub dword [edx + 4]
fld dword [esi + 8]
fsub dword [edx + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fstp dword [esp + 0x20]
call fcn.0042c7d0
fdivr dword [esp + 0x20]
add esp, 4
fstp dword [esp + 0x28]
fld dword [esi]
fld dword [esp + 0x10]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi]
fld dword [esi + 4]
fld dword [esp + 0x14]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fld dword [esp + 0x18]
fmul qword [0x4bc3a8]
fsubp st(1)
fstp dword [esi + 8]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
jmp 0x4a9b6b
fstp st(0)
push str.AAS_TraceBoundingBox:_stack_overflow_n
push 3
call dword [0xc6aa00]
add esp, 8
mov eax, dword [esp + 0x1054]
mov ecx, 9
lea esi, [esp + 0x24]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1040
ret