Function at 0x18003f280
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xb8
lea esi, [rdx + 4]
mov r10, r9
mov dword [rbp - 0x35], esi
mov r12, r8
mov edi, edx
cmp edx, esi
jae 0x18003f889
mov qword [rax + 0x18], rbx
mov rbx, qword [rbp - 0x49]
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
xor r14d, r14d
mov qword [rax - 0x38], r15
mov r15, qword [rbp - 0x29]
nop
mov eax, edi
sub eax, 0x60
je 0x18003f322
sub eax, 1
je 0x18003f7ee
sub eax, 3
je 0x18003f2f3
cmp eax, 1
je 0x18003f7ee
jmp 0x18003f7e1
mov r8d, dword [rcx]
lea r9, [rbp - 0x39]
mov rcx, r12
mov qword [rsp + 0x20], r14
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, 0xffffffff
cmovne ecx, dword [rbp - 0x39]
mov dword [rbp - 0x49], ecx
mov rbx, qword [rbp - 0x49]
jmp 0x18003f7d9
cmp qword [r12], 0
jne 0x18003f33d
lea rcx, str.uint16___OVERLOADABLE___convert_uint_sat_char16__
call fcn.18004e550
mov rbx, r14
jmp 0x18003f7d5
mov r9d, 0x24
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180011700
mov rbx, rax
test rax, rax
je 0x18003f7d5
mov eax, 0x9f
mov dword [rbp - 0x49], eax
sub eax, 0x9e
je 0x18003f3a7
cmp eax, 1
jne 0x18003f7bc
mov rax, qword [r12]
lea r9, [rbp - 0x21]
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, qword [rax]
shl rcx, 4
lea r8d, [rdx + 0x5a]
mov qword [rbp - 0x21], rcx
lea rcx, [rbp + 7]
call fcn.180029280
movups xmm0, xmmword [rax]
movq qword [rbx + 8], xmm0
jmp 0x18003f7bc
cmp qword [rbx + 8], 0
jne 0x18003f3f7
mov edi, 0x9d
mov eax, edi
sub eax, 0x9d
je 0x18003f3cf
cmp eax, 0x73
jne 0x18003f3e7
lea rcx, str.Op_V_1_ConditionType_______V_0__tArg1Type_i64_____V_0__tArg1Type_i64_____
call fcn.18004e550
jmp 0x18003f3e7
xor r8d, r8d
mov qword [rbp - 0x41], rbx
mov edx, 0xf7
lea rcx, [rbp - 0x41]
call fcn.18001a1b0
mov rbx, r14
add edi, 0x73
cmp edi, 0x183
jb 0x18003f3b3
jmp 0x18003f7bc
mov r13d, 0xe5
mov dword [rbp - 0x41], r13d
mov eax, r13d
sub eax, 0xe5
je 0x18003f714
sub eax, 1
je 0x18003f795
cmp eax, 1
jne 0x18003f7a2
mov rax, qword [r12]
cmp r15, qword [rax]
jae 0x18003f4ca
mov r14d, 0x21
cmp r14d, 0x21
je 0x18003f471
cmp r14d, 0x35
je 0x18003f45a
cmp r14d, 0x49
jne 0x18003f4b7
xor ebx, ebx
lea rcx, str.C:_buildbot_slave_workdir_repos_opera_desktop_common_stats_stats_storage_impl.cc
call fcn.18004e550
jmp 0x18003f4b7
xor r8d, r8d
mov qword [rbp - 0x41], rbx
mov edx, 0xf7
lea rcx, [rbp - 0x41]
call fcn.18001a1b0
jmp 0x18003f4b7
test r15, r15
je 0x18003f4b7
xor edi, edi
mov rsi, r15
nop dword [rax + rax]
mov rax, qword [rbx + 8]
lea rdx, [rbp - 0x19]
mov r9d, 0xb6
xor r8d, r8d
mov rcx, qword [rdi + rax]
mov qword [rbp - 0x19], rcx
xor ecx, ecx
call fcn.18002e200
mov rax, qword [rbx + 8]
lea rdi, [rdi + 0x10]
mov qword [rdi + rax - 0x10], 0
sub rsi, 1
jne 0x18003f480
add r14d, 0x14
cmp r14d, 0x5d
jb 0x18003f434
jmp 0x18003f7a2
mov r13d, 0x55
cmp r13d, 0x55
jne 0x18003f6f7
mov rax, qword [r12]
lea r9, [rbp - 0x11]
xor edx, edx
mov qword [rsp + 0x20], 0
lea r8d, [r13 + 5]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rax, qword [r12]
mov rcx, qword [rax + 0x10]
shl rcx, 3
mov qword [rbp - 0x11], rcx
lea rcx, [rbp + 0x17]
call fcn.180029280
mov rax, qword [rax]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x18003f573
mov edi, 0xde
cmp edi, 0xde
je 0x18003f54b
cmp edi, 0x173
je 0x18003f547
cmp edi, 0x208
jne 0x18003f560
lea rcx, str.HRESULT_ID3D12CommandQueue::SetPrivateDataInterface_0x_I32x__0x_08Ix___0x_I32x
call fcn.18004e550
jmp 0x18003f560
xor ebx, ebx
jmp 0x18003f560
xor r8d, r8d
mov qword [rbp - 0x31], rbx
mov edx, 0xf7
lea rcx, [rbp - 0x31]
call fcn.18001a1b0
add edi, 0x95
cmp edi, 0x29d
jb 0x18003f521
jmp 0x18003f6f7
mov r14d, 0xe1
nop dword [rax]
cmp r14d, 0xe1
je 0x18003f5e9
cmp r14d, 0x4b96
jne 0x18003f6e3
mov rax, qword [r12]
mov edi, 0x60
mov r14d, 0x4b96
mov dword [rbp + 0x6f], edi
mov rcx, qword [rax + 0x10]
cmp r15, rcx
jae 0x18003f6df
mov edi, 0x9c
nop word [rax + rax]
cmp edi, 0x9c
je 0x18003f673
cmp edi, 0x121
jne 0x18003f6cb
lea rcx, str.e:_amigo_buildbot_builder_amigo_3_8_build_srcppapiproxy_broker_dispatcher.cc
call fcn.18004e550
jmp 0x18003f6cb
mov rax, qword [r12]
xor ecx, ecx
cmp qword [rax + 0x10], rcx
jbe 0x18003f619
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
mov qword [rax + rcx*8], 0
inc rcx
mov rax, qword [r12]
cmp rcx, qword [rax + 0x10]
jb 0x18003f600
xor r15d, r15d
cmp qword [rax + 0x10], r15
jbe 0x18003f6e3
nop word [rax + rax]
mov rcx, qword [rax + 0x18]
xor r8d, r8d
mov edx, 0x122
mov rax, qword [rcx + r15*8]
lea rcx, [rbp - 9]
mov qword [rbp - 9], rax
call fcn.180043ff0
mov rcx, qword [rbx + 0x18]
mov qword [rcx + r15*8], rax
mov rax, qword [rbx + 0x18]
cmp qword [rax + r15*8], 0
je 0x18003f596
mov rax, qword [r12]
inc r15
cmp r15, qword [rax + 0x10]
jb 0x18003f630
jmp 0x18003f6e3
xor esi, esi
test r15, r15
je 0x18003f6b4
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
lea rdx, [rbp - 1]
mov r9d, 0xb6
xor r8d, r8d
mov rcx, qword [rax + rsi*8]
mov qword [rbp - 1], rcx
xor ecx, ecx
call fcn.18002e200
mov rax, qword [rbx + 0x18]
mov qword [rax + rsi*8], 0
inc rsi
cmp rsi, r15
jb 0x18003f680
xor r8d, r8d
mov qword [rbp - 0x31], rbx
mov edx, 0xf7
lea rcx, [rbp - 0x31]
call fcn.18001a1b0
xor ebx, ebx
add edi, 0x85
cmp edi, 0x1a6
jb 0x18003f5c0
jmp 0x18003f6e3
mov qword [rbx + 0x10], rcx
add r14d, 0x4ab5
cmp r14d, 0x956a
jbe 0x18003f580
add r13d, 0x1fe0
cmp r13d, 0x1fe0
jbe 0x18003f4d0
mov r13d, dword [rbp - 0x41]
jmp 0x18003f7a2
mov rax, qword [r12]
mov rdx, r14
mov r8, qword [rax]
test r8, r8
je 0x18003f74c
mov rcx, r14
nop word [rax + rax]
mov rax, qword [rbx + 8]
lea rcx, [rcx + 0x10]
inc rdx
mov qword [rcx + rax - 0x10], r14
mov rax, qword [r12]
mov r8, qword [rax]
cmp rdx, r8
jb 0x18003f730
mov r15, r14
test r8, r8
je 0x18003f7a2
mov rsi, r14
nop word [rax + rax]
mov edi, 0x8e
nop word [rax + rax]
mov eax, edi
sub eax, 0x8e
je 0x18003f81e
cmp eax, 1
jne 0x18003f862
mov rax, qword [rbx + 8]
cmp qword [rsi + rax], 0
jne 0x18003f862
mov r13d, 0xe6
mov dword [rbp + 0x6f], 0x60
inc r13d
mov r14d, 0
mov dword [rbp - 0x41], r13d
cmp r13d, 0xe8
jb 0x18003f401
mov eax, dword [rbp - 0x49]
dec eax
mov dword [rbp - 0x49], eax
cmp eax, 0x9d
ja 0x18003f363
mov edi, dword [rbp + 0x6f]
mov esi, dword [rbp - 0x35]
mov qword [rbp - 0x49], rbx
mov rcx, qword [rbp + 0x67]
mov r10, qword [rbp + 0x7f]
inc edi
mov dword [rbp + 0x6f], edi
cmp edi, esi
jb 0x18003f2d0
mov r14, qword [rsp + 0xa8]
mov rax, rbx
mov rbx, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa0]
add rsp, 0xb8
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r12]
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + rsi + 8]
xor eax, dword [rdx + rsi + 8]
and eax, 1
xor dword [rdx + rsi + 8], eax
mov edx, 0x122
mov rax, qword [r12]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + rcx]
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x29], rax
call fcn.180043ff0
mov rcx, qword [rbx + 8]
mov qword [rsi + rcx], rax
inc edi
cmp edi, 0x90
jb 0x18003f770
mov rax, qword [r12]
inc r15
add rsi, 0x10
cmp r15, qword [rax]
jb 0x18003f760
jmp 0x18003f7a2
mov rax, qword [rbp - 0x49]
add rsp, 0xb8
pop r12
pop rdi
pop rsi
pop rbp
ret