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

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa0]
push edi
xor edi, edi
cmp dword [esi + 0x50], edi
je 0x4bd907
cmp dword [esi + 0x4c], edi
je 0x4bd907
mov eax, dword [0x131477c]
xor ebp, ebp
xor ecx, ecx
cmp eax, edi
mov dword [0xa6a0fc], ebp
jle 0x4bd43c
mov eax, dword [0x1314780]
lea edx, [eax + 0x18]
mov eax, dword [esp + 0xa8]
mov ebx, 1
shl ebx, cl
test eax, ebx
je 0x4bd427
fld dword [edx - 0x18]
fsub dword [edx]
lea edi, [edx - 0x18]
fcomp dword [esi + 0x20]
fnstsw ax
and eax, 0x4100
je 0x4bd413
fld dword [edx]
fadd dword [edi]
fcomp dword [esi + 0x14]
fnstsw ax
test ah, 5
jnp 0x4bd413
fld dword [edx - 0x14]
fsub dword [edx]
fcomp dword [esi + 0x24]
fnstsw ax
and eax, 0x4100
je 0x4bd413
fld dword [edx]
fadd dword [edx - 0x14]
fcomp dword [esi + 0x18]
fnstsw ax
test ah, 5
jnp 0x4bd413
fld dword [edx - 0x10]
fsub dword [edx]
fcomp dword [esi + 0x28]
fnstsw ax
and eax, 0x4100
je 0x4bd413
fld dword [edx]
fadd dword [edx - 0x10]
fcomp dword [esi + 0x1c]
fnstsw ax
test ah, 5
jnp 0x4bd413
mov ebx, dword [edx + 8]
lea eax, [ebp + ebp*4]
fld dword [0x5354e8]
mov dword [eax*4 + 0xa69e84], ebx
mov eax, dword [0xa6a0fc]
mov ebx, dword [edx + 0xc]
lea eax, [eax + eax*4]
mov dword [eax*4 + 0xa69e88], ebx
mov eax, dword [0xa6a0fc]
mov ebx, dword [edx + 0x10]
lea eax, [eax + eax*4]
mov dword [eax*4 + 0xa69e8c], ebx
mov eax, dword [0xa6a0fc]
lea eax, [eax + eax*4]
mov dword [eax*4 + 0xa69e7c], edi
mov eax, dword [0xa6a0fc]
fdiv dword [edx]
lea eax, [eax + eax*4]
fstp dword [eax*4 + 0xa69e80]
mov ebp, dword [0xa6a0fc]
inc ebp
mov dword [0xa6a0fc], ebp
jmp 0x4bd425
mov eax, dword [esp + 0xa8]
not ebx
and eax, ebx
mov dword [esp + 0xa8], eax
xor edi, edi
mov eax, dword [0x131477c]
inc ecx
add edx, 0x2c
cmp ecx, eax
jl 0x4bd324
cmp ebp, edi
jne 0x4bd453
mov ecx, dword [0x1313d34]
xor eax, eax
mov dword [esi + ecx*4 + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ecx, dword [esi + 0x50]
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esi + 0x4c]
push eax
push ecx
push edx
call fcn.004bcd90
add esp, 0x10
test eax, eax
je 0x4bd907
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
fild dword [esp + 0x2c]
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x38], edi
shl edx, 7
fmul qword [0x5369b0]
add edx, ebx
mov dword [0xa69e74], ecx
lea eax, [edx*4 + 0xa59e74]
mov dword [0xa69e78], eax
fild dword [esi + 0x44]
fmul qword [0x5369b0]
fsubp st(1)
fstp dword [esi + 0x3c]
fild dword [esp + 0x28]
fmul qword [0x5369b0]
fild dword [esi + 0x48]
fmul qword [0x5369b0]
fsubp st(1)
fstp dword [esi + 0x40]
mov ecx, dword [0x131483c]
mov eax, dword [0x1314848]
inc ecx
mov dword [0x131483c], ecx
mov ecx, dword [esi + 0x50]
imul ecx, dword [esi + 0x4c]
add eax, ecx
mov dword [0x1314848], eax
mov ebx, dword [esi + 0x70]
fld dword [esi + 0x94]
lea edx, [ebx + ebx*4]
lea eax, [ebx + edx*2]
fcomp dword [esi + eax*4 + 0x68]
lea ecx, [esi + eax*4]
fld dword [esi + 0x94]
fnstsw ax
test ah, 0x44
jp 0x4bd566
mov edx, dword [esi + 0x74]
mov dword [esp + 0x18], edi
lea eax, [edx - 1]
imul eax, ebx
lea ebp, [eax + eax*4]
lea eax, [eax + ebp*2]
or ebp, 0xffffffff
mov dword [esp + 0x14], ebp
fcomp dword [esi + eax*4 + 0x94]
fnstsw ax
and eax, 0x4100
je 0x4bd540
mov dword [esp + 0x14], 1
fld dword [esi + 0x98]
fcomp dword [ecx + 0x6c]
mov dword [esp + 0x1c], edi
fnstsw ax
and eax, 0x4100
jne 0x4bd55c
mov dword [esp + 0x20], ebp
jmp 0x4bd5ba
mov dword [esp + 0x20], 1
jmp 0x4bd5ba
fcomp dword [ecx + 0x68]
or ebp, 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
fnstsw ax
and eax, 0x4100
je 0x4bd585
mov dword [esp + 0x18], 1
mov edx, dword [esi + 0x74]
mov dword [esp + 0x20], edi
fld dword [esi + 0x98]
lea eax, [edx - 1]
mov dword [esp + 0x1c], ebp
imul eax, ebx
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
fcomp dword [esi + eax*4 + 0x98]
fnstsw ax
and eax, 0x4100
je 0x4bd5ba
mov dword [esp + 0x1c], 1
xor ecx, ecx
cmp edx, edi
mov dword [esp + 0x34], ecx
jle 0x4bd8a0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
sub edx, ebp
mov dword [esp + 0x40], edx
jmp 0x4bd5dc
mov ebp, dword [esp + 0x1c]
cmp ebx, edi
mov dword [esp + 0x30], edi
jle 0x4bd88a
lea eax, [ecx + ebp]
mov dword [esp + 0x44], eax
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add ebp, edx
mov edx, dword [esp + 0x20]
add ebp, ecx
sub eax, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], eax
mov eax, ebx
mov ebp, dword [esi + 0x44]
imul eax, ecx
add eax, dword [esp + 0x30]
neg ebp
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esi + edx*4 + 0x80]
mov ecx, dword [esi + edx*4 + 0x84]
mov dword [esp + 0x50], eax
fld dword [esi + edx*4 + 0x94]
fmul dword [0x5369a8]
lea edi, [esi + edx*4 + 0x80]
mov dword [esp + 0x54], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x58], edx
call fcn.0051a9fc
fld dword [edi + 0x18]
fmul dword [0x5369a8]
mov ecx, ebp
sub ecx, eax
mov eax, dword [esi + 0x48]
neg eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], eax
call fcn.0051a9fc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
sub edx, eax
test ecx, ecx
mov dword [esp + 0x60], edx
jge 0x4bd692
xor ecx, ecx
jmp 0x4bd69c
mov eax, dword [esi + 0x74]
cmp ecx, eax
jl 0x4bd69c
lea ecx, [eax - 1]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
add edx, eax
test edx, edx
jge 0x4bd6ae
xor edx, edx
jmp 0x4bd6b5
cmp edx, ebx
jl 0x4bd6b5
lea edx, [ebx - 1]
mov eax, ebx
imul eax, ecx
add eax, edx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esi + edx*4 + 0x80]
mov ecx, dword [esi + edx*4 + 0x84]
mov dword [esp + 0x64], eax
fld dword [esi + edx*4 + 0x94]
fmul dword [0x5369a8]
lea edi, [esi + edx*4 + 0x80]
mov dword [esp + 0x68], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x6c], edx
call fcn.0051a9fc
fld dword [edi + 0x18]
fmul dword [0x5369a8]
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x70], ecx
call fcn.0051a9fc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
sub edx, eax
test ecx, ecx
mov dword [esp + 0x74], edx
jge 0x4bd724
xor ecx, ecx
jmp 0x4bd72e
mov eax, dword [esi + 0x74]
cmp ecx, eax
jl 0x4bd72e
lea ecx, [eax - 1]
mov edx, dword [esp + 0x10]
test edx, edx
jge 0x4bd73a
xor edx, edx
jmp 0x4bd741
cmp edx, ebx
jl 0x4bd741
lea edx, [ebx - 1]
mov eax, ebx
imul eax, ecx
add eax, edx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esi + edx*4 + 0x80]
mov ecx, dword [esi + edx*4 + 0x84]
mov dword [esp + 0x78], eax
fld dword [esi + edx*4 + 0x94]
fmul dword [0x5369a8]
lea edi, [esi + edx*4 + 0x80]
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x80], edx
call fcn.0051a9fc
fld dword [edi + 0x18]
fmul dword [0x5369a8]
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x84], ecx
call fcn.0051a9fc
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
sub edx, eax
test ecx, ecx
mov dword [esp + 0x88], edx
jge 0x4bd7b9
xor ecx, ecx
jmp 0x4bd7c3
mov eax, dword [esi + 0x74]
cmp ecx, eax
jl 0x4bd7c3
lea ecx, [eax - 1]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, eax
test edx, edx
jge 0x4bd7d5
xor edx, edx
jmp 0x4bd7dc
cmp edx, ebx
jl 0x4bd7dc
lea edx, [ebx - 1]
mov eax, ebx
imul eax, ecx
add eax, edx
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esi + edx*4 + 0x80]
mov ecx, dword [esi + edx*4 + 0x84]
mov dword [esp + 0x8c], eax
fld dword [esi + edx*4 + 0x94]
fmul dword [0x5369a8]
lea edi, [esi + edx*4 + 0x80]
mov dword [esp + 0x90], ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x94], edx
call fcn.0051a9fc
fld dword [edi + 0x18]
fmul dword [0x5369a8]
sub ebp, eax
mov dword [esp + 0x98], ebp
call fcn.0051a9fc
mov ecx, dword [esp + 0x24]
sub ecx, eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0xa0], ecx
call fcn.004bd070
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
or ebx, eax
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 0x70]
inc eax
inc edx
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], edx
jl 0x4bd613
mov edx, dword [esp + 0x40]
xor edi, edi
mov eax, dword [esi + 0x74]
inc ecx
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x4bd5d8
cmp dword [esp + 0x38], edi
jne 0x4bd8b7
mov ecx, dword [0x1313d34]
xor eax, eax
mov dword [esi + ecx*4 + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ecx, dword [esi + 0x4c]
xor eax, eax
cmp ecx, edi
jle 0x4bd8e2
mov edx, dword [esp + 0x2c]
lea ecx, [edx*4 + 0xa59c74]
mov edx, dword [esp + 0x28]
mov edi, dword [esi + 0x50]
add ecx, 4
add edi, edx
inc eax
mov dword [ecx - 4], edi
mov edi, dword [esi + 0x4c]
cmp eax, edi
jl 0x4bd8cf
mov eax, dword [0xa59c70]
mov ecx, dword [0x1313d34]
inc eax
pop edi
mov dword [esi + ecx*4 + 0xc], eax
mov edx, dword [0x1313d34]
mov eax, dword [esi + edx*4 + 0xc]
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, dword [0x1313d34]
mov dword [esi + eax*4 + 0xc], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret