Function at 0x1401aba90
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov r13, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x14082e958]
xor rax, rbp
mov qword [rbp + 0x40], rax
mov eax, dword [0x140838530]
mov ecx, dword [0x140838534]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rbp + 0x37]
cmp ecx, 0xa
setl byte [rbp + 0x36]
lea rax, [r15 + 0x80]
mov qword [rbp - 0x48], rax
mov eax, 0x6e07356e
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7fb8c887
mov ecx, 0x65d83e91
nop dword [rax]
cmove eax, ecx
cmp dword [0x140838534], 0xa
cmovl eax, ecx
cmp eax, 0xce1d776
jle 0x1401abb90
cmp eax, 0x3f101c25
jle 0x1401abc50
cmp eax, 0x6e048315
jle 0x1401abd23
cmp eax, 0x76ebb331
jle 0x1401abe30
cmp eax, 0x7fa193cf
jg 0x1401ac083
cmp eax, 0x76ebb332
je 0x1401ac0bb
cmp eax, 0x7f77c7ff
jne 0x1401abb1d
test r12d, r12d
mov eax, 0x8b8a2f98
mov ecx, 0x97fb62e1
cmove eax, ecx
mov rcx, qword [rbp - 0x60]
mov qword [rbp - 0x10], rcx
mov dword [rbp + 0x14], r12d
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x50], rsi
jmp 0x1401abb1d
cmp eax, 0xbcd1e941
jle 0x1401abcc0
cmp eax, 0xe5051d4d
jg 0x1401abd60
cmp eax, 0xd1e2fa3f
jg 0x1401abe94
cmp eax, 0xc3cba5d3
jle 0x1401ac0a3
cmp eax, 0xc3cba5d4
je 0x1401ac0c9
cmp eax, 0xcd28d788
jne 0x1401abb1d
mov rax, qword [rbp + 8]
mov r9, qword [rax]
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rsp, 0x20
mov rcx, qword [rbp + 0x18]
add rcx, rax
mov qword [rbp - 0x60], rcx
mov rcx, qword [rbp + 0x38]
mov rcx, qword [rcx]
sub rcx, rax
mov qword [rbp - 0x38], rcx
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp - 0x38]
mov qword [rcx], rdx
cmp rax, 0xfff
setne byte [rbp + 0x32]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x75d9bd49
mov ecx, 0x3f101c26
jmp 0x1401abb10
cmp eax, 0x328b0ae0
jg 0x1401abd9c
cmp eax, 0x1f6929ca
jg 0x1401abf17
cmp eax, 0xce1d777
je 0x1401ac0e0
cmp eax, 0x14a18b87
je 0x1401ac0fe
cmp eax, 0x15b65d7a
jne 0x1401abb1d
mov rax, qword [rbp + 0x38]
mov rcx, r13
sub rcx, qword [rax]
mov qword [rbp - 0x68], rcx
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x76ebb332
mov ecx, 0xe59dc245
jmp 0x1401abb10
cmp eax, 0xaa479bd8
jg 0x1401abdfa
cmp eax, 0x97fb62e0
jg 0x1401abf75
cmp eax, 0x85dd7ae4
je 0x1401ac123
cmp eax, 0x89409ee8
je 0x1401ac139
cmp eax, 0x8b8a2f98
jne 0x1401abb1d
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x10], eax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x78], rax
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbcd1e942
mov ecx, 0x339d778e
jmp 0x1401abb10
cmp eax, 0x42b4979b
jg 0x1401abfaf
cmp eax, 0x3f101c26
je 0x1401ac157
cmp eax, 0x411efa30
je 0x1401ac16d
cmp eax, 0x421877ce
jne 0x1401abb1d
mov eax, 0x7f77c7ff
xor r12d, r12d
mov rsi, qword [rbp - 0x40]
jmp 0x1401abb1d
cmp eax, 0xfd20c691
jg 0x1401abfde
cmp eax, 0xe5051d4e
je 0x1401ac1eb
cmp eax, 0xe59dc245
je 0x1401ac202
cmp eax, 0xf5c0d157
jne 0x1401abb1d
mov eax, 0xc1295519
xor ecx, ecx
mov qword [rbp - 8], rcx
jmp 0x1401abb1d
cmp eax, 0x38a04c2c
jg 0x1401ac015
cmp eax, 0x328b0ae1
je 0x1401ac214
cmp eax, 0x339d778e
je 0x1401ac22a
cmp eax, 0x35f98a46
jne 0x1401abb1d
mov rax, qword [rbp - 0x48]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
cmp qword [rax], 0
setne byte [rbp + 0x34]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb760f596
mov ecx, 0x2c885e1f
jmp 0x1401abb10
cmp eax, 0xac1b8fbc
jg 0x1401ac058
cmp eax, 0xaa479bd9
je 0x1401ac250
cmp eax, 0xaadacdc2
je 0x1401ac29d
cmp eax, 0xaba810a9
jne 0x1401abb1d
mov eax, 0xaa479bd9
jmp 0x1401abb1d
cmp eax, 0x6e048316
je 0x1401ac2cb
cmp eax, 0x6e07356e
je 0x1401ac302
cmp eax, 0x75d9bd49
jne 0x1401abb1d
mov rax, qword [rbp + 8]
mov r9, qword [rax]
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rsp, 0x20
mov rcx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x38]
mov rcx, qword [rcx]
sub rcx, rax
mov rax, qword [rbp + 0x38]
mov qword [rax], rcx
mov eax, 0xcd28d788
jmp 0x1401abb1d
cmp eax, 0xd1e2fa40
je 0x1401ac321
cmp eax, 0xd3c320a3
je 0x1401ac333
cmp eax, 0xe061d3dc
jne 0x1401abb1d
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
mov rcx, qword [rcx]
mov rbx, qword [rax]
cmp rcx, rbx
cmovb rbx, rcx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x38]
mov rdx, qword [rax]
sub rsp, 0x20
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
sub rax, rbx
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x50]
sub dword [rcx], ebx
mov rax, qword [rax + 0x38]
movsxd rcx, ebx
add qword [rax], rcx
mov eax, 0x411efa30
jmp 0x1401abb1d
cmp eax, 0x1f6929cb
je 0x1401ac38c
cmp eax, 0x2c885e1f
je 0x1401ac39a
cmp eax, 0x3168bf73
jne 0x1401abb1d
mov rax, qword [rbp + 8]
mov r9, qword [rax]
mov r8, qword [rbp]
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rsp, 0x20
mov rcx, qword [rbp + 0x38]
mov rcx, qword [rcx]
sub rcx, rax
mov rax, qword [rbp + 0x38]
mov qword [rax], rcx
mov eax, 0xa8b454f5
jmp 0x1401abb1d
cmp eax, 0x97fb62e1
je 0x1401ac3b0
cmp eax, 0x9a8eea7b
je 0x1401ac3de
cmp eax, 0xa8b454f5
jne 0x1401abb1d
mov eax, 0x8b8a2f98
mov dword [rbp + 0x14], 0
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x18], rcx
jmp 0x1401abb1d
cmp eax, 0x42b4979c
je 0x1401abaf4
cmp eax, 0x65d83e91
je 0x1401ac3fc
cmp eax, 0x6828babe
jne 0x1401abb1d
mov rax, qword [rbp]
mov eax, 0xfd20c692
jmp 0x1401abb1d
cmp eax, 0xfd20c692
je 0x1401ac41a
cmp eax, 0x928763d
je 0x1401ac441
cmp eax, 0x9514acb
jne 0x1401abb1d
cmp byte [rbp + 0x33], 0
mov eax, 0x89409ee8
mov ecx, 0x38aa1f1e
cmovne eax, ecx
jmp 0x1401abb1d
cmp eax, 0x38a04c2d
je 0x1401ac45f
cmp eax, 0x38aa1f1e
je 0x1401ac46d
cmp eax, 0x397b1609
jne 0x1401abb1d
mov qword [rbp - 0x70], r14
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb760f596
mov ecx, 0x35f98a46
jmp 0x1401abb10
cmp eax, 0xac1b8fbd
je 0x1401ac48b
cmp eax, 0xb2a30185
je 0x1401ac4ad
cmp eax, 0xb760f596
jne 0x1401abb1d
mov eax, 0x35f98a46
jmp 0x1401abb1d
cmp eax, 0x7fa193d0
je 0x1401ac4b7
cmp eax, 0x7fb8c887
jne 0x1401abb1d
mov eax, 0x65d83e91
jmp 0x1401abb1d
cmp eax, 0xbcd1e942
jne 0x1401ac4ed
mov eax, dword [rbp + 0x10]
mov eax, 0x339d778e
jmp 0x1401abb1d
mov rax, qword [rbp + 0x38]
mov eax, 0x15b65d7a
jmp 0x1401abb1d
mov rsi, r13
sub rsi, qword [rbp - 0x38]
mov eax, 0x7f77c7ff
mov r12d, 1
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xe061d3dc
mov ecx, 0x411efa30
jmp 0x1401abb10
sub rsp, 0x20
mov rcx, r15
mov rdx, rdi
mov r8, r13
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
add rsp, 0x20
mov qword [rbp - 8], rax
mov eax, 0xc1295519
jmp 0x1401abb1d
cmp byte [rbp + 0x35], 0
mov eax, 0xe5051d4e
mov ecx, 0x42b4979c
cmovne eax, ecx
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x6828babe
mov ecx, 0xfd20c692
jmp 0x1401abb10
cmp byte [rbp + 0x32], 0
mov eax, 0x421877ce
mov ecx, 0xc3cba5d4
cmovne eax, ecx
jmp 0x1401abb1d
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
mov rcx, qword [rcx]
mov rbx, qword [rax]
cmp rcx, rbx
cmovb rbx, rcx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x38]
mov rdx, qword [rax]
sub rsp, 0x20
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add rsp, 0x20
lea rax, [rdi + rbx]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
sub rax, rbx
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x50]
sub dword [rcx], ebx
mov rax, qword [rax + 0x38]
movsxd rcx, ebx
add qword [rax], rcx
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xe061d3dc
mov ecx, 0x1f6929cb
jmp 0x1401abb10
cmp qword [r15 + 0x68], 0
mov eax, 0x14a18b87
mov ecx, 0xd3c320a3
cmove eax, ecx
jmp 0x1401abb1d
mov eax, 0xaadacdc2
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x20], rcx
jmp 0x1401abb1d
cmp byte [rbp + 0x31], 0
mov eax, 0xa8b454f5
mov ecx, 0x3168bf73
cmovne eax, ecx
jmp 0x1401abb1d
cmp dword [rbp + 0x10], 0
sete byte [rbp + 0x30]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xbcd1e942
mov ecx, 0x9a8eea7b
jmp 0x1401abb10
mov eax, reloc.WS2_32.dll_recv
call fcn.1403844e0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x38], rax
mov eax, reloc.WS2_32.dll_recv
call fcn.1403844e0
sub rsp, rax
mov rax, rsp
test r13, r13
setle byte [rbp + 0x35]
mov qword [rbp + 0x28], rax
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xaba810a9
mov ecx, 0x85dd7ae4
jmp 0x1401abb10
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb2a30185
mov ecx, 0x928763d
jmp 0x1401abb10
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov qword [rbp], rax
mov rax, qword [rbp]
cmp rax, 0x1000
setae byte [rbp + 0x33]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x38a04c2d
mov ecx, 0x9514acb
jmp 0x1401abb10
movzx ecx, byte [rbp + 0x37]
cmp byte [rbp + 0x36], 0
mov eax, 0xaba810a9
mov edx, 0xaa479bd9
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x1401abb1d
mov eax, 0xc1295519
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 8], rcx
jmp 0x1401abb1d
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rbp + 0x38]
mov qword [rax], r13
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x20], r15
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x38]
cmp qword [rcx], 0
je 0x1401ac4d5
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rax]
mov rax, qword [rbp + 0x28]
mov qword [rax], rcx
mov eax, 0xce1d777
mov r14, rdi
test rcx, rcx
jne 0x1401abb1d
jmp 0x1401ac4e0
mov eax, 0x397b1609
mov r14, qword [rbp - 0x58]
jmp 0x1401abb1d
cmp byte [rbp + 0x34], 0
mov eax, 0x7fa193d0
mov ecx, 0xac1b8fbd
cmovne eax, ecx
jmp 0x1401abb1d
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x18], rax
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x38a04c2d
mov ecx, 0x6e048316
jmp 0x1401abb10
cmp byte [rbp + 0x30], 0
mov eax, 0xaadacdc2
mov ecx, 0x7fa193d0
cmovne eax, ecx
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x20], rcx
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7fb8c887
mov ecx, 0xf5c0d157
jmp 0x1401abb10
cmp qword [rbp], 0
setne byte [rbp + 0x31]
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x6828babe
mov ecx, 0x328b0ae1
jmp 0x1401abb10
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb2a30185
mov ecx, 0xd1e2fa40
jmp 0x1401abb10
mov rax, qword [rbp + 0x38]
mov eax, 0x6e048316
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x75d9bd49
mov ecx, 0xcd28d788
jmp 0x1401abb10
sub rsp, 0x20
mov rcx, r15
call fcn.1401a9080
add rsp, 0x20
mov eax, 0x97fb62e1
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x10], rcx
jmp 0x1401abb1d
mov eax, 0x928763d
jmp 0x1401abb1d
mov eax, dword [0x140838530]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x76ebb332
mov ecx, 0x15b65d7a
jmp 0x1401abb10
mov rax, qword [rbp + 0x28]
mov qword [rax], 0
mov eax, 0x397b1609
mov r14, rdi
jmp 0x1401abb1d
cmp eax, 0xc1295519
jne 0x1401abb1d
mov rcx, qword [rbp + 0x40]
xor rcx, rbp
sub rsp, 0x20
call fcn.140384540
add rsp, 0x20
mov rax, qword [rbp - 8]
lea rsp, [rbp + 0x48]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret