Function at 0x1800010b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x128
lea rax, str.ReadFile
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x44]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov edx, eax
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rcx, qword [rsp + 0x68]
call section..text
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x14]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
movzx eax, word [rax + rcx*2]
cmp eax, 0
je 0x180001161
mov eax, dword [rsp + 0x64]
add eax, 1
mov dword [rsp + 0x64], eax
jmp 0x180001142
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
sub ecx, 1
mov ecx, ecx
movzx eax, word [rax + rcx*2]
cmp eax, 0x5c
je 0x18000119c
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x40]
mov word [rax + rcx*2], 0
mov eax, dword [rsp + 0x40]
add eax, 0xffffffff
mov dword [rsp + 0x40], eax
jmp 0x180001169
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x60]
movsx eax, byte [rax + rcx]
cmp eax, 0
je 0x1800011ee
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x60]
movsx eax, byte [rax + rcx]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x40]
mov word [rcx + rdx*2], ax
mov eax, dword [rsp + 0x40]
add eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
jmp 0x1800011a4
mov rcx, qword [rsp + 0x68]
mov edx, 1
mov r8d, 1
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xa8], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0xa8], rax
jne 0x18000123e
jmp 0x180001643
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x4c]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xa8]
xor edx, edx
call rax
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x38]
mov edx, eax
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x100]
mov r8d, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x20], 0
call rax
cmp eax, 0
jne 0x1800012f8
jmp 0x180001643
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x7c]
add rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x5c]
mov rcx, qword [rsp + 0x38]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
cmp eax, dword [rsp + 0xb8]
jae 0x1800013a5
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx]
mov dword [rcx], eax
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x50]
add rax, 4
mov qword [rsp + 0x50], rax
jmp 0x18000136d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x38]
add rdx, 1
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1800013eb
jmp 0x180001643
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
cdqe
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x38]
add rdx, 1
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x180001431
jmp 0x180001643
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
cdqe
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
add rcx, 1
call rax
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x180001473
jmp 0x180001643
mov rax, qword [rsp + 0x38]
movsx eax, byte [rax]
mov rcx, qword [rsp + 0x38]
cdqe
add rcx, rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x38]
add rax, 0xc
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x5c]
add rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x88]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xf0]
mov ecx, dword [rcx + 0x2c]
add rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x98]
mov edx, dword [rsp + 0x5c]
pop rsp