Function at 0x18003d5f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
mov edi, dword [rbp + 0x77]
mov r15d, r8d
mov r8, rdx
mov rsi, r9
mov rdx, rcx
lea eax, [r15 + 0x13]
mov dword [rbp - 0x39], eax
cmp r15d, eax
jae case.0x18003d673.138
mov ebx, dword [rbp + 0x77]
mov r12, qword [rbp - 0x31]
mov r14d, dword [rbp + 0x77]
mov r13, qword [rbp - 0x31]
lea eax, [r15 - 0x85]
lea r10, [0x18005fce0]
lea r9, [0x180000000]
cmp eax, 0x4c
ja case.0x18003d673.151
movzx eax, byte [r9 + rax + 0x3dd50]
mov ecx, dword [r9 + rax*4 + 0x3dd04]
add rcx, r9
jmp rcx
mov r8d, 0xa5
lea rdx, [rbp - 9]
xor ecx, ecx
call fcn.180059240
jmp 0x18003dc7e
mov qword [0x1800c9d18], rsi
jmp case.0x18003d673.151
xor edx, edx
mov dword [rbp + 0x77], 0xa
lea rax, [rbp + 0x77]
mov qword [rbp - 0x31], r10
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x41]
lea rax, [rbp - 0x31]
mov dword [rbp - 0x41], 0x10
lea ecx, [rdx + 0x59]
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.180034b90
xor r8d, r8d
mov rdx, rax
lea ecx, [r8 + 0x68]
call fcn.1800344c0
mov r8, qword [rbp + 0x6f]
inc r15d
cmp r15d, dword [rbp - 0x39]
jae case.0x18003d673.138
mov rdx, qword [rbp + 0x67]
mov rsi, qword [rbp + 0x7f]
jmp 0x18003d645
mov edx, 0xc4
lea rcx, [rbp - 0x29]
call fcn.18000edb0
mov r8, qword [rbp + 0x6f]
xor ebx, ebx
mov eax, dword [rbp - 0x69]
mov dword [r8 + 8], eax
jmp case.0x18003d673.151
xor r8d, r8d
mov rdx, r12
mov ecx, 0xc1
call fcn.1800452b0
mov rdx, qword [rbp - 0x61]
xor r8d, r8d
mov rcx, qword [rbp - 0x71]
call fcn.1800356a0
mov edi, r14d
jmp 0x18003d6d8
mov ecx, 0xc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, qword [0x1800c9d18]
mov edx, 1
mov rcx, rax
mov qword [rbp - 0x11], rax
lea r8d, [rdx + 0xb]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [0x1800b4160]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18003d770
jmp 0x18003d6d8
xor r8d, r8d
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x61]
call fcn.1800360d0
mov r14d, eax
test eax, eax
jne 0x18003dcf0
lea r9d, [rax + 0x7b]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18002b8b0
lea r9d, [r14 + 0x7b]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov r12, rax
call fcn.18002b8b0
mov r13, rax
test r12, r12
je 0x18003d7cd
test rax, rax
jne 0x18003d6d8
mov esi, 0x54
mov eax, esi
sub eax, 0x53
je case.0x18003d673.138
cmp eax, 1
jne 0x18003d817
mov rdx, qword [rbp - 0x71]
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call fcn.1800356a0
xor r8d, r8d
mov rdx, r12
mov ecx, 0xc1
call fcn.1800452b0
xor r8d, r8d
mov rdx, r13
mov ecx, 0xc1
call fcn.1800452b0
mov edi, 0xd
dec esi
cmp esi, 0x52
ja 0x18003d7d2
jmp 0x18003d6d8
xor edi, edi
jmp case.0x18003d673.151
test byte [rdx], 1
jne 0x18003d839
cmp dword [rsi + 8], 1
je 0x18003dcd2
lea rdx, [rbp - 0x29]
mov ecx, 0x76
call fcn.18003ac40
test eax, eax
jne 0x18003dcf0
lea rdx, [rbp - 0x59]
lea ecx, [rax + 0x76]
call fcn.18003ac40
mov r8, qword [rbp + 0x6f]
mov ebx, eax
test eax, eax
je case.0x18003d673.151
mov r15d, 0xc4
jmp case.0x18003d673.151
mov esi, 0x52
cmp esi, 0x52
je 0x18003d938
cmp esi, 0x2432
je 0x18003d8f2
cmp esi, 0x4812
je 0x18003d8d0
cmp esi, 0x6bf2
jne 0x18003d9cb
lea rax, [rbp - 0x59]
xor r9d, r9d
lea r8, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov edx, 0xde
lea rcx, [rbp - 9]
call fcn.18001ca80
mov rbx, rax
jmp 0x18003d9bf
xor r8d, r8d
lea rax, [rbp - 0x59]
lea r9, [rbp - 9]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 9]
lea ecx, [r8 + 0x41]
call fcn.180024cb0
jmp 0x18003d9bd
mov eax, dword [rdx]
lea r9, [rbp - 9]
mov dword [rbp + 0x77], eax
xor r8d, r8d
lea rax, [rbp - 9]
xor edx, edx
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp + 0x77]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x66
call fcn.18004caf0
jmp 0x18003d9bd
lea r8, [rbp - 0x59]
mov ecx, 0x93
lea rdx, [rbp - 0x29]
call fcn.1800373f0
mov ebx, eax
test eax, eax
jne 0x18003da89
mov r15, qword [rbp + 0x67]
lea r9, [rbp - 9]
lea r8, [rbp + 0x77]
mov ecx, 0x15d
lea rdx, [rbp - 0x29]
mov eax, dword [r15]
dec eax
mov dword [rbp + 0x77], eax
call fcn.180038ec0
mov ebx, eax
test eax, eax
jne 0x18003da89
lea r9d, [rax + 0x75]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18004fbb0
mov ebx, eax
test eax, eax
jne 0x18003da89
mov rcx, qword [rbp + 0x7f]
lea rax, [rbp - 0x59]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x59]
mov edx, 0xde
call fcn.18001ca80
mov ebx, eax
test eax, eax
jne 0x18003da89
mov rdx, qword [rbp + 0x67]
add esi, 0x23e0
cmp esi, 0x8f80
jbe 0x18003d885
mov r8d, 0x111
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.180037270
mov rdx, qword [rbp + 0x67]
test eax, eax
jne case.0x18003d673.144
mov eax, dword [rdx]
lea r9, [rbp - 0x59]
mov r15, rdx
mov dword [rbp + 0x77], eax
lea rdx, [rbp - 0x29]
mov ecx, 0x15d
lea r8, [rbp + 0x77]
call fcn.180038ec0
mov ebx, eax
test eax, eax
jne 0x18003da89
mov rsi, qword [rbp + 0x7f]
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0x111
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.180037270
cmp eax, 1
jne 0x18003da98
mov r9d, 0xe4
mov dword [rbp + 0x77], eax
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.1800208e0
mov ebx, eax
test eax, eax
jne 0x18003da89
mov eax, dword [r15]
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x77]
mov dword [rbp + 0x77], eax
lea rdx, [rbp - 0x29]
mov ecx, 0x15d
call fcn.180038ec0
mov ebx, eax
test eax, eax
je 0x18003da30
mov r8, qword [rbp + 0x6f]
mov r15d, 0xc2
jmp case.0x18003d673.151
mov eax, dword [rbp - 0x69]
mov r15d, 0xc0
mov dword [rsi + 8], eax
jmp 0x18003d6d8
mov rsi, qword [rbp - 0x11]
mov ecx, dword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atol]
xor r9d, r9d
mov dword [rsp + 0x28], 0x16
xor r8d, r8d
mov dword [rsi + 8], eax
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18002a120
jmp 0x18003d6d8
lea rsi, str.NnReJaH1ZgUufzkVqSr7UIuOhWn0
mov r15d, 0x57
nop word [rax + rax]
mov eax, r15d
sub eax, 0x57
je 0x18003dbe9
sub eax, 1
je 0x18003dbb6
sub eax, 1
je 0x18003db86
sub eax, 1
je 0x18003db6f
cmp eax, 1
jne 0x18003dc32
mov r9, qword [rbp - 0x61]
mov r8, r13
mov rcx, qword [rbp - 0x71]
mov rdx, r12
mov dword [rsp + 0x20], eax
call qword [0x1800ee750]
mov r14d, eax
test eax, eax
jne 0x18003dc50
mov rdx, qword [r13]
mov rcx, qword [r12]
call qword [0x1800ee658]
test eax, eax
jne 0x18003db64
mov rdx, qword [r13 + 8]
mov rcx, qword [r12 + 8]
call qword [0x1800ee658]
test eax, eax
je 0x18003dc32
mov r14d, 5
jmp 0x18003dc50
mov rcx, qword [rbp - 0x71]
mov edx, 1
mov r8, rcx
call qword [0x1800ee6b0]
jmp 0x18003dc2b
mov rdx, qword [rsi + 8]
mov r8d, 0x10
mov rcx, qword [r12 + 8]
call qword [0x1800ee680]
mov r14d, eax
test eax, eax
jne 0x18003dc50
mov rcx, qword [r12 + 0x10]
lea edx, [rax + 1]
call qword [0x1800ee638]
jmp 0x18003dc32
cmp dword [rbp - 0x79], 0
je 0x18003db64
mov rcx, qword [rbp - 0x71]
lea rdx, [rbp - 0x79]
call qword [0x1800ee748]
mov r14d, eax
test eax, eax
jne 0x18003dc50
cmp dword [rbp - 0x79], eax
je 0x18003db64
mov rdx, qword [rsi]
lea r8d, [rax + 0x10]
mov rcx, qword [r12]
call qword [0x1800ee680]
jmp 0x18003dc2b
mov rdx, qword [rsi - 0x18]
mov r8d, 0x10
mov rcx, qword [rbp - 0x61]
call qword [0x1800ee680]
mov r14d, eax
test eax, eax
jne 0x18003dc50
mov rdx, qword [rsi - 8]
lea r8d, [rax + 0x10]
mov rcx, qword [rbp - 0x71]
call qword [0x1800ee680]
mov r14d, eax
test eax, eax
jne 0x18003dc50
mov rcx, qword [rbp - 0x61]
lea rdx, [rbp - 0x79]
call qword [0x1800ee748]
mov r14d, eax
test eax, eax
jne 0x18003dc50
inc r15d
cmp r15d, 0x5c
jb 0x18003daf0
add rsi, 0x38
cmp dword [rsi - 0x28], 0
jne 0x18003dae1
xor r14d, r14d
mov r15d, 0xac
xor r8d, r8d
mov rdx, r13
lea ecx, [r15 + 0x15]
call fcn.1800452b0
jmp 0x18003d6d8
lea rdx, [rbp - 9]
mov ecx, 0x76
call fcn.18003ac40
mov ebx, eax
test eax, eax
je 0x18003dc98
mov r15d, 0xc3
lea rdx, [rbp - 0x59]
xor ecx, ecx
lea r8d, [r15 - 0x1e]
call fcn.180059240
jmp 0x18003d6d8
mov eax, dword [rsi + 8]
lea rdx, [rbp + 0x77]
mov r9d, 0x127
mov dword [rbp - 0x69], eax
xor r8d, r8d
mov dword [rsi + 8], 0
lea rcx, [rbp - 0x59]
mov dword [rbp + 0x77], 2
call fcn.180005420
jmp 0x18003d6d8
xor eax, eax
mov qword [rbp - 0x11], rax
jmp case.0x18003d673.151
mov eax, 0xfffffffd
jmp 0x18003dcf0
mov r8d, 0xa5
lea rdx, [rbp - 0x29]
xor ecx, ecx
call fcn.180059240
mov eax, ebx
jmp 0x18003dcf0
mov eax, edi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret