Function at 0x10130550
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1034afb9
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
xor al, al
mov dword [esp + 0x3c], edi
mov byte [esp + 0x13], al
call fcn.100f8800
mov ecx, dword [eax]
lea esi, [eax + 0x18]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.100d5c30
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x101306db
mov esi, dword [eax + 0x14]
mov dword [esp + 0x2c], esi
test esi, esi
je 0x101306db
mov ecx, dword [0x105e20f4]
test ecx, ecx
je 0x101306db
mov ecx, dword [ecx]
test ecx, ecx
je 0x101306db
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x101306db
cmp byte [ecx + 0x14], 0
je 0x101306db
cmp byte [ecx + 0x15], 0
je 0x101306db
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, 1
je 0x1013063c
cmp eax, 4
jne 0x101306db
mov eax, dword [esi + 8]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
cmp esi, eax
je 0x101306db
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
add ecx, 0x70
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100d5c30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
cmp eax, dword [ecx]
je 0x101306b5
add eax, 0x14
je 0x101306b5
cmp byte [eax], 0
je 0x101306b5
cmp byte [eax + 1], 0
je 0x101306b5
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x14]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
or byte [esp + 0x13], al
lea ecx, [esp + 0x20]
call fcn.100d0740
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp esi, dword [edi + 8]
jne 0x10130660
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x3c]
test al, al
jne 0x10130a65
mov ecx, dword [esp + 0x30]
call fcn.101347b0
test edi, edi
je 0x10130a65
mov esi, dword [edi + 0x98]
test esi, esi
je 0x10130a65
cmp esi, 6
jne 0x10130733
call fcn.100f9e50
cmp dword [eax + 4], 2
jne 0x10130724
push dword [esp + 0x18]
push dword [esp + 0x20]
push 2
push ecx
call fcn.100f9e50
add esp, 4
mov ecx, eax
call fcn.100fe920
mov dword [edi + 0x98], 0
jmp 0x10130a65
push 0x44
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0xc0]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x10130771
push 0x45
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [edi + 0xc4]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x10130771
xor al, al
jmp 0x10130773
mov al, 1
mov byte [esp + 0x13], al
cmp esi, 5
jne 0x1013080c
push 2
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esp + 0x13], 0
mov ecx, edi
mov edx, dword [esp + 0x1c]
sete al
movzx eax, al
push eax
push dword [esp + 0x1c]
call fcn.10105a90
add esp, 8
cmp byte [edi + 0x84], 0
je 0x101307e8
push 0x1055c6d8
lea ecx, [esp + 0x68]
call fcn.100cc220
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0x64]
call fcn.100d7b20
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.100cc270
call fcn.100f9e50
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1013082d
push 0
push 0
push eax
push ecx
call fcn.100f9e50
add esp, 4
mov ecx, eax
call fcn.100fe920
jmp 0x1013082d
cmp esi, 1
je 0x10130816
cmp esi, 2
jne 0x1013082d
test al, al
sete al
movzx eax, al
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
push edi
call fcn.10130f60
cmp byte [esp + 0x13], 0
mov dword [edi + 0x98], 0
jne 0x10130a65
cmp byte [edi + 0x84], 0
je 0x1013086e
mov dl, 1
mov ecx, edi
call fcn.10104d50
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x10130a65
mov eax, dword [ecx]
push 1
call dword [eax + 8]
jmp 0x10130a65
mov esi, dword [edi + 0x78]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1013088c
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10130a65
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov dword [esp + 0x30], eax
test eax, eax
je 0x10130a65
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.101c0a60
mov ecx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], esi
push eax
call fcn.101c0830
test esi, esi
je 0x10130a65
movdqu xmm0, xmmword [esp + 0x64]
sub esp, 0x10
lea ecx, [esp + 0x54]
mov eax, esp
push ecx
movdqu xmmword [eax], xmm0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
call fcn.10131b10
test al, al
je 0x10130a5d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
test esi, esi
je 0x10130a59
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x10]
call edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xd0], 1
test eax, eax
je 0x10130a22
push 0x10368870
lea ecx, [esp + 0x48]
call fcn.100cd5c0
mov byte [esp + 0xd0], 2
lea ecx, [esp + 0xa8]
push 0x1055a064
call fcn.100cd5c0
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x90]
push dword [esp + 0x14]
call fcn.100cd5c0
mov byte [esp + 0xd0], 4
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0x94]
call fcn.1019dd10
add esp, 4
mov byte [esp + 0xd0], 3
lea ecx, [esp + 0x90]
call fcn.100cd690
mov byte [esp + 0xd0], 2
lea ecx, [esp + 0xa8]
call fcn.100cd690
mov byte [esp + 0xd0], 1
lea ecx, [esp + 0x44]
call fcn.100cd690
push 0x1055c6e0
lea ecx, [esp + 0x48]
call fcn.100cc220
mov byte [esp + 0xd0], 5
lea ecx, [esp + 0x44]
call fcn.100d7b20
mov byte [esp + 0xd0], 1
lea ecx, [esp + 0x44]
call fcn.100cc270
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
cmp eax, 1
jne 0x10130a45
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
jle 0x10130a45
mov ecx, dword [edi]
push esi
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10131b60
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 0x10