Function at 0x140011a3
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
mov eax, dword [0x14047bac]
push ebx
mov dword [ebp - 0x70], eax
mov eax, dword [0x14047c94]
push esi
push edi
mov dword [ebp - 0x74], eax
xor eax, eax
xor ebx, ebx
mov byte [ebp + 0x1a4], bl
lea edi, [ebp + 0x1a5]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [0x14047bf8]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp + 0x1b4], bl
xor eax, eax
push ebx
lea edi, [ebp + 0x1b5]
stosd dword es:[edi], eax
push 0x80
stosd dword es:[edi], eax
push 3
stosd dword es:[edi], eax
push ebx
push 3
stosw word es:[edi], ax
push SysReAllocString
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 0x103
mov esi, eax
push edi
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x64], bl
call fcn.140209d0
push edi
lea eax, [ebp + 0xa1]
push ebx
push eax
mov byte [ebp + 0xa0], bl
call fcn.140209d0
add esp, 0x18
cmp esi, 0xffffffff
je 0x1400133d
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebx
push ebx
push esi
call edi
push ebx
push ebx
sub eax, 0xc
push eax
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push 6
lea eax, [ebp + 0x1a4]
push eax
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
lea eax, [ebp - 0x78]
push eax
push 6
lea eax, [ebp + 0x1b4]
push eax
push esi
call edi
lea eax, [ebp + 0x1a4]
push eax
call fcn.1400cf7a
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x1b4]
push eax
call fcn.1400cf7a
mov esi, 0x104
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
cmp eax, esi
jae 0x1400133d
cmp dword [ebp - 0x68], esi
jae 0x1400133d
cmp dword [ebp - 0x68], ebx
je 0x1400133d
cmp eax, ebx
je 0x1400133d
mov ecx, dword [ebp - 0x80]
push ebx
sub ecx, eax
sub ecx, dword [ebp - 0x68]
push ebx
push ecx
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
call edi
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x6c]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push dword [ebp - 0x68]
push eax
push ebx
push 1
call edi
push esi
push dword [ebp - 0x70]
lea eax, [ebp + 0xa0]
push dword [ebp - 0x7c]
push eax
push ebx
push 1
call edi
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400137f
mov ecx, dword [ebp - 0x74]
call fcn.1400ceb1
test eax, eax
jne 0x1400135d
mov eax, str.qnvxcurrxlx_ofu
call fcn.1401d88b
mov edx, dword [ebp - 0x74]
mov ecx, eax
call fcn.1400cecd
mov ecx, dword [ebp - 0x70]
call fcn.1400ceb1
test eax, eax
jne 0x1400137d
mov eax, str.11111
call fcn.1401d88b
mov edx, dword [ebp - 0x70]
mov ecx, eax
call fcn.1400cecd
xor al, al
mov ecx, dword [ebp + 0x1c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.140206a2
add ebp, 0x1c8
leave
ret