Function at 0x1000bb10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x20], 0x10006e02
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x101a4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.1000baa7
mov dword [esp + 8], 0x104
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x30]
add eax, edx
movzx eax, word [eax]
test ax, ax
je 0x1000bbba
add dword [ebp - 0xc], 1
jmp 0x1000bba1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x30]
add eax, edx
movzx eax, word [eax]
cmp ax, 0x5c
je 0x1000bbef
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x30]
add eax, edx
mov word [eax], 0
sub dword [ebp - 0x10], 1
jmp 0x1000bbc0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x1000bc2a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + edx]
mov edx, dword [ebp - 0x30]
add edx, ecx
cbw
mov word [edx], ax
add dword [ebp - 0x10], 1
add dword [ebp - 0x14], 1
jmp 0x1000bbf6
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x1000bf89
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x3c], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.1000baa7
mov dword [ebp - 0x84], 0
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
sub esp, 0x14
test eax, eax
sete al
test al, al
jne 0x1000bf8c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x44]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x88]
add eax, 4
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x88]
add eax, 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], eax
jbe 0x1000bda7
invalid
invalid
invalid