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

Disassembly:
sub esp, 0xf0
cmp byte [0x55ce61c], 0
je 0x4d08721
mov edx, dword [0x4e83f60]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x118]
lea ecx, [esp + 0x24]
push ecx
call eax
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx + 0x14c]
push eax
call edx
fld dword [0x55ce618]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
shr esi, 1
shr edi, 1
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.04df7eb0
fld dword [0x55ce614]
mov ebx, eax
call fcn.04df7eb0
fldz
fst dword [esp + 0x2c]
mov ebp, eax
fst dword [esp + 0x40]
lea eax, [esp + 0x18]
fst dword [esp + 0x58]
push eax
fst dword [esp + 0x70]
push 0x1d
fst dword [esp + 0x8c]
mov ecx, 0x4ea5a58
fst dword [esp + 0xa0]
mov dword [esp + 0x20], 0
fst dword [esp + 0xe4]
fst dword [esp + 0xf8]
fst dword [esp + 0xb8]
fstp dword [esp + 0xcc]
call fcn.04c50a90
cmp byte [esp + 0x104], 0
je 0x4d0820d
or cl, 0xff
sub cl, byte [0x55ce61e]
mov byte [0x55ce613], cl
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x360]
sub eax, 0
je 0x4d0841d
sub eax, 1
je 0x4d08293
sub eax, 1
jne 0x4d08544
fild dword [esp + 0x10]
mov eax, dword [0x55ce610]
mov dword [esp + 0xd0], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld qword [0x4e367f0]
fsubr st(1)
fstp dword [esp + 0xa8]
fild dword [esp + 0x14]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0xac]
fldz
fst dword [esp + 0xb0]
fxch st(2)
fadd qword [0x4e2d458]
fstp dword [esp + 0xbc]
fstp dword [esp + 0xc0]
fstp dword [esp + 0xc4]
jmp 0x4d08544
fild dword [esp + 0x10]
mov ecx, edi
sub ecx, ebx
mov edx, edi
fstp dword [esp + 0x10]
sub edx, ebp
fld dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fst dword [esp + 0x24]
mov ecx, esi
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fld qword [0x4e56000]
sub ecx, ebx
mov edx, esi
fsub st(1), st(0)
sub edx, ebp
fxch st(1)
mov eax, dword [0x55ce610]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x28]
mov dword [esp + 0x78], eax
fldz
mov dword [esp + 0xa4], eax
fst dword [esp + 0x2c]
fxch st(2)
fst dword [esp + 0x38]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [ebx + esi]
add ebx, edi
fsub st(2)
fstp dword [esp + 0x3c]
fxch st(2)
fst dword [esp + 0x40]
fild dword [esp + 0x10]
fsub st(2)
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
lea edx, [esi + ebp]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x54]
fxch st(1)
fst dword [esp + 0x58]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [edi + ebp]
fsub st(3)
fstp dword [esp + 0x64]
fxch st(1)
fst dword [esp + 0x68]
fxch st(1)
fst dword [esp + 0x6c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fadd st(3)
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fxch st(1)
fst dword [esp + 0x84]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ebx
fadd st(3)
fstp dword [esp + 0x90]
fxch st(1)
fst dword [esp + 0x94]
fxch st(1)
fst dword [esp + 0x98]
fxch st(3)
fst dword [esp + 0xd4]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fadd st(3)
fstp dword [esp + 0xd8]
fxch st(3)
fst dword [esp + 0xdc]
fxch st(3)
fst dword [esp + 0xe8]
fild dword [esp + 0x14]
mov dword [esp + 0xd0], eax
faddp st(3)
fxch st(2)
fstp dword [esp + 0xec]
fxch st(2)
fst dword [esp + 0xf0]
fld st(1)
fsub qword [0x4e367f0]
fstp dword [esp + 0xa8]
fxch st(2)
fst dword [esp + 0xac]
fxch st(2)
fst dword [esp + 0xb0]
fxch st(1)
fadd qword [0x4e2d458]
fstp dword [esp + 0xbc]
fxch st(1)
fstp dword [esp + 0xc0]
fstp dword [esp + 0xc4]
jmp 0x4d0853d
fild dword [esp + 0x10]
mov edx, edi
sub edx, ebx
mov eax, edi
fstp dword [esp + 0x10]
sub eax, ebp
fld dword [esp + 0x10]
mov dword [esp + 0x10], edx
fst dword [esp + 0x24]
mov ecx, esi
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
sub ecx, ebx
mov edx, esi
fstp dword [esp + 0x28]
sub edx, ebp
fldz
mov eax, dword [0x55ce610]
fst dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
fxch st(1)
mov dword [esp + 0x78], eax
fst dword [esp + 0x38]
mov dword [esp + 0xa4], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [ebx + esi]
add ebx, edi
fstp dword [esp + 0x3c]
fxch st(1)
fst dword [esp + 0x40]
fild dword [esp + 0x10]
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
lea edx, [esi + ebp]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x54]
fxch st(1)
fst dword [esp + 0x58]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
lea ecx, [edi + ebp]
fstp dword [esp + 0x64]
fxch st(1)
fst dword [esp + 0x68]
fxch st(1)
fst dword [esp + 0x6c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x7c]
fxch st(1)
fst dword [esp + 0x80]
fxch st(1)
fst dword [esp + 0x84]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ebx
fstp dword [esp + 0x90]
fxch st(1)
fstp dword [esp + 0x94]
fst dword [esp + 0x98]
fxch st(1)
fst dword [esp + 0xd4]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0xd8]
fxch st(1)
fst dword [esp + 0xdc]
fxch st(1)
fstp dword [esp + 0xe8]
fild dword [esp + 0x14]
fstp dword [esp + 0xec]
fstp dword [esp + 0xf0]
mov dword [esp + 0xfc], eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 1
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 3
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
push 2
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push 1
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x360]
sub eax, 0
je 0x4d086c7
sub eax, 1
je 0x4d08668
sub eax, 1
jne 0x4d0871d
push 0
push 0
push 0x40
push 0x40
lea eax, [ebp + 0xd]
cdq
sub eax, edx
movzx edx, byte [0x55ce610]
push 0
push 0
sar eax, 1
add eax, 1
lea ecx, [eax + eax]
push ecx
push ecx
movzx ecx, byte [0x55ce612]
sub edi, eax
sub esi, eax
movzx eax, byte [0x55ce611]
add edi, 1
push edi
add esi, 1
push esi
push edx
movzx edx, byte [0x55ce613]
push eax
mov eax, dword [0x55ce60c]
push ecx
push edx
push eax
call fcn.04d47350
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
add esp, 0x3c
push 1
lea eax, [esp + 0xac]
push eax
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret
mov ecx, dword [0x4e7ffdc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push 1
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
push 1
lea eax, [esp + 0x54]
push eax
call edx
mov ecx, dword [0x4e7ffdc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push 1
lea edx, [esp + 0x80]
push edx
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
push 1
lea eax, [esp + 0xd8]
push eax
call edx
lea edx, [esp + 0xa8]
jmp 0x4d0870d
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
push 1
lea eax, [esp + 0x28]
push eax
call edx
mov ecx, dword [0x4e7ffdc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push 1
lea edx, [esp + 0x54]
push edx
call eax
mov ecx, dword [0x4e7ffdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
push 1
lea eax, [esp + 0x80]
push eax
call edx
lea edx, [esp + 0xd4]
mov ecx, dword [0x4e7ffdc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push 1
push edx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret