Function at 0x140046f20
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
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 rax, qword [0x140128240]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x1401ca118]
mov r14d, 0x157ab7a2
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
mov r15d, eax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140047178
cmp word [rax + 0x48], 0
je 0x140047178
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140047003
psrldq xmm0, 8
mov r10d, 0xd13ed0b1
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140046ffa
nop dword [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140046fd0
cmp r10d, r15d
jne 0x140047178
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140047178
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047178
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop dword [rax + rax]
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov r9d, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add r9, rbx
add r10, rbx
cmp r9, rsi
jbe 0x14004707a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004707a
mov bpl, 1
jmp 0x14004707d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xd13ed0b1
inc r10
test r8b, r8b
je 0x1400470bc
nop
movsx ecx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r10 - 1]
cmova edx, ecx
xor edx, r11d
imul r11d, edx, 0x1000193
test r8b, r8b
jne 0x140047090
cmp r11d, r14d
je 0x1400470d9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047040
mov rax, qword [rax]
jmp 0x140046f80
test bpl, bpl
je 0x140047180
movzx edx, byte [r9]
mov r15d, 0xd13ed0b1
mov r14d, r15d
cmp dl, 0x2e
je 0x140047128
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x140047100
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047167
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test dl, dl
jne 0x140047140
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140046f80
mov rcx, qword [0x1401dad00]
lea rdx, [rsp + 0x30]
call r9
mov eax, dword [rsp + 0x38]
mov r14d, 0x6df9c2c6
sub eax, dword [rsp + 0x30]
movd xmm1, eax
mov eax, dword [rsp + 0x3c]
sub eax, dword [rsp + 0x34]
cvtdq2ps xmm1, xmm1
xor r15d, r15d
movd xmm0, eax
mov rax, qword [rsp + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [rax + 0x10], xmm1
movss dword [rax + 0x14], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
cmp qword [rax + 0x30], 0
je 0x1400473d8
cmp word [rax + 0x48], 0
je 0x1400473d8
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140047263
psrldq xmm0, 8
mov r10d, 0xd8586144
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004725a
nop word [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140047230
cmp r10d, r15d
jne 0x1400473d8
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x1400473d8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x1400473d8
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov r9d, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add r9, rbx
add r10, rbx
cmp r9, rsi
jbe 0x1400472da
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x1400472da
mov bpl, 1
jmp 0x1400472dd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xd8586144
inc r10
test r8b, r8b
je 0x14004731c
nop
movsx ecx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r10 - 1]
cmova edx, ecx
xor edx, r11d
imul r11d, edx, 0x1000193
test r8b, r8b
jne 0x1400472f0
cmp r11d, r14d
je 0x140047339
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x1400472a0
mov rax, qword [rax]
jmp 0x1400471e0
test bpl, bpl
je 0x1400473e0
movzx edx, byte [r9]
mov r15d, 0xd8586144
mov r14d, r15d
cmp dl, 0x2e
je 0x140047388
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x140047360
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x1400473c7
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test dl, dl
jne 0x1400473a0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400471e0
lea rcx, [rsp + 0x40]
call r9
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401dad08]
mov r14d, 0xe5480fcd
cvtsi2ss xmm0, qword [0x1401dad10]
xor r15d, r15d
cvtsi2ss xmm1, rax
mov rax, qword [rsp + 0x28]
divss xmm1, xmm0
movss dword [rax + 0x18], xmm1
mov qword [0x1401dad08], rcx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
cmp qword [rax + 0x30], 0
je 0x140047638
cmp word [rax + 0x48], 0
je 0x140047638
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x1400474c3
psrldq xmm0, 8
mov r10d, 0xe8240417
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400474ba
nop word [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140047490
cmp r10d, r15d
jne 0x140047638
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140047638
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047638
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov r9d, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add r9, rbx
add r10, rbx
cmp r9, rsi
jbe 0x14004753a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004753a
mov bpl, 1
jmp 0x14004753d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xe8240417
inc r10
test r8b, r8b
je 0x14004757c
nop
movsx ecx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r10 - 1]
cmova edx, ecx
xor edx, r11d
imul r11d, edx, 0x1000193
test r8b, r8b
jne 0x140047550
cmp r11d, r14d
je 0x140047599
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047500
mov rax, qword [rax]
jmp 0x140047440
test bpl, bpl
je 0x140047640
movzx edx, byte [r9]
mov r15d, 0xe8240417
mov r14d, r15d
cmp dl, 0x2e
je 0x1400475e8
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x1400475c0
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047627
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test dl, dl
jne 0x140047600
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140047440
mov ecx, reloc.WS2_32.dll_recvfrom
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0x1aa6c658
shr eax, 0xf
and al, 1
xor r15d, r15d
mov byte [rcx + 0x148], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x30], 0
je 0x140047868
cmp word [rax + 0x48], 0
je 0x140047868
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x1400476f3
psrldq xmm0, 8
mov r10d, 0x6618339c
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400476ea
nop dword [rax + rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x1400476c0
cmp r10d, r15d
jne 0x140047868
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140047868
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047868
mov r13d, dword [rsi + 0x24]
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop
dec edi
lea rcx, [rdi*2]
add rcx, r13
movzx edx, word [rcx + rbx]
lea rcx, [r9 + rdx*4]
mov r9d, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add r9, rbx
add r10, rbx
cmp r9, rsi
jbe 0x14004776a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004776a
mov bpl, 1
jmp 0x14004776d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x6618339c
inc r10
test r8b, r8b
je 0x1400477ac
nop
movsx ecx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r10 - 1]
cmova edx, ecx
xor edx, r11d
imul r11d, edx, 0x1000193
test r8b, r8b
jne 0x140047780
cmp r11d, r14d
je 0x1400477c9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047730
mov rax, qword [rax]
jmp 0x140047672
test bpl, bpl
je 0x140047870
movzx edx, byte [r9]
mov r15d, 0x6618339c
mov r14d, r15d
cmp dl, 0x2e
je 0x140047818
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, r15d
imul r15d, ecx, 0x1000193
cmp dl, 0x2e
jne 0x1400477f0
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047857
nop dword [rax]
nop dword [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test dl, dl
jne 0x140047830
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140047672
mov ecx, reloc.WS2_32.dll_recv
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0x3655f26a
shr eax, 0xf
and al, 1
mov byte [rcx + 0x149], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
cmp qword [rax + 0x30], 0
je 0x140047a98
cmp word [rax + 0x48], 0
je 0x140047a98
movups xmm0, xmmword [rax + 0x58]
mov ebx, dword [rsp + 0x20]
movd ecx, xmm0
sub cx, 8
test ebx, ebx
je 0x140047923
psrldq xmm0, 8
mov r10d, 0xf2765166
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004791a
nop dword [rax]
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x1400478f0
cmp r10d, ebx
jne 0x140047a98
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r15, rdx
mov esi, edx
shr r15, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140047a98
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047a98
mov r12d, dword [rsi + 0x24]
mov r13d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
nop
dec edi
lea rcx, [r12 + rdi*2]
movzx edx, word [rcx + rbx]
lea rcx, [rdx*4]
add rcx, r13
mov r9d, dword [rcx + rbx]
lea rcx, [r10 + rdi*4]
mov r10d, dword [rcx + rbx]
add r9, rbx
add r10, rbx
cmp r9, rsi
jbe 0x14004799a
lea rcx, [r15 + rsi]
cmp r9, rcx
jae 0x14004799a
mov bpl, 1
jmp 0x14004799d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xf2765166
inc r10
test r8b, r8b
je 0x1400479dc
nop
movsx ecx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [r10 - 1]
cmova edx, ecx
xor edx, r11d
imul r11d, edx, 0x1000193
test r8b, r8b
jne 0x1400479b0
cmp r11d, r14d
je 0x1400479f5
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047960
mov rax, qword [rax]
jmp 0x1400478a0
test bpl, bpl
je 0x140047aa0
movzx edx, byte [r9]
mov ebx, 0xf2765166
mov dword [rsp + 0x20], ebx
mov r14d, ebx
cmp dl, 0x2e
je 0x140047a4a
nop dword [rax]
nop word [rax + rax]
movsx eax, dl
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9 + 1]
cmova ecx, eax
inc r9
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp dl, 0x2e
jne 0x140047a20
mov dword [rsp + 0x20], ebx
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047a87
nop word [rax + rax]
movsx eax, dl
lea r9, [r9 + 1]
sub dl, 0x41
mov ecx, eax
or ecx, 0x20
cmp dl, 0x19
movzx edx, byte [r9]
cmova ecx, eax
xor ecx, r14d
imul r14d, ecx, 0x1000193
test dl, dl
jne 0x140047a60
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400478a0
mov ecx, sendto
call r9
mov rbx, qword [rsp + 0x28]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x14a], al
mov byte [rbx + 0x14b], 0
call fcn.140046120
cmp byte [rbx + 0xc8], 0
je 0x140047ad4
mov eax, 0xffffffff
jmp 0x140047ae1
mov rax, qword [0x1401ca118]
mov eax, dword [rax + 0x1fb0]
cmp dword [0x1401c7500], eax
je 0x140047af4
mov dword [0x1401c7500], eax
call fcn.140045970
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ce320
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