Function at 0x432e6c
Capabilities:
Get memory capacity
Query environment variable

Disassembly:
push 0x31c
mov eax, 0x466e89
call fcn.0045091b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2cc], 1
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00413a25
mov esi, 0x11c
xor ebx, ebx
push esi
lea eax, [ebp - 0x2c0]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044e740
add esp, 0xc
push str.ntdll
mov dword [ebp - 0x2c0], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x432f07
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x432f07
lea ecx, [ebp - 0x2c0]
push ecx
call eax
cmp eax, ebx
je 0x432f64
push str.RtlGetVersion_failed__using_GetVersionEx
lea ecx, [ebp - 0x2c8]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x2c8]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00410d56
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x2c0]
push eax
call esi
cmp eax, ebx
jne 0x432f64
lea eax, [ebp - 0x2c0]
push eax
mov dword [ebp - 0x2c0], 0x114
call esi
movzx edi, word [ebp - 0x1ac]
mov esi, dword [ebp - 0x2bc]
imul edi, edi, 0xa
movzx eax, word [ebp - 0x1aa]
imul esi, esi, 0xa
add esi, dword [ebp - 0x2b8]
add edi, eax
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
seta byte [ebp - 0x2c1]
cmp byte [ebp - 0x2c1], bl
jne 0x432fe8
push 0xc8
lea eax, [ebp - 0x1a0]
push eax
push str.PROCESSOR_ARCHITECTURE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x432fe8
lea eax, [ebp - 0x1a0]
push str.AMD64
push eax
call fcn.0044e81b
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [ebp - 0x2c1], al
test dword [ebp - 0x1a8], 0x8000
je 0x432ff8
push 0x48
jmp 0x433006
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x433009
push 0x32
pop eax
jmp 0x43301f
xor eax, eax
cmp byte [ebp - 0x1a6], 1
sete al
lea eax, [eax*4 + 0x53]
movzx eax, ax
xor ecx, ecx
cmp byte [ebp - 0x2c1], bl
movzx eax, ax
sete cl
dec ecx
and ecx, 3
add ecx, 3
push ecx
push eax
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x1a0]
push dword [ebp - 0x2bc]
push str._d_d_c_d
push eax
call fcn.0043afdf
add esp, 0x18
lea eax, [ebp - 0x328]
push eax
mov dword [ebp - 0x328], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x31c]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2e8], eax
xor ecx, ecx
xor eax, eax
inc eax
xor edx, edx
shl eax, cl
inc ecx
inc edx
shl edx, cl
mov dword [ebp - 0x2dc], ecx
cmp eax, dword [ebp - 0x2c8]
jae 0x4330af
cmp dword [ebp - 0x2c8], edx
jb 0x4330bc
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 0x1e
jl 0x43308e
jmp 0x4330c2
mov dword [ebp - 0x2c8], edx
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x1a0]
push dword [ebp - 0x2e8]
push eax
push edi
push esi
lea eax, [ebp - 0x2d8]
push str.CheckSystemRequirements_os_sp___d__d_osString___s__physicalMemory___d____d
push eax
call fcn.004012c2
add esp, 0x1c
push ebx
lea eax, [ebp - 0x2d8]
push eax
push 2
call fcn.00410d56
mov eax, dword [ebp - 0x2d0]
mov eax, dword [eax]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jle 0x433142
push eax
call fcn.0044e727
pop ecx
xor ecx, ecx
cmp esi, eax
setge cl
mov dword [ebp - 0x2cc], ecx
cmp ecx, ebx
jne 0x433142
push str.CheckSystemRequirements_failed._Required_MinOS:
lea ecx, [ebp - 0x2c8]
call fcn.004012e2
push ebx
mov byte [ebp - 4], 2
push dword [ebp - 0x2d0]
jmp 0x43323d
mov eax, dword [ebp - 0x2d4]
mov eax, dword [eax]
cmp eax, ebx
je 0x43316b
cmp dword [eax - 0xc], ebx
je 0x43316b
push eax
call fcn.0044e727
cmp eax, ebx
pop ecx
jle 0x43316b
xor ecx, ecx
cmp esi, eax
setle cl
mov dword [ebp - 0x2cc], ecx
cmp dword [ebp - 0x2cc], ebx
jne 0x4331a7
push str.CheckSystemRequirements_failed._Required_MaxOS:
lea ecx, [ebp - 0x2d0]
call fcn.004012e2
push ebx
mov byte [ebp - 4], 3
push dword [ebp - 0x2d4]
lea eax, [ebp - 0x2d0]
push eax
push 2
call fcn.00410886
mov ecx, dword [ebp - 0x2d0]
jmp 0x433251
mov esi, dword [ebp - 0x2e4]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jle 0x4331c8
push eax
call fcn.0044e727
pop ecx
xor ecx, ecx
cmp edi, eax
setge cl
mov dword [ebp - 0x2cc], ecx
cmp dword [ebp - 0x2cc], ebx
jne 0x4331fc
push str.CheckSystemRequirements_failed._Required_MinServicePack:
lea ecx, [ebp - 0x2d4]
call fcn.004012e2
push ebx
push esi
lea eax, [ebp - 0x2d4]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.00410886
mov ecx, dword [ebp - 0x2d4]
jmp 0x433251
mov esi, dword [ebp - 0x2e0]
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jle 0x43321f
push eax
call fcn.0044e727
cmp dword [ebp - 0x2c8], eax
pop ecx
sbb eax, eax
inc eax
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], ebx
jne 0x43325c
push str.CheckSystemRequirements_failed._Required_MinMemory:
lea ecx, [ebp - 0x2c8]
call fcn.004012e2
push ebx
mov byte [ebp - 4], 5
push esi
lea eax, [ebp - 0x2c8]
push eax
push 2
call fcn.00410886
mov ecx, dword [ebp - 0x2c8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x2d8]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebp - 0x2cc]
call fcn.0045099e
ret