Function at 0x140045380
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 [0x14012b240]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x1401cd2a8]
mov r14d, 0x81c8454a
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 0x1400455d8
cmp word [rax + 0x48], 0
je 0x1400455d8
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140045463
psrldq xmm0, 8
mov r10d, 0xbeb30af9
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004545a
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 0x140045430
cmp r10d, r15d
jne 0x1400455d8
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 0x1400455d8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x1400455d8
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 0x1400454da
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x1400454da
mov bpl, 1
jmp 0x1400454dd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0xbeb30af9
inc r10
test r8b, r8b
je 0x14004551c
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 0x1400454f0
cmp r11d, r14d
je 0x140045539
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x1400454a0
mov rax, qword [rax]
jmp 0x1400453e0
test bpl, bpl
je 0x1400455e0
movzx edx, byte [r9]
mov r15d, 0xbeb30af9
mov r14d, r15d
cmp dl, 0x2e
je 0x140045588
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 0x140045560
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x1400455c7
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 0x1400455a0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400453e0
mov rcx, qword [0x1401dde90]
lea rdx, [rsp + 0x30]
call r9
mov eax, dword [rsp + 0x38]
mov r14d, 0x5f071f4e
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 0x140045838
cmp word [rax + 0x48], 0
je 0x140045838
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x1400456c3
psrldq xmm0, 8
mov r10d, 0x934a1b3c
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x1400456ba
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 0x140045690
cmp r10d, r15d
jne 0x140045838
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 0x140045838
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140045838
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 0x14004573a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004573a
mov bpl, 1
jmp 0x14004573d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x934a1b3c
inc r10
test r8b, r8b
je 0x14004577c
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 0x140045750
cmp r11d, r14d
je 0x140045799
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140045700
mov rax, qword [rax]
jmp 0x140045640
test bpl, bpl
je 0x140045840
movzx edx, byte [r9]
mov r15d, 0x934a1b3c
mov r14d, r15d
cmp dl, 0x2e
je 0x1400457e8
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 0x1400457c0
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140045827
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 0x140045800
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140045640
lea rcx, [rsp + 0x40]
call r9
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401dde98]
mov r14d, 0xc27af0d5
cvtsi2ss xmm0, qword [0x1401ddea0]
xor r15d, r15d
cvtsi2ss xmm1, rax
mov rax, qword [rsp + 0x28]
divss xmm1, xmm0
movss dword [rax + 0x18], xmm1
mov qword [0x1401dde98], 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 0x140045a98
cmp word [rax + 0x48], 0
je 0x140045a98
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140045923
psrldq xmm0, 8
mov r10d, 0x45493ccf
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x14004591a
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 0x1400458f0
cmp r10d, r15d
jne 0x140045a98
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 0x140045a98
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140045a98
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 0x14004599a
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x14004599a
mov bpl, 1
jmp 0x14004599d
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x45493ccf
inc r10
test r8b, r8b
je 0x1400459dc
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 0x1400459b0
cmp r11d, r14d
je 0x1400459f9
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140045960
mov rax, qword [rax]
jmp 0x1400458a0
test bpl, bpl
je 0x140045aa0
movzx edx, byte [r9]
mov r15d, 0x45493ccf
mov r14d, r15d
cmp dl, 0x2e
je 0x140045a48
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 0x140045a20
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140045a87
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 0x140045a60
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400458a0
mov ecx, reloc.WS2_32.dll_recvfrom
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0x5e210fc0
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 0x140045cc8
cmp word [rax + 0x48], 0
je 0x140045cc8
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test r15d, r15d
je 0x140045b53
psrldq xmm0, 8
mov r10d, 0x725d6154
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140045b4a
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 0x140045b20
cmp r10d, r15d
jne 0x140045cc8
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 0x140045cc8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140045cc8
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 0x140045bca
lea rcx, [rsi + r12]
cmp r9, rcx
jae 0x140045bca
mov bpl, 1
jmp 0x140045bcd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x725d6154
inc r10
test r8b, r8b
je 0x140045c0c
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 0x140045be0
cmp r11d, r14d
je 0x140045c29
mov r9d, dword [rsi + 0x1c]
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140045b90
mov rax, qword [rax]
jmp 0x140045ad2
test bpl, bpl
je 0x140045cd0
movzx edx, byte [r9]
mov r15d, 0x725d6154
mov r14d, r15d
cmp dl, 0x2e
je 0x140045c78
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 0x140045c50
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140045cb7
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 0x140045c90
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140045ad2
mov ecx, reloc.WS2_32.dll_recv
call r9
mov rcx, qword [rsp + 0x28]
mov r14d, 0xd9f4ed72
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 0x140045ef8
cmp word [rax + 0x48], 0
je 0x140045ef8
movups xmm0, xmmword [rax + 0x58]
mov ebx, dword [rsp + 0x20]
movd ecx, xmm0
sub cx, 8
test ebx, ebx
je 0x140045d83
psrldq xmm0, 8
mov r10d, 0x7d7f141e
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140045d7a
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 0x140045d50
cmp r10d, ebx
jne 0x140045ef8
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 0x140045ef8
mov edi, dword [rsi + 0x18]
test edi, edi
je 0x140045ef8
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 0x140045dfa
lea rcx, [r15 + rsi]
cmp r9, rcx
jae 0x140045dfa
mov bpl, 1
jmp 0x140045dfd
xor bpl, bpl
movzx r8d, byte [r10]
mov r11d, 0x7d7f141e
inc r10
test r8b, r8b
je 0x140045e3c
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 0x140045e10
cmp r11d, r14d
je 0x140045e55
mov r10d, dword [rsi + 0x20]
test edi, edi
jne 0x140045dc0
mov rax, qword [rax]
jmp 0x140045d00
test bpl, bpl
je 0x140045f00
movzx edx, byte [r9]
mov ebx, 0x7d7f141e
mov dword [rsp + 0x20], ebx
mov r14d, ebx
cmp dl, 0x2e
je 0x140045eaa
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 0x140045e80
mov dword [rsp + 0x20], ebx
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
je 0x140045ee7
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 0x140045ec0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140045d00
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.140044580
cmp byte [rbx + 0xc8], 0
je 0x140045f34
mov eax, 0xffffffff
jmp 0x140045f41
mov rax, qword [0x1401cd2a8]
mov eax, dword [rax + 0x1fb0]
cmp dword [0x1401ca500], eax
je 0x140045f54
mov dword [0x1401ca500], eax
call fcn.140043dd0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400cf720
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