Function at 0x100012c0
Capabilities:
Clear file content
Get memory capacity
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov dword [esp + 0xb0], 0
jmp 0x100013bc
mov eax, dword [esp + 0x5c]
add eax, 1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
jmp 0x1000152a
jmp 0x10001388
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x54], eax
mov eax, 0xcc29786d
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov eax, ecx
mov edx, dword [esp + 0x50]
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0x23
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
je 0x10001500
jmp 0x1000133c
mov eax, dword [esp + 0x4c]
sub eax, 6
mov dword [esp + 0x44], eax
jne 0x10001522
jmp 0x1000134f
mov eax, esp
mov dword [eax], 0x585b08
mov eax, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x60]
mov dword [ecx + 4], edx
mov dword [ecx], 0xd1166
mov ecx, dword [sym.imp.ole32.dll_OleCreateMenuDescriptor]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
mov dword [esp + 0x3c], eax
jmp 0x100012f7
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0xb0], eax
jmp 0x100013bc
cmp dword [esp + 0xa8], 0x8b
jne 0x10001429
jmp 0x100012fc
jmp 0x100014e8
cmp dword [esp + 0xb0], 0xf1
je 0x1000155b
mov eax, esp
mov dword [eax], 0x56f
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
sub esp, 4
mov word [esp + 0xae], 0x58
mov cx, word [esp + 0xae]
movzx edx, cx
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi + 8], 0x802
mov dword [esi], str.aMOcQW_NRS9GL_3
mov edx, dword [sym.imp.SHLWAPI.dll_StrChrNW]
mov dword [esp + 0x34], eax
call edx
sub esp, 0xc
mov dword [esp + 0xa8], 0
mov dword [esp + 0x30], eax
jmp 0x100013a5
mov eax, dword [esp + 0xa8]
mov ecx, 0xcccccccd
mov dword [esp + 0x2c], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
je 0x1000147c
jmp 0x10001458
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100013b7
jmp 0x10001466
mov eax, esp
mov dword [eax], 0x216762
mov eax, dword [sym.imp.ADVAPI32.dll_CloseEventLog]
call eax
sub esp, 4
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0x20
lea edx, [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
call fcn.100a40e0
mov eax, esp
lea ecx, [esp + 0x88]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call eax
sub esp, 4
mov eax, esp
mov dword [eax + 8], 0x194
mov dword [eax + 4], 0xb1f
mov dword [eax], 0x783c02
mov eax, dword [sym.imp.KERNEL32.dll_EraseTape]
call eax
sub esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x100013b7
mov eax, dword [esp + 0xa8]
add eax, 1
mov dword [esp + 0xa8], eax
jmp 0x100013a5
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], 0x369798
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
call eax
sub esp, 8
mov dword [esp + 0x10], eax
jmp 0x1000134f
mov dword [esp + 0x5c], 0
cmp dword [esp + 0x5c], 0xa
je 0x10001556
mov eax, esp
mov dword [eax + 4], 0xc3893
mov dword [eax], 0xf11
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
sub esp, 8
mov dword [esp + 0xc], eax
jmp 0x100012dd
jmp 0x100012f7
lea esp, [ebp - 4]
pop esi
pop ebp
ret