Function at 0x1400390e0
Capabilities:
Encrypt data using des

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x2c], 0
jmp 0x14003911f
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x40
jge 0x140039187
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140190820]
movzx eax, byte [rcx + rax*2]
mov rcx, qword [rsp + 0x118]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x2c]
lea rdx, [0x140190820]
movzx ecx, byte [rdx + rcx*2 + 1]
and eax, ecx
test eax, eax
je 0x140039166
mov dword [rsp + 0xd8], 1
jmp 0x140039171
mov dword [rsp + 0xd8], 0
movsxd rax, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0xd8]
mov byte [rsp + rax + 0x90], cl
jmp 0x140039114
mov dword [rsp + 0x28], 0
jmp 0x14003919c
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x10
jge 0x140039404
lea rax, [rsp + 8]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x120], 0
je 0x1400391dd
mov eax, reloc.WS2_32.dll_ntohs
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0xdc], eax
jmp 0x1400391e8
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x2c], 0
jmp 0x140039208
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x30
jge 0x140039253
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x140190990]
movzx eax, byte [rcx + rax]
movzx eax, byte [rsp + rax + 0xb0]
movsxd rcx, dword [rsp + 0x50]
imul rcx, rcx, 0x30
lea rdx, [0x14023db60]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [rsp + 0x2c]
movzx ecx, byte [rcx + rdx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov byte [rsp + rcx + 0x58], al
jmp 0x1400391fd
mov dword [rsp + 0xd4], 0
jmp 0x140039271
mov eax, dword [rsp + 0xd4]
add eax, 1
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 8
jge 0x140039397
mov eax, dword [rsp + 0xd4]
imul eax, eax, 6
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0xd4]
imul rax, rax, 0x40
lea rcx, [0x1401909c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x2c]
movzx ecx, byte [rsp + rcx + 0x58]
shl ecx, 5
mov edx, dword [rsp + 0x2c]
add edx, 1
movsxd rdx, edx
movzx edx, byte [rsp + rdx + 0x58]
shl edx, 3
or ecx, edx
mov edx, dword [rsp + 0x2c]
add edx, 2
movsxd rdx, edx
movzx edx, byte [rsp + rdx + 0x58]
shl edx, 2
or ecx, edx
mov edx, dword [rsp + 0x2c]
add edx, 3
movsxd rdx, edx
movzx edx, byte [rsp + rdx + 0x58]
shl edx, 1
or ecx, edx
mov edx, dword [rsp + 0x2c]
add edx, 4
movsxd rdx, edx
movzx edx, byte [rsp + rdx + 0x58]
or ecx, edx
mov edx, dword [rsp + 0x2c]
add edx, 5
movsxd rdx, edx
movzx edx, byte [rsp + rdx + 0x58]
shl edx, 4
or ecx, edx
movsxd rcx, ecx
movzx eax, byte [rax + rcx]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd4]
shl eax, 2
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0xd0]
sar eax, 3
and eax, 1
movsxd rcx, dword [rsp + 0x2c]
mov byte [rsp + rcx + 0x30], al
mov eax, dword [rsp + 0xd0]
sar eax, 2
and eax, 1
mov ecx, dword [rsp + 0x2c]
add ecx, 1
movsxd rcx, ecx
mov byte [rsp + rcx + 0x30], al
mov eax, dword [rsp + 0xd0]
sar eax, 1
and eax, 1
mov ecx, dword [rsp + 0x2c]
add ecx, 2
movsxd rcx, ecx
mov byte [rsp + rcx + 0x30], al
mov eax, dword [rsp + 0xd0]
and eax, 1
mov ecx, dword [rsp + 0x2c]
add ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x30], al
jmp 0x140039260
mov dword [rsp + 0x2c], 0
jmp 0x1400393ac
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x20
jge 0x1400393e5
movsxd rax, dword [rsp + 0x2c]
movzx eax, byte [rsp + rax + 0x90]
movsxd rcx, dword [rsp + 0x2c]
lea rdx, [0x140190bc0]
movzx ecx, byte [rdx + rcx]
movzx ecx, byte [rsp + rcx + 0x30]
xor eax, ecx
movsxd rcx, dword [rsp + 0x2c]
mov byte [rsp + rcx + 0xb0], al
jmp 0x1400393a1
lea rax, [rsp + 0x90]
lea rcx, [rsp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
jmp 0x140039191
lea rax, [rsp + 8]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
lea rcx, [rsp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x2c], 0
jmp 0x14003946a
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 8
jge 0x140039484
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x110]
mov byte [rcx + rax], 0
jmp 0x14003945f
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x2c], eax
jmp 0x1400394a7
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 8
jge 0x14003953c
mov dword [rsp + 0xd0], 1
jmp 0x1400394e0
mov eax, dword [rsp + 0xd0]
shl eax, 1
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd4]
add eax, 1
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd0], 0x80
jg 0x140039537
movsxd rax, dword [rsp + 0xd4]
lea rcx, [0x1401908a0]
movsx rax, byte [rcx + rax]
movzx eax, byte [rsp + rax + 0x90]
test eax, eax
je 0x140039535
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x110]
movzx eax, byte [rcx + rax]
or eax, dword [rsp + 0xd0]
movsxd rcx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x110]
mov byte [rdx + rcx], al
jmp 0x1400394bf
jmp 0x14003949c
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140041910
add rsp, 0xf8
pop rdi
pop rsi
ret