Function at 0x4d5650
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6270a8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x34], 3
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x44], 3
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x54], 3
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], 0
lea esi, [eax + 0x38]
mov byte [esp + 0xa8], 6
movdqu xmm0, xmmword [ebx + 0x60]
sub esp, 0x14
lea edx, [esp + 0x5c]
mov eax, esp
mov ecx, esi
movdqu xmmword [eax], xmm0
call fcn.004c6e40
movdqu xmm0, xmmword [ebx]
mov eax, esp
lea edx, [esp + 0x4c]
mov ecx, esi
movdqu xmmword [eax], xmm0
call fcn.004c6e40
add esp, 0x14
push 0
push 0x2710
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.00612ba0
lea ecx, [esp + 0x88]
mov edi, eax
mov esi, edx
call fcn.00434240
push esi
push edi
lea ecx, [esp + 0x90]
call fcn.00436ff0
push 0
push 0x2710
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.00612ba0
lea ecx, [esp + 0x68]
mov edi, eax
mov esi, edx
call fcn.00434240
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00436ff0
push 0
push 0xa
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.00612ba0
lea ecx, [esp + 0x58]
mov edi, eax
mov esi, edx
call fcn.00434240
push esi
push edi
lea ecx, [esp + 0x60]
call fcn.00436ff0
push 0
push 0xa
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.00612ba0
lea ecx, [esp + 0x78]
mov edi, eax
mov esi, edx
call fcn.00434240
push esi
push edi
lea ecx, [esp + 0x80]
call fcn.00436ff0
mov eax, dword [ebp + 8]
mov esi, 0x1606
movzx ecx, ax
mov edi, 0x3e06
test ecx, ecx
mov eax, ecx
cdq
cmovns esi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
push ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0xac], 7
push eax
mov edx, 0x671f8c
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
mov eax, dword [ebp + 0xa]
mov esi, 0x1606
movzx ecx, ax
test ecx, ecx
mov eax, ecx
cdq
cmovns esi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], esi
push ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0xac], 8
push eax
mov edx, str.secondKey
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
push ecx
lea eax, [esp + 0x3c]
mov edx, str.point
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
mov ecx, dword [ebx + 0x10]
mov esi, 0x1606
test ecx, ecx
mov eax, ecx
cdq
cmovns esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], esi
add esp, 4
mov byte [esp + 0xac], 9
lea eax, [esp + 0x1c]
mov edx, 0x660d84
lea ecx, [esp + 0x2c]
push eax
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
push ecx
lea eax, [esp + 0x8c]
mov edx, str.downDuration
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 4
lea eax, [esp + 0x6c]
mov edx, str.upDuration
lea ecx, [esp + 0x2c]
push eax
call fcn.00452480
add esp, 4
lea eax, [esp + 0x5c]
mov edx, str.downDurationEx
lea ecx, [esp + 0x2c]
push eax
call fcn.00452480
add esp, 4
lea eax, [esp + 0x7c]
mov edx, str.upDurationEx
lea ecx, [esp + 0x2c]
push eax
call fcn.00452480
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [ebx + 0x28]
mov byte [esp + 0xa8], 0xa
cmp dword [edx + 0x14], 8
jb 0x4d5972
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004523b0
lea eax, [esp + 0x1c]
mov edx, str.description
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
lea edx, [ebx + 0x40]
mov dword [esp + 0x24], 0
mov byte [esp + 0xa8], 0xb
cmp dword [edx + 0x14], 8
jb 0x4d59be
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004523b0
lea eax, [esp + 0x1c]
mov edx, str.moreDescription
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
mov al, byte [ebx + 0x58]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x24], ecx
push ecx
lea eax, [esp + 0x1c]
mov byte [esp + 0xac], 0xc
push eax
mov edx, str.hintVisible
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
push ecx
lea eax, [esp + 0x4c]
mov edx, str.hintOffset
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [ebx + 0x70]
mov byte [esp + 0xa8], 0xd
cmp dword [edx + 0x14], 8
jb 0x4d5a65
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004523b0
lea eax, [esp + 0x1c]
mov edx, str.extraData
push eax
lea ecx, [esp + 0x30]
call fcn.00452480
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.00434240
cmp dword [0x6d9250], 0x10
mov ecx, 0x6d923c
cmovae ecx, dword [0x6d923c]
sub esp, 0x10
mov edx, esp
mov eax, ecx
cmp byte [ecx], 0
je 0x4d5abb
inc eax
cmp byte [eax], 0
jne 0x4d5ab5
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0xc], 0x100005
add ecx, 0x50
mov dword [edx + 4], eax
lea edx, [esp + 0x38]
call fcn.004d36b0
add esp, 0x10
mov byte [esp + 0xa8], 5
lea ecx, [esp + 0x48]
call fcn.00434240
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 4
call fcn.00434240
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 3
call fcn.00434240
lea ecx, [esp + 0x68]
mov byte [esp + 0xa8], 2
call fcn.00434240
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 1
call fcn.00434240
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 0
call fcn.00434240
lea ecx, [esp + 0x28]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00434240
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret 8