Function at 0x40efb1
Capabilities:
Delete file
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4af728
mov eax, dword fs:[0]
push eax
sub esp, 0xd2c
mov eax, dword [0x4dfb64]
xor eax, esp
mov dword [esp + 0xd24], eax
push ebx
push esi
mov eax, dword [0x4dfb64]
xor eax, esp
push eax
lea eax, [esp + 0xd38]
mov dword fs:[0], eax
call fcn.0040ea8d
test al, al
jne 0x40f01e
xor eax, eax
mov ecx, dword [esp + 0xd38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xd24]
xor ecx, esp
call fcn.0048b5ab
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xd20]
push eax
call fcn.0048f9a7
pop ecx
lea eax, [esp + 0xd10]
push eax
call fcn.0048fa60
pop ecx
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea ecx, [esp + 0x14]
call fcn.004306f6
lea ecx, [esp + 0x14]
call fcn.0043080e
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040f270
xor ebx, ebx
mov dword [esp + 0xd40], ebx
push dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
call fcn.004318ee
pop ecx
pop ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x48]
call fcn.0040f314
mov byte [esp + 0xd40], 1
cmp dword [eax + 0x18], 0x10
jb 0x40f0a1
mov eax, dword [eax + 4]
jmp 0x40f0a4
add eax, 4
push eax
push str.Version:__s_n
call fcn.0040ecb1
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xd48], bl
call fcn.004068b9
mov eax, dword [edi]
push dword [eax]
push str.Exception_Code_t0x_08x_n
call fcn.0040ecb1
mov eax, dword [edi]
push dword [eax + 4]
push str.Exception_Flags_t0x_08x_n
call fcn.0040ecb1
mov eax, dword [edi]
push dword [eax + 0xc]
push str.Exception_Address_0x_08x_n
call fcn.0040ecb1
push 0x4c8468
call fcn.0040ecb1
add esp, 0x1c
push str.Exception_Call_Stack:_n
call fcn.0040ecb1
cmp byte [0x4e72d4], bl
pop ecx
jne 0x40f12b
push 1
push 0x4ca1c8
mov byte [0x4e72d4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e6d40]
lea eax, [esp + 0xe4]
push eax
lea ebx, [esp + 0x14]
mov eax, edi
mov dword [esp + 0x14], 0x40
call fcn.0040ecc2
pop ecx
push dword [esp + 0x10]
mov dword [esp + 0x1c], eax
push str.Exception_Stack_Depth:_d_n
call fcn.0040ecb1
pop ecx
pop ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xe4]
call fcn.0040ee47
mov esi, str.PatchUpdate.dmp
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xce8]
call fcn.004320d0
xor ebx, ebx
inc ebx
push ebx
push ebx
push esi
lea ecx, [esp + 0xcf4]
mov byte [esp + 0xd4c], 2
call fcn.00432127
test eax, eax
je 0x40f1f9
call fcn.0040eb9a
call fcn.0042efa9
mov edx, dword [eax]
push str.Open
mov ecx, eax
call dword [edx + 4]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
mov edx, dword [eax]
push str.Fail__n
mov ecx, eax
call dword [edx + 4]
xor esi, esi
lea ecx, [esp + 0xce8]
mov byte [esp + 0xd40], 0
call fcn.004320b7
or dword [esp + 0xd40], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.0040f256
mov eax, esi
jmp 0x40effb
mov eax, dword [esp + 0xd04]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x40f23c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push esi
push dword [esp + 0x20]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4e6d3c]
lea ecx, [esp + 0xce8]
call fcn.00431fcc
call fcn.0040eb9a
mov esi, dword [esp + 0x18]
jmp 0x40f1cd