Function at 0x14004d648
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
xor esi, esi
mov dword [rsp + 0x30], 0x2006f
mov rbx, rcx
mov dword [rsp + 0x34], 0x150000
mov al, reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x38], 0x30008
mov dword [rsp + 0x3c], 0xa001a
mov ecx, esi
lea r14d, [rsi + 8]
mov dword [rsp + 0x40], 0xb0041
lea r8d, [rsi + 0xb]
mov dword [rsp + 0x44], 0x30003
mov word [rsp + 0x48], si
movsx eax, al
xor word [rsp + rcx*2 + 0x32], ax
inc rcx
cmp rcx, r8
jae 0x14004d6ca
mov al, byte [rsp + 0x30]
jmp 0x14004d6b4
lea rax, [rsp + 0x32]
mov word [rsp + 0x48], si
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [0x1401e67c8]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004d5f4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dl, 0x35
mov dword [rsp + 0x30], 0x5b0035
mov rdi, rax
mov dword [rsp + 0x34], 0x460046
mov dword [rsp + 0x38], 0x1b0006
mov rcx, rsi
mov dword [rsp + 0x3c], 0x590051
mov dword [rsp + 0x40], 0x59
movsx eax, dl
xor word [rsp + rcx*2 + 0x32], ax
inc rcx
cmp rcx, r14
jae 0x14004d743
mov dl, byte [rsp + 0x30]
jmp 0x14004d72d
lea rax, [rsp + 0x32]
mov word [rsp + 0x42], si
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [0x1401e67c8]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14004d5f4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rdi, rdi
je 0x14004d92a
test rax, rax
je 0x14004d92a
mov cl, reloc.WLDAP32.dll_Ordinal_79
mov dword [rsp + 0x30], 0x1c1c014f
mov dword [rsp + 0x34], 0x26210610
mov rax, rsi
mov word [rsp + 0x38], Ordinal_60
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, r14
jae 0x14004d7b9
mov cl, byte [rsp + 0x30]
jmp 0x14004d7a7
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x39], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d92a
movdqa xmm0, xmmword [0x1401f5a60]
mov rcx, rsi
movdqu xmmword [rsp + 0x30], xmm0
mov qword [0x14021c988], rax
mov byte [rsp + 0x40], sil
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0xf
jb 0x14004d7f2
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x40], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d92a
movdqa xmm0, xmmword [0x1401f5880]
mov rcx, rsi
movdqu xmmword [rsp + 0x30], xmm0
mov qword [0x14021c980], rax
mov dword [rsp + 0x40], 0x203c1235
mov dword [rsp + 0x44], 0x2d36350a
mov byte [rsp + 0x48], sil
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x17
jb 0x14004d84c
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x48], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d92a
movdqa xmm0, xmmword [0x1401f5df0]
mov rcx, rsi
movdqu xmmword [rsp + 0x30], xmm0
mov qword [0x14021c978], rax
mov word [rsp + 0x40], 0x7a6b
mov byte [rsp + 0x42], sil
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x11
jb 0x14004d89d
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x42], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d92a
mov qword [0x14021c970], rax
mov cl, 0x75
mov rax, rsi
mov dword [rsp + 0x30], 0x443e2575
mov dword [rsp + 0x34], 0x7332a44
mov dword [rsp + 0x38], 0x19261010
mov word [rsp + 0x3c], 0x11a
mov byte [rsp + 0x3e], sil
xor byte [rsp + rax + 0x31], cl
inc rax
cmp rax, 0xd
jae 0x14004d909
mov cl, byte [rsp + 0x30]
jmp 0x14004d8f6
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x3e], sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d92a
mov qword [0x14021c990], rax
jmp 0x14004d92c
xor al, al
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret