Function at 0x1400028b0
Capabilities:
Initialize winsock library
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc18]
sub rsp, 0xce0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14002b460]
xor rax, rsp
mov qword [rbp + 0xbd0], rax
mov rsi, rdx
mov edi, ecx
mov qword [rbp - 0x80], rdx
mov dword [0x14002da80], ecx
call fcn.140001850
xor ebx, ebx
test eax, eax
je 0x140002910
cmp edi, 1
jne 0x140002910
mov edx, edi
call fcn.1400018b8
cmp qword [0x14002daa8], rbx
jne 0x14000294a
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x202
lea rdx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
mov edx, 0x1f400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x14002daa8], rax
call fcn.140009580
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
mov ecx, edi
call fcn.140001e10
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140002c37
mov dword [rsp + 0x50], ebx
movsxd rax, dword [rsp + 0x40]
imul rdx, rax, 0xa94
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
test rax, rax
je 0x140002bb6
mov r13d, ebx
cmp dword [rsp + 0x40], ebx
jle 0x140002bb6
mov rbx, rax
mov qword [rsp + 0x60], rax
add r12, 0x74
xor edx, edx
mov r8d, 0xa94
lea rcx, [rbp + 0x130]
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], 0x400
mov dword [rsp + 0x54], eax
movsxd rax, r13d
imul rcx, rax, 0x274
mov rax, qword [rsp + 0x68]
add rax, 0x14
add rcx, rax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_WSCGetProviderPath]
call fcn.140001850
test eax, eax
je 0x140002b0e
cmp edi, 1
jne 0x140002b0e
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140005224
nop
lea rcx, [rsp + 0x48]
call fcn.140004db8
lea r8, str._syswow64_
lea rdx, str._system32_
lea rcx, [rsp + 0x48]
call fcn.140004e30
mov rbx, qword [rsp + 0x48]
mov eax, dword [rbx - 0x10]
mov dword [rsp + 0x5c], eax
cmp dword [rbx - 8], edi
jle 0x140002aa0
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140005640
mov rbx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x5c]
movsxd r8, eax
add r8, r8
mov rdx, rbx
lea rcx, [rbp + 0x130]
call sub.msvcrt.dll_memcpy
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400166d0
xor r8d, r8d
test eax, eax
js 0x140002c7e
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx - 0xc]
jg 0x140002c7e
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsp + 0x48]
mov word [rax + rcx*2], r8w
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002b09
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x60]
movups xmm0, xmmword [r12 - 0x60]
movdqu xmmword [rbp + 0x930], xmm0
mov rax, r12
lea rcx, [rbp + 0x940]
mov edx, 2
lea r8d, [rdx + 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140002b2f
mov rcx, rbx
lea rdx, [rbp + 0x130]
mov r8d, 0xa94
call sub.msvcrt.dll_memcpy
inc r13d
add r12, 0x274
add rbx, 0xa94
mov qword [rsp + 0x60], rbx
cmp r13d, dword [rsp + 0x40]
jl 0x1400029dd
mov r12, qword [rsp + 0x68]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
imul r8d, dword [rsp + 0x40], 0xa94
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [0x14002daa8]
test rcx, rcx
je 0x140002c13
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
je 0x140002c21
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001850
test eax, eax
je 0x140002c37
cmp edi, 1
jne 0x140002c37
xor edx, edx
call fcn.1400018b8
nop
mov rdx, qword [rsi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140002c54
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0xbd0]
xor rcx, rsp
call fcn.14001a4a0
mov rbx, qword [rsp + 0xd30]
add rsp, 0xce0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140006934
int3