Function at 0x180016420
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800c34c8]
xor rax, rsp
mov qword [rsp + 0xf70], rax
mov ecx, 8
call fcn.18003c2d4
xor edx, edx
test rax, rax
je 0x180016475
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x180016478
mov rax, rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rdx
mov esi, edx
mov eax, 0x5b
mov word [rsp + 0x8e0], ax
mov ecx, 0x40
mov word [rsp + 0x8e2], cx
mov eax, 0x5a
mov word [rsp + 0x8e4], ax
mov word [rsp + 0x8e6], cx
mov eax, 0x47
mov word [rsp + 0x8e8], ax
mov eax, Ordinal_79
mov word [rsp + 0x8ea], ax
mov eax, 7
mov word [rsp + 0x8ec], ax
mov ecx, Ordinal_79
mov word [rsp + 0x8ee], cx
mov eax, 0x51
mov word [rsp + 0x8f0], ax
mov word [rsp + 0x8f2], cx
mov r13d, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x8f4], r13w
mov ebp, 0x6a
mov r8, rbp
xor edx, edx
lea rcx, [rsp + 0x8f6]
call fcn.18003bb80
mov edi, 0x7b
mov word [rsp + 0x960], di
mov r15d, 0x68
mov word [rsp + 0x962], r15w
mov ebx, 0x7f
mov word [rsp + 0x964], bx
mov r14d, 0x44
mov word [rsp + 0x966], r14w
mov r12d, 0x46
mov word [rsp + 0x968], r12w
mov eax, 0x47
mov word [rsp + 0x96a], ax
mov eax, WSASetLastError
mov word [rsp + 0x96c], ax
mov eax, 7
mov word [rsp + 0x96e], ax
mov edx, Ordinal_79
mov word [rsp + 0x970], dx
mov eax, 0x51
mov word [rsp + 0x972], ax
mov word [rsp + 0x974], dx
mov word [rsp + 0x976], r13w
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x978]
call fcn.18003bb80
mov word [rsp + 0x9e0], di
mov word [rsp + 0x9e2], r15w
mov word [rsp + 0x9e4], bx
mov word [rsp + 0x9e6], r14w
mov word [rsp + 0x9e8], r12w
mov eax, 0x47
mov word [rsp + 0x9ea], ax
mov eax, 7
mov word [rsp + 0x9ec], ax
mov r12d, Ordinal_79
mov word [rsp + 0x9ee], r12w
mov eax, 0x51
mov word [rsp + 0x9f0], ax
mov word [rsp + 0x9f2], r12w
mov word [rsp + 0x9f4], r13w
mov r8, rbp
xor edx, edx
lea rcx, [rsp + 0x9f6]
call fcn.18003bb80
mov word [rsp + 0xa60], di
mov word [rsp + 0xa62], r15w
mov word [rsp + 0xa64], bx
mov r13d, 0x5d
mov word [rsp + 0xa66], r13w
mov eax, 0x40
mov word [rsp + 0xa68], ax
mov word [rsp + 0xa6a], r14w
mov word [rsp + 0xa6c], r12w
mov ebx, 0x5b
mov word [rsp + 0xa6e], bx
mov r14d, 7
mov word [rsp + 0xa70], r14w
mov word [rsp + 0xa72], r12w
mov ebp, 0x51
mov word [rsp + 0xa74], bp
mov word [rsp + 0xa76], r12w
mov edi, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0xa78], di
xor edx, edx
lea r8d, [r15 - 2]
lea rcx, [rsp + 0xa7a]
call fcn.18003bb80
mov word [rsp + 0xae0], bx
mov r12d, 0x48
mov word [rsp + 0xae2], r12w
mov eax, 0x5f
mov word [rsp + 0xae4], ax
mov word [rsp + 0xae6], r14w
mov eax, Ordinal_79
mov word [rsp + 0xae8], ax
mov word [rsp + 0xaea], bp
mov word [rsp + 0xaec], ax
mov word [rsp + 0xaee], di
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0xaf0]
call fcn.18003bb80
mov ebp, reloc.WLDAP32.dll_Ordinal_26
mov word [rsp + 0x360], bp
mov edi, Ordinal_35
mov word [rsp + 0x362], di
mov ebx, Ordinal_26
mov word [rsp + 0x364], bx
mov eax, 0x7d
mov word [rsp + 0x366], ax
mov eax, 0x5b
mov word [rsp + 0x368], ax
mov word [rsp + 0x36a], r12w
mov eax, 0x50
mov word [rsp + 0x36c], ax
mov eax, 7
mov word [rsp + 0x36e], ax
mov edx, Ordinal_79
mov word [rsp + 0x370], dx
mov eax, 0x51
mov word [rsp + 0x372], ax
mov word [rsp + 0x374], dx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x376], ax
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x378]
call fcn.18003bb80
mov word [rsp + 0x3e0], bp
mov word [rsp + 0x3e2], di
mov word [rsp + 0x3e4], bx
mov r15d, 0x7a
mov word [rsp + 0x3e6], r15w
mov word [rsp + 0x3e8], r12w
mov r12d, reloc.WLDAP32.dll_Ordinal_79
mov word [rsp + 0x3ea], r12w
mov ecx, Ordinal_79
mov word [rsp + 0x3ec], cx
mov eax, 7
mov word [rsp + 0x3ee], ax
mov word [rsp + 0x3f0], cx
mov eax, 0x51
mov word [rsp + 0x3f2], ax
mov word [rsp + 0x3f4], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x3f6], ax
xor edx, edx
lea r8d, [r13 + 0xb]
lea rcx, [rsp + 0x3f8]
call fcn.18003bb80
mov r11d, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x460], r11w
mov eax, 0x41
mov word [rsp + 0x462], ax
mov ecx, 0x5c
mov word [rsp + 0x464], cx
mov eax, WSASetLastError
mov word [rsp + 0x466], ax
mov eax, 0x46
mov word [rsp + 0x468], ax
mov r8d, 0x47
mov word [rsp + 0x46a], r8w
mov edx, Ordinal_79
mov word [rsp + 0x46c], dx
mov eax, reloc.WS2_32.dll_WSAGetLastError
mov word [rsp + 0x46e], ax
mov eax, 0x48
mov word [rsp + 0x470], ax
mov word [rsp + 0x472], r8w
mov word [rsp + 0x474], dx
mov word [rsp + 0x476], r14w
mov word [rsp + 0x478], cx
mov eax, 7
mov word [rsp + 0x47a], ax
mov edx, Ordinal_79
mov word [rsp + 0x47c], dx
mov eax, 0x51
mov word [rsp + 0x47e], ax
mov word [rsp + 0x480], dx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x482], ax
mov r8, rcx
xor edx, edx
lea rcx, [rsp + 0x484]
call fcn.18003bb80
mov word [rsp + 0xb60], bp
mov word [rsp + 0xb62], di
mov word [rsp + 0xb64], bx
mov eax, 0x5a
mov word [rsp + 0xb66], ax
mov r14d, Ordinal_79
mov word [rsp + 0xb68], r14w
mov eax, 7
mov word [rsp + 0xb6a], ax
mov ecx, Ordinal_79
mov word [rsp + 0xb6c], cx
mov eax, 0x51
mov word [rsp + 0xb6e], ax
mov word [rsp + 0xb70], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0xb72], ax
xor edx, edx
lea r8d, [r13 + 0xf]
lea rcx, [rsp + 0xb74]
call fcn.18003bb80
mov edi, 0x62
mov word [rsp + 0x4e0], di
mov word [rsp + 0x4e2], r15w
mov ebp, 0x48
mov word [rsp + 0x4e4], bp
mov word [rsp + 0x4e6], r12w
mov ecx, Ordinal_79
mov word [rsp + 0x4e8], cx
mov word [rsp + 0x4ea], r15w
mov eax, 0x5f
mov word [rsp + 0x4ec], ax
mov ebx, 0x4a
mov word [rsp + 0x4ee], bx
mov eax, 7
mov word [rsp + 0x4f0], ax
mov word [rsp + 0x4f2], cx
mov eax, 0x51
mov word [rsp + 0x4f4], ax
mov word [rsp + 0x4f6], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x4f8], ax
xor edx, edx
lea r8d, [r13 + 9]
lea rcx, [rsp + 0x4fa]
call fcn.18003bb80
mov word [rsp + 0x560], di
mov word [rsp + 0x562], r15w
mov word [rsp + 0x564], bp
mov word [rsp + 0x566], r12w
mov ecx, Ordinal_79
mov word [rsp + 0x568], cx
mov eax, 0x7d
mov word [rsp + 0x56a], ax
mov eax, 0x5b
mov word [rsp + 0x56c], ax
mov word [rsp + 0x56e], bp
mov edi, 0x50
mov word [rsp + 0x570], di
mov eax, 7
mov word [rsp + 0x572], ax
mov word [rsp + 0x574], cx
mov eax, 0x51
mov word [rsp + 0x576], ax
mov word [rsp + 0x578], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x57a], ax
mov r12d, 0x64
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x57c]
call fcn.18003bb80
mov ebp, 0x42
mov word [rsp + 0x6e0], bp
mov ecx, 0x51
mov word [rsp + 0x6e2], cx
mov edx, Ordinal_79
mov word [rsp + 0x6e4], dx
mov word [rsp + 0x6e6], r13w
mov r13d, 0x5b
mov word [rsp + 0x6e8], r13w
mov eax, 0x48
mov word [rsp + 0x6ea], ax
mov word [rsp + 0x6ec], di
mov eax, 7
mov word [rsp + 0x6ee], ax
mov word [rsp + 0x6f0], dx
mov word [rsp + 0x6f2], cx
mov word [rsp + 0x6f4], dx
mov edi, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x6f6], di
xor edx, edx
lea r8d, [r15 - 0x12]
lea rcx, [rsp + 0x6f8]
call fcn.18003bb80
mov word [rsp + 0x760], bp
mov ecx, 0x51
mov word [rsp + 0x762], cx
mov edx, Ordinal_79
mov word [rsp + 0x764], dx
mov eax, 0x5a
mov word [rsp + 0x766], ax
mov word [rsp + 0x768], bx
mov eax, 0x46
mov word [rsp + 0x76a], ax
mov word [rsp + 0x76c], r13w
mov word [rsp + 0x76e], dx
mov eax, 7
mov word [rsp + 0x770], ax
mov word [rsp + 0x772], dx
mov word [rsp + 0x774], cx
mov word [rsp + 0x776], dx
mov word [rsp + 0x778], di
xor edx, edx
lea r8d, [r15 - 0x14]
lea rcx, [rsp + 0x77a]
call fcn.18003bb80
mov ebx, 0x78
mov word [rsp + 0x5e0], bx
mov word [rsp + 0x5e2], bx
mov edi, 0x79
mov word [rsp + 0x5e4], di
mov r13d, WSAGetLastError
mov word [rsp + 0x5e6], r13w
mov eax, 0x7d
mov word [rsp + 0x5e8], ax
mov eax, 0x5b
mov word [rsp + 0x5ea], ax
mov eax, 0x48
mov word [rsp + 0x5ec], ax
mov eax, 0x50
mov word [rsp + 0x5ee], ax
mov eax, 7
mov word [rsp + 0x5f0], ax
mov ecx, Ordinal_79
mov word [rsp + 0x5f2], cx
mov eax, 0x51
mov word [rsp + 0x5f4], ax
mov word [rsp + 0x5f6], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x5f8], ax
xor edx, edx
lea r8d, [r15 - 0x14]
lea rcx, [rsp + 0x5fa]
call fcn.18003bb80
mov word [rsp + 0x660], bx
mov word [rsp + 0x662], bx
mov word [rsp + 0x664], di
mov word [rsp + 0x666], r13w
mov eax, 0x7b
mov word [rsp + 0x668], ax
mov eax, 0x7d
mov word [rsp + 0x66a], ax
mov word [rsp + 0x66c], di
mov eax, 7
mov word [rsp + 0x66e], ax
mov ecx, Ordinal_79
mov word [rsp + 0x670], cx
mov eax, 0x51
mov word [rsp + 0x672], ax
mov word [rsp + 0x674], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x676], ax
xor edx, edx
lea r8d, [r15 - 0x12]
lea rcx, [rsp + 0x678]
call fcn.18003bb80
mov ebx, WSAGetLastError
mov word [rsp + 0x60], bx
mov eax, 0x48
mov word [rsp + 0x62], ax
mov eax, 0x40
mov word [rsp + 0x64], ax
mov word [rsp + 0x66], r14w
mov edi, 0x5c
mov word [rsp + 0x68], di
mov word [rsp + 0x6a], r15w
mov word [rsp + 0x6c], r14w
mov word [rsp + 0x6e], r15w
mov eax, 0x5f
mov word [rsp + 0x70], ax
mov r13d, Ordinal_79
mov word [rsp + 0x72], r13w
mov eax, 7
mov word [rsp + 0x74], ax
mov ecx, Ordinal_79
mov word [rsp + 0x76], cx
mov eax, 0x51
mov word [rsp + 0x78], ax
mov word [rsp + 0x7a], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x7c], ax
xor edx, edx
lea r8d, [r15 - 0x18]
lea rcx, [rsp + 0x7e]
call fcn.18003bb80
mov word [rsp + 0xe0], bx
mov ecx, 0x48
mov word [rsp + 0xe2], cx
mov eax, 0x40
mov word [rsp + 0xe4], ax
mov word [rsp + 0xe6], r14w
mov word [rsp + 0xe8], di
mov word [rsp + 0xea], r15w
mov word [rsp + 0xec], r14w
mov eax, 0x7d
mov word [rsp + 0xee], ax
mov eax, 0x5b
mov word [rsp + 0xf0], ax
mov word [rsp + 0xf2], cx
mov eax, 0x50
mov word [rsp + 0xf4], ax
mov eax, 7
mov word [rsp + 0xf6], ax
mov ecx, Ordinal_79
mov word [rsp + 0xf8], cx
mov eax, 0x51
mov word [rsp + 0xfa], ax
mov word [rsp + 0xfc], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0xfe], ax
xor edx, edx
lea r8d, [r15 - 0x1a]
lea rcx, [rsp + 0x100]
call fcn.18003bb80
mov word [rsp + 0x160], bx
mov ecx, 0x48
mov word [rsp + 0x162], cx
mov eax, 0x40
mov word [rsp + 0x164], ax
mov word [rsp + 0x166], r14w
mov word [rsp + 0x168], di
mov eax, 0x68
mov word [rsp + 0x16a], ax
mov eax, 0x47
mov word [rsp + 0x16c], ax
mov eax, 0x7d
mov word [rsp + 0x16e], ax
mov eax, 0x5b
mov word [rsp + 0x170], ax
mov word [rsp + 0x172], cx
mov eax, 0x50
mov word [rsp + 0x174], ax
mov eax, 7
mov word [rsp + 0x176], ax
mov ecx, Ordinal_79
mov word [rsp + 0x178], cx
mov eax, 0x51
mov word [rsp + 0x17a], ax
mov word [rsp + 0x17c], cx
mov eax, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x17e], ax
xor edx, edx
lea r8d, [r15 - 0x1a]
lea rcx, [rsp + 0x180]
call fcn.18003bb80
mov word [rsp + 0x1e0], bx
mov eax, 0x48
mov word [rsp + 0x1e2], ax
mov eax, 0x40
mov word [rsp + 0x1e4], ax
mov word [rsp + 0x1e6], r14w
mov word [rsp + 0x1e8], di
mov eax, 0x68
mov word [rsp + 0x1ea], ax
mov eax, 0x47
mov word [rsp + 0x1ec], ax
mov word [rsp + 0x1ee], r15w
mov ebx, 0x5f
mov word [rsp + 0x1f0], bx
mov word [rsp + 0x1f2], r13w
mov eax, 7
mov word [rsp + 0x1f4], ax
mov ecx, Ordinal_79
mov word [rsp + 0x1f6], cx
mov eax, 0x51
mov word [rsp + 0x1f8], ax
mov word [rsp + 0x1fa], cx
mov r15d, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x1fc], r15w
xor edx, edx
lea r8d, [r14 + 0x15]
lea rcx, [rsp + 0x1fe]
call fcn.18003bb80
mov r14d, 0x48
mov word [rsp + 0xef0], r14w
mov word [rsp + 0xef2], bx
mov edi, 0x59
mov word [rsp + 0xef4], di
mov eax, 7
mov word [rsp + 0xef6], ax
mov ecx, Ordinal_79
mov word [rsp + 0xef8], cx
mov eax, 0x51
mov word [rsp + 0xefa], ax
mov word [rsp + 0xefc], cx
mov word [rsp + 0xefe], r15w
xor edx, edx
lea r8d, [r12 + 0xc]
lea rcx, [rsp + 0xf00]
call fcn.18003bb80
mov ecx, Ordinal_79
mov word [rsp + 0xdf0], cx
mov ebx, Ordinal_79
mov word [rsp + 0xdf2], bx
mov eax, 0x5c
mov word [rsp + 0xdf4], ax
mov eax, 0x40
mov word [rsp + 0xdf6], ax
mov eax, 7
mov word [rsp + 0xdf8], ax
mov word [rsp + 0xdfa], cx
mov eax, 0x51
mov word [rsp + 0xdfc], ax
mov word [rsp + 0xdfe], cx
mov word [rsp + 0xe00], r15w
xor edx, edx
lea r8d, [r12 + 0xa]
lea rcx, [rsp + 0xe02]
call fcn.18003bb80
mov ecx, Ordinal_79
mov word [rsp + 0xe70], cx
mov word [rsp + 0xe72], bp
mov r15d, 0x5b
mov word [rsp + 0xe74], r15w
mov eax, 0x47
mov word [rsp + 0xe76], ax
mov eax, 7
mov word [rsp + 0xe78], ax
mov word [rsp + 0xe7a], cx
mov eax, 0x51
mov word [rsp + 0xe7c], ax
mov word [rsp + 0xe7e], cx
mov ebp, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0xe80], bp
xor edx, edx
lea r8d, [r12 + 0xa]
lea rcx, [rsp + 0xe82]
call fcn.18003bb80
mov word [rsp + 0x7e0], r12w
mov eax, 0x5a
mov word [rsp + 0x7e2], ax
mov word [rsp + 0x7e4], r12w
mov word [rsp + 0x7e6], di
mov eax, WSASetLastError
mov word [rsp + 0x7e8], ax
mov eax, 0x47
mov word [rsp + 0x7ea], ax
mov word [rsp + 0x7ec], bx
mov eax, 7
mov word [rsp + 0x7ee], ax
mov ecx, Ordinal_79
mov word [rsp + 0x7f0], cx
mov eax, 0x51
mov word [rsp + 0x7f2], ax
mov word [rsp + 0x7f4], cx
mov word [rsp + 0x7f6], bp
mov ebx, 0x68
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x7f8]
call fcn.18003bb80
mov ebp, 0x44
mov word [rsp + 0x860], bp
mov r12d, 0x5a
mov word [rsp + 0x862], r12w
mov word [rsp + 0x864], r12w
mov ecx, Ordinal_79
mov word [rsp + 0x866], cx
mov word [rsp + 0x868], r13w
mov word [rsp + 0x86a], cx
mov word [rsp + 0x86c], r12w
mov eax, 7
mov word [rsp + 0x86e], ax
mov word [rsp + 0x870], cx
mov eax, 0x51
mov word [rsp + 0x872], ax
mov word [rsp + 0x874], cx
mov r13d, reloc.WLDAP32.dll_Ordinal_41
mov word [rsp + 0x876], r13w
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x878]
call fcn.18003bb80
mov ebx, 0x61
mov word [rsp + 0x260], bx
mov eax, 0x40
mov word [rsp + 0x262], ax
mov word [rsp + 0x264], di
mov word [rsp + 0x266], r12w
mov eax, 0x7d
mov word [rsp + 0x268], ax
mov word [rsp + 0x26a], r15w
mov word [rsp + 0x26c], r14w
mov eax, 0x50
mov word [rsp + 0x26e], ax
mov eax, 7
mov word [rsp + 0x270], ax
mov eax, Ordinal_79
mov word [rsp + 0x272], ax
mov r15d, 0x51
mov word [rsp + 0x274], r15w
mov word [rsp + 0x276], ax
mov word [rsp + 0x278], r13w
xor edx, edx
lea r8d, [r14 + 0x1e]
lea rcx, [rsp + 0x27a]
call fcn.18003bb80
mov word [rsp + 0x2e0], bx
mov eax, 0x40
mov word [rsp + 0x2e2], ax
mov word [rsp + 0x2e4], di
mov word [rsp + 0x2e6], r12w
mov eax, WSASetLastError
mov word [rsp + 0x2e8], ax
mov word [rsp + 0x2ea], r14w
mov ecx, Ordinal_79
mov word [rsp + 0x2ec], cx
mov word [rsp + 0x2ee], bp
mov eax, 0x46
mov word [rsp + 0x2f0], ax
mov eax, 0x47
mov word [rsp + 0x2f2], ax
mov ebp, 7
mov word [rsp + 0x2f4], bp
mov word [rsp + 0x2f6], cx
mov word [rsp + 0x2f8], r15w
mov word [rsp + 0x2fa], cx
mov word [rsp + 0x2fc], r13w
xor edx, edx
lea r8d, [r14 + 0x1a]
lea rcx, [rsp + 0x2fe]
call fcn.18003bb80
xor edx, edx
lea ecx, [rdi - 0x57]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x180017e1c
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180016330
test eax, eax
jne 0x180017e1c
xor r14d, r14d
mov rbp, r14
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
mov r8, qword [rsp + 0x38]
sub rcx, r8
movabs r15, 0x6666666666666667
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180017e2b
nop dword [rax]
cmp rbp, rdx
jb 0x18001750f
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
lea rdi, [rbp + rbp*4]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017523
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017528
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x8e0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017560
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x18001759e
inc r12
cmp r12, 5
jb 0x180017551
mov eax, r14d
jmp 0x1800175a3
mov eax, 1
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800175d5
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x1800175e4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x1800175e9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x360]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017620
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x18001765e
inc r12
cmp r12, 3
jb 0x180017612
mov eax, r14d
jmp 0x180017663
mov eax, 2
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017695
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x1800176a4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x1800176a9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0xb60]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x1800176e0
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x18001771e
inc r12
cmp r12, 1
jb 0x1800176d2
mov eax, r14d
jmp 0x180017723
mov eax, 4
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017755
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017764
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017769
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x4e0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x1800177a0
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x1800177de
inc r12
cmp r12, 2
jb 0x180017792
mov eax, r14d
jmp 0x1800177e3
mov eax, 8
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017815
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017824
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017829
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x6e0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017860
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x18001789e
inc r12
cmp r12, 2
jb 0x180017852
mov eax, r14d
jmp 0x1800178a3
mov eax, reloc.WS2_32.dll_recv
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x1800178d5
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x1800178e4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x1800178e9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x5e0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017920
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x18001795e
inc r12
cmp r12, 2
jb 0x180017912
mov eax, r14d
jmp 0x180017963
mov eax, reloc.WLDAP32.dll_Ordinal_32
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017995
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x1800179a4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x1800179a9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x60]
nop
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x1800179e0
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017a1e
inc r12
cmp r12, 2
jb 0x1800179d0
mov eax, r14d
jmp 0x180017a23
mov eax, 0x40
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017a55
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017a64
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017a69
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x160]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017aa0
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017ade
inc r12
cmp r12, 2
jb 0x180017a92
mov eax, r14d
jmp 0x180017ae3
mov eax, 0x80
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017b15
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017b24
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017b29
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0xef0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017b60
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017b9e
inc r12
cmp r12, 1
jb 0x180017b52
mov eax, r14d
jmp 0x180017ba3
mov eax, 0x100
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017bd5
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017be4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017be9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0xdf0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017c20
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017c5e
inc r12
cmp r12, 2
jb 0x180017c12
mov eax, r14d
jmp 0x180017c63
mov eax, 0x200
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017c95
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017ca4
mov r13, qword [r8 + rdi*8 + 8]
jmp 0x180017ca9
lea r13, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov r12, r14
lea rbx, [rsp + 0x7e0]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017ce0
mov rdx, r13
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017d1e
inc r12
cmp r12, 2
jb 0x180017cd2
mov eax, r14d
jmp 0x180017d23
mov eax, 0x400
or esi, eax
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017d55
call fcn.18003d5e8
mov r8, qword [rsp + 0x38]
cmp qword [r8 + rdi*8 + 0x20], 8
jb 0x180017d64
mov r12, qword [r8 + rdi*8 + 8]
jmp 0x180017d69
lea r12, [r8 + rdi*8 + 8]
mov word [rsp + 0xbe0], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xbe2]
call fcn.18003bb80
mov rdi, r14
lea rbx, [rsp + 0x260]
mov rcx, r14
nop word [rax + rax]
movzx eax, word [rbx]
xor ax, 0x29
mov word [rsp + rcx*2 + 0xbe0], ax
inc rcx
add rbx, 2
cmp rcx, 0x40
jb 0x180017da0
mov rdx, r12
lea rcx, [rsp + 0xbe0]
call fcn.18003ce48
test eax, eax
je 0x180017dde
inc rdi
cmp rdi, 2
jb 0x180017d92
mov eax, r14d
jmp 0x180017de3
mov eax, 0x800
or esi, eax
inc rbp
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
mov r8, qword [rsp + 0x38]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jb 0x180017500
mov ebp, 7
jmp 0x180017e30
mov rdi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
xor r14d, r14d
jmp 0x180017e30
mov ebp, 7
test r8, r8
je 0x180017e75
cmp r8, rdi
je 0x180017e6d
lea rbx, [r8 + 0x20]
nop
cmp qword [rbx], 8
jb 0x180017e4f
mov rcx, qword [rbx - 0x18]
call fcn.18003b7f8
mov qword [rbx], rbp
mov qword [rbx - 8], r14
mov word [rbx - 0x18], r14w
add rbx, 0x28
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x180017e40
mov r8, qword [rsp + 0x38]
mov rcx, r8
call fcn.18003b7f8
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
mov rcx, qword [rsp + 0x20]
call fcn.18003b7f8
mov eax, esi
mov rcx, qword [rsp + 0xf70]
xor rcx, rsp
call fcn.18003c690
lea r11, [rsp + 0xf80]
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