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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
movzx ebx, cl
neg ebx
push esi
sbb ebx, ebx
mov esi, eax
mov eax, dword [esp + 0x60]
movzx ebp, word [eax + 0xa]
push edi
movzx edi, word [eax + 8]
and ebx, 0xffff9827
add ebx, 0x80e0
cmp dword [0x6d0fc074], 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebx
je 0x6d0509c3
call fcn.6d050160
push 0xde1
call fcn.6d04cec0
add esp, 4
push 1
push 0xcf5
call dword [0x6d0fef18]
cmp dword [esi + 0x28], 0
jne 0x6d050999
push esi
call fcn.6d04a9f0
add esp, 4
test al, al
jne 0x6d050999
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x4c
ret
mov eax, dword [esi + 0x28]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
push eax
call fcn.6d04ffb0
add esp, 4
test al, al
je 0x6d05098f
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
mov dword [0x6d0fc074], 4
movzx ecx, word [eax + 0xc]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push 0xcf2
call dword [0x6d0fef18]
mov edx, dword [esp + 0x68]
fldz
mov dword [esp + 0x44], edx
fst dword [esp + 0x28]
mov dword [esp + 0x30], 0
fstp dword [esp + 0x24]
test ebp, ebp
jle 0x6d050d04
mov dword [esp + 0x34], ebp
jmp 0x6d050a10
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
add ecx, 0x20
mov dword [esp + 0x58], ecx
cmp ecx, ebp
jle 0x6d050a2d
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
jmp 0x6d050a35
mov dword [esp + 0x10], 0x20
xor eax, eax
test edi, edi
jle 0x6d050ce9
fild dword [esp + 0x10]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x6c]
mov dword [esp + 0x2c], edi
fstp dword [esp + 0x18]
mov dword [esp + 0x4c], edx
fld dword [esp + 0x18]
fmul qword [0x6d0c9108]
fstp dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
lea ecx, [eax + 0x20]
mov dword [esp + 0x50], ecx
cmp ecx, edi
jg 0x6d050a79
mov ebp, 0x20
push eax
push 0xcf4
mov dword [esp + 0x28], ebp
call dword [0x6d0fef18]
mov eax, dword [esp + 0x30]
push eax
push 0xcf3
call dword [0x6d0fef18]
push 0x84c0
call dword [0x6d0ff058]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x1c]
add edx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
push edx
push 0x1401
push ebx
push eax
push ebp
push 0
push 0
push 0
push 0xde1
call dword [0x6d0feef4]
fild dword [esp + 0x20]
mov eax, dword [esp + 0x60]
mov edi, dword [eax + 0x38]
sub edi, dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
mov ebx, dword [eax + 0x2c]
sub edi, dword [esp + 0x6c]
fld qword [0x6d0c9108]
fmul st(1)
add ebx, esi
add edi, dword [eax + 0x30]
cmp dword [esp + 0x78], 0
fstp dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], edi
jne 0x6d050b4f
push 0x84c1
fstp st(0)
call dword [0x6d0ff058]
mov ecx, dword [esp + 0x10]
push ecx
push ebp
push edi
push ebx
push 0
push 0
push 0
push 0xde1
call dword [0x6d0ff00c]
fld dword [esp + 0x20]
fmul qword [0x6d0ca538]
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul qword [0x6d0cd950]
fstp dword [esp + 0x1c]
jmp 0x6d050baf
fild dword [esp + 0x1c]
fstp dword [esp + 0x28]
fild dword [eax + 0x40]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fxch st(1)
faddp st(2)
fdivp st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x48]
fstp dword [esp + 0x48]
fild dword [eax + 0x44]
fstp dword [esp + 0x24]
fld dword [esp + 0x48]
fld st(0)
fadd dword [esp + 0x18]
fld dword [esp + 0x24]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fdivp st(1)
fstp dword [esp + 0x24]
call dword [0x6d0ff034]
push 7
call dword [0x6d0ff02c]
fldz
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push 0x84c0
call dword [0x6d0ff0a8]
fld dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push 0x84c1
call dword [0x6d0ff0a8]
mov edi, dword [esp + 0x6c]
push edi
push esi
call dword [0x6d0ff010]
fldz
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
push 0x84c0
call dword [0x6d0ff0a8]
fld dword [esp + 0x1c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push 0x84c1
call dword [0x6d0ff0a8]
push edi
add ebp, esi
push ebp
call dword [0x6d0ff010]
fld dword [esp + 0x3c]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
push 0x84c0
call dword [0x6d0ff0a8]
fld dword [esp + 0x24]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push 0x84c1
call dword [0x6d0ff0a8]
mov edi, dword [esp + 0x4c]
push edi
push ebp
call dword [0x6d0ff010]
fld dword [esp + 0x3c]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
push 0x84c0
call dword [0x6d0ff0a8]
fld dword [esp + 0x24]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
push 0x84c1
call dword [0x6d0ff0a8]
push edi
push esi
call dword [0x6d0ff010]
call dword [0x6d0fef68]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
sub dword [esp + 0x2c], 0x20
mov ebx, dword [esp + 0x40]
add esi, 0x20
cmp eax, edi
jl 0x6d050a65
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, ecx
mov ecx, 0x20
sub dword [esp + 0x34], ecx
add dword [esp + 0x6c], ecx
mov dword [esp + 0x30], eax
cmp eax, ebp
jl 0x6d050a10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4c
ret