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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x1ac]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax + 4]
push esi
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x14]
push edi
push 0x90
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], edx
call fcn.006fa7e6
mov esi, dword [esp + 0xb8]
mov dword [esi], eax
mov eax, dword [esp + 0xa4]
mov edi, dword [ebp + 0x1ac]
add esp, 4
cmp eax, ebx
jne 0x4bcf68
mov ecx, dword [edi + 0x74]
fld dword [edi + 0x78]
mov edx, ecx
fstp dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x4bd051
fild dword [esp + 0xb0]
fld st(0)
fmul dword [edi + 0x150]
fld st(1)
fmul dword [edi + 0x154]
fstp dword [esp + 0x34]
fxch st(1)
fmul dword [edi + 0x158]
fstp dword [esp + 0x38]
fild dword [esp + 0xac]
fld st(0)
fmul dword [edi + 0x144]
fld st(1)
fmul dword [edi + 0x148]
fstp dword [esp + 0x5c]
fxch st(1)
fmul dword [edi + 0x14c]
fstp dword [esp + 0x60]
fild dword [esp + 0xa8]
fld st(0)
fmul dword [edi + 0x138]
fld st(1)
fmul dword [edi + 0x13c]
fstp dword [esp + 0x1c]
fxch st(1)
fmul dword [edi + 0x140]
fstp dword [esp + 0x20]
fadd dword [edi + 0x12c]
fld dword [esp + 0x1c]
fadd dword [edi + 0x130]
fstp dword [esp + 0x70]
fld dword [esp + 0x20]
fadd dword [edi + 0x134]
fstp dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x70]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x50]
fld dword [esp + 0x74]
fadd dword [esp + 0x60]
fstp dword [esp + 0x54]
fadd st(1)
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], ecx
fstp st(0)
fld dword [esp + 0x50]
fadd dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
fadd dword [esp + 0x38]
mov dword [esp + 0x70], edx
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xa4]
cmp ecx, 4
mov dword [esp + 0x24], ebx
je 0x4bd078
jle 0x4bd4d5
cdq
mov ecx, 6
idiv ecx
cmp edx, 4
jne 0x4bd4d5
lea eax, [edi + 0x12c]
mov dword [esp + 0x2c], eax
mov edx, dword [eax]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov eax, dword [edi + 0x6c]
cmp eax, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jg 0x4bd111
mov eax, dword [esp + 0x68]
push ebx
push 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, ebp
call fcn.004bcb70
cmp eax, 1
jne 0x4bd303
mov eax, dword [esp + 0xa8]
cdq
mov ecx, eax
mov eax, dword [esp + 0xac]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
add ecx, eax
mov dword [edx], ecx
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov dword [ecx + 8], ebx
mov edx, dword [esi]
pop edi
pop esi
pop ebp
mov dword [edx + 0xc], ebx
mov eax, 1
pop ebx
add esp, 0x8c
ret 0x18
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov edx, eax
imul edx, eax
mov eax, dword [esp + 0xb0]
mov ecx, ebp
imul ecx, ebp
add ecx, edx
mov edx, eax
imul edx, eax
add ecx, edx
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
fld st(0)
fsqrt
fdivr dword [0x73d764]
fild dword [esp + 0x14]
fild dword [esp + 0xa8]
fmul st(2)
fmul st(1)
fmul dword [0x7455c4]
call fcn.006fae8c
fild dword [esp + 0xac]
mov ebx, eax
mov dword [esp + 0x7c], ebx
fmul st(2)
fmul st(1)
fmul dword [0x7455c4]
call fcn.006fae8c
fstp st(0)
mov ecx, eax
fstp st(0)
mov eax, dword [esp + 0x14]
mov edx, eax
imul edx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x28]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4bd30e
fld dword [edi + 0x150]
mov eax, dword [esp + 0x2c]
fmul dword [0x73d700]
push 0
fld dword [edi + 0x154]
push 1
fmul dword [0x73d700]
fld dword [edi + 0x158]
fmul dword [0x73d700]
fstp dword [esp + 0x94]
fild dword [esp + 0x18]
fld st(0)
fmul dword [edi + 0x144]
fld st(1)
fmul dword [edi + 0x148]
fstp dword [esp + 0x64]
fxch st(1)
fmul dword [edi + 0x14c]
fstp dword [esp + 0x68]
fild dword [esp + 0x84]
fld st(0)
fmul dword [edi + 0x138]
fld st(1)
fmul dword [edi + 0x13c]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [edi + 0x140]
fstp dword [esp + 0x40]
fadd dword [eax]
fld dword [esp + 0x3c]
fadd dword [eax + 4]
fstp dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [eax + 8]
fstp dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x58]
fadd dword [esp + 0x64]
fstp dword [esp + 0x3c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x40]
fadd st(2)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
fadd st(1)
push eax
lea eax, [esp + 0x78]
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
fstp st(0)
mov dword [esp + 0x4c], ecx
fstp st(0)
lea ecx, [esp + 0x70]
fld dword [esp + 0x44]
push ecx
fadd dword [esp + 0x9c]
mov ecx, dword [esp + 0x88]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.004bcb70
mov ecx, dword [esp + 0x10]
cmp eax, 1
jne 0x4bd30e
mov eax, dword [esp + 0xac]
sub eax, ecx
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov eax, ebp
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
add edi, eax
mov dword [edx], edi
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov edx, dword [esi]
pop edi
mov dword [edx + 8], ecx
mov eax, dword [esi]
pop esi
pop ebp
mov dword [eax + 0xc], 0
mov eax, 1
pop ebx
add esp, 0x8c
ret 0x18
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xac]
sub ebx, ebp
mov dword [esp + 0x2c], ebx
fild dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], 0x3f000000
fstp dword [esp + 0x7c]
mov dword [esp + 0x14], 0x3e800000
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x7c]
call fcn.006fae8c
fld dword [esp + 0x10]
fmul dword [esp + 0x2c]
mov edi, eax
add edi, ebp
mov dword [esp + 0x80], edi
call fcn.006fae8c
mov ebx, eax
mov eax, dword [esp + 0xac]
add ebx, eax
cmp edi, ebp
mov dword [esp + 0x28], ebx
jne 0x4bd381
cmp ebx, eax
je 0x4bd4a5
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x1ac]
push 0
fld st(0)
push 1
fmul dword [eax + 0x144]
fld st(1)
fmul dword [eax + 0x148]
fstp dword [esp + 0x64]
fxch st(1)
fmul dword [eax + 0x14c]
fstp dword [esp + 0x68]
fild dword [esp + 0x88]
fld st(0)
fmul dword [eax + 0x138]
fld st(1)
fmul dword [eax + 0x13c]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [eax + 0x140]
fstp dword [esp + 0x40]
fadd dword [eax + 0x12c]
fld dword [esp + 0x3c]
fadd dword [eax + 0x130]
fstp dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [eax + 0x134]
fstp dword [esp + 0x5c]
fadd st(1)
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
fstp st(0)
fld dword [esp + 0x58]
fadd dword [esp + 0x64]
fstp dword [esp + 0x24]
fld dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
fadd dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
push eax
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x80]
push edx
call fcn.004bcb70
cmp eax, 1
jne 0x4bd499
mov eax, dword [esp + 0xac]
fld dword [esp + 0x14]
sub eax, ebx
fadd dword [esp + 0x10]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov eax, ebp
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
add ecx, eax
mov dword [edx], ecx
mov eax, dword [esi]
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx + 8], ebx
mov edx, dword [esi]
mov dword [edx + 0xc], 0
mov dword [esp + 0x24], 1
jmp 0x4bd4a1
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [0x73e9ac]
fst dword [esp + 0x14]
fcomp dword [0x73dff4]
fnstsw ax
test ah, 0x41
je 0x4bd341
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
je 0x4bd75f
or ebp, 0xffffffff
mov dword [esp + 0x28], ebp
lea esp, [esp]
mov edi, dword [esp + 0x48]
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
shl edi, 4
mov edi, edi
test ebp, ebp
jne 0x4bd4fc
test ebx, ebx
je 0x4bd73f
fild dword [esp + 0xb0]
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x1ac]
mov edx, dword [esp + 0xac]
fld st(0)
add edx, ebp
fmul dword [eax + 0x150]
mov dword [esp + 0x14], edx
fld st(1)
mov edx, dword [esp + 0xa8]
fmul dword [eax + 0x154]
add edx, ebx
mov dword [esp + 0x24], edx
push 0
fstp dword [esp + 0x8c]
fxch st(1)
push 1
fmul dword [eax + 0x158]
fstp dword [esp + 0x94]
fild dword [esp + 0x1c]
fld st(0)
fmul dword [eax + 0x144]
fld st(1)
fmul dword [eax + 0x148]
fstp dword [esp + 0x64]
fxch st(1)
fmul dword [eax + 0x14c]
fstp dword [esp + 0x68]
fild dword [esp + 0x2c]
fld st(0)
fmul dword [eax + 0x138]
fld st(1)
fmul dword [eax + 0x13c]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [eax + 0x140]
fstp dword [esp + 0x40]
fadd dword [eax + 0x12c]
fld dword [esp + 0x3c]
fadd dword [eax + 0x130]
fstp dword [esp + 0x58]
fld dword [esp + 0x40]
fadd dword [eax + 0x134]
fstp dword [esp + 0x5c]
faddp st(1)
fld dword [esp + 0x58]
fadd dword [esp + 0x64]
fstp dword [esp + 0x9c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x68]
fstp dword [esp + 0xa0]
fadd st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
fstp st(0)
fld dword [esp + 0x9c]
fadd dword [esp + 0x90]
fstp dword [esp + 0x24]
fld dword [esp + 0xa0]
mov edx, dword [esp + 0x24]
fadd dword [esp + 0x94]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
push edx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004bcb70
cmp eax, 1
jne 0x4bd73f
mov eax, ebx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
add ecx, eax
mov dword [edi + edx], ecx
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [edi + eax + 4], ecx
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov dword [edi + edx + 8], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esi]
inc eax
mov dword [edi + ecx + 0xc], 0
add edi, 0x10
cmp eax, 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x80], edi
jle 0x4bd73f
mov edx, eax
dec edx
lea ecx, [edi - 0x10]
mov dword [esp + 0x24], edx
nop
mov eax, dword [esi]
lea edi, [ecx + eax]
mov eax, dword [edi - 0xc]
cdq
mov ebx, eax
mov eax, dword [edi - 8]
xor ebx, edx
sub ebx, edx
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [edi + 8]
cdq
mov ebp, eax
mov eax, dword [edi + 4]
xor ebp, edx
sub ebp, edx
cdq
xor eax, edx
sub eax, edx
add ebp, eax
cmp ebp, ebx
jg 0x4bd71e
mov edx, dword [edi - 0x10]
mov eax, dword [edi]
mov dword [edi], edx
mov edx, dword [esi]
mov dword [ecx + edx - 0x10], eax
mov eax, dword [esi]
mov edi, dword [eax + ecx - 0xc]
mov edx, dword [eax + ecx + 4]
mov dword [eax + ecx + 4], edi
add eax, ecx
mov eax, dword [esi]
mov dword [ecx + eax - 0xc], edx
mov edx, dword [esi]
mov edi, dword [ecx + edx - 8]
lea eax, [ecx + edx]
mov edx, dword [eax + 8]
mov dword [eax + 8], edi
mov eax, dword [esi]
mov dword [ecx + eax - 8], edx
mov edx, dword [esi]
mov edi, dword [ecx + edx - 4]
lea eax, [ecx + edx]
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [esi]
mov dword [ecx + eax - 4], edx
mov eax, dword [esp + 0x24]
sub ecx, 0x10
dec eax
mov dword [esp + 0x24], eax
jne 0x4bd6a0
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
inc ebx
cmp ebx, 1
mov dword [esp + 0x10], ebx
jle 0x4bd4f0
inc ebp
cmp ebp, 1
mov dword [esp + 0x28], ebp
jle 0x4bd4e0
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0x18