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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d04b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x110], esi
call fcn.10005710
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
push 0x40
push 0
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [ebp - 0x10c], 0x40
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1003dc41
mov esi, dword [ebp - 0x104]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x100]
shrd esi, eax, 0x14
call fcn.100056b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push esi
push 0x10157f20
push eax
call fcn.10057130
add esp, 0xc
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004aa0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10006600
mov edx, esi
mov ecx, eax
call fcn.10058070
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004ae0
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0xb4]
call fcn.10005620
test al, al
jne 0x1003dcc0
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0xb4]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10004bd0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003dc86
mov eax, dword [eax]
mov ecx, eax
call fcn.100ecd30
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x10158c29
push str.A0201
call fcn.100ee7d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100edb30
push str.User32.dll
lea ecx, [ebp - 0x154]
call fcn.10008180
mov byte [ebp - 4], 4
lea eax, [ebp - 0x154]
push eax
call fcn.100660b0
mov ecx, eax
call fcn.10066170
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10004ae0
xor edi, edi
test esi, esi
je 0x1003dd12
push 0x10158c34
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea ecx, [ebp - 0x9c]
call fcn.10005710
mov byte [ebp - 4], 5
test edi, edi
je 0x1003dd7e
push 0
call edi
mov esi, eax
test esi, esi
jle 0x1003dd7e
lea ecx, [ebp - 0x28]
call fcn.100056b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push esi
push 0x10152250
push eax
call fcn.10057130
add esp, 0xc
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004aa0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10006600
mov edx, esi
mov ecx, eax
call fcn.10058070
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10004ae0
lea ecx, [ebp - 0x9c]
call fcn.10005620
test al, al
jne 0x1003de01
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0x9c]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10004bd0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003ddc3
mov eax, dword [eax]
mov ecx, eax
call fcn.100ecd30
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x110]
push 0x10158c6d
push str.A0202
call fcn.100ee7d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100edb30
lea ecx, [ebp - 0x84]
call fcn.10005710
mov byte [ebp - 4], 9
test edi, edi
je 0x1003de6d
push 1
call edi
mov esi, eax
test esi, esi
jle 0x1003de6d
lea ecx, [ebp - 0x28]
call fcn.100056b0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push esi
push 0x10152250
push eax
call fcn.10057130
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004aa0
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10006600
mov edx, esi
mov ecx, eax
call fcn.10058070
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10004ae0
lea ecx, [ebp - 0x84]
call fcn.10005620
test al, al
jne 0x1003def0
mov byte [ebp - 0x20], 4
lea ecx, [ebp - 0x84]
or dword [ebp - 0x20], 0x100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10004bd0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003deb2
mov eax, dword [eax]
mov ecx, eax
call fcn.100ecd30
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x110]
push 0x10158c65
push str.A0203
call fcn.100ee7d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100edb30
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x128], 2
and dword [ebp - 0x128], 0xfffffeff
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x110]
push 0x10158c7d
push str.A0204
call fcn.100ee7d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.100edb30
mov edi, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10158c70
push edi
call esi
push 0x10158c94
push edi
mov dword [ebp - 0x118], eax
call esi
push str.Gdi32.dll
mov dword [ebp - 0x134], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x138], eax
test eax, eax
je 0x1003dfd1
push 0x10158ca8
push eax
call esi
mov edi, eax
xor esi, esi
mov dword [ebp - 0x114], esi
test edi, edi
je 0x1003e021
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x1003e021
cmp dword [ebp - 0x134], esi
je 0x1003e021
push esi
call eax
mov esi, eax
test esi, esi
je 0x1003e01f
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [ebp - 0x118], eax
call edi
push esi
push 0
mov dword [ebp - 0x114], eax
call dword [ebp - 0x134]
mov esi, dword [ebp - 0x118]
jmp 0x1003e021
xor esi, esi
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x1003e032
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 0x128], 2
and dword [ebp - 0x128], 0xfffffeff
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 0xf
mov edi, dword [ebp - 0x110]
mov ecx, edi
push 0x10158ca5
push str.A0205
call fcn.100ee7d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.100edb30
mov eax, dword [ebp - 0x114]
mov byte [ebp - 0x20], 2
and dword [ebp - 0x20], 0xfffffeff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x11
mov ecx, edi
push 0x10158cc5
push str.A0206
call fcn.100ee7d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100edb30
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.1001ef30
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x13c]
mov ecx, esi
call fcn.10004bd0
lea ecx, [ebp - 0x64]
cmp ecx, eax
je 0x1003e155
mov ecx, esi
call fcn.10004bd0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1003e149
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x64]
call fcn.10004c40
mov eax, dword [ebp - 0x6c]
mov cl, byte [esi + 0x30]
mov byte [eax + 0x3d], cl
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1001f0a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4c]
call fcn.10005620
test al, al
je 0x1003e195
push str.000000000000
call fcn.100058f0
add esp, 4
lea ecx, [ebp - 0x4c]
push eax
push str.000000000000
call fcn.10004c40
lea ecx, [ebp - 0xcc]
call fcn.10005710
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004aa0
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.10006600
mov edx, esi
mov ecx, eax
call fcn.10058070
add esp, 4
mov byte [ebp - 0x20], 4
or dword [ebp - 0x20], 0x100
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10004bd0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003e1ff
mov eax, dword [eax]
mov ecx, eax
call fcn.100ecd30
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
mov ecx, edi
push 0x10158cbd
push str.A0207
call fcn.100ee7d0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xcc]
call fcn.10005240
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4c]
call fcn.10004ae0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.1001efe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.10005240
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10005240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10005240
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.100fc1a9
mov esp, ebp
pop ebp
ret 4