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

Disassembly:
push 0xffffffffffffffff
push 0x1039fdae
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x78]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [ebp + 8]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
push ebx
mov esi, 7
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.0040826f
mov edx, dword [esp + 0x7c]
push 0xffffffffffffffff
lea ecx, [ebp + 0x24]
push ebx
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x74], ebx
mov word [ecx + 4], ax
call fcn.0040826f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 3
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x10472394
mov byte [esp + 0x8c], 1
mov word [ecx + 4], ax
call fcn.0040836f
mov edi, dword [esp + 0x90]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 2
mov word [ecx + 4], dx
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
mov esi, dword [esp + 0xa8]
add esp, 0x38
cmp al, bl
je 0x4d0a32
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
cmp eax, 0x16
jbe 0x4d0a32
mov dword [ebp + 0x44], 4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
cmp ecx, 0x12
ja 0x4d0a0b
call fcn.00776e71
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x12]
mov dword [ebp], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
cmp ecx, 0x16
ja 0x4d0a24
call fcn.00776e71
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x16]
mov dword [ebp + 4], eax
jmp 0x4d1045
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 3
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x104723bc
mov word [ecx + 4], dx
call fcn.0040836f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 3
mov word [ecx + 4], ax
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
je 0x4d0b3a
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
cmp ecx, 0x14
jbe 0x4d0b3a
mov dword [ebp + 0x44], ebx
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
cmp edx, 0x10
ja 0x4d0ac1
call fcn.00776e71
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp], ecx
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
cmp edx, 0x14
ja 0x4d0ada
call fcn.00776e71
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp]
mov dword [ebp + 4], ecx
mov edx, eax
and edx, 0xff0000
mov ecx, eax
shr ecx, 0x10
or edx, ecx
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shl ecx, 8
shr edx, 8
or edx, ecx
mov dword [ebp], edx
mov eax, dword [ebp + 4]
mov edx, eax
mov ecx, eax
shr ecx, 0x10
and edx, 0xff0000
or edx, ecx
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr edx, 8
shl ecx, 8
or edx, ecx
mov dword [ebp + 4], edx
jmp 0x4d1045
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 3
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x1047239c
mov word [ecx + 4], dx
call fcn.0040836f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 4
mov word [ecx + 4], ax
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
je 0x4d0c8e
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
cmp ecx, 0xd
jbe 0x4d0c8e
mov dword [ebp + 0x44], 2
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
cmp edx, 0xa
ja 0x4d0bcd
call fcn.00776e71
mov edi, dword [esi + 0xc]
fld qword [0x10472608]
mov al, byte [edi + 0xa]
and al, 7
movzx eax, al
inc eax
push eax
sub esp, 8
fstp qword [esp]
call fcn.004b3bdf
add esp, 0xc
call fcn.00777f3f
mov ecx, dword [esi + 0x10]
lea ebx, [eax + eax*2 + 0xd]
lea eax, [ebx + 1]
sub ecx, edi
cmp ecx, eax
jbe 0x4d0c23
push ebx
mov ecx, esi
call fcn.00762f2f
cmp byte [eax], 0x21
jne 0x4d0c23
lea eax, [ebx + 1]
push eax
mov ecx, esi
call fcn.00762f2f
cmp byte [eax], 0xf9
jne 0x4d0c23
add ebx, 8
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
lea edi, [ebx + 5]
lea eax, [edi + 4]
cmp edx, eax
jbe 0x4d0c57
push edi
mov ecx, esi
call fcn.00762f2f
movzx ecx, word [eax]
add edi, 2
mov dword [ebp], ecx
push edi
mov ecx, esi
call fcn.00762f2f
movzx edx, word [eax]
mov dword [ebp + 4], edx
jmp 0x4d1045
push 0x104725e8
lea ecx, [esp + 0x20]
mov dword [ebp + 0x44], 0xff
call fcn.004053ef
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 5
call fcn.004c07cf
push 0x104f2130
lea ecx, [esp + 0x3c]
push ecx
call fcn.00776cc8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 3
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x104723b4
mov word [ecx + 4], dx
call fcn.0040836f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 6
mov word [ecx + 4], ax
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
jne 0x4d0d52
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0x104725dc
call fcn.00408bff
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 7
mov word [ecx + 4], dx
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
je 0x4d0f5c
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
cmp eax, 4
jbe 0x4d0f5c
cmp eax, ebx
ja 0x4d0d6a
call fcn.00776e71
mov eax, dword [esi + 0xc]
cmp byte [eax], 0xff
jne 0x4d0f2c
mov ecx, dword [esi + 0x10]
sub ecx, eax
cmp ecx, 1
ja 0x4d0d85
call fcn.00776e71
mov edx, dword [esi + 0xc]
cmp byte [edx + 1], 0xd8
jne 0x4d0f2c
mov dword [ebp + 0x44], 1
mov edi, 2
nop
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
lea ecx, [edi + 1]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
jae 0x4d0e1e
cmp edi, eax
jb 0x4d0db9
call fcn.00776e71
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov bl, byte [eax + edi]
mov edi, dword [esp + 0x7c]
sub ecx, eax
cmp edi, ecx
jb 0x4d0dd1
call fcn.00776e71
mov eax, dword [esi + 0xc]
mov cl, byte [eax + edi]
inc edi
cmp bl, 0xff
jne 0x4d0de7
cmp cl, 0xc0
jb 0x4d0de7
cmp cl, 0xc3
jbe 0x4d0e4e
mov ecx, dword [esi + 0x10]
sub ecx, eax
lea edx, [edi + 1]
cmp edx, ecx
jae 0x4d0efc
cmp edi, ecx
jb 0x4d0e00
call fcn.00776e71
mov eax, dword [esi + 0xc]
mov cx, word [eax + edi]
rol cx, 8
movzx edx, cx
mov ecx, dword [esi + 0x10]
add edi, edx
sub ecx, eax
cmp edi, ecx
jb 0x4d0d9f
jmp 0x4d1045
push 0x104725c0
lea ecx, [esp + 0x20]
call fcn.004053ef
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 9
call fcn.004c07cf
push 0x104f2130
lea eax, [esp + 0x3c]
push eax
call fcn.00776cc8
mov ecx, dword [esi + 0x10]
add edi, 3
sub ecx, eax
lea edx, [edi + 1]
cmp edx, ecx
jb 0x4d0e8d
push 0x104725c0
lea ecx, [esp + 0x20]
call fcn.004053ef
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0xa
call fcn.004c07cf
push 0x104f2130
lea ecx, [esp + 0x3c]
push ecx
call fcn.00776cc8
push edi
mov ecx, esi
call fcn.00762f2f
mov dx, word [eax]
rol dx, 8
movzx eax, dx
mov dword [ebp + 4], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add edi, 2
lea edx, [edi + 1]
cmp edx, ecx
jb 0x4d0ee2
push 0x104725c0
lea ecx, [esp + 0x20]
call fcn.004053ef
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0xb
call fcn.004c07cf
push 0x104f2130
lea ecx, [esp + 0x3c]
push ecx
call fcn.00776cc8
push edi
mov ecx, esi
call fcn.00762f2f
mov dx, word [eax]
rol dx, 8
movzx eax, dx
mov dword [ebp], eax
jmp 0x4d1045
push 0x104725c0
lea ecx, [esp + 0x20]
call fcn.004053ef
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0xc
call fcn.004c07cf
push 0x104f2130
lea edx, [esp + 0x3c]
push edx
call fcn.00776cc8
push 0x1046bcd0
lea ecx, [esp + 0x20]
call fcn.004053ef
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 8
call fcn.004c07cf
push 0x104f2130
lea ecx, [esp + 0x3c]
push ecx
call fcn.00776cc8
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0x104723ac
call fcn.00408bff
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xac], 0xd
mov word [ecx + 4], dx
call fcn.0040826f
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
je 0x4d0fca
mov dword [ebp + 0x44], 3
mov dword [ebp], 0xc8
mov dword [ebp + 4], 0xc8
jmp 0x4d1045
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0x104723a4
call fcn.00408bff
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xac], esp
push edi
mov byte [esp + 0xa4], 0xe
call fcn.00408abf
mov byte [esp + 0xa0], 1
call fcn.004bff2f
add esp, 0x38
cmp al, bl
je 0x4d103e
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
cmp eax, 0x18
jb 0x4d103e
push 0x10
mov ecx, esi
mov dword [ebp + 0x44], 5
call fcn.00762f2f
mov ecx, dword [eax]
mov dword [ebp], ecx
push 0x14
mov ecx, esi
call fcn.00762f2f
mov edx, dword [eax]
mov dword [ebp + 4], edx
jmp 0x4d1045
mov dword [ebp + 0x44], 0xff
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
neg ecx
sbb ecx, ecx
and ecx, esi
mov dword [ebp + 0x40], ecx
mov eax, ebp
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10