Function at 0x1001436c
Capabilities:
Get memory capacity

Disassembly:
mov eax, 0x10060739
call fcn.1005fa90
sub esp, 0x9c
cmp byte [ebp + 0xc], 0
mov eax, edx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], cl
je 0x10014465
cmp byte [ebp + 0x14], 0
je 0x10014442
mov dword [ebp + 0xc], 0x22f2
cmp dword [ebp + 0xc], 0x11b6
jge 0x10014432
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
push str._ld__ld
call fcn.1004971a
mov eax, dword [ebp - 0x28]
xor ecx, ecx
push 4
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042b61
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
inc ebx
add esp, 0x10
mov edi, eax
cmp ecx, ebx
jl 0x10014406
lea esi, [edi + 4]
push esi
push 0x1006d978
call fcn.1004971a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
inc ebx
add esi, 4
cmp ebx, ecx
jle 0x100143ee
mov edx, dword [ebp - 0x54]
mov eax, ecx
mov esi, dword [edi + edx*4]
test ecx, ecx
jle 0x1001441d
cmp dword [edi + eax*4], esi
jne 0x1001441d
dec ecx
dec eax
test eax, eax
jg 0x10014412
or eax, 0xffffffff
cmp ecx, edx
cmovge ecx, eax
push ecx
push str._ld_n
call fcn.10047823
pop ecx
pop ecx
push 0x22b4
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x100148bd
push 0x70d
xor ebx, ebx
push ebx
push 0x3a8
push 0x1511
push ebx
push 0xaee
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
jmp 0x100148bd
xor ebx, ebx
test cl, cl
je 0x10014500
mov dword [ebp - 0x14], 0x97a
cmp dword [ebp - 0x14], 0x995
jle 0x100144d7
xor esi, esi
mov edi, ebx
inc esi
mov ecx, ebx
mov dword [ebp + 0xc], ebx
mov eax, edi
cdq
idiv ecx
lea ecx, [ebp - 0xa8]
mov eax, edx
cdq
push edx
push eax
call fcn.10004d43
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100144a8
mov eax, dword [eax]
push eax
call fcn.10047823
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xa8]
call fcn.100031ae
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 0x2ff2
jl 0x10014489
inc edi
cmp edi, 0x3d38
jl 0x10014484
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x100144e3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x14], 0x7b0
jge 0x100148bd
push str.cdex_rcvzrwwu_lpmgokaup_eqbedarql_tjeqxutt_egj_afp_qjfjk_noh_lqwhjuem_gtzsda_ktfhoue
call fcn.10047823
pop ecx
jmp 0x100148bd
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xfe0a8eac
mov dword [ebp + 0xc], ebx
jmp 0x10014520
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x30], 5
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 2
jl 0x10014512
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0xffffffe5
je 0x10014620
push 4
xor eax, eax
pop ecx
inc eax
mov dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x1c], 0xaf14186e
mov dword [ebp - 0x34], 0x1dba1dd7
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0xc], eax
jg 0x10014613
push ecx
lea ecx, [ebp - 0x4c]
call fcn.100022ea
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
push 0x627f
push ecx
lea eax, [ebp - 0x90]
xor dl, dl
push eax
push ecx
call fcn.10013b19
mov eax, dword [ebp - 0x4c]
xor esi, esi
add esp, 0x14
inc esi
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x30]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + eax*4 - 0x30]
cmp eax, esi
setle cl
cmp ecx, dword [ebp - 0x2c]
je 0x100145ad
cmp dword [ebp - 0x2c], ebx
jne 0x100145b8
mov eax, dword [ebp + 0xc]
mov edx, ebx
cmp dword [ebp + eax*4 - 0x30], ebx
je 0x100145ba
mov edx, esi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x30]
cmp edx, eax
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x34]
setl cl
sub ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0xfffffff6
push ecx
sbb eax, eax
push ebx
neg eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call fcn.1001546a
mov eax, dword [ebp - 0x4c]
add esp, 0xc
inc dword [eax]
cmp dword [eax], esi
jle 0x1001458e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10002347
inc dword [ebp + 0xc]
xor eax, eax
inc eax
push 4
pop ecx
cmp dword [ebp + 0xc], eax
jle 0x1001455a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe5
jne 0x10014539
xor esi, esi
mov dword [ebp - 0x14], 0x47ee
inc esi
cmp dword [ebp - 0x14], 0x4922
jle 0x1001466d
push ebx
push 0xa96
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov edi, ebx
mov dword [ebp + 0xc], ebx
mov eax, edi
mov ecx, 0x1007fc58
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10002dd1
inc ebx
cmp ebx, 0x50c6
jl 0x10014644
inc edi
push 0
pop ebx
cmp edi, 0x1ef9
jl 0x10014641
push 3
mov byte [ebp + 0xf], bl
pop edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 0x47a3
jge 0x1001468e
mov edx, str.dugboys_mlbcua_zqrztdyw_artq_eiljtvu_tnj_xdtwcen_aast_ysqtkgmv_upiy_afy
mov ecx, 0x1007fc58
call fcn.10004788
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xf], 0
je 0x100146ac
push 0x3d61
push ebx
push ecx
mov ecx, 0x462a
call fcn.10017494
add esp, 0xc
push ebx
mov ecx, 0x1c6d
call fcn.10015253
mov eax, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0x7c]
movzx eax, word [eax]
mov dword [ebp - 0x3c], eax
call fcn.100022ea
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 5
push eax
lea edx, [ebp - 0x7c]
call fcn.100151b7
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0xf], 0
pop ecx
pop ecx
je 0x100146f0
xor cl, cl
call fcn.10014c89
mov byte [ebp + 0xf], bl
cmp byte [ebp + 0xf], 0
je 0x10014700
xor cl, cl
call fcn.1001434f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10002347
lea eax, [ebp - 0x3c]
xor cl, cl
push eax
push esi
push 0x2d0b
push 0x335a
lea edx, [ebp - 0x18]
call fcn.100135ea
add esp, 0x10
lea ecx, [ebp - 0x60]
push esi
call fcn.100022ea
push 0x6a0e
push ebx
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 6
push ebx
push eax
mov edx, 0x3bb4
mov dword [ebp - 0x38], 0x53d8da8e
lea ecx, [ebp - 0x70]
call fcn.1001373b
xor eax, eax
lea ecx, [ebp - 0x60]
push 0x59f0
inc eax
mov edx, 0x75e1
push eax
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov cl, al
call fcn.100135ea
push 0x1c17
lea eax, [ebp - 0x38]
xor cl, cl
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10017179
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
add esp, 0x2c
call fcn.10002347
mov edi, ebx
mov esi, dword [ebp - 0x18]
mov dl, 0x29
mov cl, byte [edi + esi]
call fcn.1001fee6
mov byte [edi + esi], al
inc edi
cmp edi, 2
jb 0x10014799
push 3
pop edi
mov dword [ebp - 0x24], 0x7ad95e17
lea ecx, [ebp - 0x6c]
mov dword [ebp + 0xc], 0xf390197f
mov dword [ebp - 0x14], 0x43e9
push edi
call fcn.100022ea
xor ecx, ecx
mov dword [ebp - 4], 7
mov dword [ebp + 0xc], ebx
inc ecx
jmp 0x10014818
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x40], 0x4e2db58
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x1001480a
mov dword [ebp + 0xc], ebx
jmp 0x10014833
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x8c], 0xe4438bea
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x10014822
mov dword [ebp + 0xc], ebx
jmp 0x1001484b
mov eax, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x50], 0xc42206dd
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ecx
jl 0x1001483d
mov dword [ebp + 0xc], ebx
jmp 0x10014861
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x6c]
mov dword [eax + ecx*4], ebx
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jl 0x10014855
push ecx
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10015dc9
mov eax, dword [ebp - 0x40]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, eax
mov dword [ebp - 0x8c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
sub edx, eax
mov eax, dword [ebp - 0x14]
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, 0x78029323
lea ecx, [ebp - 0x6c]
setne al
mov dword [ebp + 0xc], eax
call fcn.10002347
mov ecx, dword [ebp + 8]
mov ax, word [ebp - 0x3c]
mov word [ecx], ax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret