Function at 0x275919aa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 8], 0x275ba08c
mov eax, dword [ebp - 8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x30]
push dword [ebp - 0x14]
call fcn.2759193b
pop ecx
pop ecx
push 0x104
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x48], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x27591a25
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x27591a0e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x27591a50
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x27591a2b
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x20]
movsx eax, byte [eax]
test eax, eax
je 0x27591a85
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x20]
movsx ax, byte [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x27591a54
push 0
push 0x80
push 3
push 0
push 1
push 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x27591aab
jmp 0x27591ce1
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x5c], eax
push 0
push dword [ebp - 0x30]
call dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push dword [eax + 8]
push dword [ebp - 4]
call fcn.2759193b
pop ecx
pop ecx
and dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x60]
push dword [ebp - 4]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x27591b12
jmp 0x27591ce1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
and dword [ebp - 0x34], 0
jmp 0x27591b65
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x64]
jae 0x27591b7c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x27591b55
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x27591ba3
jmp 0x27591ce1
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x27591bcb
jmp 0x27591ce1
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
inc eax
push eax
call dword [ebp - 0x50]
mov dword [ebp - 0x24], eax