Function at 0x43b610
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489d38
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [0x4bde94]
mov dword [ebp - 0x230], esi
test eax, eax
jne 0x43b673
push 0x4bde90
mov dword [0x4bde90], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x4bde94]
cmp eax, 5
jne 0x43b685
cmp dword [0x4bde98], 0
jne 0x43b685
mov al, 1
jmp 0x43b687
xor al, al
mov ebx, 0x41
mov byte [ebp - 0x221], al
mov edi, ebx
jmp 0x43b6a0
test al, al
mov word [ebp - 0x18], bx
mov dword [ebp - 0x16], 0x3a
lea eax, [ebp - 0x220]
push edi
je 0x43b6bd
push 0x4a3264
jmp 0x43b6c2
push 0x4a3274
push eax
call fcn.00401f90
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0043b910
add esp, 8
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.0046a870
test eax, eax
je 0x43b788
lea ecx, [ebp - 0x228]
call fcn.0046a2c0
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x238], ecx
test ecx, ecx
je 0x43b71b
call fcn.0046a570
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.0046a680
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046a810
add esp, 0xc
mov dword [ebp - 0x234], eax
movzx eax, byte [0x4bde88]
mov ecx, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.00431360
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x43b775
call fcn.0046a850
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43b788
call fcn.0046a850
cmp byte [ebp - 0x221], 0
jne 0x43b8bd
push edi
push dword [esi]
lea eax, [ebp - 0x220]
push dword [esi + 4]
push dword [ebp + 8]
push 0x4a3290
push eax
call fcn.00401f90
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0043b910
add esp, 0x20
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.0046a200
mov ecx, dword [ebp - 0x244]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43b7e8
call fcn.0046a850
lea ecx, [ebp - 0x228]
call fcn.0046a870
test eax, eax
je 0x43b8bd
lea ecx, [ebp - 0x228]
call fcn.0046a2c0
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.0046a870
cmp eax, 0x2c
jb 0x43b837
push 0x1a
push 0x4a32dc
push esi
call fcn.0047277b
add esp, 0xc
test eax, eax
jne 0x43b837
add esi, 0x56
mov eax, 0x5c
mov word [esi], ax
push esi
call fcn.0046a680
push eax
push esi
call fcn.0046a810
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.0046a680
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046a810
add esp, 0x18
mov dword [ebp - 0x23c], eax
movzx eax, byte [0x4bde88]
mov ecx, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 6
push eax
push 0
lea eax, [ebp - 0x254]
push eax
call fcn.00431360
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x43b8a4
call fcn.0046a850
mov ecx, dword [ebp - 0x240]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43b8b7
call fcn.0046a850
mov esi, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x43b8d3
call fcn.0046a850
mov al, byte [ebp - 0x221]
inc ebx
inc edi
cmp bx, 0x5a
jbe 0x43b6a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret