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

Disassembly:
mov eax, dword [0x13147bc]
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 [0xa6a13c], edx
jle 0x4bddd1
mov ecx, dword [0x13147c0]
mov edi, eax
add ecx, 0x24
fld dword [esi + 0x74]
fsub dword [ecx - 4]
fcom dword [ecx - 0xc]
fnstsw ax
and eax, 0x4100
je 0x4bddc1
fld dword [0x535a84]
fsub dword [ecx - 0xc]
fstp dword [esp + 0x6c]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 5
jnp 0x4bddc3
fld dword [esi + 0x78]
fsub dword [ecx]
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jnp 0x4bddc1
fcomp dword [ecx - 0xc]
fnstsw ax
and eax, 0x4100
je 0x4bddc3
fld dword [ecx - 0xc]
fcomp dword [0x535a9c]
fnstsw ax
and eax, 0x4100
jne 0x4bdd54
fld dword [0x5354b0]
fld dword [ecx - 4]
fsub dword [esi + 0x74]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdcd3
fld dword [esp + 0x6c]
fsub dword [0x535a80]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdcdd
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 0x4bdd06
fsub dword [0x535a80]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdd0c
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 0x4bdd36
fsub dword [esi + 0x80]
fstp dword [esp + 0x6c]
cmp dword [esp + 0x6c], ebp
jle 0x4bdd3c
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 0x4bddc3
mov ebx, dword [ecx - 0x24]
lea eax, [ecx - 0x24]
lea edx, [edx + edx*4]
fld dword [0x5354d8]
mov dword [edx*4 + 0xa69ec4], ebx
mov edx, dword [0xa6a13c]
mov ebx, dword [ecx - 0x20]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69ec8], ebx
mov edx, dword [0xa6a13c]
mov ebx, dword [ecx - 0x1c]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69ecc], ebx
mov edx, dword [0xa6a13c]
lea edx, [edx + edx*4]
mov dword [edx*4 + 0xa69ebc], eax
mov eax, dword [0xa6a13c]
fdiv dword [ecx - 0xc]
lea eax, [eax + eax*4]
fstp dword [eax*4 + 0xa69ec0]
mov edx, dword [0xa6a13c]
inc edx
mov dword [0xa6a13c], edx
jmp 0x4bddc3
fstp st(0)
add ecx, 0x2c
dec edi
jne 0x4bdc3d
cmp edx, ebp
jne 0x4bdde5
mov ecx, dword [0x1313d74]
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.004bcd00
add esp, 0x10
test eax, eax
jne 0x4bde12
mov edx, dword [0x1313d74]
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 [0x5369a0]
mov edi, dword [esi + 0x2c]
add eax, ecx
mov dword [esp + 0x6c], ebp
lea ebx, [eax*4 + 0xa59eb4]
fstp dword [esi + 0x30]
fild dword [esp + 0x2c]
fmul qword [0x5369a0]
fstp dword [esi + 0x34]
mov eax, dword [0x131487c]
mov edx, dword [0x1314888]
inc eax
mov dword [0x131487c], eax
mov eax, dword [esi + 0x14]
mov ecx, eax
imul ecx, eax
fld dword [0x5369a8]
add edx, ecx
mov dword [0x1314888], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], edx
fdiv dword [esp + 0x10]
call fcn.0051a95c
cmp eax, 1
mov dword [esp + 0x4c], eax
jne 0x4bdf15
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.004bce50
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 0x4bdea6
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 0x4bde9a
jmp 0x4be40c
cmp eax, 2
jne 0x4be23e
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.004bce50
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.004bce50
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 0x4bdf3c
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.004bce50
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.004bce50
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 [0x5354e0]
fadd dword [esi + 0x7c]
fstp dword [esp + 0x7c]
call fcn.004bce50
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 0x4be033
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.004bce50
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 0x4bdf2d
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.004bce50
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.004bce50
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 0x4be177
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.004bce50
mov ecx, dword [esp + 0x78]
add esp, 0xc
or ecx, eax
mov dword [esp + 0x6c], ecx
jmp 0x4be40c
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 [0x5355dc]
fstp dword [esp + 0x44]
jmp 0x4be26a
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 0x4be3f3
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 0x4be3a1
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.004bce50
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 0x4be2e3
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 0x4be2ac
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 0x4be29f
mov ecx, dword [esp + 0x24]
add edx, 9
inc ecx
cmp edx, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
jl 0x4be268
mov eax, dword [esp + 0x6c]
xor ecx, ecx
cmp eax, ecx
jne 0x4be42a
mov edx, dword [0x1313d74]
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 0x4be450
mov edx, dword [esp + 0x28]
lea edx, [edx*4 + 0xa59cb4]
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 0x4be43c
fld dword [esi + 0x20]
fdivr qword [0x5369a0]
pop edi
fld st(0)
fmul dword [esi + 0x74]
fsub dword [0x535ca4]
fsubr dword [esi + 0x30]
fstp dword [esi + 0x30]
fmul dword [esi + 0x78]
fsub dword [0x535ca4]
fsubr dword [esi + 0x34]
fstp dword [esi + 0x34]
mov eax, dword [0xa59cb0]
mov ecx, dword [0x1313d74]
inc eax
mov dword [esi + ecx*4 + 0x24], eax
mov edx, dword [0x1313d74]
mov eax, dword [esi + edx*4 + 0x24]
pop esi
pop ebp
pop ebx
add esp, 0x58
ret