Function at 0x10027540
Capabilities:
Delete file
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090740
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x228
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 edi, edx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x234], 0x140000
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
cmp dword [0x100e22bc], 6
jae 0x1002766b
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x100275f1
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 0x1002764e
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 6
test eax, eax
jle 0x1002762d
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x63c
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027645
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
mov eax, 6
jmp 0x10027b43
push 0x7d85a
call fcn.1005218a
add esp, 4
mov esi, eax
mov dword [ebp - 0x22c], esi
test esi, esi
je 0x10027866
push 0x7d850
push 0
push esi
call fcn.10055aa0
push str.mbae_liec.dat
push edi
push 0x10086b48
lea eax, [ebp - 0x224]
push eax
call fcn.10004ed0
add esp, 0x1c
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x230], edi
cmp edi, 0xffffffff
jne 0x100276fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 0x1e]
jmp 0x10027b43
push 0
lea eax, [ebp - 0x228]
push eax
push 4
lea eax, [ebp - 0x234]
push eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
test eax, eax
je 0x100279bc
cmp dword [ebp - 0x228], 4
jne 0x100279bc
cmp dword [ebp - 0x234], 0x140000
je 0x10027794
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x100275d7
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 6
test eax, eax
jle 0x1002762d
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x651
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027645
push 0
lea eax, [ebp - 0x228]
push eax
push 0x7d850
push esi
push edi
call ebx
test eax, eax
je 0x10027958
cmp dword [ebp - 0x228], 0x7d850
jne 0x10027958
mov ebx, dword [ebp - 0x238]
mov ecx, dword [ebx + 0x20c]
mov edx, dword [esi + 0x20c]
lea eax, [edx + ecx]
cmp eax, 0x28
jbe 0x10027883
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10027809
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 0x10027866
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x10027845
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x65c
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1002785d
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
mov eax, 5
jmp 0x10027b43
imul eax, edx, 0x3228
push eax
lea eax, [esi + 0x210]
push eax
imul eax, ecx, 0x3228
add eax, 0x210
add eax, ebx
push eax
call fcn.10055450
add esp, 0xc
mov eax, dword [esi + 0x20c]
add dword [ebx + 0x20c], eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
or edi, 0xffffffff
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002793e
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 0x100279de
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027a33
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x669
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027a4b
mov dword [ebp - 4], 0
call fcn.10027a81
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10027b43
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 0x100279de
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027a33
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x655
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027a4b
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 0x100279f8
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 0x10027a54
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10027a33
mov byte [esi + 0xffff], 0
push esi
push str.ReadLowIntegrityCache
push 1
mov edx, 0x64e
mov ecx, str...StandAloneSvcExploitFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10027a4b
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 0x10027b43
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