Function at 0x4280d0
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2c65
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1a0], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1a8], edi
mov dword [0x5171a0], 9
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x38]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [ebp - 0x198], eax
call fcn.004a2a40
test eax, eax
je 0x4281b2
mov esi, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x1a0]
lea eax, [esi + 1]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x198]
call fcn.004a2380
push esi
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.0049f0a0
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x428187
call fcn.004a2a20
mov ecx, dword [esi]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x428195
call fcn.004a26e0
mov ecx, dword [ebp - 0x198]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4281a8
call fcn.004a2a20
mov esi, dword [ebp - 0x1a0]
mov byte [ebp - 4], 1
push 0x38
xorps xmm0, xmm0
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], 0x40
push 0
push eax
movups xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x184], xmm0
call fcn.004aa220
push 0x114
lea eax, [ebp - 0x168]
mov dword [ebp - 0x170], 0x11c
push 0
push eax
mov dword [ebp - 0x16c], 0
call fcn.004aa220
add esp, 0x18
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
lea eax, [ebp - 0x170]
push eax
call sub.ntdll.dll_RtlGetVersion
push 0x590
mov dword [edi], 0
call fcn.004a71b8
add esp, 4
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x428273
push 0x590
push 0
push eax
call fcn.004aa220
mov ecx, dword [ebp - 0x198]
add esp, 0xc
call fcn.004266c0
jmp 0x428275
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
test eax, eax
je 0x428286
lock inc dword [eax + 0x57c]
mov eax, dword [edi]
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x198], eax
call fcn.004a2380
lea ecx, [esi + 0x78]
mov edi, eax
call fcn.004a2380
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004a2380
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x180]
mov ecx, dword [ebp - 0x198]
push 0
push dword [ebp - 0x188]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push edi
push esi
push 0xa3d70a
push eax
call fcn.0049df70
test eax, eax
je 0x428316
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
mov dword [eax], 0
test ecx, ecx
je 0x428332
or eax, 0xffffffff
lock xadd dword [ecx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x428332
push eax
lfence
call fcn.0049e2a0
jmp 0x428332
cmp byte [ebp + 0xc], 0
je 0x428332
mov ecx, dword [ebp - 0x1a0]
push dword [ecx + 0x40]
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ecx]
call fcn.0049f200
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x30]
mov esi, dword [edx + 0x2c]
sub eax, esi
sar eax, 2
cmp eax, dword [edx + 0x74]
jae 0x428351
cmp eax, 0x12
jb 0x4284c6
mov esi, dword [esi]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x1b8], esi
test esi, esi
je 0x42836a
lock inc dword [esi + 0x57c]
mov ecx, dword [edx + 0x2c]
mov eax, dword [edx + 0x30]
mov byte [ebp - 4], 5
mov dword [ebp - 0x19c], ecx
lea edi, [ecx + 4]
mov dword [ebp - 0x1ac], eax
cmp edi, eax
je 0x4283e6
or esi, 0xffffffff
nop word [eax + eax]
mov eax, dword [edi]
mov edx, dword [ecx]
mov dword [ecx], eax
test eax, eax
je 0x4283a1
lock inc dword [eax + 0x57c]
test edx, edx
je 0x4283c6
mov eax, esi
lock xadd dword [edx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x4283c6
push eax
mov ecx, edx
lfence
call fcn.0049e2a0
mov ecx, dword [ebp - 0x19c]
add ecx, 4
add edi, 4
mov dword [ebp - 0x19c], ecx
cmp edi, dword [ebp - 0x1ac]
jne 0x428390
mov esi, dword [ebp - 0x198]
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax - 4]
or edi, 0xffffffff
mov byte [ebp - 4], 6
test ecx, ecx
je 0x428416
mov eax, edi
lock xadd dword [ecx + 0x57c], eax
dec eax
cmp eax, 2
jge 0x428416
push eax
lfence
call fcn.0049e2a0
mov edx, dword [ebp - 0x1a0]
add dword [edx + 0x30], 0xfffffffc
lea ecx, [edx + 0x1c]
mov byte [ebp - 4], 5
mov byte [esi + 0x584], 1
call fcn.0041d800
mov eax, dword [ebp - 0x1a0]
add eax, 0x4c
mov dword [ebp - 0x1ac], eax
cmp dword [eax + 4], 0x15555555
mov ecx, dword [eax]
mov dword [ebp - 0x19c], ecx
je 0x4284fc
mov dword [ebp - 0x1a4], eax
push 0xc
mov byte [ebp - 4], 7
mov dword [ebp - 0x1a0], 0
call fcn.004a71b8
add esp, 4
lea edx, [esi + 0x57c]
mov dword [eax + 8], esi
lock inc dword [edx]
mov ecx, dword [ebp - 0x1ac]
mov esi, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], 0
inc dword [ecx + 4]
mov ecx, dword [ebp - 0x19c]
mov ecx, dword [ecx + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
mov byte [ebp - 4], 9
lock xadd dword [edx], edi
dec edi
mov esi, dword [ebp - 0x198]
cmp edi, 2
jge 0x4284c6
push edi
mov ecx, esi
lfence
call fcn.0049e2a0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xa
test ecx, ecx
je 0x4284d9
call fcn.004a2a20
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 8
push 0x4dd7f8
call fcn.004a90aa
int3