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

Disassembly:
push 0xffffffffffffffff
push 0x4f3718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x78]
mov edi, dword [0x4fd6ac]
push ebx
push ebx
push 0x184
push eax
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x52c200]
mov dword [esp + 0x10], ecx
mov ebp, dword [eax + 0xac]
mov dword [esp + 0x20], ebp
test ebp, ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0xb
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x40], 0xd
mov dword [esp + 0x44], 0xe
mov dword [esp + 0x48], 0xf
jle 0x41dc9f
lea edx, [esp + 0x24]
add eax, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x41dc3d
cmp word [eax], 0
je 0x41dc3d
push eax
call fcn.004be979
mov dword [esp + 0x20], eax
add eax, eax
inc eax
push eax
call fcn.004d2ddc
mov ecx, dword [esp + 0x24]
add esp, 8
mov ebp, eax
mov edx, ecx
push 0
lea eax, [ecx + ecx]
push 0
push eax
mov eax, dword [esp + 0x20]
push ebp
push edx
mov edx, dword [0x5355c4]
mov ecx, dword [eax]
push ecx
push 0
push edx
call dword [0x4fd458]
push ebp
lea ecx, [esp + 0x14]
mov byte [eax + ebp], 0
call fcn.004d3224
push ebp
call fcn.004d2e05
mov ebp, dword [esp + 0x24]
add esp, 4
jmp 0x41dc53
lea eax, [ebx + 1]
lea ecx, [esp + 0x10]
push eax
push 0x5288c4
push ecx
call fcn.004cbf5f
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x78]
push edx
push 0
push 0x180
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x78]
mov ecx, dword [ecx]
push ecx
push eax
push 0x19a
push edx
call edi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, 4
inc ebx
add edx, eax
add ecx, eax
cmp ebx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jl 0x41dbd2
cmp ebx, 0xa
jge 0x41dd0b
mov ecx, dword [esp + 0x5c]
lea eax, [esp + ebx*4 + 0x24]
lea ebp, [ebx + 1]
mov dword [esp + 0x18], eax
lea ebx, [ecx + ebx*2 + 0x54]
cmp word [ebx - 0x14], 0
jne 0x41dcbf
cmp word [ebx], 0
je 0x41dcf7
push ebp
lea edx, [esp + 0x14]
push 0x5288c4
push edx
call fcn.004cbf5f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x78]
add esp, 0xc
push eax
push 0
push 0x180
push ecx
call edi
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
push ecx
push eax
mov eax, dword [esi + 0x78]
push 0x19a
push eax
call edi
mov ecx, dword [esp + 0x18]
add ebx, 2
inc ebp
add ecx, 4
cmp ebp, 0xb
mov dword [esp + 0x18], ecx
jl 0x41dcb2
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0xb0], 1
jne 0x41dddf
mov ecx, dword [esi + 0x78]
push 0x5288b4
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 3
push eax
push 0x19a
push edx
call edi
mov eax, dword [esi + 0x78]
push 0x52889c
push 0
push 0x180
push eax
call edi
mov ecx, dword [esi + 0x78]
push 0xb
push eax
push 0x19a
push ecx
call edi
mov edx, dword [esi + 0x78]
push 0x52888c
push 0
push 0x180
push edx
call edi
push 4
push eax
mov eax, dword [esi + 0x78]
push 0x19a
push eax
call edi
mov ecx, dword [esi + 0x78]
push 0x52887c
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 7
push eax
push 0x19a
push edx
call edi
mov eax, dword [esi + 0x78]
push 0x528868
push 0
push 0x180
push eax
call edi
mov ecx, dword [esi + 0x78]
push 9
push eax
push 0x19a
push ecx
call edi
mov edx, dword [esi + 0x78]
push 0x528854
push 0
push 0x180
push edx
call edi
push 0xa
push eax
mov eax, dword [esi + 0x78]
push 0x19a
push eax
jmp 0x41dedb
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x41de06
mov ecx, dword [esi + 0x78]
push 0x528844
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 5
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x41de31
mov ecx, dword [esi + 0x78]
push 0x528834
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 6
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x41de5c
mov ecx, dword [esi + 0x78]
push 0x528824
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 7
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x41de87
mov ecx, dword [esi + 0x78]
push 0x528814
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 8
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
cmp word [eax + 0x3c], 0
je 0x41deb2
mov ecx, dword [esi + 0x78]
push 0x528808
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 9
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
cmp word [eax + 0x3e], 0
je 0x41dedd
mov ecx, dword [esi + 0x78]
push str.Text_selection
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 0xa
push eax
push 0x19a
push edx
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x41df0b
mov ecx, dword [esi + 0x78]
push 0x5287f4
push 0
push 0x180
push ecx
call edi
mov edx, dword [esi + 0x78]
push 0x10
push eax
push 0x19a
push edx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.004d309b
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4