Function at 0x140046a40
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 [0x14012d240]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x1401cf2a8]
mov r14d, 0x19e43f7e
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 0x140046c98
cmp word [rax + 0x48], 0
je 0x140046c98
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140046b23
psrldq xmm0, 8
mov r10d, 0x5784e6cd
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140046b1a
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 0x140046af0
cmp r10d, r15d
jne 0x140046c98
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 0x140046c98
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140046c98
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 0x140046b9a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x140046b9a
mov bpl, 1
jmp 0x140046b9d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x5784e6cd
inc r10
test r8b, r8b
je 0x140046bdc
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 0x140046bb0
cmp r11d, r14d
je 0x140046bf9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140046b60
mov rax, qword [rax]
jmp 0x140046aa0
test bpl, bpl
je 0x140046ca0
movzx edx, byte [r9]
mov r15d, 0x5784e6cd
mov r14d, r15d
cmp dl, 0x2e
je 0x140046c48
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 0x140046c20
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140046c87
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 0x140046c60
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140046aa0
mov rcx, qword [0x1401dfe90]
lea rdx, [rsp + 0x30]
call r9
mov eax, dword [rsp + 0x38]
mov r14d, 0x406944da
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 0x140046ef8
cmp word [rax + 0x48], 0
je 0x140046ef8
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140046d83
psrldq xmm0, 8
mov r10d, 0xb5354518
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140046d7a
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 0x140046d50
cmp r10d, r15d
jne 0x140046ef8
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 0x140046ef8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140046ef8
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 0x140046dfa
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x140046dfa
mov bpl, 1
jmp 0x140046dfd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xb5354518
inc r10
test r8b, r8b
je 0x140046e3c
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 0x140046e10
cmp r11d, r14d
je 0x140046e59
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140046dc0
mov rax, qword [rax]
jmp 0x140046d00
test bpl, bpl
je 0x140046f00
movzx edx, byte [r9]
mov r15d, 0xb5354518
mov r14d, r15d
cmp dl, 0x2e
je 0x140046ea8
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 0x140046e80
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140046ee7
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 0x140046ec0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140046d00
lea rcx, [rsp + 0x40]
call r9
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401dfe98]
mov r14d, 0x32841fd9
cvtsi2ss xmm0, qword [0x1401dfea0]
xor r15d, r15d
cvtsi2ss xmm1, rax
mov rax, qword [rsp + 0x28]
divss xmm1, xmm0
movss dword [rax + 0x18], xmm1
mov qword [0x1401dfe98], 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 0x140047158
cmp word [rax + 0x48], 0
je 0x140047158
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140046fe3
psrldq xmm0, 8
mov r10d, 0x9d7fc3
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140046fda
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 0x140046fb0
cmp r10d, r15d
jne 0x140047158
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 0x140047158
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047158
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 0x14004705a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004705a
mov bpl, 1
jmp 0x14004705d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x9d7fc3
inc r10
test r8b, r8b
je 0x14004709c
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 0x140047070
cmp r11d, r14d
je 0x1400470b9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047020
mov rax, qword [rax]
jmp 0x140046f60
test bpl, bpl
je 0x140047160
movzx edx, byte [r9]
mov r15d, 0x9d7fc3
mov r14d, r15d
cmp dl, 0x2e
je 0x140047108
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 0x1400470e0
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047147
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 0x140047120
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140046f60
mov ecx, reloc.WS2_32.dll_recvfrom
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0x50d15dac
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 0x140047388
cmp word [rax + 0x48], 0
je 0x140047388
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140047213
psrldq xmm0, 8
mov r10d, 0xe8874880
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004720a
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 0x1400471e0
cmp r10d, r15d
jne 0x140047388
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 0x140047388
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140047388
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 0x14004728a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004728a
mov bpl, 1
jmp 0x14004728d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xe8874880
inc r10
test r8b, r8b
je 0x1400472cc
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 0x1400472a0
cmp r11d, r14d
je 0x1400472e9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047250
mov rax, qword [rax]
jmp 0x140047192
test bpl, bpl
je 0x140047390
movzx edx, byte [r9]
mov r15d, 0xe8874880
mov r14d, r15d
cmp dl, 0x2e
je 0x140047338
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 0x140047310
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140047377
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 0x140047350
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140047192
mov ecx, reloc.WS2_32.dll_recv
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0xf19adebe
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 0x1400475b8
cmp word [rax + 0x48], 0
je 0x1400475b8
movups xmm0, xmmword [rax + 0x58]
mov ebx, dword [rsp + 0x20]
movd ecx, xmm0
sub cx, 8
test ebx, ebx
je 0x140047443
psrldq xmm0, 8
mov r10d, 0x14e6622a
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004743a
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 0x140047410
cmp r10d, ebx
jne 0x1400475b8
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 0x1400475b8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x1400475b8
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 0x1400474ba
lea rcx, [r15 + rsi]
cmp r9, rcx
jae 0x1400474ba
mov bpl, 1
jmp 0x1400474bd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x14e6622a
inc r10
test r8b, r8b
je 0x1400474fc
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 0x1400474d0
cmp r11d, r14d
je 0x140047515
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140047480
mov rax, qword [rax]
jmp 0x1400473c0
test bpl, bpl
je 0x1400475c0
movzx edx, byte [r9]
mov ebx, 0x14e6622a
mov dword [rsp + 0x20], ebx
mov r14d, ebx
cmp dl, 0x2e
je 0x14004756a
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 0x140047540
mov dword [rsp + 0x20], ebx
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x1400475a7
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 0x140047580
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400473c0
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.140045c40
cmp byte [rbx + 0xc8], 0
je 0x1400475f4
mov eax, 0xffffffff
jmp 0x140047601
mov rax, qword [0x1401cf2a8]
mov eax, dword [rax + 0x1fb0]
cmp dword [0x1401cc500], eax
je 0x140047614
mov dword [0x1401cc500], eax
call fcn.140045490
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d0cb0
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