Function at 0x14015c4e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
lea rdi, [rsp + 0x30]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x130]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x140], 0x7fffffff
ja 0x14015c543
cmp qword [rsp + 0x150], 0x7fffffff
jbe 0x14015c54a
xor eax, eax
jmp 0x14015cdd8
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x14015c574
xor eax, eax
jmp 0x14015cdd8
cmp qword [rsp + 0x140], 1
jbe 0x14015c5b0
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x138]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax - 1]
test eax, eax
jne 0x14015c5b0
mov rax, qword [rsp + 0x140]
dec rax
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x1018], 0
je 0x14015c8df
mov r9d, dword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x1018]
call fcn.140141930
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14015c814
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14015c68e
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x14015c68e
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14015c68e
xor eax, eax
cmp eax, 1
je 0x14015c68e
mov rax, qword [rsp + 0x140]
add rax, 0x1c
mov r9d, 0x30b
lea r8, [0x140561480]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0xf0], rax
jmp 0x14015c69a
mov qword [rsp + 0xf0], 0
movsxd rax, dword [rsp + 0x140]
add rax, 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.1401375b0
mov qword [rsp + 0xb8], rax
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax - 0x18]
mov rcx, qword [rsp + 0xb8]
call fcn.14015b100
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
xor ecx, ecx
call fcn.140175890
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xb8]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
mov dword [rcx + rdx], eax
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax - 0x18]
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x1018]
call fcn.140141930
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x14015c7f0
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x98]
add rcx, 0x34
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov rdx, rax
call fcn.1400bc3a0
cmp qword [rsp + 0x148], 0
je 0x14015c7f0
movsxd rax, dword [rsp + 0xa8]
cmp qword [rsp + 0x150], rax
jb 0x14015c7f0
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x98]
add rcx, 0x34
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
mov r8, qword [rsp + 0x148]
mov rdx, rax
call fcn.1400bc3a0
nop
mov rcx, qword [rsp + 0xb8]
call fcn.140137da0
cmp qword [rsp + 0xa8], 0
jbe 0x14015c814
mov eax, dword [rsp + 0xa8]
jmp 0x14015cdd8
cmp qword [rsp + 0x98], 0
je 0x14015c8df
cmp qword [rsp + 0x148], 0
je 0x14015c8bb
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
cmp qword [rsp + 0x150], rax
jb 0x14015c8bb
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x98]
add rcx, 0x34
mov r9, rax
mov r8, rcx
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x148]
call fcn.14015b100
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
cmp qword [rsp + 0x150], rax
jbe 0x14015c8a9
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x148]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x30]
jmp 0x14015cdd8
cmp qword [rsp + 0x150], 0
jne 0x14015c8d8
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x30]
jmp 0x14015cdd8
xor eax, eax
jmp 0x14015cdd8
mov r9d, dword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x1010]
call fcn.140141930
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x14015ca85
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14015c99b
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x14015c99b
mov rax, qword [rsp + 0x140]
add rax, 4
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14015c99b
xor eax, eax
cmp eax, 1
je 0x14015c99b
mov rax, qword [rsp + 0x140]
add rax, 0x1c
mov r9d, 0x332
lea r8, [0x1405614d0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0xf8], rax
jmp 0x14015c9a7
mov qword [rsp + 0xf8], 0
movsxd rax, dword [rsp + 0x140]
add rax, 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1401375b0
mov qword [rsp + 0xc0], rax
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax - 0x18]
mov rcx, qword [rsp + 0xc0]
call fcn.14015b100
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0xc0]
xor ecx, ecx
call fcn.140175890
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0xc0]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
mov dword [rcx + rdx], eax
mov rax, qword [rsp + 0xc0]
mov r9d, dword [rax - 0x18]
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x1010]
call fcn.140141930
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140137da0
cmp qword [rsp + 0x90], 0
je 0x14015ca85
mov dword [rsp + 0x30], 1
cmp qword [rsp + 0x90], 0
jne 0x14015ca97
xor eax, eax
jmp 0x14015cdd8
cmp qword [rsp + 0x148], 0
je 0x14015cba6
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
cmp qword [rsp + 0x150], rax
jb 0x14015cba6
cmp dword [rsp + 0x30], 0
jne 0x14015cba6
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x38]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call fcn.1403b5fc0
test eax, eax
je 0x14015caf4
xor eax, eax
jmp 0x14015cdd8
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x88]
mov r9, qword [rcx]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x148]
call fcn.1403b55a0
test rax, rax
jne 0x14015cb2b
xor eax, eax
jmp 0x14015cdd8
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.1401322e0
mov rax, qword [rsp + 0x90]
add rax, 4
mov r8d, 0x30
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1404104c0
test eax, eax
je 0x14015cb75
xor eax, eax
jmp 0x14015cdd8
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
cmp qword [rsp + 0x150], rax
jbe 0x14015cba1
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x148]
mov byte [rcx + rax], 0
jmp 0x14015cd93
cmp dword [rsp + 0x30], 0
je 0x14015cd93
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14015cc30
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x14015cc30
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14015cc30
xor eax, eax
cmp eax, 1
je 0x14015cc30
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
add rax, 0x18
mov r9d, 0x346
lea r8, [0x140561520]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x100], rax
jmp 0x14015cc3c
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.1401375b0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xd8], rax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x38]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call fcn.1403b5fc0
test eax, eax
je 0x14015cc9f
xor eax, eax
jmp 0x14015cdd8
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x88]
mov r9, qword [rcx]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call fcn.1403b55a0
test rax, rax
jne 0x14015ccd6
xor eax, eax
jmp 0x14015cdd8
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xd8]
mov r8, qword [rsp + 0x148]
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400bc3a0
test eax, eax
jne 0x14015cd82
mov rcx, qword [rsp + 0xc8]
call fcn.140137da0
cmp qword [rsp + 0x148], 0
jne 0x14015cd31
mov eax, dword [rsp + 0xd8]
jmp 0x14015cdd8
movsxd rax, dword [rsp + 0xd8]
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x148]
call fcn.14015df50
mov rax, qword [rsp + 0x90]
add rax, 4
mov r8d, 0x30
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1404104c0
test eax, eax
jne 0x14015cd7c
mov eax, dword [rsp + 0xd8]
jmp 0x14015cdd8
xor eax, eax
jmp 0x14015cdd8
mov rcx, qword [rsp + 0xc8]
call fcn.140137da0
xor eax, eax
jmp 0x14015cdd8
cmp qword [rsp + 0x150], 0
je 0x14015cdc0
mov rax, qword [rsp + 0x90]
movsxd rax, dword [rax]
cmp qword [rsp + 0x150], rax
jae 0x14015cdc0
mov dword [rsp + 0x108], 0
jmp 0x14015cdd1
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x120
pop rdi
ret