Function at 0x140052880
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rdx, [0x1400a3290]
mov rcx, qword [rsp + 0x130]
call fcn.14006aa3c
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400528dc
lea rcx, str.Failed_to_open_file
call fcn.14006b244
xor eax, eax
jmp 0x140052f6e
mov rcx, qword [rsp + 0x138]
call fcn.1400696f0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
lea rax, [rax + rax - 1]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140069adc
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14005293d
lea rcx, str.Failed_to_allocate_memory_for_search_bytes
call fcn.14006b244
mov rcx, qword [rsp + 0x28]
call fcn.140064674
xor eax, eax
jmp 0x140052f6e
mov qword [rsp + 0x70], 0
jmp 0x140052955
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jae 0x1400529aa
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rcx + rdx*2], al
mov rax, qword [rsp + 0xb0]
dec rax
cmp qword [rsp + 0x70], rax
jae 0x1400529a8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov byte [rax + rcx*2 + 1], 0
jmp 0x140052948
mov ecx, 0x400
call fcn.140069adc
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400529e8
lea rcx, str.Failed_to_allocate_memory_for_result_string
call fcn.14006b244
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.140064674
xor eax, eax
jmp 0x140052f6e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov qword [rsp + 0xa0], 0x400
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x50], 0x2a
mov byte [rsp + 0x51], 0x2a
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x53], 0
mov ecx, 0x2000
call fcn.140069adc
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x98], 0x400
cmp qword [rsp + 0x60], 0
jne 0x140052a7f
lea rcx, str.Failed_to_allocate_memory_for_identifiers_array
call fcn.14006b244
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x40]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.140064674
xor eax, eax
jmp 0x140052f6e
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140065120
cmp rax, 1
jne 0x140052ef3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140060060
test eax, eax
jne 0x140052ed3
xor r8d, r8d
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140065528
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x88], 0
jmp 0x140052b18
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x88], rax
jae 0x140052b82
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140065120
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
cmp eax, ecx
je 0x140052b6d
mov dword [rsp + 0x78], 0
jmp 0x140052b82
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
jmp 0x140052b05
cmp dword [rsp + 0x78], 0
je 0x140052ed3
movsxd rax, dword [rsp + 0x38]
add rax, qword [rsp + 0xb8]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 4
jl 0x140052ed3
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140065528
mov r9, qword [rsp + 0x28]
mov r8d, 4
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140065120
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140060060
test eax, eax
jne 0x140052ece
mov eax, dword [rsp + 0x30]
add eax, 8
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140065528
mov r9, qword [rsp + 0x28]
mov r8d, 8
mov edx, 1
lea rcx, [rsp + 0xe8]
call fcn.140065120
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x34], 0
jmp 0x140052c4e
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 8
jge 0x140052c84
movsxd rax, dword [rsp + 0x34]
movzx eax, byte [rsp + rax + 0xe8]
mov ecx, dword [rsp + 0x34]
shl ecx, 3
shl rax, cl
mov rcx, qword [rsp + 0xc0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
jmp 0x140052c44
mov r9, qword [rsp + 0xc0]
lea r8, str._llu
mov edx, 0x20
lea rcx, [rsp + 0xf0]
call fcn.140014840
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x90], 0
jmp 0x140052cce
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x90], rax
jae 0x140052d0b
lea rdx, [rsp + 0xf0]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rax + rcx*8]
call fcn.140069f90
test eax, eax
jne 0x140052d09
mov dword [rsp + 0x7c], 1
jmp 0x140052d0b
jmp 0x140052cbb
cmp dword [rsp + 0x7c], 0
jne 0x140052ecc
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x58], rax
jb 0x140052d8f
mov rax, qword [rsp + 0x98]
shl rax, 1
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
shl rax, 3
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.140069ae4
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140052d8f
lea rcx, str.Failed_to_reallocate_memory_for_identifiers_array
call fcn.14006b244
mov rcx, qword [rsp + 0x40]
call fcn.14006434c
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.140064674
xor eax, eax
jmp 0x140052f6e
lea rcx, [rsp + 0xf0]
call fcn.140070b88
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rdx*8], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 1
jbe 0x140052dcc
mov dword [rsp + 0x80], 1
jmp 0x140052dd7
mov dword [rsp + 0x80], 0
mov rcx, qword [rsp + 0x40]
call fcn.1400696f0
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xf0]
call fcn.1400696f0
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x80]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0xe0], rax
jbe 0x140052ea1
mov rax, qword [rsp + 0xa0]
shl rax, 1
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call fcn.140069ae4
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x140052e94
lea rcx, str.Failed_to_reallocate_memory_for_result_string
call fcn.14006b244
mov rcx, qword [rsp + 0x40]
call fcn.14006434c
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.140064674
xor eax, eax
jmp 0x140052f6e
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x58], 1
jbe 0x140052eba
lea rdx, [0x1400a33b0]
mov rcx, qword [rsp + 0x40]
call fcn.14006c0f0
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
call fcn.14006c0f0
jmp 0x140052ed3
jmp 0x140052b9e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
xor r8d, r8d
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call fcn.140065528
jmp 0x140052a7f
mov qword [rsp + 0xa8], 0
jmp 0x140052f14
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0xa8], rax
jae 0x140052f3b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rax + rcx*8]
call fcn.14006434c
jmp 0x140052f01
mov rcx, qword [rsp + 0x60]
call fcn.14006434c
mov rcx, qword [rsp + 0x48]
call fcn.14006434c
mov rcx, qword [rsp + 0x28]
call fcn.140064674
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14005d690
add rsp, 0x128
ret