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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d3db
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x10194008]
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.100056e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10c]
push 0x40
push 0
push eax
call fcn.100fe280
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 0x1003dec1
mov esi, dword [ebp - 0x104]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x100]
shrd esi, eax, 0x14
call fcn.10005680
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push esi
push 0x10158f28
push eax
call fcn.100573d0
add esp, 0xc
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004a70
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100065d0
mov edx, esi
mov ecx, eax
call fcn.10058310
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10004ab0
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0xb4]
call fcn.100055f0
test al, al
jne 0x1003df40
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.10004ba0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003df06
mov eax, dword [eax]
mov ecx, eax
call fcn.100ed020
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x10159c59
push str.A0201
call fcn.100eeac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100ede20
push str.User32.dll
lea ecx, [ebp - 0x154]
call fcn.10008150
mov byte [ebp - 4], 4
lea eax, [ebp - 0x154]
push eax
call fcn.10066350
mov ecx, eax
call fcn.10066410
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10004ab0
xor edi, edi
test esi, esi
je 0x1003df92
push 0x10159c64
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea ecx, [ebp - 0x9c]
call fcn.100056e0
mov byte [ebp - 4], 5
test edi, edi
je 0x1003dffe
push 0
call edi
mov esi, eax
test esi, esi
jle 0x1003dffe
lea ecx, [ebp - 0x28]
call fcn.10005680
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push esi
push 0x10153250
push eax
call fcn.100573d0
add esp, 0xc
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004a70
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100065d0
mov edx, esi
mov ecx, eax
call fcn.10058310
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10004ab0
lea ecx, [ebp - 0x9c]
call fcn.100055f0
test al, al
jne 0x1003e081
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.10004ba0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003e043
mov eax, dword [eax]
mov ecx, eax
call fcn.100ed020
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x110]
push 0x10159c61
push str.A0202
call fcn.100eeac0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100ede20
lea ecx, [ebp - 0x84]
call fcn.100056e0
mov byte [ebp - 4], 9
test edi, edi
je 0x1003e0ed
push 1
call edi
mov esi, eax
test esi, esi
jle 0x1003e0ed
lea ecx, [ebp - 0x28]
call fcn.10005680
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push esi
push 0x10153250
push eax
call fcn.100573d0
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x28]
push eax
call fcn.10004a70
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.100065d0
mov edx, esi
mov ecx, eax
call fcn.10058310
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.10004ab0
lea ecx, [ebp - 0x84]
call fcn.100055f0
test al, al
jne 0x1003e170
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.10004ba0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003e132
mov eax, dword [eax]
mov ecx, eax
call fcn.100ed020
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x110]
push 0x10159c85
push str.A0203
call fcn.100eeac0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100ede20
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 0x10159c7d
push str.A0204
call fcn.100eeac0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.100ede20
mov edi, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10159c94
push edi
call esi
push 0x10159c88
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 0x1003e251
push 0x10159c9c
push eax
call esi
mov edi, eax
xor esi, esi
mov dword [ebp - 0x114], esi
test edi, edi
je 0x1003e2a1
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x1003e2a1
cmp dword [ebp - 0x134], esi
je 0x1003e2a1
push esi
call eax
mov esi, eax
test esi, esi
je 0x1003e29f
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 0x1003e2a1
xor esi, esi
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x1003e2b2
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 0x10159ccd
push str.A0205
call fcn.100eeac0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
call fcn.100ede20
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 0x10159cc5
push str.A0206
call fcn.100eeac0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.100ede20
xorps xmm0, xmm0
lea ecx, [ebp - 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.1001f1b0
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x13c]
mov ecx, esi
call fcn.10004ba0
lea ecx, [ebp - 0x64]
cmp ecx, eax
je 0x1003e3d5
mov ecx, esi
call fcn.10004ba0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1003e3c9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x64]
call fcn.10004c10
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.1001f320
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4c]
call fcn.100055f0
test al, al
je 0x1003e415
push str.000000000000
call fcn.100058c0
add esp, 4
lea ecx, [ebp - 0x4c]
push eax
push str.000000000000
call fcn.10004c10
lea ecx, [ebp - 0xcc]
call fcn.100056e0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10004a70
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.100065d0
mov edx, esi
mov ecx, eax
call fcn.10058310
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.10004ba0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003e47f
mov eax, dword [eax]
mov ecx, eax
call fcn.100ed020
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x16
mov ecx, edi
push 0x10159cdd
push str.A0207
call fcn.100eeac0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edfb0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.100ede20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xcc]
call fcn.10005210
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4c]
call fcn.10004ab0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.1001f260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.10005210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10005210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10005210
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.100fc499
mov esp, ebp
pop ebp
ret 4