Function at 0x1800335d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc0
mov ebx, dword [rbp + 0x77]
mov r13, rdx
mov edx, dword [rbp + 0x77]
xor edi, edi
mov r10, r8
mov r11, rcx
mov r14d, edx
lea r15d, [rdx + 0xa3a]
cmp edx, r15d
jae 0x180033984
movzx eax, byte [rbp + 0x77]
mov r12, qword [rbp + 0x6f]
mov dword [rbp - 0x71], eax
nop word [rax + rax]
cmp r14d, 0x196
ja 0x1800337aa
je 0x18003375e
cmp r14d, 0xdb
ja 0x1800336e5
je 0x1800336dc
cmp r14d, 0x20
je 0x1800336d3
cmp r14d, 0x3c
je 0x18003369a
cmp r14d, 0x6b
jne 0x180033905
mov rax, qword [r13]
xor edx, edx
mov qword [rbp - 0x69], rax
xor r9d, r9d
lea rax, [rbp - 0x69]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x26]
call fcn.1800cddc0
mov qword [rbp - 0x69], rax
mov r9, qword [rbp + 0x67]
jmp 0x180033905
mov rax, qword [r13]
cmp dword [rax], 0x7f2bb701
je 0x180033905
mov ecx, 5
nop
mov eax, ecx
sub eax, 4
je case.0x180033960.2
cmp eax, 1
jne 0x1800336c7
mov dword [rbp - 0x69], 0x7f2bb701
dec ecx
cmp ecx, 3
ja 0x1800336b0
jmp 0x180033905
mov qword [rbp - 0x59], rdi
jmp 0x180033905
mov qword [rbp - 0x51], rdi
jmp 0x180033905
mov eax, r14d
sub eax, 0xe5
je 0x18003374e
sub eax, 0x12
je 0x180033702
cmp eax, 0x2f
je case.0x180033960.2
jmp 0x180033905
mov eax, dword [r9]
xor r8d, r8d
mov dword [rbp - 0x61], eax
lea r9, [rbp - 0x31]
mov rax, qword [r13]
xor edx, edx
mov qword [rsp + 0x38], rdi
xor ecx, ecx
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x89
call fcn.18004c840
mov ebx, eax
test eax, eax
jne 0x180033962
mov r9, qword [rbp + 0x67]
jmp 0x180033905
mov r8d, dword [r9]
shr r8d, 0x1f
mov dword [rbp - 0x71], r8d
jmp 0x180033909
lea r8, [rbp - 0x59]
mov dword [rbp - 0x61], 0x48
mov edx, 0xf
lea rcx, [rbp - 0x61]
call fcn.180061970
test eax, eax
je 0x180033691
mov ecx, 0x51
mov eax, ecx
sub eax, 0x51
je 0x180033796
cmp eax, 1
je case.0x180033960.2
jmp 0x18003379a
mov qword [rbp - 0x69], rdi
inc ecx
cmp ecx, 0x53
jb 0x180033784
mov r9, qword [rbp + 0x67]
jmp 0x180033905
cmp r14d, 0x25b
ja 0x180033890
je 0x18003383d
mov eax, r14d
sub eax, 0x1a0
je 0x180033807
sub eax, 0x12
je 0x1800337fc
mov r8d, dword [rbp - 0x71]
cmp eax, 0x9f
jne 0x180033909
mov rax, qword [rbp - 0x59]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rax + 0x40], rcx
jmp 0x180033909
mov eax, dword [r9]
mov dword [rbp - 0x21], eax
jmp 0x180033905
and dword [r9], 0x7fffffff
cmp dword [r13 + 0x18], edi
jne 0x18003381e
cmp dword [r13 + 0x1c], edi
je 0x180033905
mov eax, 0xc6
cmp eax, 0xc6
je 0x180033970
add eax, 0x72
cmp eax, 0x138
jb 0x180033823
jmp 0x180033905
mov eax, dword [r9]
cmp dword [r13 + 0x28], eax
jne 0x180033970
cmp dword [r13 + 0x24], edi
je 0x180033970
cmp dword [r13 + 0x24], 1
jbe 0x180033905
mov eax, 0xa7
cmp eax, 0xa7
je 0x180033878
cmp eax, 0x3f47
je case.0x180033960.2
jmp 0x18003387f
dec dword [r13 + 0x24]
mov dword [rbp - 0x69], edi
add eax, 0x3ea0
cmp eax, 0x7d40
jbe 0x180033864
jmp 0x180033905
cmp r14d, 0x26d
je 0x1800338fe
cmp r14d, 0x30c
jne 0x180033905
mov rdx, qword [rbp - 0x59]
mov r8d, 0x48
mov ecx, dword [r13]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cmp eax, 0x48
je 0x180033691
mov esi, 0x114
mov eax, esi
sub eax, 0x114
je 0x1800338da
cmp eax, 1
jne 0x1800338ee
mov rax, rdi
jmp 0x180033ae1
mov r9d, 0xe6
lea rdx, [rbp - 0x59]
xor r8d, r8d
xor ecx, ecx
call fcn.18008d780
inc esi
cmp esi, 0x116
jb 0x1800338c4
mov r9, qword [rbp + 0x67]
jmp 0x180033905
mov eax, dword [r12]
mov dword [rbp - 0x1d], eax
mov r8d, dword [rbp - 0x71]
add r14d, 0xbb
cmp r14d, r15d
jb 0x180033630
mov edx, dword [rbp + 0x77]
mov r10, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x4f]
lea r15d, [rdx + 0xe]
cmp edx, r15d
jae case.0x180033960.2
mov r12, qword [rbp + 0x7f]
lea r14d, [rdx - 0x20]
lea rsi, [0x180000000]
cmp r14d, 0xc8
ja case.0x180033960.12
movzx eax, byte [rsi + r14 + 0x33c3c]
mov ecx, dword [rsi + rax*4 + 0x33c08]
add rcx, rsi
jmp rcx
mov dword [rbp - 0x69], eax
jmp case.0x180033960.2
mov dword [r13 + 0x38], 3
mov dword [rbp - 0x69], 0xffffffff
jmp case.0x180033960.2
movzx r8d, byte [rbp + 0x77]
mov dword [rbp - 0x71], r8d
jmp 0x180033924
test r8b, r8b
jne 0x180033a13
mov eax, dword [r13 + 0x60]
mov r9d, 2
mov r10, qword [r13 + 0x130]
mov edx, 0xa8
shl eax, 2
mov rcx, r13
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], edi
call qword [r10 + 0x28]
test eax, eax
je 0x180033a10
mov esi, 0x39
nop word [rax + rax]
mov eax, esi
sub eax, 0x39
je 0x1800339de
cmp eax, 0x5f
je 0x180033978
jmp 0x180033a05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
lea r8, str._Z17convert_uint8_rtzDv8_m
mov edx, 1
mov r9, rax
mov rcx, r13
call qword [r13 + 0x110]
add esi, 0x5f
cmp esi, 0xf7
jb 0x1800339d0
mov edx, dword [rbp + 0x77]
mov dword [r13 + 0x24], edi
jmp case.0x180033960.12
mov dword [r13 + 0x28], edi
jmp case.0x180033960.12
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x51], rax
jmp case.0x180033960.12
test r12, r12
je 0x180033a40
mov qword [rbp - 0x19], r12
jmp case.0x180033960.12
mov esi, 0x18
mov eax, esi
sub eax, 0x18
je 0x180033a7f
cmp eax, 1
jne 0x180033a9e
test ebx, ebx
je 0x180033a9e
mov ecx, 0x95
nop word [rax + rax]
mov eax, ecx
sub eax, 0x95
je 0x180033a70
cmp eax, 1
je case.0x180033960.2
jmp 0x180033a73
mov dword [rbp - 0x69], ebx
inc ecx
cmp ecx, 0x97
jb 0x180033a60
jmp 0x180033a9e
mov rax, qword [r13]
lea r8, [rbp - 0x19]
mov edx, 0xf
mov ecx, dword [rax + 0x28]
mov dword [rbp - 0x61], ecx
lea rcx, [rbp - 0x61]
call fcn.180061970
mov rbx, rax
inc esi
cmp esi, 0x1a
jb 0x180033a45
jmp 0x180033bde
mov qword [rbp - 0x11], r10
mov qword [rbp - 9], r11
jmp case.0x180033960.12
mov dword [rbp - 1], edi
jmp case.0x180033960.12
mov dword [rbp - 0x69], edi
jmp case.0x180033960.12
mov eax, dword [rbp - 1]
mov dword [rbp - 0x69], eax
jmp case.0x180033960.12
test ebx, ebx
je case.0x180033960.12
mov dword [rbp - 0x69], ebx
mov rax, qword [rbp - 0x69]
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x51]
xor r8d, r8d
mov ecx, dword [rax]
lea edx, [r8 + 0x47]
mov dword [rbp - 0x49], ecx
lea rcx, [rbp - 0x49]
call fcn.180097ca0
cmp eax, 0x514649fb
jne 0x180033b3b
mov rax, qword [rbp - 0x51]
xor r8d, r8d
mov ecx, dword [rax + 4]
lea edx, [r8 + 0x47]
mov dword [rbp - 0x41], ecx
lea rcx, [rbp - 0x41]
call fcn.180097ca0
cmp eax, 2
je 0x180033b72
mov esi, 0x28
mov eax, esi
sub eax, 0x26
je case.0x180033960.2
sub eax, 1
je 0x180033b67
cmp eax, 1
jne 0x180033b6b
mov r9d, 0xe6
lea rdx, [rbp - 0x51]
xor r8d, r8d
xor ecx, ecx
call fcn.18008d780
jmp 0x180033b6b
mov qword [rbp - 0x69], rdi
dec esi
cmp esi, 0x25
ja 0x180033b40
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
jmp 0x180033bde
mov eax, dword [r9]
lea r8, [rbp - 0x29]
mov dword [rbp - 0x31], eax
lea r9, [rbp - 0x31]
mov rax, qword [r13]
mov edx, 0x91
mov qword [rbp - 0x29], rax
xor ecx, ecx
lea rax, [rbp - 0x39]
mov dword [rbp - 0x39], 8
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
lea rax, [0x18006d690]
mov qword [rsp + 0x20], rax
call fcn.18004af10
mov ebx, eax
test r12, r12
jne 0x180033bde
mov r9d, 0xe6
lea rdx, [rbp - 0x19]
xor r8d, r8d
xor ecx, ecx
call fcn.18008d780
mov edx, dword [rbp + 0x77]
inc edx
inc r14d
mov dword [rbp + 0x77], edx
cmp edx, r15d
jae case.0x180033960.2
mov r9, qword [rbp + 0x67]
mov r8d, dword [rbp - 0x71]
mov r10, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x4f]
jmp 0x180033939