Function at 0x1002db4f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100605b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov dword [esp + 0x14], 0xa7a
mov ebx, ecx
cmp dword [esp + 0x14], 0xb52
push esi
push edi
mov dword [esp + 0x30], ebx
jle 0x1002dbcb
xor esi, esi
xor edi, edi
lea eax, [edi + esi]
cdq
lea ecx, [esp + 0x58]
push edx
push eax
call fcn.10001ac3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002dba5
mov eax, dword [eax]
push eax
call fcn.1004881f
pop ecx
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.10015918
inc edi
cmp edi, 0x221a
jl 0x1002db8c
inc esi
cmp esi, 0x5043
jl 0x1002db8a
cmp dword [esp + 0x1c], 0x763
jge 0x1002dbe0
push str.wyvx_wyhn_lnujigvot_hgdjil_bcxlsxz_hww_tdxxvg_welnzqmk
call fcn.1004881f
pop ecx
or dword [esp + 0x7c], 0xffffffff
cmp byte [ebp + 0x1c], 0
je 0x1002dbf6
mov eax, dword [ebp + 0x14]
or dword [eax], 0xffffffff
jmp 0x1002df59
mov dword [esp + 0x2c], 0x3f7
cmp dword [esp + 0x2c], 0x660
jle 0x1002dc4c
xor esi, esi
mov ebx, esi
mov dword [esp + 0x1c], 0xe7c
xor edi, edi
mov eax, ebx
mov ecx, 0x10079cd8
or eax, edi
cdq
push edx
push eax
call fcn.10015096
inc edi
cmp edi, 0x3108
jl 0x1002dc16
dec ebx
dec dword [esp + 0x1c]
jne 0x1002dc14
inc esi
cmp esi, 0x5b8a
jl 0x1002dc0a
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xcea5d6c0
push eax
push 0x74e6
push 0x166d
push 0
mov dl, 1
xor cl, cl
call fcn.1002e847
add esp, 0x10
mov dword [esp + 0x18], 0xfffffff4
jmp 0x1002dc9a
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push 0x4bba
push eax
mov ecx, 0x3c54
call fcn.1002eed4
inc dword [esp + 0x20]
pop ecx
pop ecx
cmp dword [esp + 0x18], 0xfffffffc
jne 0x1002dc7b
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
push 2
pop esi
mov dword [esp + 0x7c], esi
push 8
pop edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x10], ecx
jmp 0x1002dcdf
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x40], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1002dcd3
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x10], esi
jg 0x1002ddc4
xor ebx, ebx
inc ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x28], ecx
mov ecx, 0xb2f14481
mov eax, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
push 0
mov eax, dword [esp + eax*4 + 0x44]
mov ecx, dword [esp + 0x14]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x44]
cmp ebx, eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + eax*4 + 0x44]
mov eax, dword [esp + 0x30]
cmp eax, 0x440e
setl cl
xor eax, eax
cmp ecx, edx
setle al
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
mov eax, dword [esp + eax*4 + 0x44]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x44]
cmp edx, eax
setl cl
mov dword [esp + 0x2c], ecx
inc dword [esp + 0x14]
pop ecx
cmp dword [esp + 0x10], esi
jle 0x1002dcf7
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x38]
mov edx, 0x26ac
push eax
push 0x5400
push ecx
mov ecx, 0x7105
call fcn.1002c130
mov esi, dword [ebp + 0xc]
add esp, 0x10
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x14], edi
jb 0x1002ddfc
mov eax, dword [esi]
jmp 0x1002ddfe
mov eax, esi
push ecx
push 0
push eax
mov ecx, ebx
call fcn.10030352
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x30]
jae 0x1002df43
cmp eax, 0xffffffff
je 0x1002de97
cmp eax, edi
je 0x1002de67
push ecx
push 0x66
push 0x1d2c
push ecx
push ecx
push 0x2d7d
push 0x140f
xor eax, eax
lea edx, [esp + 0x40]
inc eax
push eax
push 0x1914
push ecx
push ecx
push 0x3446
lea eax, [esp + 0x50]
push ebx
push eax
lea ecx, [esp + 0x84]
call fcn.1002df6b
mov eax, dword [esp + 0x58]
add esp, 0x38
mov edi, dword [esp + 0x2c]
add edi, eax
cmp dword [esi + 0x14], 8
mov dword [esp + 0x24], edi
jb 0x1002de7b
mov eax, dword [esi]
jmp 0x1002de7d
mov eax, esi
push dword [esi + 0x10]
mov ecx, ebx
push edi
push eax
call fcn.10030352
mov dword [esp + 0x20], eax
cmp edi, 0xffffffff
jne 0x1002de13
jmp 0x1002df43
push 0
push 0x7423
push 0x6e6c
mov edx, 0x2697
mov ecx, 0x65e0
call fcn.1002e0ce
pop ecx
pop ecx
push 0x5ca1
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
xor eax, eax
lea edx, [esp + 0x58]
inc eax
push eax
call fcn.1002c130
mov dword [esp + 0x24], 0xe53d
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x4c], 0xe0b4074d
add esp, 0x10
mov dword [esp + 0x10], ebx
inc ecx
jmp 0x1002defb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x38], 0xc66f5a9c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1002deeb
lea eax, [esp + 0x3c]
mov ecx, 0x6f20
push eax
push ebx
sub esp, 0xc
lea eax, [esp + 0x28]
push eax
sub esp, 0xc
call fcn.1002c186
add esp, 0x24
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], ebx
jl 0x1002df43
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x38]
mov eax, dword [esp + 0x14]
sub ecx, dword [esp + eax*4 + 0x38]
mov dword [esp + 0x3c], ecx
dec dword [esp + 0x14]
jns 0x1002df29
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x4c]
push eax
call fcn.1003002d
lea ecx, [esp + 0x4c]
call fcn.100304a9
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret