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

Disassembly:
mov eax, 0x104c
call fcn.004c2460
push ebx
push ebp
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [0x1180458]
cmp dword [eax], 0
je 0x4b0632
mov edx, dword [esp + 0x1064]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
lea esi, [esp + 0x98]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1068]
mov dword [esp + 0x80], ecx
lea ebx, [esp + 0xa4]
mov ecx, dword [eax]
lea edi, [esp + 0x9c]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
sub edi, 0x20
lea ecx, [esp + 0x7c]
sub esi, 0x20
sub ebx, 0x20
cmp edi, ecx
jb 0x4b02df
mov ebp, dword [esi + 0x1c]
test ebp, ebp
jge 0x4b00df
mov ecx, dword [0x1180458]
mov eax, ebp
shl eax, 5
mov ecx, dword [ecx + 0xdc]
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x106c]
test dword [eax + 8], ecx
je 0x4b0319
mov eax, dword [esp + 0x1070]
test eax, eax
jl 0x4b00d7
lea edx, [esp + 0x24]
push edx
push eax
mov eax, ebp
push ecx
push ebx
push esi
neg eax
push eax
call fcn.004afed0
add esp, 0x18
test eax, eax
jne 0x4b0463
mov edx, dword [esp + 0x1064]
neg ebp
mov dword [esp + 0x3c], ebp
jmp 0x4b0066
je 0x4b04e1
mov eax, dword [0x1180458]
lea ecx, [ebp + ebp*2]
mov ebp, dword [0x1180458]
mov eax, dword [eax + 0xec]
mov ebp, dword [ebp + 0xac]
lea ecx, [eax + ecx*4]
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [ecx]
fld dword [esp + 0x50]
lea eax, [eax + eax*4]
fmul dword [ebp + eax*4 + 8]
fld dword [esp + 0x4c]
fmul dword [ebp + eax*4 + 4]
lea eax, [ebp + eax*4]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fstp dword [esp + 0x20]
fld dword [esp + 0x68]
fmul dword [eax + 8]
fld dword [esp + 0x64]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fcomp dword [0x4d7378]
fld dword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x4b0190
fadd qword [0x4d7460]
jmp 0x4b0196
fsub qword [0x4d7460]
fld dword [esp + 0x20]
fsub dword [esp + 0x10]
fdivp st(1)
fld dword [esp + 0x20]
fcomp dword [0x4d7378]
fld dword [esp + 0x10]
fnstsw ax
fcomp dword [0x4d7378]
test ah, 1
fnstsw ax
jne 0x4b01c9
test ah, 1
jne 0x4b01f3
mov ecx, dword [ecx + 4]
fstp st(0)
jmp 0x4b01d3
test ah, 1
je 0x4b01f3
mov ecx, dword [ecx + 8]
fstp st(0)
mov dword [esi + 0x1c], ecx
add edi, 0x20
lea eax, [esp + 0x105c]
add esi, 0x20
add ebx, 0x20
cmp edi, eax
jae 0x4b0622
jmp 0x4b0066
fcom dword [0x4d7378]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], eax
fnstsw ax
test ah, 1
je 0x4b0211
fstp st(0)
fld dword [0x4d74fc]
jmp 0x4b0226
fcom dword [0x4d7390]
fnstsw ax
test ah, 0x41
jne 0x4b0226
fstp st(0)
fld dword [0x4d8468]
fld dword [esp + 0x60]
fsub dword [esp + 0x48]
fmul st(1)
fadd dword [esp + 0x48]
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fsub dword [esp + 0x4c]
fmul st(1)
fadd dword [esp + 0x4c]
fstp dword [esp + 0x70]
fld dword [esp + 0x68]
fsub dword [esp + 0x50]
fmulp st(1)
fadd dword [esp + 0x50]
fld dword [esp + 0x20]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 1
je 0x4b0270
mov ebp, 1
jmp 0x4b0272
xor ebp, ebp
mov eax, dword [esp + 0x6c]
fst dword [esi + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov eax, dword [ecx]
mov dword [esi + 0x18], eax
xor eax, eax
test ebp, ebp
sete al
add edi, 0x20
add esi, 0x20
mov eax, dword [ecx + eax*4 + 4]
add ebx, 0x20
mov dword [esi - 4], eax
lea eax, [esp + 0x105c]
cmp edi, eax
jae 0x4b0620
mov eax, dword [esp + 0x48]
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x6c]
fstp dword [esi + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov ecx, dword [ecx + ebp*4 + 4]
jmp 0x4b01d3
mov eax, dword [esp + 0x1068]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x3f800000
mov edx, dword [eax]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
jmp 0x4b0632
fld dword [esi]
fcomp dword [edx]
fnstsw ax
test ah, 0x40
je 0x4b0353
fld dword [esi + 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 0x40
je 0x4b0353
fld dword [esi + 8]
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x40
je 0x4b0353
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
jmp 0x4b03f1
mov eax, dword [esp + 0x1068]
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x28], 0
fld dword [eax]
fsub dword [edx]
fstp dword [esp + 0x18]
fld dword [eax + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x20]
fld dword [esi]
fsub dword [edx]
fstp dword [esp + 0x58]
fld dword [esi + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x5c]
fld dword [esi + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x60]
call fcn.004285d0
fstp dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.00428370
fdivr dword [esp + 0x18]
add esp, 8
fstp dword [esp + 0x28]
fld dword [esi]
fld dword [esp + 0x14]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi]
fld dword [esi + 4]
fld dword [esp + 0x18]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fld dword [esp + 0x1c]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x1180458]
fld dword [esp + 0x1c]
neg ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov edx, dword [ecx + 0xac]
lea eax, [esi + esi*4]
fmul dword [edx + eax*4 + 8]
fld dword [esp + 0x18]
fmul dword [edx + eax*4 + 4]
lea eax, [edx + eax*4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax]
faddp st(1)
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x41
jne 0x4b0632
xor esi, 1
mov dword [esp + 0x44], esi
jmp 0x4b0632
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4b0632
mov ecx, dword [esp + 0x1068]
mov eax, dword [esp + 0x1064]
fld dword [ecx]
fsub dword [eax]
fstp dword [esp + 0x14]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fsub dword [eax]
fstp dword [esp + 0x54]
fld dword [esp + 0x30]
fsub dword [eax + 4]
fstp dword [esp + 0x58]
fld dword [esp + 0x34]
fsub dword [eax + 8]
lea eax, [esp + 0x54]
push eax
fstp dword [esp + 0x60]
call fcn.004285d0
fstp dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
call fcn.004285d0
fdivr dword [esp + 0x18]
add esp, 8
fstp dword [esp + 0x28]
jmp 0x4b0632
fld dword [esi]
fcomp dword [edx]
fnstsw ax
test ah, 0x40
je 0x4b051b
fld dword [esi + 4]
fcomp dword [edx + 4]
fnstsw ax
test ah, 0x40
je 0x4b051b
fld dword [esi + 8]
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x40
je 0x4b051b
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
jmp 0x4b05b9
mov eax, dword [esp + 0x1068]
mov dword [esp + 0x24], 0
fld dword [eax]
fsub dword [edx]
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]
fstp dword [esp + 0x54]
fld dword [esi + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x58]
fld dword [esi + 8]
fsub dword [edx + 8]
lea edx, [esp + 0x54]
push edx
fstp dword [esp + 0x60]
call fcn.004285d0
fstp dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.00428370
fdivr dword [esp + 0x18]
add esp, 8
fstp dword [esp + 0x28]
fld dword [esi]
fld dword [esp + 0x14]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi]
fld dword [esi + 4]
fld dword [esp + 0x18]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi + 4]
fld dword [esi + 8]
fld dword [esp + 0x1c]
fmul qword [0x4d7460]
fsubp st(1)
fstp dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [0x1180458]
mov dword [esp + 0x34], eax
xor eax, eax
fld dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov eax, dword [edx + 0xac]
lea ecx, [esi + esi*4]
fmul dword [eax + ecx*4 + 8]
fld dword [esp + 0x18]
fmul dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax]
faddp st(1)
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x41
jne 0x4b0632
xor esi, 1
mov dword [esp + 0x44], esi
jmp 0x4b0632
fstp st(0)
push str.AAS_TraceBoundingBox:_stack_overflow_n
push 3
call dword [0x1180ce0]
add esp, 8
mov eax, dword [esp + 0x1060]
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, 0x104c
ret