Function at 0x2750780a
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
push dword [0x275b9bce]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
push dword [0x275b9ba2]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov edx, dword [0x275b9ba2]
mov ecx, eax
call fcn.2750777e
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
dec ecx
mov eax, dword [0x275b9bae]
cmp word [edi + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x27507852
cmp word [edi + ecx*2 - 2], 0x5c
jne 0x27507869
mov edx, ecx
jmp 0x2750787c
mov word [edi + ecx*2], 0
lea edx, [ecx - 1]
cmp word [edi + ecx*2 - 4], 0x5c
mov ecx, edx
jne 0x27507869
mov cl, byte [eax]
test cl, cl
je 0x27507897
lea edx, [edi + edx*2]
xor esi, esi
movsx ecx, cl
mov word [edx + esi*2], cx
mov cl, byte [eax + esi + 1]
inc esi
test cl, cl
jne 0x27507887
xor esi, esi
xor eax, eax
inc eax
push esi
push 0x80
push 3
push esi
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x27507a37
mov edi, eax
push dword [0x275b9baa]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
call eax
mov ebp, eax
mov dword [esp], ebx
mov ebx, dword [0x275b9bbe]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov edx, dword [0x275b9bbe]
mov ecx, eax
call fcn.2750777e
lea eax, [esp + 0x14]
mov dword [eax], esi
push esi
push eax
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x27507a37
mov edi, dword [esp]
mov ebp, dword [esp + 0x14]
add ebp, ebx
mov edx, dword [0x275b9bd6]
lea esi, [ebx + edx]
mov eax, dword [ebx + edx]
test eax, eax
je 0x27507935
mov ecx, dword [ebx + edx + 4]
lea edx, [edx + ebx + 8]
add dword [edx], ecx
add edx, 4
dec eax
jne 0x2750792d
mov ebx, dword [0x275b9bd2]
lea eax, [esi + ebx + 1]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x27507a37
add esi, ebx
movsx ebx, byte [esi]
lea ecx, [esi + ebx + 1]
push ecx
push edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], eax
test eax, eax
je 0x27507a37
add esi, ebx
movsx ebx, byte [esi]
lea eax, [esi + ebx + 1]
push eax
call edi
test eax, eax
je 0x27507a37
mov edi, eax
add esi, ebx
movsx eax, byte [esi]
lea ebx, [esi + eax]
add ebx, dword [0x275b9bda]
mov edx, dword [esi + eax + 8]
lea ecx, [ebx + edx]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [edi + 0x3c]
add edi, dword [edi + ecx + 0x2c]
mov eax, dword [esi + eax + 4]
add eax, edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
mov dword [eax], 0
push eax
push dword [0x275b9bc6]
push edx
push edi
mov esi, dword [esp + 0x10]
call esi
mov ecx, edi
mov edx, ebx
mov ebx, dword [esp + 4]
push ebx
call fcn.275077be
add esp, 4
lea eax, [esp + 0x10]
push eax
push dword [eax]
push ebx
push edi
call esi
mov eax, dword [0x275b9bea]
cmp byte [eax], 0
je 0x27507a15
xor eax, eax
mov ecx, dword [0x275b9bea]
movsx ecx, byte [ecx + eax]
mov word [ebp + eax*2], cx
lea ecx, [eax + 1]
mov edx, dword [0x275b9bea]
cmp byte [edx + eax + 1], 0
mov eax, ecx
jne 0x275079f2
jmp 0x27507a17
xor ecx, ecx
mov word [ebp + ecx*2], 0
lea eax, [esp + 0x18]
mov dword [eax + 4], ebp
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov byte [eax + 8], 1
push eax
call dword [esp + 0x10]
add esp, 4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret