Function at 0x4398f0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov dword [ebp - 8], 0
push 0x9c
push 0
lea eax, [ebp - 0xd0]
push eax
call fcn.00409d10
add esp, 0xc
push 0x24
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00409d10
add esp, 0xc
push 4
push 0
mov edx, dword [ebp + 8]
add edx, 0x19a
push edx
call fcn.00409d10
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x1aa], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1ae], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x1b6], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x19a], 0
mov dword [ebp - 0xd0], 0x9c
lea ecx, [ebp - 0xd0]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4399b0
mov dword [ebp - 0xd0], 0x94
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x4399b0
jmp 0x439d01
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0x1aa], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc8]
mov dword [edx + 0x1ae], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc4]
mov dword [ecx + 0x1b2], edx
movzx eax, word [ebp - 0x3c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1b6], eax
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439a13
lea edx, [ebp - 0x2c]
push edx
call dword [ebp - 4]
jmp 0x439a1d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [ebp - 0xc0], 2
jne 0x439d01
cmp dword [ebp - 0xcc], 6
jne 0x439a52
cmp dword [ebp - 0xc8], 1
jne 0x439a52
movzx ecx, byte [ebp - 0x36]
cmp ecx, 1
jne 0x439a52
mov edx, dword [ebp + 8]
mov dword [edx + 0x19a], 0xd
cmp dword [ebp - 0xcc], 6
jne 0x439a89
cmp dword [ebp - 0xc8], 0
jne 0x439a89
movzx eax, byte [ebp - 0x36]
cmp eax, 1
jne 0x439a7c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19a], 9
jmp 0x439a89
mov edx, dword [ebp + 8]
mov dword [edx + 0x19a], 0xc
cmp dword [ebp - 0xcc], 5
jne 0x439ae4
cmp dword [ebp - 0xc8], 2
jne 0x439ae4
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x439ab6
mov eax, dword [ebp + 8]
mov dword [eax + 0x19a], 6
jmp 0x439ae4
movzx ecx, byte [ebp - 0x36]
cmp ecx, 1
jne 0x439ad7
movzx edx, word [ebp - 0x2c]
cmp edx, 9
jne 0x439ad7
mov eax, dword [ebp + 8]
mov dword [eax + 0x19a], 8
jmp 0x439ae4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19a], 5
cmp dword [ebp - 0xcc], 5
jne 0x439b03
cmp dword [ebp - 0xc8], 1
jne 0x439b03
mov edx, dword [ebp + 8]
mov dword [edx + 0x19a], 7
cmp dword [ebp - 0xcc], 5
jne 0x439b22
cmp dword [ebp - 0xc8], 0
jne 0x439b22
mov eax, dword [ebp + 8]
mov dword [eax + 0x19a], 4
cmp dword [ebp - 0xcc], 4
ja 0x439b38
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19a], 3
cmp dword [ebp - 8], 0
je 0x439d01
movzx edx, byte [ebp - 0x36]
cmp edx, 1
jne 0x439b99
movzx eax, word [ebp - 0x2c]
cmp eax, 9
je 0x439b99
cmp dword [ebp - 0xcc], 4
jne 0x439b6c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19e], 1
jmp 0x439b94
movzx edx, word [ebp - 0x38]
and edx, 0x200
je 0x439b87
mov eax, dword [ebp + 8]
mov dword [eax + 0x19e], 2
jmp 0x439b94
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19e], 3
jmp 0x439d01
movzx edx, byte [ebp - 0x36]
cmp edx, 3
je 0x439baf
movzx eax, byte [ebp - 0x36]
cmp eax, 2
jne 0x439d01
cmp dword [ebp - 0xcc], 5
jne 0x439caf
cmp dword [ebp - 0xc8], 2
jne 0x439caf
movzx ecx, word [ebp - 0x2c]
cmp ecx, 6
jne 0x439c08
movzx edx, word [ebp - 0x38]
and edx, 0x80
je 0x439bed
mov eax, dword [ebp + 8]
mov dword [eax + 0x19e], 4
jmp 0x439c03
movzx ecx, word [ebp - 0x38]
and ecx, 2
je 0x439c03
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 6
jmp 0x439cad
movzx eax, word [ebp - 0x2c]
cmp eax, 9
jne 0x439c53
movzx ecx, word [ebp - 0x38]
and ecx, 0x80
je 0x439c2c
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 5
jmp 0x439c51
movzx eax, word [ebp - 0x38]
and eax, 2
je 0x439c44
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19e], 7
jmp 0x439c51
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 0xc
jmp 0x439cad
movzx eax, word [ebp - 0x38]
and eax, 0x80
je 0x439c6d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19e], 4
jmp 0x439cad
movzx edx, word [ebp - 0x38]
and edx, 2
je 0x439c85
mov eax, dword [ebp + 8]
mov dword [eax + 0x19e], 6
jmp 0x439cad
movzx ecx, word [ebp - 0x38]
and ecx, 0x400
je 0x439ca0
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 8
jmp 0x439cad
mov eax, dword [ebp + 8]
mov dword [eax + 0x19e], 0xb
jmp 0x439d01
cmp dword [ebp - 0xcc], 5
jne 0x439d01
cmp dword [ebp - 0xc8], 0
jne 0x439d01
movzx ecx, word [ebp - 0x38]
and ecx, 0x80
je 0x439cdc
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 4
jmp 0x439d01
movzx eax, word [ebp - 0x38]
and eax, 2
je 0x439cf4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19e], 9
jmp 0x439d01
mov edx, dword [ebp + 8]
mov dword [edx + 0x19e], 0xa
mov esp, ebp
pop ebp
ret