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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x4b3585
mov eax, dword [esi + 0x88]
fld qword [ebp + 0x14]
fld qword [ebp + 0xc]
cmp eax, edi
jne 0x4b3562
fst qword [esi + 0x68]
fxch st(1)
fst qword [esi + 0x70]
fxch st(1)
fadd qword [ebp + 0x1c]
mov ecx, dword [ebp + 0x30]
add eax, ecx
mov dword [esi + 0x88], eax
fstp qword [esi + 0x78]
fadd qword [ebp + 0x24]
fstp qword [esi + 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
cmp dword [esi + 0x20], edi
je 0x4b359e
cmp dword [esi + 0x54], edi
je 0x4b359e
mov edx, dword [ebp + 0x30]
add dword [esi + 0x40], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
cmp dword [ebp + 0x2c], 0x20
mov eax, dword [ebp + 8]
fld qword [eax + 0x228]
jne 0x4b35b3
fadd qword [eax + 0x230]
fmul qword [eax + 0x238]
fld qword [eax + 0x1f8]
fmul st(1)
fld qword [eax + 0x208]
fldz
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fsubr qword [ebp + 0x1c]
fld qword [eax + 0x200]
fmulp st(3)
fld qword [eax + 0x210]
fmul st(2)
faddp st(3)
fld qword [ebp + 0x24]
fsubrp st(3)
fld qword [eax + 0x10]
fmul st(1)
fld qword [eax + 0x20]
fmul st(4)
faddp st(1)
fst qword [esp + 0x68]
fxch st(1)
fmul qword [eax + 0x18]
fxch st(3)
fmul qword [eax + 0x28]
faddp st(3)
fxch st(2)
fst qword [esp + 0x60]
fld qword [eax + 0x10]
fld qword [ebp + 0xc]
fmul st(1), st(0)
fld qword [eax + 0x20]
fld qword [ebp + 0x14]
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fadd qword [eax + 0x30]
fst qword [esp + 0x90]
fxch st(1)
fmul qword [eax + 0x18]
fxch st(2)
fmul qword [eax + 0x28]
faddp st(2)
fxch st(1)
fadd qword [eax + 0x38]
fst qword [esp + 0x80]
fld st(1)
fadd st(5)
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x4b3a6e
fld qword [esi + 0x30]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x4b3a74
fld st(0)
fadd st(2)
fcomp st(3)
fnstsw ax
fstp st(2)
test ah, 5
jnp 0x4b3a76
fld qword [esi + 0x38]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x4b3a78
fld qword [esi + 0x30]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x4b3a7a
fcomp qword [esi + 0x38]
fnstsw ax
test ah, 0x41
je 0x4b3a7c
mov ecx, dword [0x63e0d8]
call fcn.00477d60
test eax, eax
jne 0x4b36fb
fld qword [esp + 0x68]
fabs
fld qword [0x5c5a50]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4b36f9
fld qword [esp + 0x60]
fabs
fcompp
fnstsw ax
test ah, 5
jp 0x4b36fb
inc dword [esi + 0x58]
cmp dword [esi + 0x58], 0xc350
jle 0x4b36fb
mov eax, dword [ebp + 0x30]
add dword [esi + 0x40], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
fstp st(0)
mov ebx, dword [ebp + 0x38]
cmp ebx, 1
jne 0x4b3743
mov ecx, dword [ebp + 0x34]
mov eax, dword [ecx]
cmp eax, 0x20
je 0x4b3719
cmp eax, 9
je 0x4b3719
cmp eax, 0xa0
jne 0x4b3784
mov edx, dword [ebp + 0x30]
add dword [esi + 0x40], edx
mov esi, dword [esi + 0x8c]
mov eax, dword [esi + 8]
cmp eax, edi
jle 0x4b3a82
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4 - 4]
mov byte [edx + 0x33], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
cmp ebx, edi
jle 0x4b3a5f
cmp ebx, 1
jle 0x4b3784
mov dword [esp + 0x38], 1
test ebx, ebx
jle 0x4b3788
lea esp, [esp]
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax + edi*4]
push ecx
call fcn.004ffa10
add esp, 4
test eax, eax
je 0x4b377a
inc edi
cmp edi, ebx
jl 0x4b3760
jmp 0x4b3788
mov dword [esp + 0x38], 0
jmp 0x4b3788
mov dword [esp + 0x38], edi
fild dword [ebp + 0x38]
mov eax, dword [esi + 0x44]
fld qword [esp + 0x68]
mov dword [esp + 0x34], 0
fdiv st(1)
fst qword [esp + 0x68]
fld qword [esp + 0x60]
fdivrp st(2)
fxch st(1)
fst qword [esp + 0x60]
fld qword [eax + 0x18]
fmul qword [esi + 0x48]
fst qword [esp + 0xb8]
fld qword [eax + 0x20]
fmul qword [esi + 0x48]
fst qword [esp + 0xb0]
test ebx, ebx
jle 0x4b3a57
lea edx, [ebx*4 - 4]
mov dword [esp + 0x3c], edx
jmp 0x4b37fe
fld qword [esp + 0xb0]
fld qword [esp + 0xb8]
fld qword [esp + 0x60]
fld qword [esp + 0x68]
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fild dword [esp + 0x34]
mov eax, dword [esi + 0x50]
sub eax, 1
fld st(0)
fmul st(5)
fadd qword [esp + 0x90]
fxch st(1)
fmul st(4)
fadd qword [esp + 0x80]
je 0x4b387a
sub eax, 1
je 0x4b385c
sub eax, 1
je 0x4b3842
fstp st(4)
fst qword [esp + 0x58]
faddp st(4)
fxch st(3)
fstp qword [esp + 0x50]
fsubr st(1)
fstp qword [esp + 0x48]
fsubrp st(1)
jmp 0x4b3894
fstp st(5)
fld st(0)
fsubrp st(3)
fxch st(2)
fstp qword [esp + 0x58]
fsubp st(1)
fstp qword [esp + 0x50]
fadd st(1)
fstp qword [esp + 0x48]
jmp 0x4b3894
fstp st(4)
fld st(0)
faddp st(5)
fxch st(4)
fstp qword [esp + 0x58]
fxch st(3)
fstp qword [esp + 0x50]
fld st(1)
faddp st(3)
fxch st(2)
fstp qword [esp + 0x48]
jmp 0x4b3892
fstp st(5)
fld st(0)
faddp st(2)
fxch st(1)
fstp qword [esp + 0x58]
faddp st(1)
fstp qword [esp + 0x50]
fxch st(1)
fst qword [esp + 0x48]
faddp st(1)
xor ebx, ebx
fstp qword [esp + 0x40]
cmp dword [esi + 0x1c], ebx
jne 0x4b38a8
cmp dword [esi + 0x28], ebx
je 0x4b393e
mov edi, dword [ebp + 8]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0xac]
push eax
mov ecx, edi
call fcn.00497470
fld qword [esp + 0x50]
fadd qword [esp + 0x58]
fld qword [0x579e48]
fmul st(1), st(0)
fld qword [esp + 0x40]
fadd qword [esp + 0x48]
fmulp st(1)
fld qword [esp + 0xa0]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x4b3933
fld qword [esp + 0x88]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x4b3935
fld qword [esp + 0x98]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4b3935
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x4b3941
mov ebx, 1
jmp 0x4b3941
fstp st(1)
fstp st(0)
mov ebx, 1
jmp 0x4b3941
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x250]
and cl, 3
cmp cl, 1
mov ecx, edi
jne 0x4b395d
lea edx, [esp + 0x74]
push edx
call fcn.00497440
jmp 0x4b3967
lea eax, [esp + 0x74]
push eax
call fcn.00497410
cmp dword [esp + 0x38], 0
je 0x4b3974
mov edi, dword [esp + 0x3c]
jmp 0x4b397c
mov edi, dword [esp + 0x34]
add edi, edi
add edi, edi
push 0x58
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4b3a23
fild dword [esp + 0x7c]
mov ecx, dword [ebp + 8]
fld qword [0x5c4888]
mov edx, dword [ecx + 0x250]
mov ecx, dword [esi + 0x44]
fmul st(1), st(0)
sub esp, 0x20
fild dword [esp + 0x98]
fmul st(1)
fild dword [esp + 0x94]
fmulp st(2)
fxch st(2)
fstp qword [esp + 0x18]
fxch st(1)
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fld qword [esi + 0x48]
fstp qword [esp]
push ecx
fld qword [esp + 0x64]
xor ecx, ecx
cmp edx, 3
mov edx, dword [esi + 0x50]
sete cl
push ecx
mov ecx, dword [ebp + 0x30]
push ebx
push edx
mov edx, dword [esi + 0x40]
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [esp + 0xa0]
fstp qword [esp + 0x10]
fld qword [esp + 0x98]
fstp qword [esp + 8]
fld qword [esp + 0xa8]
fstp qword [esp]
push ecx
mov ecx, dword [ebp + 0x34]
push edx
mov edx, dword [edi + ecx]
push edx
mov ecx, eax
call fcn.004b2730
jmp 0x4b3a25
xor eax, eax
mov ecx, dword [esi + 0x8c]
push eax
call fcn.00489e40
mov eax, dword [esp + 0x34]
sub dword [esp + 0x3c], 4
inc eax
cmp eax, dword [ebp + 0x38]
mov dword [esp + 0x34], eax
jl 0x4b37e0
mov eax, dword [ebp + 0x30]
add dword [esi + 0x40], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
fstp st(1)
fstp st(0)
fstp st(1)
fstp st(0)
mov eax, dword [ebp + 0x30]
add dword [esi + 0x40], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
fstp st(3)
fstp st(0)
jmp 0x4b3a76
fstp st(2)
fstp st(1)
fstp st(1)
fstp st(0)
mov ecx, dword [ebp + 0x30]
add dword [esi + 0x40], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34