Function at 0x180057dc0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb8
mov rax, qword [0x18008a300]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13d, dword [rbp + 0x7f]
mov rsi, r8
mov qword [rbp - 0x49], r9
mov qword [rbp - 0x31], rdx
mov qword [rbp - 0x39], rcx
lea eax, [r13 + 0xa]
mov dword [rbp - 0x69], eax
cmp r13d, eax
jae case.0x180057e4b.29
mov eax, dword [rbp - 0x69]
lea rdx, [0x180000000]
mov ecx, dword [rbp - 0x69]
xor ebx, ebx
mov rdi, qword [rbp - 0x39]
mov r12, qword [rbp - 0x39]
mov r15d, dword [rbp - 0x69]
mov dword [rbp - 0x71], eax
mov dword [rbp - 0x59], ecx
nop dword [rax + rax]
lea eax, [r13 - 0x14]
cmp eax, 0x29
ja case.0x180057e4b.30
movzx eax, byte [rdx + rax + 0x58440]
mov ecx, dword [rdx + rax*4 + 0x58414]
add rcx, rdx
jmp rcx
test rsi, rsi
je case.0x180057e4b.29
jmp case.0x180057e4b.30
mov eax, dword [r9]
lea r8, [rbp - 0x41]
mov dword [rbp - 0x51], eax
lea rcx, [rbp - 0x51]
mov eax, dword [rsi]
mov edx, 0xb1
mov dword [rbp - 0x41], eax
call fcn.1800314b0
cmp eax, 0xffffffff
je 0x1800582d9
mov r9, qword [rbp - 0x49]
lea rdx, [0x180000000]
inc r13d
cmp r13d, dword [rbp - 0x69]
jb 0x180057e30
jmp case.0x180057e4b.29
lea rdx, [0x18007a420]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbp - 0x51], rax
mov rdi, rax
test rax, rax
je 0x1800582e5
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edx, 1
lea rcx, [rbp - 0x29]
mov r9, rdi
lea r8d, [rdx + 0x27]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp byte [rbp - 0x21], 0x57
jne 0x180057e7e
cmp byte [rbp - 0x20], 0x41
jne 0x180057e7e
cmp byte [rbp - 0x1f], 0x56
jne 0x180057e7e
cmp byte [rbp - 0x1e], 0x45
jne 0x180057e7e
mov r14d, 0xcd
nop dword [rax]
cmp r14d, 0x84ee
ja 0x180058217
je 0x1800581a9
cmp r14d, 0xcd
je 0x18005815d
cmp r14d, 0x1b3a
je 0x180058054
cmp r14d, 0x35a7
je 0x180058036
cmp r14d, 0x5014
je 0x180058014
cmp r14d, 0x6a81
jne 0x18005827b
cmp byte [rbp - 9], 1
jne 0x180057fb4
mov edi, 0x12a
nop
cmp edi, 0x12a
je 0x180057f9a
cmp edi, 0x9d26
je 0x180057f7e
cmp edi, 0x13922
je case.0x180057e4b.29
jmp 0x180057fa6
lea rcx, str.uwa_isSelfUpdateAvailable_returning_xml:__s
call fcn.18006a740
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbp - 0x61], rbx
jmp 0x180057fa6
lea rcx, str.nal_unit_header_mvc_extension
call fcn.18006a740
add edi, 0x9bfc
cmp edi, 0x1d3f4
jbe 0x180057f60
cmp byte [rbp - 9], 2
jne 0x18005827b
cmp dword [rbp - 0x71], 1
jne 0x18005827b
mov edi, 0x38
nop dword [rax]
mov eax, edi
sub eax, 0x38
je 0x180057fe2
cmp eax, 1
je case.0x180057e4b.29
jmp 0x180058008
lea rcx, str.ULONG_IDXGIOutput4::Release__
call fcn.18006a740
lea rcx, str._s:_Checking_rule___s__for_validity_of___s_
call fcn.18006a740
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbp - 0x61], rbx
inc edi
cmp edi, 0x3a
jb 0x180057fd0
jmp 0x18005827b
cmp byte [rbp - 0x13], 2
jne 0x18005827b
lea rcx, str.9__map__ASCIIToUTF16__sep___
call fcn.18006a740
mov dword [rbp - 0x71], 1
jmp 0x18005827b
cmp byte [rbp - 0x13], 1
jne 0x18005827b
lea rcx, str.MprAdminRoutingDomainsEnumEx
call fcn.18006a740
mov dword [rbp - 0x71], ebx
jmp 0x18005827b
cmp dword [rbp - 0x59], 2
jne 0x18005807d
movzx r15d, byte [rbp - 0x10]
movzx eax, byte [rbp - 0xf]
shl eax, 0x10
shl r15d, 8
add r15d, eax
movzx eax, byte [rbp - 0xe]
shl eax, 0x18
add r15d, eax
movzx eax, byte [rbp - 0x11]
jmp 0x18005809e
movzx r15d, byte [rbp - 0x11]
movzx eax, byte [rbp - 0x10]
shl eax, 0x10
shl r15d, 0x18
add r15d, eax
movzx eax, byte [rbp - 0xf]
shl eax, 8
add r15d, eax
movzx eax, byte [rbp - 0xe]
add r15d, eax
cmp r15d, 0x7d00
je 0x18005813d
cmp r15d, 0x3e80
je 0x18005813d
cmp r15d, 0x5622
je 0x18005813d
cmp r15d, 0x5dc0
je 0x18005813d
cmp r15d, 0xac44
je 0x18005813d
cmp r15d, 0xbb80
je 0x18005813d
mov edi, 0xa9
mov eax, edi
sub eax, 0xa9
je 0x180058107
cmp eax, 1
jne 0x180058122
mov r15d, 0xac44
lea r13d, [rax + 0x14]
mov r14d, 0x1b3a
jmp 0x18005827b
mov edx, r15d
lea rcx, str.SOFTWAREWaves_AudioMaxxAudio_DockAGeneral
call fcn.18006a740
lea rcx, str.Enable_malloc_and_alloc_syscall_tracking
call fcn.18006a740
inc edi
cmp edi, 0xab
jb 0x1800580e4
mov r14d, 0x1b3a
mov r13d, 0x15
jmp 0x18005827b
mov edx, r15d
lea rcx, str.motion_vertical_field_select_1__s_
call fcn.18006a740
mov r14d, 0x1b3a
mov r13d, 0x15
jmp 0x18005827b
lea rcx, str.could_not_find_load_file:
call fcn.18006a740
cmp dword [rbp - 0x59], ebx
jne 0x18005827b
xor r8d, r8d
mov edx, 0x82
xor ecx, ecx
call fcn.1800093b0
mov dword [rbp - 0x59], eax
test eax, eax
jne 0x18005827b
lea rcx, str.Unknown_Index_Source_Type.
call fcn.18006a740
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, rbx
jmp 0x1800583f3
mov r12, qword [rbp - 0x51]
xor r8d, r8d
mov rcx, r12
lea edx, [r8 + 0x2c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x180058204
mov edi, 0x12a
nop word [rax + rax]
mov eax, edi
sub eax, 0x129
je 0x1800582f4
cmp eax, 1
jne 0x1800581fa
mov rdx, rsi
lea rcx, str.mom_9__ly___mom_9__ly___mom_9__ly__32__
call fcn.18006a740
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
dec edi
cmp edi, 0x128
ja 0x1800581d0
mov edx, 0x20
lea ecx, [rdx - 0x1f]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r12, rax
jmp 0x18005827b
cmp r14d, 0x9f5b
je 0x180058277
cmp r14d, 0xb9c8
je 0x180058247
cmp r14d, 0xd435
je 0x180058241
cmp r14d, 0xeea2
je case.0x180057e4b.29
jmp 0x18005827b
mov qword [rbp - 0x61], r12
jmp 0x18005827b
cmp dword [rbp - 0x71], 1
mov eax, ebx
sete al
inc ax
cmp dword [rbp - 0x59], 1
mov word [r12 + 8], ax
mov eax, ebx
sete al
mov dword [r12 + 0x14], r15d
mov dword [r12 + 0xc], 0xffffffff
mov dword [r12 + 0x18], eax
jmp 0x18005827b
mov qword [r12], rdi
mov rdi, qword [rbp - 0x51]
add r14d, 0x1a6d
cmp r14d, 0x10842
jbe 0x180057f00
jmp 0x180057e7e
mov eax, dword [rsi + 0x38]
mov dword [rbp - 0x61], eax
jmp case.0x180057e4b.30
mov eax, dword [r9]
test eax, eax
jns 0x1800582b7
mov byte [rsi + 0x27], bl
mov eax, ebx
mov dword [rsi + 0x50], ebx
jmp case.0x180057e4b.30
jne 0x1800582bf
mov byte [rsi + 0x27], 1
mov eax, ebx
mov dword [rsi + 0x50], eax
jmp case.0x180057e4b.30
mov dword [rbp - 0x71], 0xffffffff
mov r12, rbx
mov dword [rbp - 0x59], ebx
jmp case.0x180057e4b.30
mov dword [rbp - 0x61], 0xffffffff
jmp case.0x180057e4b.29
mov rdx, rsi
lea rcx, str.rent_dans_largument_de_template
call fcn.18006a740
mov rax, rbx
jmp 0x1800583f3
mov rax, qword [rbp - 0x31]
lea rdx, [rbp - 0x69]
mov r9, qword [0x18008a9d8]
mov r8d, 0x93
xor ecx, ecx
mov eax, dword [rax]
mov dword [rbp - 0x69], eax
mov rax, qword [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call fcn.180023d20
mov dword [rbp - 0x61], eax
jmp case.0x180057e4b.29
mov ebx, 0xea
mov eax, ebx
sub eax, 0xea
je 0x1800583c3
sub eax, 1
je 0x180058370
cmp eax, 1
jne 0x1800583d2
mov rcx, qword [rsi + 0x38]
lea rdx, [rsi + 0x58]
call qword [rsi + 0x30]
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800583d2
cmp qword [rsi + 0x70], 0x10
lea r8, [rsi + 0x58]
jb 0x18005837e
mov r8, qword [r8]
movzx eax, word [rsi + 0x78]
lea r9, [rbp - 0x71]
mov word [rbp - 0x71], ax
mov edx, 0x90
mov rax, qword [0x18008a3c8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180005e00
test al, al
jne 0x1800583e5
mov r9, qword [0x18008a3c8]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x2e
xor ecx, ecx
call fcn.18001b2a0
jmp 0x1800583ce
mov rcx, qword [rsi + 0x18]
lea rdx, [rsi + 0x58]
call qword [rsi + 0x10]
test al, al
je 0x1800583eb
inc ebx
cmp ebx, 0xed
jb 0x180058345
jmp case.0x180057e4b.27
mov byte [rbp - 0x61], 1
jmp case.0x180057e4b.29
mov byte [rbp - 0x61], 0
mov rax, qword [rbp - 0x61]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18006b180
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret