Function at 0x1000131b
Capabilities:
Get file size
Get memory capacity
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharUpperW]
call eax
sub esp, 4
mov dword [esp + 0xc8], 0x6e7
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov dword [esp + 0x74], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0xd9f
mov dword [ecx], 0xb8d369
mov ecx, dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [esp + 0x70], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x5163c5
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ecx
jmp 0x100013f4
xor eax, eax
mov ecx, 0x10
mov edi, dword [esp + 0x64]
rep stosd dword es:[edi], eax
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call eax
sub esp, 4
mov ecx, dword [esp + 0x5c]
sub ecx, 0xc
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
je 0x100014f9
jmp 0x100013de
mov eax, dword [esp + 0x5c]
sub eax, 0x27
mov dword [esp + 0x50], eax
je 0x100014b0
jmp 0x10001555
mov eax, dword [esp + 0x60]
mov ecx, dword [sym.imp.KERNEL32.dll_DebugBreak]
mov dword [esp + 0x5c], eax
call ecx
mov eax, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
call eax
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x48]
mov ecx, 0x12
mov dword [esp + 0x44], eax
xor edx, edx
div ecx
cmp edx, 1
jne 0x10001493
mov eax, esp
mov dword [eax + 0x20], 0x6b0
mov dword [eax + 0x1c], 0xf6e
mov dword [eax + 0x18], 0xbf3
mov dword [eax + 0x14], 0x272
mov dword [eax + 0x10], 0x69
mov dword [eax + 0xc], 0x69
mov dword [eax + 8], 0x773
mov dword [eax + 4], 0x29d
mov dword [eax], 0xed4afd
mov eax, dword [sym.imp.GDI32.dll_ArcTo]
call eax
sub esp, 0x24
mov ecx, esp
mov dword [ecx], 0x347339
mov ecx, dword [sym.imp.USER32.dll_SetCapture]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x3b4
mov dword [esp + 0x48], eax
je 0x100013a8
jmp 0x10001415
mov eax, esp
mov dword [eax], 0x4b5
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, esp
mov dword [eax], 0x1b19c9
mov eax, dword [sym.imp.KERNEL32.dll_UnregisterWait]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x3e6765
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [eax + 8], 0x5b7
mov dword [eax + 4], 0xe34
mov dword [eax], 0x5bb795
mov eax, dword [sym.imp.GDI32.dll_OffsetClipRgn]
call eax
sub esp, 0xc
mov dword [esp + 0xbc], 0x495
mov ecx, esp
lea edx, [esp + 0xbc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xe0bfba
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x2c], eax
call ecx
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.ole32.dll_OleFlushClipboard]
call eax
mov ecx, dword [esp + 0x5c]
add ecx, 1
cmp ecx, 0x56
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], ecx
jne 0x100013f4
lea esp, [ebp - 4]
pop edi
pop ebp
ret