Function at 0x43927d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x18
call fcn.004ab8f1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x208
call fcn.004ab8f1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4bb170
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x94
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x214
call fcn.004ab8f1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x439363
push 6
call fcn.004ab8f7
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004ab8eb
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4393b8
jmp 0x439595
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 4
jg 0x4393d7
jmp 0x439595
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 5
jne 0x439408
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x439408
mov eax, 1
jmp 0x43940d
mov eax, 0
test eax, eax
je 0x43941a
jmp 0x439595
push 0x80000004
push 0
push str.windir
push 1
mov ebx, 0x10c
call fcn.004afb80
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x4b8b5b
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004012a7
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x439463
push ebx
call fcn.004ab8eb
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x439477
push ebx
call fcn.004ab8eb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x43948e
mov eax, 0x4b423d
push eax
push 1
mov ebx, 0x24c
call fcn.004af780
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4394e0
push 0x80000005
push 0
push 0x4b8b66
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4394cd
mov eax, 0x4b423d
push eax
push 2
mov ebx, 0x26c
call fcn.004afbe0
add esp, 0x1c
mov dword [ebp - 0xc], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4394ff
push 6
call fcn.004ab8f7
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004af4b0
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x4bb16e
push dword [ebp - 8]
mov ecx, 3
call fcn.004012a7
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x439547
push ebx
call fcn.004ab8eb
add esp, 4
push 0x80000301
push 0
push 1
push 0x80000002
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x439572
mov eax, 0x4b423d
push eax
push 3
mov ebx, 0x2c0
call fcn.004afc80
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439595
push ebx
call fcn.004ab8eb
add esp, 4
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4395ba
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4395b6
imul eax, dword [ebx]
jmp 0x4395ab
mov ecx, eax
test ecx, ecx
je 0x4395d9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4395d2
push ebx
push eax
call fcn.004ab8eb
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4395c0
call fcn.004ab8eb
add esp, 4
pop ebx
call fcn.004ab8eb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4395fa
push ebx
call fcn.004ab8eb
add esp, 4
mov esp, ebp
pop ebp
ret