Function at 0x10001713
Capabilities:
Get memory capacity
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov esi, esp
lea eax, [esi + 0x128]
lea ecx, [esi + 0x170]
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xc8], eax
mov eax, 0x14
mov dword [esi + 0xc4], eax
call fcn.10005f10
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0xc0], eax
mov eax, ecx
call fcn.10005f10
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 4
mov dword [esi + 0xbc], eax
mov eax, ecx
mov dword [esi + 0xb8], ecx
call fcn.10005f10
mov eax, esp
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0xb4], eax
mov eax, ecx
call fcn.10005f10
mov eax, esp
sub esp, 8
mov ecx, esp
lea edx, [esi + 0x178]
mov dword [ecx + 4], edx
mov dword [ecx], 0x1e6b25
mov ecx, dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov dword [esi + 0xb0], eax
call ecx
sub esp, 8
mov ecx, dword [esi + 0xcc]
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, esp
mov dword [ebx + 4], edi
mov dword [ebx], edx
mov edx, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esi + 0xac], eax
call edx
sub esp, 8
mov ecx, esp
lea edx, [esi + 0x168]
mov dword [ecx + 4], edx
mov dword [ecx], 0xbc571c
mov ecx, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [esi + 0xa8], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esi + 0x160]
mov dword [ecx + 4], edx
mov dword [ecx], 0x8a53ec
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0xa4], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xfae
mov ecx, dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [esi + 0xa0], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x13ad46
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [esi + 0x9c], eax
call ecx
xor ecx, ecx
lea edx, [esi + 0xe8]
mov edi, dword [esi + 0xbc]
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], ecx
jmp 0x10001949
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
mov eax, esp
lea ecx, [esi + 0xe0]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x78f
mov dword [eax + 4], 0x78f
mov dword [eax], 0xf4ddb7
mov eax, dword [sym.imp.GDI32.dll_SetBitmapDimensionEx]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x930
mov dword [ecx], 0x886206
mov ecx, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov dword [esi + 0x88], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x84], eax
call ecx
mov dword [esi + 0x80], eax
jmp 0x10001b88
mov eax, 0x847d79
mov ecx, dword [esi + 0xb0]
mov dword [ecx], eax
sub esp, 8
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax], 0xf6b
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
call eax
mov ecx, dword [esi + 0x7c]
add ecx, 1
cmp ecx, 0x80
mov dword [esi + 0x78], eax
mov dword [esi + 0x8c], ecx
je 0x10001882
jmp 0x10001949
mov eax, dword [esi + 0x74]
add eax, 1
cmp eax, 0x93
mov dword [esi + 0x70], eax
je 0x10001b44
jmp 0x10001a7f
mov eax, dword [esi + 0x8c]
mov byte [esi + 0x15f], 1
sub esp, 0x1c
mov ecx, esp
lea edx, [esi + 0x15f]
mov dword [ecx + 8], edx
mov dword [ecx + 0x18], 0x93d8ae
mov dword [ecx + 0x14], 0x251
mov dword [ecx + 0x10], 0xd8a
mov dword [ecx + 0xc], str.v2EmYQPtM6O_eqc
mov dword [ecx + 4], 0x251
mov dword [ecx], 0x535
mov ecx, dword [sym.imp.USER32.dll_ToUnicodeEx]
mov dword [esi + 0x7c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], 0x151
mov dword [ecx + 4], 0xc1a459
mov dword [ecx], 0x84edf2
mov ecx, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esi + 0x6c], eax
call ecx
lea ecx, [esi + 0x140]
mov dword [esi + 0x158], 0xd45
mov dword [esi + 0x154], 0x928832
mov dword [esi + 0x13c], ecx
sub esp, 0x14
mov ecx, esp
lea edx, [esi + 0x13c]
mov dword [ecx + 0xc], edx
lea edx, [esi + 0x154]
mov dword [ecx + 8], edx
lea edx, [esi + 0x158]
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], 0x81e
mov dword [ecx], 0x7944e9
mov ecx, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov dword [esi + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esi + 0x130]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esi + 0x64], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], 0x19f
mov dword [ecx + 8], 0x278138
mov dword [ecx + 4], 0x84dc95
mov dword [ecx], 0x278138
mov ecx, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esi + 0x60], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x585
mov dword [ecx], str.Xy_4gHp_We0_25Z
mov ecx, dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi + 0x5c], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x70], ecx
mov eax, dword [esi + 0x70]
mov ecx, 0xf0f0f0f1
mov dword [esi + 0x74], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esi + 0x74]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], eax
je 0x10001af7
jmp 0x10001aa6
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x1000192e
jmp 0x10001ab3
sub esp, 0xc
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, esp
mov dword [edi + 4], edx
mov dword [edi], ecx
mov dword [edi + 8], 0x3c7
mov ecx, dword [sym.imp.USER32.dll_MonitorFromPoint]
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xcdb91
mov dword [ecx], 0x4441ec
mov ecx, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov dword [esi + 0x4c], eax
call ecx
mov dword [esi + 0x48], eax
xor eax, eax
mov ecx, 0x40
sub esp, 0xc
mov edx, dword [esi + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 4
mov eax, esp
lea ecx, [esi + 0xe8]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call eax
mov dword [esi + 0x3c], eax
jmp 0x1000192e
xor eax, eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x508d76
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esi + 0x38], eax
call ecx
xor ecx, ecx
mov edx, dword [esi + 0x7c]
sub edx, 0x32
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], edx
je 0x1000188a
jmp 0x10001b75
mov eax, dword [esi + 0x7c]
sub eax, 0xb
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ecx
jne 0x10001bd1
jmp 0x10001b88
sub esp, 4
mov eax, esp
lea ecx, [esi + 0xd0]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetClipCursor]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [esi + 0xc0]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x52d1cd
mov dword [ecx + 4], 0x18b
mov dword [ecx], 0x57e537
mov ecx, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov dword [esi + 0x20], eax
call ecx
mov dword [esi + 0x1c], eax
jmp 0x100018ec
mov eax, dword [esi + 0x24]
xor ecx, ecx
mov edx, 0x14
sub esp, 0xc
mov edi, dword [esi + 0x94]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], edx
call sub.msvcrt.dll_memset
add esp, 0xc
sub esp, 0x18
mov eax, esp
mov ecx, dword [esi + 0xbc]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0x6936e6
mov dword [eax + 0xc], 0xfa5
mov dword [eax + 8], 0xfa5
mov dword [eax + 4], 0xf1e
mov dword [eax], 0x1b02ae
mov eax, dword [sym.imp.USER32.dll_TrackPopupMenuEx]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xbc866
mov ecx, dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [esi + 0xc], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [esi + 8], eax
call ecx
mov ecx, dword [esi + 0xb4]
mov byte [ecx], 0
sub esp, 0x1c
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 0x18], 0x543
mov dword [edx + 0x14], 0xd6
mov dword [edx + 0x10], 0x132
mov dword [edx + 0xc], 0x779
mov dword [edx + 8], 0xc22
mov dword [edx + 4], 0x576
mov edx, dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov dword [esi + 4], eax
call edx
mov ecx, dword [esi + 0x18]
add ecx, 1
cmp ecx, 0xa
mov dword [esi], eax
mov dword [esi + 0x24], ecx
je 0x100018ec
jmp 0x10001bd1