Function at 0x140130800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
mov r15, rcx
mov edx, 0x5c
mov rbx, qword [rax + 0x8918]
mov rcx, qword [rbx]
call fcn.14016eefc
mov rsi, qword [r15]
xor r13d, r13d
lea rbp, [rsi + 0x758]
mov rdi, rax
mov r14d, r13d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov rax, qword [rsi + 0x1e0]
shr edx, 6
mov qword [r15 + 0x378], rax
mov rax, qword [rsi + 0x168]
mov qword [r15 + 0x380], rax
mov rax, qword [r15]
mov dword [rsp + 0x20], edx
imul edx, edx, 0x3e8
sub ecx, edx
mov qword [rax + 0x128], rbp
imul ecx, ecx, 0x3e8
mov dword [rsp + 0x24], ecx
test rdi, rdi
jne 0x1401308af
mov eax, 0x25
jmp 0x140130a73
cmp byte [rdi + 1], r13b
je 0x1401308a5
mov rcx, qword [rbx]
mov qword [rsp + 0xa8], r12
cmp qword [rsi + 0x8900], r13
je 0x1401308d2
lea rdx, [0x1401e7280]
jmp 0x1401308fb
mov rax, qword [r15]
mov edx, 0x8301
mov r8d, dword [rax + 0x468]
call fcn.14018f5c4
test eax, eax
js 0x140130908
mov ecx, eax
call fcn.14016a1e4
mov rcx, qword [rbx]
lea rdx, [0x1401df514]
call fcn.14016e020
mov r12, rax
test rax, rax
jne 0x140130924
mov r8, qword [rbx]
lea rdx, str.Cant_open__s_for_writing
mov rcx, rsi
call fcn.140125b60
mov eax, reloc.WS2_32.dll_socket
jmp 0x140130a6b
mov rax, qword [rsi + 0x280]
cmp rax, 0xffffffffffffffff
je 0x14013094d
mov qword [rsi + 0x638], rax
test rax, rax
js 0x140130946
or dword [rsi + 0x660], 0x20
jmp 0x14013094d
and dword [rsi + 0x660], 0xffffffdf
cmp qword [rsi + 0x8900], r13
jge 0x14013099e
mov rcx, r12
call fcn.14017b5b4
lea rdx, [rsp + 0x28]
mov ecx, eax
call fcn.1401707ac
test eax, eax
je 0x140130992
mov rcx, r12
call fcn.1401679bc
mov r8, qword [rbx]
lea rdx, str.Cant_get_the_size_of__s
mov rcx, rsi
call fcn.140125b60
mov eax, reloc.WS2_32.dll_socket
jmp 0x140130a6b
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x8900], rax
mov rbx, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
mov rcx, r15
call fcn.140126bf0
mov edi, eax
test eax, eax
jne 0x140130a61
movsxd rax, dword [rsp + 0x20]
test eax, eax
jle 0x140130a4b
mov rdi, rax
mov rax, qword [rsi + 0x8900]
test rax, rax
je 0x1401309e8
cmp rdi, rax
jg 0x140130a2d
sub rax, rdi
mov rdi, r13
mov qword [rsi + 0x8900], rax
mov rcx, rbp
mov r9, r12
mov r8, rdi
mov edx, 1
call fcn.140168220
cmp rax, rdi
jne 0x140130a44
add r14, rdi
mov rcx, r15
mov qword [rsi + 0x648], r14
call fcn.14012f3a0
test eax, eax
jne 0x140130a3d
mov rdx, rbx
mov rcx, rsi
call fcn.14013ead0
mov edi, eax
test eax, eax
je 0x1401309a3
jmp 0x140130a61
lea rcx, [rax + rbp]
sub rdi, rax
mov qword [rsi + 0x8900], r13
jmp 0x1401309eb
mov edi, 0x2a
jmp 0x140130a61
mov edi, gethostname
jmp 0x140130a61
mov rcx, r15
call fcn.14012f3a0
mov ecx, edi
mov edi, 0x2a
test eax, eax
cmovne ecx, edi
mov edi, ecx
mov rcx, r12
call fcn.1401679bc
mov eax, edi
mov r12, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140166980
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret