Function at 0x180065a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1500]
mov eax, 0x1600
call fcn.18008f2e0
sub rsp, rax
mov rax, qword [0x1800a3d18]
xor rax, rsp
mov qword [rbp + 0x14f0], rax
mov eax, dword [rbp + 0x1560]
mov rdi, rcx
mov rbx, qword [rbp + 0x1568]
xor r10d, r10d
mov r13, qword [rbp + 0x1570]
mov r12, r8
mov qword [rsp + 0x58], rcx
mov r14d, eax
lea ecx, [rax + 0x1420]
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x70], rdx
mov r11d, 0x6c
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x30], ecx
cmp eax, ecx
jae 0x1800660ed
movsxd r15, dword [rsp + 0x48]
lea r8d, [r11 + 7]
mov esi, dword [rsp + 0x48]
movabs r11, 0x33005f00320073
mov eax, 0x6573
jmp 0x180065ad5
mov rdx, qword [rsp + 0x70]
cmp r14d, 0x383
ja 0x180065dbc
je 0x180065d8f
cmp r14d, 0x1de
ja 0x180065cb0
je 0x180065ca4
cmp r14d, 0x107
ja 0x180065b88
je 0x180065b6b
mov eax, r14d
sub eax, 0x4f
je 0x180065b52
sub eax, 0x1f
je 0x180065b35
cmp eax, 0x35
mov eax, 0x6573
jne 0x1800660b5
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
jmp 0x1800660b5
mov eax, 0x63
mov word [rbp + 0x1278], ax
mov eax, 0x6c
mov word [rbp + 0x1279], ax
jmp 0x1800660b0
mov eax, 0x6e65
mov word [rbp + 0x1260], r8w
mov word [rbp + 0x1261], ax
jmp 0x1800660b0
mov edx, 0x64
mov word [rbp + 0x1263], dx
mov edx, 0x77
mov word [rbp + 0x12a0], dx
jmp 0x1800660b5
mov eax, r14d
sub eax, 0x126
je 0x180065c93
sub eax, 0x35
je 0x180065bb8
cmp eax, 0x64
mov eax, 0x6573
jne 0x1800660b5
mov dword [rbp + 0x12a2], 0x320073
jmp 0x1800660b5
mov eax, dword [rbx]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r8, [rbp - 0x60]
mov edx, 0x4a
mov dword [rsp + 0x38], 0xc8
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], eax
call fcn.180032080
mov rbx, rax
test eax, eax
jg 0x180065c8a
mov edi, StrCmpICA
cmp edi, 0x9c
je 0x180065c35
cmp edi, 0x25c8
jne 0x180065c73
mov rbx, qword [rsp + 0x50]
mov rax, rbx
mov rcx, qword [rbp + 0x14f0]
xor rcx, rsp
call fcn.18008f350
mov rbx, qword [rsp + 0x1640]
add rsp, 0x1600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp ebx, 0xffffffff
mov qword [rsp + 0x20], r12
mov eax, 0xffff8300
lea r8, [rsp + 0x38]
mov ecx, 0xffff8044
lea rdx, [rsp + 0x40]
cmove eax, ecx
mov r9d, 0x11f
mov dword [rsp + 0x40], eax
lea rcx, [rbp - 0x80]
mov eax, dword [r13]
mov dword [rsp + 0x38], eax
call fcn.18001bcc0
mov dword [rsp + 0x50], eax
add edi, 0x252c
cmp edi, 0x4a58
jbe 0x180065bf3
mov rdi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
jmp 0x1800660b0
mov eax, 0x6f
mov word [rbp + 0x127a], ax
jmp 0x1800660b0
mov word [rbp + 0x127b], ax
jmp 0x1800660b5
cmp r14d, 0x2cb
ja 0x180065d5c
je 0x180065d2f
mov eax, r14d
sub eax, 0x213
je 0x180065cfa
sub eax, 0x64
je 0x180065ceb
cmp eax, 0x1f
mov eax, 0x6573
jne 0x1800660b5
mov dword [rbp + 0x127d], 0x636f73
jmp 0x1800660b5
mov dword [rbp + 0x12a6], 0x33005f
jmp 0x1800660b0
lea rax, [rbp - 0x60]
xor r9d, r9d
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x60]
lea rax, [0x180095098]
xor edx, edx
mov r8d, 0xc8
mov qword [rsp + 0x20], rax
call fcn.18002e890
mov ecx, dword [rsp + 0x30]
mov qword [rbp - 0x78], rax
jmp 0x1800660b0
lea rax, str.method
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0xc8
lea rcx, [rbp - 0x60]
call fcn.18002e890
mov ecx, dword [rsp + 0x30]
mov qword [rbp - 0x70], rax
jmp 0x1800660b0
mov eax, r14d
sub eax, 0x32f
je 0x180065d80
cmp eax, 0x1f
jne 0x1800660b0
mov eax, 0x6b
mov word [rbp + 0x1280], ax
jmp 0x1800660b0
mov dword [rbp + 0x12aa], 0x2e0032
jmp 0x1800660b0
lea rax, str.params
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0xc8
lea rcx, [rbp - 0x60]
call fcn.18002e890
mov ecx, dword [rsp + 0x30]
mov qword [rbp - 0x68], rax
jmp 0x1800660b0
cmp r14d, 0x557
ja 0x180066016
je 0x180065fca
cmp r14d, 0x49f
ja 0x180065f25
je 0x180065f18
mov eax, r14d
sub eax, 0x3e7
je 0x180065efd
sub eax, 0x1f
je 0x180065eec
cmp eax, 0x35
jne 0x1800660b0
cmp qword [rbp - 0x78], 0
je 0x180065e10
cmp qword [rbp - 0x70], 0
jne 0x180065e6c
mov ebx, SHRegGetIntW
mov eax, ebx
sub eax, 0x115
je 0x180065e29
cmp eax, 1
je 0x180065c03
jmp 0x180065e5b
mov eax, dword [r13]
lea r8, [rsp + 0x38]
mov r9d, 0x11f
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xffff80a8
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], r12
call fcn.18001bcc0
mov dword [rsp + 0x50], eax
inc ebx
cmp ebx, 0x117
jb 0x180065e15
mov ecx, dword [rsp + 0x30]
xor r10d, r10d
cmp qword [rdi], 0
mov r15, r10
je 0x1800660b0
nop dword [rax]
mov ebx, 0x11
mov eax, ebx
sub eax, 0x10
je 0x180065eab
cmp eax, 1
jne 0x180065ec6
mov rax, qword [rdi]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180065ea0
jmp 0x180065ec6
mov rdx, qword [rbp - 0x70]
cmp esi, dword [rdx + 8]
jne 0x180065ec6
mov rdx, qword [rdx]
mov rcx, qword [rdi]
movsxd r8, esi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180065f3e
dec ebx
cmp ebx, 0xf
ja 0x180065e85
mov rax, qword [rsp + 0x58]
inc r15
cmp qword [rax + r15*8], 0
lea rdi, [rax + r15*8]
jne 0x180065e80
mov ecx, dword [rsp + 0x30]
mov rdi, rax
jmp 0x1800660b0
mov eax, 0x7465
mov word [rbp + 0x1281], ax
jmp 0x1800660b0
mov eax, 0x6c
mov dword [rbp + 0x12ae], 0x6c0064
mov word [rbp + 0x12b2], ax
jmp 0x1800660b0
mov word [rbp + 0x12b4], r10w
jmp 0x1800660b5
mov eax, r14d
sub eax, 0x4be
je 0x180065fb2
cmp eax, 0x35
jne 0x1800660b0
jmp 0x180065f47
mov rdi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
cmp qword [rdi + r15*8], 0
mov r14d, 0x4f3
jne 0x1800660b0
mov ebx, 0x5f
nop dword [rax]
mov eax, ebx
sub eax, 0x5e
je 0x180065c03
cmp eax, 1
jne 0x180065fa2
mov eax, dword [r13]
lea r8, [rsp + 0x38]
mov r9d, 0x11f
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0xffff80a7
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], r12
call fcn.18001bcc0
mov dword [rsp + 0x50], eax
dec ebx
cmp ebx, 0x5d
ja 0x180065f60
mov ecx, dword [rsp + 0x30]
jmp 0x1800660b0
mov eax, 0x77
mov byte [rbp + 0x1283], 0
mov word [rbp + 0x1288], ax
jmp 0x1800660b0
xor r8d, r8d
lea rax, [rbp + 0x12a0]
lea r9, [rbp + 0x1260]
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1d]
call fcn.180010940
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x180065ff8
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, dword [rbx + 0x10]
mov rcx, qword [rcx]
call rax
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
jmp 0x1800660b0
cmp r14d, 0x62e
ja 0x180066099
je 0x18006608f
mov eax, r14d
sub eax, 0x576
je 0x180066086
sub eax, 0x35
je 0x18006606d
cmp eax, 0x64
jne 0x1800660b0
cmp dword [rsp + 0x48], 0xffffffff
jne 0x180066066
mov ecx, 0xe1
mov eax, ecx
sub eax, 0xe0
je 0x180065c03
cmp eax, 1
jne 0x180066058
mov byte [rsp + 0x50], 0
dec ecx
cmp ecx, 0xdf
ja 0x180066041
mov ecx, dword [rsp + 0x30]
mov byte [rsp + 0x50], 1
jmp 0x1800660b0
mov edx, dword [r13]
lea r8, [rbp - 0x80]
mov rcx, r12
call qword [r9 + r15*8]
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
jmp 0x1800660b0
mov qword [rbp + 0x128a], r11
jmp 0x1800660b0
mov word [rbp + 0x1292], r10w
jmp 0x1800660b5
mov eax, r14d
sub eax, 0x663
je 0x180065c03
cmp eax, 0x64
je 0x180065c03
mov eax, 0x6573
mov rbx, qword [rsp + 0x78]
mov r10d, 0
mov r9, qword [rsp + 0x68]
add r14d, 0xb8
movabs r11, 0x33005f00320073
lea r8d, [r10 + 0x73]
cmp r14d, ecx
jb 0x180065ad0
mov eax, dword [rbp + 0x1560]
lea r11d, [r10 + 0x6c]
lea edi, [rax + 0x1d]
mov dword [rsp + 0x38], edi
cmp eax, edi
jae 0x180065c03
mov rbx, qword [rsp + 0x50]
lea r13d, [rax - 0x6e]
mov esi, dword [rsp + 0x48]
lea r8, [0x180000000]
mov r15, qword [rsp + 0x68]
mov edx, 1
mov r14d, dword [rsp + 0x48]
mov r12, qword [rsp + 0x68]
lea r9d, [rdx + 0x6d]
nop dword [rax + rax]
cmp r13d, 0x1c
ja case.default.0x180066145
mov ecx, dword [r8 + r13*4 + 0x66494]
add rcx, r8
jmp rcx
mov dword [rbp + 0x12d0], 0x730077
jmp case.default.0x180066145
mov eax, 0x77
mov word [rbp + 0x126e], ax
jmp case.default.0x180066145
mov r8, rdx
mov word [rbp + 0x1298], r10w
lea rdx, str.list_of_repository_paths_must_not_be_empty
lea rcx, [rbp + 0x1288]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov edx, 1
lea r8, [0x180000000]
xor r10d, r10d
lea r9d, [rdx + 0x6d]
jmp case.default.0x180066145
mov eax, 0x2e
mov word [rbp + 0x12dc], ax
jmp case.default.0x180066145
test esi, esi
jne case.default.0x180066145
nop word [rax + rax]
mov rcx, qword [r15 + 8]
lea r9, [rsp + 0x60]
mov r8d, 0x200
mov qword [rsp + 0x20], r10
lea rdx, [rbp + 0x12f0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180066251
xor r10d, r10d
mov edi, r10d
nop dword [rax + rax]
cmp edi, dword [rsp + 0x60]
jae 0x1800661c0
mov rax, qword [r15]
lea r8, [rsp + 0x68]
mov edx, 0x12
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x48], r10d
call fcn.18008d060
test eax, eax
je 0x180066245
mov r8d, dword [rsp + 0x60]
lea rdx, [rbp + 0x12f0]
mov rcx, qword [r15]
sub r8d, edi
mov eax, edi
xor r9d, r9d
add rdx, rax
call r12
test eax, eax
mov r14d, eax
mov eax, 1
cmovle esi, eax
add edi, r14d
test esi, esi
jne 0x180066251
xor r10d, r10d
jmp 0x1800661f0
mov edi, dword [rsp + 0x38]
jmp 0x180066186
mov eax, 0x64
mov word [rbp + 0x12de], ax
jmp case.default.0x180066145
mov dword [rbp + 0x12d8], 0x320033
jmp case.default.0x180066145
mov r8, rdx
lea rcx, [rbp + 0x129a]
lea rdx, [0x180098b58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor r10d, r10d
mov word [rbp + 0x129c], r10w
mov edx, 1
lea r8, [0x180000000]
lea r9d, [rdx + 0x6d]
jmp case.default.0x180066145
mov dword [rbp + 0x12ca], 0x6c
jmp case.default.0x180066145
mov dword [rbp + 0x12d4], 0x5f0032
jmp case.default.0x180066145
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r15]
mov edx, 2
call qword [rsp + 0x78]
jmp 0x180066186
mov eax, 0x64
mov word [rbp + 0x12c6], ax
jmp case.default.0x180066145
xor r8d, r8d
lea rax, [rbp + 0x1288]
lea r9, [rbp + 0x1278]
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1d]
call fcn.180010940
mov qword [rsp + 0x58], rax
jmp 0x180066186
mov dword [rbp + 0x12c2], 0x2e0032
jmp case.default.0x180066145
mov word [rbp + 0x126f], r9w
mov dword [rbp + 0x12b8], 0x730077
jmp case.default.0x180066145
mov esi, r10d
jmp case.default.0x180066145
mov r8d, 4
mov byte [rbp + 0x1268], 0
lea rdx, str.shut
lea rcx, [rbp + 0x1268]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x180066186
mov dword [rbp + 0x12e0], 0x6c006c
mov word [rbp + 0x12e4], r10w
jmp case.default.0x180066145
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthread]
xor r10d, r10d
mov ebx, r10d
jmp 0x18006629c
xor r8d, r8d
lea rax, [rbp + 0x12b8]
lea r9, [rbp + 0x1268]
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1d]
call fcn.180010940
mov qword [rsp + 0x78], rax
jmp 0x180066186
movzx eax, word [0x180098b9c]
mov word [rbp + 0x126c], ax
movzx eax, byte [0x180098b9e]
mov byte [rbp + 0x126e], al
jmp case.default.0x180066145
mov rcx, qword [r15]
call qword [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180066186
mov dword [rbp + 0x1292], 0x2e0032
mov word [rbp + 0x1296], r10w
jmp case.default.0x180066145
mov eax, 0x64
mov word [rbp + 0x1296], ax
jmp case.default.0x180066145
mov eax, 0x32
mov dword [rbp + 0x12be], 0x33005f
mov word [rbp + 0x12bc], ax
jmp case.default.0x180066145
mov word [rbp + 0x12c8], r11w
jmp case.default.0x180066145
xor r8d, r8d
lea rax, [rbp + 0x12d0]
lea r9, str.send
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1d]
call fcn.180010940
mov r15, qword [rsp + 0x70]
mov r12, rax
jmp 0x180066186
mov r14d, r10d
inc r13d
mov r11d, 0x6c
lea eax, [r13 + 0x6e]
cmp eax, edi
jb 0x180066130
jmp case.0x180066145.28