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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606d48
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6af320]
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.004bce30
movdqu xmm0, xmmword [ebx]
mov eax, esp
lea edx, [esp + 0x4c]
mov ecx, esi
movdqu xmmword [eax], xmm0
call fcn.004bce30
add esp, 0x14
push 0
push 0x2710
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.005f39b0
lea ecx, [esp + 0x88]
mov edi, eax
mov esi, edx
call fcn.004305d0
push esi
push edi
lea ecx, [esp + 0x90]
call fcn.00433380
push 0
push 0x2710
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.005f39b0
lea ecx, [esp + 0x68]
mov edi, eax
mov esi, edx
call fcn.004305d0
push esi
push edi
lea ecx, [esp + 0x70]
call fcn.00433380
push 0
push 0xa
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.005f39b0
lea ecx, [esp + 0x58]
mov edi, eax
mov esi, edx
call fcn.004305d0
push esi
push edi
lea ecx, [esp + 0x60]
call fcn.00433380
push 0
push 0xa
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.005f39b0
lea ecx, [esp + 0x78]
mov edi, eax
mov esi, edx
call fcn.004305d0
push esi
push edi
lea ecx, [esp + 0x80]
call fcn.00433380
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, 0x64f29c
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
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.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
push ecx
lea eax, [esp + 0x3c]
mov edx, str.point
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
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, 0x63e48c
lea ecx, [esp + 0x2c]
push eax
call fcn.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
push ecx
lea eax, [esp + 0x8c]
mov edx, str.downDuration
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 4
lea eax, [esp + 0x6c]
mov edx, str.upDuration
lea ecx, [esp + 0x2c]
push eax
call fcn.0044e340
add esp, 4
lea eax, [esp + 0x5c]
mov edx, str.downDurationEx
lea ecx, [esp + 0x2c]
push eax
call fcn.0044e340
add esp, 4
lea eax, [esp + 0x7c]
mov edx, str.upDurationEx
lea ecx, [esp + 0x2c]
push eax
call fcn.0044e340
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [ebx + 0x28]
mov byte [esp + 0xa8], 0xa
cmp dword [edx + 0x14], 8
jb 0x4ca412
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044e270
lea eax, [esp + 0x1c]
mov edx, str.description
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
lea edx, [ebx + 0x40]
mov dword [esp + 0x24], 0
mov byte [esp + 0xa8], 0xb
cmp dword [edx + 0x14], 8
jb 0x4ca45e
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044e270
lea eax, [esp + 0x1c]
mov edx, str.moreDescription
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
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.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
push ecx
lea eax, [esp + 0x4c]
mov edx, str.hintOffset
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [ebx + 0x70]
mov byte [esp + 0xa8], 0xd
cmp dword [edx + 0x14], 8
jb 0x4ca505
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044e270
lea eax, [esp + 0x1c]
mov edx, str.extraData
push eax
lea ecx, [esp + 0x30]
call fcn.0044e340
add esp, 8
mov byte [esp + 0xa8], 6
lea ecx, [esp + 0x18]
call fcn.004305d0
cmp dword [0x6b0298], 0x10
mov ecx, 0x6b0284
cmovae ecx, dword [0x6b0284]
sub esp, 0x10
mov edx, esp
mov eax, ecx
cmp byte [ecx], 0
je 0x4ca55b
inc eax
cmp byte [eax], 0
jne 0x4ca555
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.004c80d0
add esp, 0x10
mov byte [esp + 0xa8], 5
lea ecx, [esp + 0x48]
call fcn.004305d0
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 4
call fcn.004305d0
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 3
call fcn.004305d0
lea ecx, [esp + 0x68]
mov byte [esp + 0xa8], 2
call fcn.004305d0
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 1
call fcn.004305d0
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 0
call fcn.004305d0
lea ecx, [esp + 0x28]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004305d0
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.005f24e0
mov esp, ebp
pop ebp
ret 8