Function at 0x43a660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4872c8
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b31cc]
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 [0x4b4e4c]
mov dword [ebp - 0x230], esi
test eax, eax
jne 0x43a6c3
push 0x4b4e48
mov dword [0x4b4e48], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x4b4e4c]
cmp eax, 5
jne 0x43a6d5
cmp dword [0x4b4e50], 0
jne 0x43a6d5
mov al, 1
jmp 0x43a6d7
xor al, al
mov ebx, 0x41
mov byte [ebp - 0x221], al
mov edi, ebx
jmp 0x43a6f0
test al, al
mov word [ebp - 0x18], bx
mov dword [ebp - 0x16], 0x3a
lea eax, [ebp - 0x220]
push edi
je 0x43a70d
push 0x49b1f4
jmp 0x43a712
push 0x49b204
push eax
call fcn.00401f70
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.0043a960
add esp, 8
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00468f70
test eax, eax
je 0x43a7d8
lea ecx, [ebp - 0x228]
call fcn.004689b0
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x238], ecx
test ecx, ecx
je 0x43a76b
call fcn.00468c60
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.00468d70
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00468f00
add esp, 0xc
mov dword [ebp - 0x234], eax
movzx eax, byte [0x4b4e40]
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.004303b0
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x43a7c5
call fcn.00468f40
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a7d8
call fcn.00468f40
cmp byte [ebp - 0x221], 0
jne 0x43a90d
push edi
push dword [esi]
lea eax, [ebp - 0x220]
push dword [esi + 4]
push dword [ebp + 8]
push 0x49b220
push eax
call fcn.00401f70
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0043a960
add esp, 0x20
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.004688f0
mov ecx, dword [ebp - 0x244]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a838
call fcn.00468f40
lea ecx, [ebp - 0x228]
call fcn.00468f70
test eax, eax
je 0x43a90d
lea ecx, [ebp - 0x228]
call fcn.004689b0
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.00468f70
cmp eax, 0x2c
jb 0x43a887
push 0x1a
push 0x49b26c
push esi
call fcn.004707fb
add esp, 0xc
test eax, eax
jne 0x43a887
add esi, 0x56
mov eax, 0x5c
mov word [esi], ax
push esi
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.00468d70
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00468f00
add esp, 0x18
mov dword [ebp - 0x23c], eax
movzx eax, byte [0x4b4e40]
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.004303b0
mov ecx, dword [ebp - 0x23c]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x43a8f4
call fcn.00468f40
mov ecx, dword [ebp - 0x240]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43a907
call fcn.00468f40
mov esi, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x43a923
call fcn.00468f40
mov al, byte [ebp - 0x221]
inc ebx
inc edi
cmp bx, 0x5a
jbe 0x43a6f0
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.0046dfbe
mov esp, ebp
pop ebp
ret