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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52d63c
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [ebx + 8]
fldz
mov edx, dword [ecx + 0x74]
fld st(0)
xor edi, edi
cmp edx, edi
jle 0x480ce4
mov eax, dword [ecx + 0x70]
fadd qword [eax]
add eax, 8
dec edx
jne 0x480c2f
fst qword [esp + 0x74]
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x480ce6
fld qword [ecx + 0x78]
fst qword [esp + 0x4c]
fdivrp st(1)
fstp qword [esp + 0x7c]
fld qword [esp + 0x7c]
fnstcw word [esp + 0x20]
mov ax, word [esp + 0x20]
and ax, 0xf3ff
or ax, 0x400
mov word [esp + 0x1c], ax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x34]
fldcw word [esp + 0x20]
fild dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], esi
fmul qword [esp + 0x74]
fsubr qword [esp + 0x4c]
fst qword [esp + 0x4c]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x480d3a
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x70]
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x480d3a
mov ecx, edx
fsub qword [ecx]
xor eax, eax
cmp dword [esp + 0x28], edi
sete al
inc esi
fcom qword [edx + esi*8]
lea ecx, [edx + esi*8]
mov dword [esp + 0x28], eax
fnstsw ax
test ah, 1
je 0x480cbd
fstp qword [esp + 0x4c]
mov dword [esp + 0x38], esi
jmp 0x480d3c
fstp st(0)
push 0x20
fstp st(0)
call fcn.00511699
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], edi
cmp eax, edi
je 0x480d20
mov ecx, eax
call fcn.0048c190
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(0)
push 0x20
call fcn.00511699
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], 1
cmp eax, edi
je 0x480d66
mov ecx, eax
call fcn.0048c190
mov dword [esp + 0x24], eax
jmp 0x480d6a
mov dword [esp + 0x24], edi
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 8]
xor ecx, ecx
mov dword [esp + 0xc0], 0xffffffff
cmp edx, edi
jle 0x480fd3
jmp 0x480d8b
mov esi, dword [esp + 0x38]
dec edx
mov eax, ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
jge 0x480daf
mov ebx, dword [ebx + 4]
lea esp, [esp]
test byte [ebx + eax], 2
jne 0x480dab
inc eax
cmp eax, edx
jl 0x480da0
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x70]
fld qword [edx + esi*8]
mov ebx, dword [esp + 0x28]
fsub qword [esp + 0x4c]
mov edi, 1
fstp qword [esp + 0x44]
cmp ecx, eax
jge 0x480fc2
mov edx, ecx
shl edx, 4
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
jmp 0x480dea
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
fld qword [edx + ecx]
lea eax, [edx + ecx]
fst qword [esp + 0x5c]
fld qword [eax + 8]
fst qword [esp + 0x64]
fld qword [eax + 0x10]
fst qword [esp + 0x6c]
fld qword [eax + 0x18]
fst qword [esp + 0x74]
fxch st(1)
fsubrp st(3)
fsubrp st(1)
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call fcn.005121c0
fst qword [esp + 0x54]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jp 0x480fab
fld qword [esp + 0x44]
fld qword [esp + 0x5c]
fld qword [esp + 0x64]
jmp 0x480e48
fxch st(4)
fxch st(1)
fxch st(2)
fxch st(2)
fcom st(4)
fnstsw ax
test ah, 1
jne 0x480edb
test ebx, ebx
je 0x480eb5
fstp st(4)
fstp st(3)
fstp st(1)
test edi, edi
je 0x480e7c
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0048c2b0
xor edi, edi
jmp 0x480e80
fstp st(1)
fstp st(0)
fld qword [esp + 0x74]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x7c]
fstp qword [esp]
call fcn.0048c310
fld qword [esp + 0x44]
fld qword [esp + 0x5c]
fld qword [esp + 0x64]
fldz
fld qword [esp + 0x54]
fxch st(4)
fxch st(1)
fxch st(3)
fxch st(1)
fsubrp st(4)
fxch st(3)
fst qword [esp + 0x44]
fld st(2)
fst qword [esp + 0x54]
fxch st(1)
fcomp st(3)
fnstsw ax
test ah, 0x41
jnp 0x480f6f
fstp st(0)
fstp st(2)
jmp 0x480fab
fld st(0)
fdiv st(5)
fld qword [esp + 0x6c]
fsub st(3)
fmul st(1)
fadd st(3)
fstp qword [esp + 0x64]
fld qword [esp + 0x74]
fsub st(4)
fmulp st(1)
fadd st(3)
fstp qword [esp + 0x7c]
test ebx, ebx
je 0x480fef
fstp st(4)
fstp st(3)
fstp st(1)
test edi, edi
je 0x480f22
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0048c2b0
jmp 0x480f26
fstp st(1)
fstp st(0)
fld qword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x74]
fstp qword [esp]
call fcn.0048c310
fld qword [esp + 0x44]
fld qword [esp + 0x54]
fldz
fxch st(1)
fxch st(2)
fld qword [esp + 0x64]
fst qword [esp + 0x5c]
fld qword [esp + 0x7c]
fst qword [esp + 0x64]
fxch st(4)
fsubrp st(2)
fxch st(1)
fst qword [esp + 0x54]
fxch st(1)
fxch st(3)
fxch st(1)
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
xor edx, edx
test ebx, ebx
sete dl
inc esi
mov ebx, edx
cmp esi, dword [eax + 0x74]
jne 0x480f87
xor esi, esi
mov ecx, dword [eax + 0x70]
fld qword [ecx + esi*8]
mov edi, 1
fst qword [esp + 0x44]
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 0x41
je 0x480e42
fstp st(0)
fstp st(3)
fstp st(0)
add dword [esp + 0x2c], 0x10
fstp st(1)
dec dword [esp + 0x40]
fstp st(0)
jne 0x480de6
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp ecx, edx
jl 0x480d87
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(1)
fstp st(1)
jmp 0x480f4f