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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1c8
lea eax, [esp + 0x170]
lea ecx, [esp + 0x1b8]
mov edx, esp
lea esi, [esp + 0x1c0]
mov dword [edx + 4], esi
mov dword [edx], 0x1e6b25
mov edx, dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], eax
call edx
sub esp, 8
mov ecx, dword [esp + 0xdc]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], edx
mov edx, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0xd4], eax
call edx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x1b0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xbc571c
mov ecx, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [esp + 0xd0], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x1a8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x8a53ec
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0xcc], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xfae
mov ecx, dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [esp + 0xc8], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x13ad46
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [esp + 0xc4], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xe8]
lea esi, [esp + 0x130]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ecx
jmp 0x10001be7
mov eax, esp
lea ecx, [esp + 0x128]
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, 0x10
mov ecx, esp
mov dword [ecx + 4], 0x930
mov dword [ecx], 0x886206
mov ecx, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0xac], eax
call ecx
mov dword [esp + 0xa8], eax
jmp 0x10001dff
mov eax, 0x847d79
mov dword [esp + 0xe0], eax
mov eax, esp
lea ecx, [esp + 0xe0]
mov dword [eax + 4], ecx
mov dword [eax], 0xf6b
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
call eax
sub esp, 8
mov ecx, dword [esp + 0xa4]
add ecx, 1
cmp ecx, 0x80
sete dl
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
mov byte [esp + 0x9b], dl
mov al, byte [esp + 0x9b]
test al, 1
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xb4], ecx
jne 0x10001be0
jmp 0x10001be7
mov eax, esp
mov dword [eax], 0x508d76
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov dword [esp + 0x94], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0xa4]
sub edx, 0xb
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
je 0x10001dff
jmp 0x10001b99
mov eax, dword [esp + 0xa4]
sub eax, 0x32
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
je 0x10001a7a
jmp 0x10001e4b
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, 0x93
mov dword [esp + 0x78], eax
je 0x10001b55
jmp 0x10001d33
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x1a7], 1
mov ecx, esp
lea edx, [esp + 0x1a7]
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 [esp + 0xa4], eax
call ecx
sub esp, 0x1c
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 [esp + 0x74], eax
call ecx
sub esp, 0xc
lea ecx, [esp + 0x188]
mov dword [esp + 0x1a0], 0xd45
mov dword [esp + 0x19c], 0x928832
mov dword [esp + 0x184], ecx
mov ecx, esp
lea edx, [esp + 0x184]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x19c]
mov dword [ecx + 8], edx
lea edx, [esp + 0x1a0]
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], 0x81e
mov dword [ecx], 0x7944e9
mov ecx, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x14
mov ecx, esp
lea edx, [esp + 0x178]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 8
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 [esp + 0x68], eax
call ecx
sub esp, 0x10
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 [esp + 0x64], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x78]
mov ecx, 0xf0f0f0f1
mov dword [esp + 0x7c], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esp + 0x7c]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
je 0x10001db3
jmp 0x10001d5f
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x10001bc3
jmp 0x10001d6d
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov dword [esi + 8], 0x3c7
mov ecx, dword [sym.imp.USER32.dll_MonitorFromPoint]
call ecx
sub esp, 0xc
mov dword [esp + 0x54], eax
mov eax, esp
mov dword [eax + 4], 0xcdb91
mov dword [eax], 0x4441ec
mov eax, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
call eax
sub esp, 8
mov dword [esp + 0x50], eax
xor eax, eax
mov ecx, 0x40
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x130]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call eax
sub esp, 4
mov dword [esp + 0x44], eax
jmp 0x10001bc3
mov eax, esp
lea ecx, [esp + 0x118]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetClipCursor]
call eax
sub esp, 4
mov dword [esp + 0x40], eax
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x52d1cd
mov dword [eax + 4], 0x18b
mov dword [eax], 0x57e537
mov eax, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
call eax
sub esp, 0x10
mov dword [esp + 0x3c], eax
jmp 0x10001ae0
mov eax, dword [esp + 0x80]
xor ecx, ecx
mov edx, 0x14
mov esi, dword [esp + 0xbc]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xe8]
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, 0x18
mov ecx, esp
mov dword [ecx], 0xbc866
mov ecx, dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov dword [esp + 0x28], eax
call ecx
mov byte [esp + 0xe7], 0
mov ecx, esp
lea edx, [esp + 0xe7]
mov dword [ecx], edx
mov dword [ecx + 0x18], 0x543
mov dword [ecx + 0x14], 0xd6
mov dword [ecx + 0x10], 0x132
mov dword [ecx + 0xc], 0x779
mov dword [ecx + 8], 0xc22
mov dword [ecx + 4], 0x576
mov ecx, dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0x1c
mov ecx, dword [esp + 0x38]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], ecx
je 0x10001ae0
jmp 0x10001e4b