Function at 0x44dab0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dbba0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
lea eax, [edi + 0x98]
mov dword [esp + 0x38], eax
add eax, 4
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x48], 0
mov ecx, dword [0x545d90]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 5
jne 0x44db32
push 0x9e
push 0x9d
push str._d__d_n
call fcn.004b05f1
add esp, 0xc
cmp byte [edi + 0xc4], 0
je 0x44de0e
mov eax, dword [edi + 0x198]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x44de0e
lea eax, [ebx + 0xa4]
mov dword [esp + 0x2c], eax
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x48], 1
mov bl, byte [ebx + 0xc0]
mov byte [esp + 0x48], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x44de0e
cmp byte [ebp + 8], 0
je 0x44dbb3
push 6
lea ecx, [esp + 0x14]
call fcn.004509b0
mov byte [esp + 0x48], 2
mov ecx, dword [edi + 0x198]
push eax
call fcn.00450290
mov byte [esp + 0x48], 0
lea ecx, [esp + 0x10]
call fcn.00450a40
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0x528a28
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00424880
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x14]
mov dword [eax], 5
mov dword [eax + 4], 0
mov byte [esp + 0x48], 4
push 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00424880
mov byte [esp + 0x48], 5
mov edx, dword [0x545d90]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 0xe
jne 0x44dc4a
call fcn.004aff67
mov dword [0x545d90], eax
mov eax, dword [edi + 0xb8]
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
lea eax, [edi + 0xb4]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x44dcca
jmp 0x44dc70
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x14]
sub edi, ebx
mov ecx, edi
sub ecx, dword [esi + 0x10]
add ecx, 0xc
add eax, ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00424880
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 8]
mov dword [ebx + edi], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + edi + 4], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov dword [ebx + edi + 8], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, ecx
push eax
lea eax, [ebx + 0xc]
push ecx
add eax, edi
push eax
call fcn.004b4120
mov eax, dword [esp + 0x38]
mov esi, dword [esi]
add esp, 0xc
cmp esi, dword [eax]
jne 0x44dc70
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
sub edi, dword [esp + 0x14]
sub esi, ebx
lea ecx, [esp + 0x14]
lea eax, [edi + esi]
push eax
call fcn.00424880
push esi
mov esi, dword [esp + 0x18]
push ebx
lea eax, [esi + edi]
push eax
call fcn.004b4120
mov eax, dword [esp + 0x24]
sub eax, esi
sub eax, 8
mov dword [esi + 4], eax
mov esi, dword [0x545d90]
add esp, 0xc
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 8
jne 0x44dd40
xor edi, edi
test esi, esi
je 0x44dd3a
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x44dd28
mov dword [0x545d90], edi
mov ecx, dword [esp + 0x2c]
call fcn.0044e470
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x198]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x44dda9
lea eax, [esi + 0x70]
mov dword [esp + 0x30], eax
lea edi, [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x48], 6
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x8c]
call fcn.00451d60
cmp dword [esi + 0x9c], 1
jne 0x44dd9d
mov esi, dword [esi + 0xa0]
call fcn.00423a30
mov edx, esi
mov ecx, eax
call fcn.00436940
mov byte [esp + 0x48], 5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x48], 4
test ebx, ebx
je 0x44ddd3
push ebx
call fcn.004af5b5
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x10], 0x528a28
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44de0e
push eax
call fcn.004af5b5
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x48], 0xffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4