Function at 0x140009238
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x258]
sub rsp, 0x340
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14024daa8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, rcx
mov ecx, 0x104
call fcn.14000ab84
mov r12, rax
call fcn.140017ef4
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14000929e
mov ecx, 0x80004005
call fcn.14000253c
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r8, [rsi + 0x330]
mov r9, r8
lea rdx, str.._s._sAll_Files_._.
lea rcx, [rsp + 0x50]
call fcn.140002604
lea r9, [rsi + 0x22c]
mov dword [rsp + 0x40], 1
and dword [rsp + 0x38], 0
mov qword [rsp + 0x30], rsi
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 6
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14001d590
nop
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb edi, edi
and edi, 0xc
add edi, 0x4c
lea rcx, [rbp - 0x80]
call fcn.14005cda8
mov dword [rax], edi
lea rcx, [rbp - 0x80]
call fcn.14001e008
cmp rax, 1
jne 0x1400094ba
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.14001e1bc
mov rdx, qword [rax]
mov rcx, r12
call fcn.14014c230
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14000936e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, 0x110
call fcn.14000ab40
mov rdi, rax
mov ecx, dword [rsi + 0x3e8]
mov dword [rax + 0x10c], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.14001e1bc
lea rcx, [rdi + 8]
mov rdx, qword [rax]
call fcn.14014c230
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400093c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14001e1bc
lea rcx, [rsi + 0x128]
mov rdx, qword [rax]
call fcn.14014c230
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400093fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsi + 0x40]
mov qword [rdi], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x14000950c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000945a
xor r9d, r9d
lea r8, str.Error
lea rdx, [0x140211338]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
lea rcx, [rbp - 0x80]
call fcn.14001d334
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
jmp 0x1400094cb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x1395
mov rcx, rsi
call fcn.140013b60
mov rcx, rax
xor edx, edx
call fcn.140013df8
lea rcx, [rsi + 0xcf8]
mov edx, 5
call fcn.140013df8
nop
lea rcx, [rbp - 0x80]
call fcn.14001d334
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400094b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, r12
jmp 0x1400094e3
lea rcx, [rbp - 0x80]
call fcn.14001d334
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400094e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14014b380
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret