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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea esi, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x30], edi
call fcn.004d890e
mov esi, eax
cmp esi, edi
jl 0x4d8717
lea esi, [ebp - 0x18]
call fcn.004d8b7c
mov esi, eax
cmp esi, edi
jl 0x4d8717
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx], edi
je 0x4d832d
push str..wdp
push dword [ebx + 8]
push dword [ebx + 4]
call dword [eax + 8]
add esp, 0x10
jmp 0x4d8335
push dword [ebx + 4]
call dword [eax + 4]
pop ecx
pop ecx
mov esi, eax
cmp esi, edi
jl 0x4d8717
lea eax, [ebx + 0x18]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
call fcn.004d879a
cmp byte [ebx + 0x41], 0xff
jne 0x4d835e
mov al, byte [ebp - 0x54]
shr al, 3
and al, 2
mov byte [ebx + 0x41], al
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xd4], eax
mov al, byte [ebx + 0x41]
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xdc], al
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xe0], eax
mov eax, dword [ebx + 0x8090]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x101ac], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x80], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x84], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x88], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x78]
mov dword [eax + 0xac], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x7c]
mov dword [eax + 0xb0], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0xa8], edi
mov ecx, dword [ebx + 0x38]
cmp ecx, edi
jbe 0x4d842c
cmp ecx, 0xff
je 0x4d8434
xor esi, esi
inc esi
shl esi, cl
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x78]
xor edx, edx
lea eax, [eax + esi - 1]
div esi
xor edx, edx
mov dword [ecx + 0xac], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x7c]
lea eax, [eax + esi - 1]
div esi
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 8]
sub eax, 0xffffff80
mov ecx, dword [eax]
cmp ecx, 1
je 0x4d8424
cmp ecx, 2
jne 0x4d8441
mov dword [eax], 3
jmp 0x4d8441
cmp ecx, 0xff
jne 0x4d8441
mov eax, dword [ebp - 8]
mov dword [eax + 0xa8], 1
cmp dword [ebx + 0x30], edi
je 0x4d844b
cmp dword [ebx + 0x34], edi
jne 0x4d8468
mov eax, dword [ebp - 8]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x28], edi
mov ecx, dword [eax + 0xac]
mov dword [ebx + 0x30], ecx
mov ecx, dword [eax + 0xb0]
mov dword [ebx + 0x34], ecx
jmp 0x4d846b
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x98], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa0], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb4], eax
mov al, byte [ebx + 0x40]
mov ecx, dword [ebp - 8]
mov byte [ecx + 0xb8], al
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc0], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [eax + 0x18]
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
jl 0x4d8717
fldz
lea eax, [ebp - 0x14]
push eax
fst dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
fstp dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call dword [eax + 0xc]
mov esi, eax
cmp esi, edi
pop ecx
jl 0x4d8717
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
sub esp, 0x10
mov edi, esp
lea esi, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, str..dds
push edi
push dword [ebp - 8]
push eax
call dword [eax]
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x4d8717
push 0
lea eax, [ebp - 0x10]
push 0
push eax
mov eax, dword [ebp - 0x28]
call dword [eax + 8]
mov esi, eax
add esp, 0xc
test esi, esi
jl 0x4d8717
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.004d88a6
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
jl 0x4d8573
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
call fcn.004d893a
pop ecx
pop ecx
cmp eax, edi
mov esi, eax
jl 0x4d8717
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x64], edi
je 0x4d8590
push 0x8044
lea ecx, [ebx + 0x4c]
push ecx
jmp 0x4d85a1
cmp dword [eax + 0x68], edi
je 0x4d859f
push 4
lea ecx, [ebx + 0x8094]
jmp 0x4d858d
push edi
push edi
push dword [ebp - 0x10]
push eax
call dword [eax]
mov esi, eax
add esp, 0x10
cmp esi, edi
jl 0x4d8717
mov eax, dword [ebp - 0xc]
sub esp, 0x10
mov edi, esp
lea esi, [ebx + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [eax + 8]
mov esi, eax
xor edi, edi
add esp, 0x14
cmp esi, edi
jl 0x4d8717
cmp dword [ebx + 0x3c], 3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x34], eax
jle 0x4d85f9
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x34], eax
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
push eax
call dword [eax + 0xc]
mov esi, eax
add esp, 0xc
cmp esi, edi
jl 0x4d8717
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [eax + 0xc]
mov esi, eax
add esp, 0xc
cmp esi, edi
jl 0x4d8717
cmp dword [ebx + 0x3c], 3
mov eax, dword [ebp - 0xc]
push ecx
push ecx
jle 0x4d8644
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld dword [ebp - 0x20]
jmp 0x4d864e
fld dword [ebp - 0x20]
fstp dword [esp + 4]
fld dword [ebp - 0x1c]
fstp dword [esp]
push eax
call dword [eax + 0x10]
mov esi, eax
add esp, 0xc
cmp esi, edi
jl 0x4d8717
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x64], edi
je 0x4d8673
cmp dword [ebx + 0x38], edi
ja 0x4d86fd
mov dword [eax + 0x18], 0x4d8c28
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
push eax
call dword [eax + 0x18]
mov esi, eax
add esp, 0xc
cmp esi, edi
jl 0x4d8717
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call dword [eax + 0x24]
mov eax, dword [ebp - 0x24]
pop ecx
cmp eax, dword [ebp - 0x30]
je 0x4d870c
push eax
mov eax, dword [ebp - 8]
push eax
call dword [eax + 0x1c]
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
jl 0x4d8717
fldz
inc dword [ebp - 0x24]
lea eax, [ebp - 0x14]
fst dword [ebp - 0x1c]
push eax
fstp dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call dword [eax + 0xc]
mov esi, eax
cmp esi, edi
pop ecx
jge 0x4d850c
jmp 0x4d8717
push str._T_can_not_be_used_for_compressed_domain_operation__n
call fcn.005ad6fc
pop ecx
xor eax, eax
jmp 0x4d8719
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call dword [eax + 0x20]
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret