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

Disassembly:
push 0xffffffffffffffff
push 0x59cd3a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x58], ebx
xor ebp, ebp
mov dword [esp + 0x18], ebp
fldz
fcomp dword [esp + 0x9c]
mov dword [esp + 0x8c], ebp
fnstsw ax
test ah, 0x41
jne 0x4b2eaf
mov esi, dword [esp + 0xac]
or edi, 0xffffffff
cmp esi, ebp
mov dword [esp + 0x8c], edi
je 0x4b383d
add dword [esi + 4], edi
jne 0x4b383d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], edi
jne 0x4b383d
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x4b383d
mov eax, dword [esp + 0x94]
fld dword [eax]
mov edi, dword [esp + 0xa8]
cmp edi, ebp
fstp dword [esp + 0x44]
fld dword [eax + 4]
fstp dword [esp + 0x30]
jne 0x4b2f0d
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
call fcn.0049d890
mov ecx, eax
call fcn.0049c610
fild dword [esp + 0x74]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fild dword [esp + 0x78]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
call fcn.004988c0
fldz
cmp edi, ebp
mov ecx, dword [eax]
mov esi, dword [ecx + 0x894]
mov dl, byte [ebx + 0x30]
mov byte [esi + 0x8888], dl
mov al, byte [ebx + 0x31]
mov byte [esi + 0x8889], al
fstp dword [esp + 0x38]
mov dword [esp + 0x48], esi
mov byte [esp + 0x14], 0
jne 0x4b2f4d
lea edx, [esp + 0x38]
push edx
call fcn.004da360
mov byte [esp + 0x14], al
cmp byte [esp + 0x14], 0
fld dword [esp + 0x9c]
fst dword [esp + 0x3c]
je 0x4b2f69
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [ebx + 0x20]
fstp dword [esi + 0x3058]
fld dword [ebx + 0x24]
fstp dword [esi + 0x305c]
cmp byte [ebx + 0x70], 0
je 0x4b2f8b
fild dword [ebx + 0xc]
fdiv st(1)
fadd dword [ebx + 0x60]
jmp 0x4b2f93
fld dword [ebx + 0x60]
fmul st(1)
fiadd dword [ebx + 0xc]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
fstp dword [esp + 0x34]
fld dword [ebx + 0x5c]
or eax, 0xc00
mov dword [esp + 0x54], eax
fldcw word [esp + 0x54]
fistp qword [esp + 0x6c]
mov edi, dword [esp + 0x6c]
mov eax, edi
test eax, eax
mov dword [esp + 0x68], eax
fldcw word [esp + 0x16]
fld dword [esp + 0x30]
fld dword [ebx + 0x5c]
fild dword [esp + 0x68]
jge 0x4b2fd7
fadd dword [0x5aa24c]
mov ecx, dword [ebx + 0x48]
fsubp st(1)
test ecx, ecx
fild dword [ebx + 0x48]
jge 0x4b2fe9
fadd dword [0x5aa24c]
fmulp st(1)
mov dword [esp + 0x4c], edi
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x30]
mov ecx, dword [ebx + 0x38]
test ecx, ecx
mov ebp, dword [esp + 0xac]
je 0x4b380a
mov eax, dword [ebx + 0x3c]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x4b380a
test ecx, ecx
je 0x4b3029
mov eax, dword [ebx + 0x3c]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4b302e
call fcn.0055d776
mov edx, dword [ebx + 0x38]
fldz
mov edi, dword [edx + edi*8]
fst dword [esp + 0x1c]
mov ebp, dword [edi + 0x14]
fstp dword [esp + 0x20]
mov dword [esp + 0x40], edi
add edi, 0x10
cmp ebp, dword [edi + 8]
mov byte [esp + 0x16], 0
jbe 0x4b3060
call fcn.0055d776
jmp 0x4b3060
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x28], eax
jbe 0x4b3071
call fcn.0055d776
mov eax, edi
test eax, eax
mov dword [esp + 0x6c], eax
je 0x4b307f
cmp eax, edi
je 0x4b3088
call fcn.0055d776
mov eax, dword [esp + 0x6c]
cmp ebp, dword [esp + 0x28]
je 0x4b37df
test eax, eax
jne 0x4b309f
call fcn.0055d776
mov eax, dword [esp + 0x6c]
cmp ebp, dword [eax + 8]
jb 0x4b30a9
call fcn.0055d776
cmp byte [ebx + 0x70], 0
je 0x4b30d5
mov eax, dword [ebx + 0x48]
fild dword [ebx + 0x48]
test eax, eax
jge 0x4b30bf
fadd dword [0x5aa24c]
fadd dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
test ecx, ecx
fmul dword [esp + 0x9c]
jmp 0x4b30ef
mov edx, dword [esp + 0x40]
fild dword [edx]
mov eax, dword [esp + 0x98]
test eax, eax
fmul dword [esp + 0x9c]
fadd dword [esp + 0x34]
fild dword [esp + 0x98]
jge 0x4b30fe
fadd dword [0x5aa24c]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x4b37dd
fldz
fcompp
fnstsw ax
test ah, 0x41
je 0x4b37df
mov cl, byte [ebp + 0x25]
fldz
mov edx, dword [esp + 0x40]
mov byte [esi + 0x3068], cl
mov eax, dword [edx + 4]
fst dword [esi + 0x3060]
fst dword [esi + 0x3064]
mov dword [esp + 0x28], eax
fcomp dword [ebp + 0x4c]
xor edi, edi
fnstsw ax
test ah, 0x44
jnp 0x4b3171
fld dword [ebp + 0x4c]
push ecx
fstp dword [esi + 0x3060]
lea ecx, [ebp + 0x50]
fld dword [esp + 0xa8]
fstp dword [esp]
push ecx
push 0xff
mov ecx, esi
call fcn.004fd090
mov edi, 1
cmp byte [ebp + 0x24], 0
jne 0x4b3187
mov ecx, dword [ebp]
call fcn.004fccd0
test al, al
je 0x4b3298
fild dword [ebp + 8]
fmul dword [esp + 0x9c]
fmul qword [0x5c7690]
fstp dword [esi + edi*4 + 0x3060]
mov ecx, dword [ebp]
call fcn.004fcce0
fmul dword [esi + edi*4 + 0x3060]
push 0x5a8554
fstp dword [esi + edi*4 + 0x3060]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
call fcn.00496da0
or dword [esp + 0x18], 1
lea eax, [esp + 0x50]
lea ecx, [ebx + 0x64]
push eax
mov byte [esp + 0x90], 1
call fcn.00497270
test al, al
je 0x4b3217
lea eax, [ebx + 0x64]
push eax
lea ecx, [ebp + 0x38]
call fcn.004972e0
test al, al
mov byte [esp + 0x15], 1
jne 0x4b321c
mov byte [esp + 0x15], 0
test byte [esp + 0x18], 1
mov dword [esp + 0x8c], 0
je 0x4b323c
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x50]
call fcn.00497320
cmp byte [esp + 0x15], 0
je 0x4b3262
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
fld dword [esp + 0xa4]
push ecx
fstp dword [esp]
lea edx, [esp + 0x78]
mov eax, 0xff
push edx
sub eax, edi
push eax
mov ecx, esi
call fcn.004fd090
cmp edi, 1
jne 0x4b3298
fld dword [esi + 0x3060]
fadd dword [esi + 0x3064]
fstp dword [esi + 0x3060]
mov cl, byte [esp + 0x14]
test cl, cl
je 0x4b32c0
fld dword [esi + 0x3060]
fmul dword [esp + 0x38]
fstp dword [esi + 0x3060]
fld dword [esp + 0x38]
fmul dword [esi + 0x3064]
fstp dword [esi + 0x3064]
mov eax, dword [esp + 0x40]
fld dword [eax + 0xc]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fild dword [eax + 8]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [esp + 0x28]
fmul qword [0x5c7688]
fadd dword [esp + 0x34]
fmulp st(1)
fstp dword [esp + 0x28]
fldz
fcomp dword [ebx + 0x24]
fnstsw ax
test ah, 0x44
jnp 0x4b336f
fild dword [ebx + 0x28]
fstp dword [esp + 0x5c]
fld dword [esp + 0x24]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fild dword [ebx + 0x2c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
fld dword [esp + 0x5c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [ebx + 0x20]
fld dword [esp + 0x24]
fld st(0)
fmulp st(2)
fld dword [ebx + 0x24]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x5c]
fld dword [ebx + 0x20]
fmulp st(2)
fmul dword [ebx + 0x24]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
test cl, cl
je 0x4b33bf
fld dword [esp + 0x38]
fld st(0)
fmul dword [esp + 0x44]
fld qword [0x5aafe8]
fadd st(1), st(0)
fxch st(1)
call fcn.0055d2f0
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fld dword [esp + 0x24]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x24]
fld st(1)
fmul dword [esp + 0x30]
faddp st(1)
call fcn.0055d2f0
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fld dword [esp + 0x28]
fmulp st(2)
faddp st(1)
jmp 0x4b33d3
fld dword [esp + 0x24]
fadd dword [esp + 0x44]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
fstp dword [esp + 0x28]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
test ecx, ecx
mov dword [esp + 0x70], esp
mov dword [eax + 4], ecx
je 0x4b33fb
add dword [ecx + 4], 1
fld dword [esp + 0x30]
sub esp, 8
fstp dword [esp + 4]
mov ecx, esi
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.004feac0
test al, al
je 0x4b37c2
push 0x5a8554
lea ecx, [esp + 0x58]
call fcn.00496da0
or dword [esp + 0x18], 2
lea edx, [esp + 0x54]
lea edi, [ebx + 0x64]
push edx
mov ecx, edi
mov byte [esp + 0x90], 2
call fcn.00497270
test al, al
je 0x4b345c
push edi
lea ecx, [ebp + 0x38]
call fcn.004972e0
test al, al
mov byte [esp + 0x15], 1
jne 0x4b3461
mov byte [esp + 0x15], 0
test byte [esp + 0x18], 2
mov dword [esp + 0x8c], 0
je 0x4b3481
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x54]
call fcn.00497320
cmp byte [esp + 0x15], 0
fld dword [esp + 0xa4]
push ecx
fstp dword [esp]
je 0x4b3499
lea eax, [ebp + 0x3c]
push eax
jmp 0x4b349d
lea ecx, [ebp + 0x14]
push ecx
push 1
mov ecx, esi
call fcn.004fd090
mov al, byte [esp + 0x16]
cmp byte [ebp + 0x25], al
je 0x4b3507
test al, al
mov ecx, dword [ebp]
je 0x4b34bd
call fcn.004fca80
jmp 0x4b34c2
call fcn.004fca90
fstp dword [esp + 0x28]
mov dl, byte [ebp + 0x25]
fld dword [ebp + 4]
mov byte [esp + 0x16], dl
fmul dword [esp + 0x9c]
fdiv qword [0x5aa6e0]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [ebx + 0x20]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fld dword [esp + 0x1c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fmul dword [ebx + 0x24]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
mov eax, dword [ebp + 0x28]
cmp eax, dword [ebp + 0x2c]
fstp dword [esp + 0x64]
fld dword [esp + 0x20]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x68]
fldz
fstp dword [esp + 0x24]
jg 0x4b362e
lea ecx, [ecx]
mov ecx, ebx
call fcn.00496ed0
lea edi, [esp + 0x28]
call fcn.004b1830
cmp eax, 0x5c
jne 0x4b3556
add dword [esp + 0x28], 1
mov ecx, ebx
call fcn.00496ed0
call fcn.004b1830
mov ecx, dword [ebp]
push eax
call fcn.004fcc80
mov edi, eax
test edi, edi
jl 0x4b361a
fld dword [esp + 0x3c]
push edi
fmul dword [ebp + 4]
fstp dword [esi + 0x3050]
mov ecx, dword [ebp]
call fcn.004fcc50
fmul dword [esi + 0x3050]
fstp dword [esi + 0x3054]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4b35a4
fadd qword [0x5aafe8]
jmp 0x4b35aa
fsub qword [0x5aafe8]
fld dword [esp + 0x20]
call fcn.0055d2f0
push eax
call fcn.0055d2f0
mov ecx, dword [ebp]
push eax
push edi
call fcn.004fcb20
push eax
mov ecx, esi
call fcn.004fec00
mov ecx, dword [ebp]
push edi
call fcn.004fcb60
fmul dword [ebp + 4]
mov ecx, dword [ebp]
push edi
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [esp + 0x40]
fstp dword [esp + 0x60]
fld dword [ebx + 0x20]
fld dword [esp + 0x60]
fld st(0)
fmulp st(2)
fld dword [esp + 0x20]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fmul dword [ebx + 0x24]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
call fcn.004fcb60
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], eax
jle 0x4b3530
cmp dword [ebp + 0x60], 0
je 0x4b3653
fild dword [ebp + 0x60]
fstp dword [esp + 0x5c]
fld dword [ebx + 0x20]
fld dword [esp + 0x5c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fmul dword [ebx + 0x24]
fstp dword [esp + 0x20]
cmp byte [ebp + 0x27], 0
je 0x4b373e
fld1
fstp dword [esi + 0x3050]
fld dword [ebp + 4]
fmul dword [esp + 0x3c]
fstp dword [esi + 0x3054]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4b368b
fadd qword [0x5aafe8]
jmp 0x4b3691
fsub qword [0x5aafe8]
mov ecx, dword [ebp]
fstp qword [esp + 0x5c]
call fcn.004fca80
fchs
fcomp dword [0x5a855c]
mov ecx, dword [ebp]
fnstsw ax
test ah, 1
jne 0x4b36be
call fcn.004fca80
fchs
fadd qword [0x5aafe8]
jmp 0x4b36cb
call fcn.004fca80
fchs
fsub qword [0x5aafe8]
mov ecx, dword [ebp]
fstp qword [esp + 0x28]
call fcn.004fca90
fcomp dword [0x5a855c]
mov ecx, dword [ebp]
fnstsw ax
test ah, 1
jne 0x4b36f4
call fcn.004fca90
fadd qword [0x5aafe8]
jmp 0x4b36ff
call fcn.004fca90
fsub qword [0x5aafe8]
fld dword [esp + 0x20]
call fcn.0055d2f0
fld qword [esp + 0x5c]
push eax
call fcn.0055d2f0
fld qword [esp + 0x2c]
push eax
call fcn.0055d2f0
push 3
mov ebx, eax
call fcn.0055d2f0
mov ecx, dword [esp + 0x54]
push ecx
mov esi, eax
xor edi, edi
call fcn.004b1bb0
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x68]
add esp, 0x10
cmp byte [ebp + 0x26], 0
je 0x4b37c2
fld dword [ebp + 4]
mov byte [esi + 0x3068], 0
fmul dword [esp + 0x3c]
fmul dword [esp + 0x24]
fstp dword [esi + 0x3050]
fld1
fstp dword [esi + 0x3054]
fldz
fst dword [esi + 0x3060]
fst dword [esi + 0x3064]
fld dword [esp + 0x64]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4b3789
fadd qword [0x5aafe8]
jmp 0x4b378f
fsub qword [0x5aafe8]
fld dword [esp + 0x68]
call fcn.0055d2f0
push eax
call fcn.0055d2f0
mov edx, dword [esp + 0x4c]
push eax
push 1
push edx
mov ebx, 0xb
mov esi, 8
xor edi, edi
call fcn.004b1bb0
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x68]
add esp, 0x10
mov edi, dword [esp + 0x40]
add edi, 0x10
mov eax, edi
cmp ebp, dword [eax + 8]
jb 0x4b37d5
call fcn.0055d776
add ebp, 0x68
jmp 0x4b3060
fstp st(0)
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
add ecx, dword [esp + 0xa0]
add dword [esp + 0x4c], 1
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
fild dword [esp + 0x68]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
jmp 0x4b2ff7
mov ecx, esi
call fcn.004fe110
or edi, 0xffffffff
test ebp, ebp
mov dword [esp + 0x8c], edi
je 0x4b383d
add dword [ebp + 4], edi
jne 0x4b383d
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
add dword [ebp + 8], edi
jne 0x4b383d
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x1c