Function at 0x2750770e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
mov dword [ebp - 8], 0x275b94f5
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.2750756e
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.2750741e
add esp, 8
push 0x104
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
movzx eax, word [edx + ecx*2]
test eax, eax
je 0x275077b3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov ax, word [esi + eax*2]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x27507786
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx*2]
test eax, eax
je 0x275077dc
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x275077c3
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x27507809
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x275077e2
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
test edx, edx
je 0x27507845
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x27507810
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x2750786f
push 0
call dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.2750764e
add esp, 8
mov dword [ebp - 0x68], eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.2750741e
add esp, 8
mov dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x275078e5
push 0
call dword [ebp - 0x20]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x40], 0
jmp 0x2750793d
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x70]
jae 0x27507954
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
jmp 0x2750792b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 1
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.2750764e
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x27507981
push 0
call dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.2750764e
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x275079ae
push 0
call dword [ebp - 0x20]
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x275079d2
push 0
call dword [ebp - 0x20]
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
add edx, dword [ebp - 4]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x2c]
add eax, dword [edx + 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.2750745e
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x18]
movsx edx, byte [eax + ecx]
test edx, edx
je 0x27507aae
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x18]
movsx ax, byte [ecx + edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x50]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x27507a7a
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x94], edx
mov byte [ebp - 0x8c], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x94]
push ecx
call dword [ebp - 0x88]
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret