Function at 0x10027b60
Capabilities:
Delete file
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090768
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0x140000
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push str.mbae.arc
push 0x100e1fb0
push 0x10086350
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x230], ebx
cmp ebx, 0xffffffff
jne 0x10027cd8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10027c61
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10027cbd
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027c9c
mov byte [esi + 0xffff], 0
push esi
push str.ArchiveCacheFiles
push 1
mov edx, 0x69a
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027cb4
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x10027f7a
push 0
lea eax, [ebp - 0x228]
push eax
push 4
lea eax, [ebp - 0x234]
push eax
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
test eax, eax
je 0x10027e5d
cmp dword [ebp - 0x228], 4
jne 0x10027e5d
mov eax, dword [esi + 0x20c]
add eax, 2
mov dword [ebp - 0x22c], eax
push 0
lea eax, [ebp - 0x228]
push eax
push 4
lea eax, [ebp - 0x22c]
push eax
push ebx
call edi
test eax, eax
je 0x10027df5
cmp dword [ebp - 0x228], 4
jne 0x10027df5
push str.mbae_protector.xpe
push 0x100e1fb0
push 0x10086350
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0x10
lea edx, [ebp - 0x224]
mov ecx, ebx
call fcn.100283a0
xor edi, edi
mov dword [ebp - 0x23c], edi
cmp edi, dword [esi + 0x20c]
jge 0x10027db0
imul eax, edi, 0x3228
add esi, eax
lea edx, [esi + 0x1210]
mov ecx, ebx
call fcn.100283a0
cmp dword [esi + 0x3430], 0
je 0x10027da7
lea eax, [esi + 0x1210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
mov esi, dword [ebp - 0x238]
jmp 0x10027d6e
push str.mbae_default.log
push 0x100e1fb0
push 0x10086350
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0x10
lea edx, [ebp - 0x224]
mov ecx, ebx
call fcn.100283a0
mov dword [ebp - 4], 0
call fcn.10027ecb
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10027f7a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10027c47
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027c9c
mov byte [esi + 0xffff], 0
push esi
push str.ArchiveCacheFiles
push 1
mov edx, 0x6a3
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027cb4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10027c47
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027c9c
mov byte [esi + 0xffff], 0
push esi
push str.ArchiveCacheFiles
push 1
mov edx, 0x69e
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027cb4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret