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

Disassembly:
mov eax, dword [0x131477c]
sub esp, 0x58
xor edx, edx
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x68]
cmp eax, ebp
push edi
mov dword [0xa6a0fc], edx
jle 0x4bde61
mov ecx, dword [0x1314780]
mov edi, eax
add ecx, 0x24
fld dword [esi + 0x74]
fsub dword [ecx - 4]
fcom dword [ecx - 0xc]
fnstsw ax
and eax, 0x4100
je 0x4bde51
fld dword [0x535a94]
fsub dword [ecx - 0xc]
fstp dword [esp + 0x6c]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 5
jnp 0x4bde53
fld dword [esi + 0x78]
fsub dword [ecx]
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jnp 0x4bde51
fcomp dword [ecx - 0xc]
fnstsw ax
and eax, 0x4100
je 0x4bde53
fld dword [ecx - 0xc]
fcomp dword [0x535aac]
fnstsw ax
and eax, 0x4100
jne 0x4bdde4
fld dword [0x5354c0]
fld dword [ecx - 4]
fsub dword [esi + 0x74]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdd63
fld dword [esp + 0x6c]
fsub dword [0x535a90]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdd6d
fstp st(0)
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
fld dword [ecx]
fsub dword [esi + 0x78]
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fld dword [esp + 0x6c]
cmp eax, ebp
jle 0x4bdd96
fsub dword [0x535a90]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdd9c
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
faddp st(1)
fld dword [ecx + 4]
fsub dword [esi + 0x7c]
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fld dword [esp + 0x6c]
cmp eax, ebp
jle 0x4bddc6
fsub dword [esi + 0x80]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bddcc
fld dword [esp + 0x6c]
fmul dword [esp + 0x6c]
faddp st(1)
fld dword [ecx - 0xc]
fld st(0)
fmul st(1)
fxch st(1)
fxch st(2)
fcompp
fnstsw ax
and eax, 0x4100
fstp st(0)
je 0x4bde53
mov ebx, dword [ecx - 0x24]
lea eax, [ecx - 0x24]
lea edx, [edx + edx*4]
fld dword [0x5354e8]
mov dword [edx*4 + 0xa69e84], ebx
mov edx, dword [0xa6a0fc]
mov ebx, dword [ecx - 0x20]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69e88], ebx
mov edx, dword [0xa6a0fc]
mov ebx, dword [ecx - 0x1c]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69e8c], ebx
mov edx, dword [0xa6a0fc]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69e7c], eax
mov eax, dword [0xa6a0fc]
fdiv dword [ecx - 0xc]
lea eax, [eax + eax*4]
fstp dword [eax*4 + 0xa69e80]
mov edx, dword [0xa6a0fc]
inc edx
mov dword [0xa6a0fc], edx
jmp 0x4bde53
fstp st(0)
add ecx, 0x2c
dec edi
jne 0x4bdccd
cmp edx, ebp
jne 0x4bde75
mov ecx, dword [0x1313d34]
pop edi
xor eax, eax
mov dword [esi + ecx*4 + 0x24], ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x28]
push edx
push ecx
push eax
push eax
call fcn.004bcd90
add esp, 0x10
test eax, eax
jne 0x4bdea2
mov edx, dword [0x1313d34]
pop edi
mov dword [esi + edx*4 + 0x24], ebp
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
fild dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shl eax, 7
fmul qword [0x5369b0]
mov edi, dword [esi + 0x2c]
add eax, ecx
mov dword [esp + 0x6c], ebp
lea ebx, [eax*4 + 0xa59e74]
fstp dword [esi + 0x30]
fild dword [esp + 0x2c]
fmul qword [0x5369b0]
fstp dword [esi + 0x34]
mov eax, dword [0x131483c]
mov edx, dword [0x1314848]
inc eax
mov dword [0x131483c], eax
mov eax, dword [esi + 0x14]
mov ecx, eax
imul ecx, eax
fld dword [0x5369b8]
add edx, ecx
mov dword [0x1314848], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], edx
fdiv dword [esp + 0x10]
call fcn.0051a9fc
cmp eax, 1
mov dword [esp + 0x4c], eax
jne 0x4bdfa5
mov eax, dword [esi + 0x78]
mov dword [esp + 0x24], 9
mov dword [esp + 0x60], eax
mov ecx, dword [esi + 0x74]
mov ebp, 9
mov dword [esp + 0x5c], ecx
xor edx, edx
lea eax, [esp + 0x5c]
mov dl, byte [esi + 0x28c]
push ebx
add edx, edx
push eax
mov dword [esp + 0x44], edx
push edi
fild dword [esp + 0x48]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
fld dword [esp + 0x68]
fadd dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
add esp, 0xc
or ecx, eax
add edi, 3
add ebx, 4
dec ebp
fstp dword [esp + 0x5c]
mov dword [esp + 0x6c], ecx
jne 0x4bdf36
fld dword [esp + 0x60]
fadd dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edi, 0x165
add ebx, 0x1dc
dec eax
mov dword [esp + 0x24], eax
fstp dword [esp + 0x60]
jne 0x4bdf2a
jmp 0x4be49c
cmp eax, 2
jne 0x4be2ce
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x30], 8
mov dword [esp + 0x60], ecx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x24], 8
mov dword [esp + 0x5c], edx
xor eax, eax
lea ecx, [esp + 0x5c]
mov al, byte [esi + ebp + 0x28c]
push ebx
mov dword [esp + 0x40], eax
push ecx
fild dword [esp + 0x44]
push edi
fst dword [esp + 0x20]
fadd st(0), st(0)
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
add edi, 3
fld dword [esp + 0x68]
fadd dword [esp + 0x1c]
or ecx, eax
add ebx, 4
inc ebp
xor edx, edx
lea eax, [esp + 0x68]
push ebx
mov dl, byte [esi + ebp + 0x28c]
push eax
fstp dword [esp + 0x70]
mov dword [esp + 0x50], edx
push edi
fild dword [esp + 0x54]
mov dword [esp + 0x84], ecx
fst dword [esp + 0x30]
fadd dword [esp + 0x2c]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x7c]
call fcn.004bcee0
mov ecx, dword [esp + 0x84]
add esp, 0x18
fld dword [esp + 0x5c]
fadd dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x24]
add edi, 3
add ebx, 4
dec eax
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x5c]
mov dword [esp + 0x24], eax
jne 0x4bdfcc
fld dword [esp + 0x18]
fadd st(0), st(0)
lea ecx, [esp + 0x5c]
push ebx
push ecx
push edi
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
fld dword [esp + 0x6c]
fadd dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + 0x74]
or ecx, eax
add esp, 0xc
add edi, 0x150
add ebx, 0x1c0
fstp dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
sub ebp, 8
mov dword [esp + 0x5c], edx
mov dword [esp + 0x24], 8
xor eax, eax
xor ecx, ecx
mov al, byte [esi + ebp + 0x28c]
mov cl, byte [esi + ebp + 0x295]
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x5c]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
push ebx
push edx
push edi
fstp dword [esp + 0x20]
fild dword [esp + 0x48]
fst dword [esp + 0x28]
fadd dword [esp + 0x20]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
add edi, 3
fld dword [esp + 0x68]
fadd dword [esp + 0x1c]
or ecx, eax
add ebx, 4
inc ebp
xor eax, eax
mov dword [esp + 0x78], ecx
xor ecx, ecx
mov al, byte [esi + ebp + 0x28c]
mov cl, byte [esi + ebp + 0x295]
fstp dword [esp + 0x68]
mov dword [esp + 0x48], eax
lea edx, [esp + 0x68]
fild dword [esp + 0x48]
mov dword [esp + 0x48], ecx
push ebx
push edx
push edi
fstp dword [esp + 0x30]
fild dword [esp + 0x54]
fst dword [esp + 0x38]
fadd dword [esp + 0x34]
fadd dword [esp + 0x30]
fadd dword [esp + 0x2c]
fmul dword [0x5354f0]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x7c]
call fcn.004bcee0
mov ecx, dword [esp + 0x84]
add esp, 0x18
fld dword [esp + 0x5c]
fadd dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x24]
add edi, 3
add ebx, 4
dec eax
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x5c]
mov dword [esp + 0x24], eax
jne 0x4be0c3
fld dword [esp + 0x20]
fadd dword [esp + 0x18]
lea eax, [esp + 0x5c]
push ebx
push eax
push edi
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
add esp, 0xc
fld dword [esp + 0x60]
fadd dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x30]
add edi, 0x150
add ebx, 0x1c0
inc ebp
dec eax
fstp dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x30], eax
jne 0x4bdfbd
mov ecx, dword [esi + 0x74]
lea ebp, [esi + ebp + 0x28c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], 8
xor edx, edx
lea eax, [esp + 0x5c]
mov dl, byte [ebp]
push ebx
mov dword [esp + 0x40], edx
push eax
fild dword [esp + 0x44]
push edi
fst dword [esp + 0x28]
fadd st(0), st(0)
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
add edi, 3
fld dword [esp + 0x68]
fadd dword [esp + 0x1c]
or ecx, eax
add ebx, 4
mov dword [esp + 0x78], ecx
inc ebp
xor ecx, ecx
lea edx, [esp + 0x68]
mov cl, byte [ebp]
push ebx
fstp dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
push edx
fild dword [esp + 0x50]
push edi
fst dword [esp + 0x38]
fadd dword [esp + 0x34]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x7c]
call fcn.004bcee0
mov ecx, dword [esp + 0x84]
add esp, 0x18
fld dword [esp + 0x5c]
fadd dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x30]
add edi, 3
add ebx, 4
dec eax
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x5c]
mov dword [esp + 0x30], eax
jne 0x4be207
fld dword [esp + 0x20]
fadd st(0), st(0)
lea eax, [esp + 0x5c]
push ebx
push eax
push edi
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
add esp, 0xc
or ecx, eax
mov dword [esp + 0x6c], ecx
jmp 0x4be49c
mov ecx, eax
mov edx, dword [esi + 0x78]
imul ecx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], edx
fild dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], edx
fdivr dword [0x5355ec]
fstp dword [esp + 0x44]
jmp 0x4be2fa
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x24]
xor ecx, ecx
cmp ebp, 7
sete cl
add ecx, eax
test ecx, ecx
mov dword [esp + 0x58], ecx
jle 0x4be483
lea ecx, [eax + eax*2]
mov dword [esp + 0x14], eax
shl ecx, 3
mov dword [esp + 0x50], ecx
mov ecx, eax
shl ecx, 5
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x74]
xor ebp, ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebp
xor ecx, ecx
cmp ebp, 7
sete cl
add ecx, eax
mov dword [esp + 0x20], 0
test ecx, ecx
mov dword [esp + 0x48], ecx
jle 0x4be431
fild dword [esp + 0x14]
add edx, ebp
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x34]
fild dword [esp + 0x18]
lea ebp, [edx + esi]
fstp dword [esp + 0x30]
xor edx, edx
xor eax, eax
mov dl, byte [ebp + 0x28d]
mov al, byte [ebp + 0x296]
mov dword [esp + 0x40], edx
xor ecx, ecx
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov cl, byte [ebp + 0x295]
xor edx, edx
lea eax, [esp + 0x5c]
fmul dword [esp + 0x34]
fild dword [esp + 0x40]
mov dl, byte [ebp + 0x28c]
mov dword [esp + 0x40], ecx
push ebx
push eax
fmul dword [esp + 0x38]
push edi
faddp st(1)
fimul dword [esp + 0x2c]
fild dword [esp + 0x4c]
mov dword [esp + 0x4c], edx
fmul dword [esp + 0x3c]
fild dword [esp + 0x4c]
fmul dword [esp + 0x40]
faddp st(1)
fimul dword [esp + 0x28]
faddp st(1)
fmul dword [esp + 0x50]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x70]
call fcn.004bcee0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
fld dword [esp + 0x68]
fadd dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x48]
add edi, 3
fstp dword [esp + 0x5c]
add ebx, 4
inc eax
dec edx
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jl 0x4be373
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
inc ebp
cmp ebp, 8
mov dword [esp + 0x38], ebp
jl 0x4be33c
mov ebp, dword [esp + 0x50]
mov ecx, 0x17d
sub ecx, ebp
mov ebp, dword [esp + 0x54]
add edi, ecx
mov ecx, 0x1fc
fld dword [esp + 0x60]
fadd dword [esp + 0x10]
sub ecx, ebp
mov ebp, dword [esp + 0x14]
add ebx, ecx
mov ecx, dword [esp + 0x18]
inc ecx
dec ebp
fstp dword [esp + 0x60]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x58]
cmp ecx, ebp
mov dword [esp + 0x18], ecx
jl 0x4be32f
mov ecx, dword [esp + 0x24]
add edx, 9
inc ecx
cmp edx, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
jl 0x4be2f8
mov eax, dword [esp + 0x6c]
xor ecx, ecx
cmp eax, ecx
jne 0x4be4ba
mov edx, dword [0x1313d34]
pop edi
xor eax, eax
mov dword [esi + edx*4 + 0x24], ecx
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [esi + 0x14]
cmp eax, ecx
jle 0x4be4e0
mov edx, dword [esp + 0x28]
lea edx, [edx*4 + 0xa59c74]
mov edi, dword [esp + 0x2c]
add edx, 4
add eax, edi
inc ecx
mov dword [edx - 4], eax
mov eax, dword [esi + 0x14]
cmp ecx, eax
jl 0x4be4cc
fld dword [esi + 0x20]
fdivr qword [0x5369b0]
pop edi
fld st(0)
fmul dword [esi + 0x74]
fsub dword [0x535cb4]
fsubr dword [esi + 0x30]
fstp dword [esi + 0x30]
fmul dword [esi + 0x78]
fsub dword [0x535cb4]
fsubr dword [esi + 0x34]
fstp dword [esi + 0x34]
mov eax, dword [0xa59c70]
mov ecx, dword [0x1313d34]
inc eax
mov dword [esi + ecx*4 + 0x24], eax
mov edx, dword [0x1313d34]
mov eax, dword [esi + edx*4 + 0x24]
pop esi
pop ebp
pop ebx
add esp, 0x58
ret