Function at 0x43b77c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43baa1
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov dword [ebp - 0x30], eax
mov edx, 0x43babc
mov eax, 0x80000001
call fcn.0040df40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43ba5b
call fcn.00414540
mov dword [ebp - 0x20], eax
call fcn.00414540
mov edi, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.0040e174
mov eax, dword [ebp - 0x20]
call fcn.00413d50
dec eax
test eax, eax
jl 0x43ba4c
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00413d58
lea eax, [ebp - 0x9c]
mov edx, 0x43bb44
call fcn.00406e70
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x18]
call fcn.0040df40
mov dword [ebp - 0x1c], eax
mov eax, edi
call fcn.00413cc4
mov edx, edi
mov eax, dword [ebp - 0x1c]
call fcn.0040e248
mov eax, edi
call fcn.00413d50
mov esi, eax
dec esi
test esi, esi
jl 0x43ba40
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xac]
mov eax, edi
mov edx, ebx
call fcn.00413d58
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov ecx, 0
call fcn.00406d60
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.0043b65c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00406d38
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 4]
call fcn.0040d4e0
cmp dword [ebp - 4], 0
je 0x43ba38
mov edx, 0x43bb60
mov eax, dword [ebp - 4]
call fcn.0040caf8
test al, al
jne 0x43b905
mov edx, 0x43bb78
mov eax, dword [ebp - 4]
call fcn.0040caf8
test al, al
je 0x43ba38
lea eax, [ebp - 0x98]
xor ecx, ecx
mov edx, 0x48
call fcn.00404558
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00404558
cmp byte [ebp - 0x30], 6
jb 0x43b95c
push 0x48
lea ecx, [ebp - 0xb0]
mov eax, edi
mov edx, ebx
call fcn.00413d58
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0x98]
mov eax, dword [ebp - 0x1c]
call fcn.0040e134
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x2c], eax
jmp 0x43b987
push 0x10
lea ecx, [ebp - 0xb4]
mov eax, edi
mov edx, ebx
call fcn.00413d58
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
call fcn.0040e134
mov eax, dword [ebp - 0x4c]
sub eax, 5
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x43ba38
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00413d50
cmp eax, dword [ebp - 0x14]
jg 0x43b9bc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.00413c9c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
call fcn.0040b01c
jmp 0x43ba38
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
call fcn.0040b0fc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
dec eax
test eax, eax
jle 0x43ba18
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.0040b0fc
cmp eax, dword [ebp - 0x38]
jge 0x43ba10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
call fcn.0040b0fc
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x28]
dec dword [ebp - 0x40]
jne 0x43b9e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
call fcn.0040b0ec
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
call fcn.00413f1c
inc ebx
dec esi
jne 0x43b880
inc dword [ebp - 0x24]
dec dword [ebp - 0x3c]
jne 0x43b828
mov eax, dword [ebp - 0x20]
call fcn.0040ae20
mov eax, edi
call fcn.0040ae20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43baa8
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00406b14
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.00405d90
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00406b14
lea eax, [ebp - 4]
call fcn.00406b0c
ret