Function at 0x140005e60
Capabilities:
Read file on windows
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x38]
lea ecx, [rax + rax*4]
movzx eax, word [rsp + 0x3a]
lea ecx, [rax + rcx*2]
movzx eax, word [rsp + 0x3e]
imul edx, ecx, 0x3e8
add edx, eax
cmp edx, 0x134ea20
jb 0x140005eac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x68], r12
call fcn.140006270
mov rcx, rax
call fcn.140003e30
mov r12, rax
test rax, rax
je 0x140006251
cmp qword [rax], 0
je 0x140006251
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], r13
xor r13d, r13d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
mov r15d, 1
nop dword [rax]
mov rcx, r12
call fcn.1400039f0
test rax, rax
je 0x140006136
mov rcx, rax
call fcn.1400043c0
mov r14, rax
test rax, rax
je 0x140005feb
cmp qword [rax], 0
je 0x140005feb
mov ecx, dword [0x14002a6f0]
mov ebp, r13d
test ecx, ecx
mov dword [0x1400287ac], r13d
cmove ecx, r15d
cmp dword [rax + 8], 0
mov dword [0x14002a6f0], ecx
jbe 0x140005fd9
mov r13d, 1
nop word [rax + rax]
mov ebx, ebp
add rbx, qword [r14]
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 4]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
movsxd rdi, eax
mov rdx, r13
lea ecx, [rdi + 1]
movsxd rcx, ecx
call fcn.140009b88
mov rsi, rax
test rax, rax
je 0x140005fd2
mov r8, rdi
lea rdx, [rbx + 8]
mov rcx, rax
call fcn.1400096b0
mov r8d, edi
mov rdx, rsi
mov ecx, r15d
call fcn.140001f30
mov rcx, rsi
call fcn.14000a0b4
add ebp, 8
add ebp, edi
cmp ebp, dword [r14 + 8]
jb 0x140005f70
xor r13d, r13d
lea r15d, [r13 + 1]
mov rcx, qword [r14]
call fcn.14000a0b4
mov rcx, r14
call fcn.14000a0b4
jmp 0x140005ff0
call fcn.1400056e0
mov rbx, qword [0x14002a760]
mov rbp, r13
test rbx, rbx
je 0x14000612f
cmp dword [rbx + 4], 0
jbe 0x1400060d3
mov ecx, 0x80004
call fcn.14000c354
mov r14, rax
test rax, rax
je 0x1400060d3
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [r14], eax
mov esi, r13d
mov edi, dword [rbx + 4]
mov dword [rsp + 0x30], r13d
cmp edi, 0x80000
jbe 0x140006048
mov edi, 0x80000
jmp 0x140006050
test edi, edi
je 0x14000608b
nop dword [rax]
mov rcx, qword [rbx + 8]
lea rdx, [r14 + 4]
mov eax, esi
lea r9, [rsp + 0x30]
add rdx, rax
mov qword [rsp + 0x20], r13
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000608b
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140006087
sub dword [rbx + 4], eax
add esi, eax
sub edi, eax
jne 0x140006050
jmp 0x14000608b
mov dword [rbx + 4], r13d
lea edx, [rsi + 4]
mov r8d, 8
mov rcx, r14
call fcn.140004760
mov rcx, r14
call fcn.14000a0b4
cmp dword [rbx + 4], 0
ja 0x1400060d3
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_htonl]
mov edx, 4
lea rcx, [rsp + 0x34]
mov dword [rsp + 0x34], eax
lea r8d, [rdx + 5]
call fcn.140004760
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140006003
mov rbx, qword [0x14002a760]
test rbx, rbx
je 0x14000612f
nop dword [rax]
cmp dword [rbx + 4], 0
mov rax, qword [rbx + 0x10]
ja 0x140006111
mov rcx, rbx
test rbp, rbp
je 0x140006123
mov qword [rbp + 0x10], rax
call fcn.14000a0b4
mov rbx, qword [rbp + 0x10]
jmp 0x140006117
mov rbp, rbx
mov rbx, rax
test rbx, rbx
jne 0x1400060f0
call fcn.140005cb0
jmp 0x140006144
mov qword [0x14002a760], rax
call fcn.14000a0b4
call fcn.140005cb0
jmp 0x140006144
cmp dword [0x140026a54], 0
je 0x140006144
call fcn.1400056e0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x38]
lea ecx, [rax + rax*4]
movzx eax, word [rsp + 0x3a]
lea ecx, [rax + rcx*2]
movzx eax, word [rsp + 0x3e]
imul edx, ecx, 0x3e8
add edx, eax
cmp edx, 0x134ea20
jae 0x140006210
mov eax, dword [0x1400287a4]
test eax, eax
je 0x1400061e4
mov r9d, dword [0x140026a58]
mov ecx, r9d
imul ecx, eax
mov eax, 0x51eb851f
mul ecx
mov ecx, r9d
mov eax, 0x10624dd3
mov r8d, edx
shr r8d, 5
sub ecx, r8d
mul ecx
lea ecx, [r8 + r9]
mov eax, 0x10624dd3
mov edi, edx
mul ecx
xor ecx, ecx
shr edi, 6
mov ebx, edx
shr ebx, 6
call fcn.14000a074
mov rcx, rax
call fcn.140009bbc
call fcn.140009b90
sub ebx, edi
cdq
inc ebx
idiv ebx
add edx, edi
imul ecx, edx, 0x3e8
jmp 0x1400061ea
mov ecx, dword [0x140026a58]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1400287a8]
test eax, eax
je 0x140005f10
mov dword [0x140026a58], eax
mov dword [0x1400287a8], r13d
jmp 0x140005f10
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x1a]
call fcn.140004760
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r12, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140007e30
add rsp, 0x78
ret