Function at 0x140004070
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1400e20c0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r15, rcx
xor r12d, r12d
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x90], xmm1
movdqa xmmword [r11 - 0x78], xmm0
mov qword [r11 - 0x68], r12
lea rax, [0x140004a70]
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401020d0]
test rax, rax
jne 0x140004188
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004173
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004173
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14000416e
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140004150
cmp edx, 0xd263bde6
je 0x1400041d4
test r8d, r8d
jne 0x140004130
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004100
mov rax, r12
mov qword [0x1401020d0], rax
xor ecx, ecx
call rax
mov qword [rsp + 0x88], rax
lea rax, [0x1400ca660]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x1400041ef
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Erro
lea rdx, str.Erro_ao_registrar_a_classe_da_janela.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140004a01
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x140004181
mov rax, qword [0x1401020c0]
test rax, rax
jne 0x1400042b0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004297
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004297
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004292
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140004270
cmp edx, 0xb0327e93
je 0x1400044a2
test r8d, r8d
jne 0x140004250
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004220
mov rax, r12
mov qword [0x1401020c0], rax
xor ecx, ecx
call rax
mov r14d, eax
mov rdx, qword [0x1401020c0]
test rdx, rdx
jne 0x140004370
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rsi, qword [rdx + 0x10]
mov rdi, rsi
nop dword [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004357
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004357
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004352
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140004330
cmp edx, 0xb0327e93
je 0x1400044c0
test r8d, r8d
jne 0x140004310
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400042e0
mov rdx, r12
mov qword [0x1401020c0], rdx
mov ecx, 1
call rdx
mov ebp, eax
mov rbx, qword [0x140101d58]
test rbx, rbx
jne 0x140004430
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rsi, qword [rdx + 0x10]
mov rdi, rsi
nop dword [rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004417
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004417
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [rbx + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004412
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x1400043f0
cmp edx, 0x2d727b8d
je 0x1400044de
test r8d, r8d
jne 0x1400043d0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400043a0
mov rbx, r12
mov qword [0x140101d58], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
mov r8, r15
lea rdx, str.class001
mov ecx, 0x80008
call rbx
mov rcx, rax
mov qword [0x1401000a0], rax
test rax, rax
jne 0x1400044fc
lea r9d, [rax + 0x10]
lea r8, str.Erro
lea rdx, str.Erro_ao_criar_a_janela.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140004a01
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x1400042a9
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov edx, dword [rcx + rax*4]
add rdx, r9
jmp 0x140004369
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov ebx, dword [rcx + rax*4]
add rbx, r9
jmp 0x140004429
mov rax, qword [0x1401020c8]
test rax, rax
jne 0x1400045b7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004597
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004597
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004592
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140004570
cmp edx, 0x76991bcc
je 0x140004728
test r8d, r8d
jne 0x140004550
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004520
mov rax, r12
mov qword [0x1401020c8], rax
mov rcx, qword [0x1401000a0]
mov edx, 0xffffffec
mov r8d, 0x800a0
call rax
mov rax, qword [0x140101d38]
test rax, rax
jne 0x140004680
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop dword [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004667
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004667
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004662
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x140004640
cmp edx, 0x1de05d54
je 0x140004746
test r8d, r8d
jne 0x140004620
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400045f0
mov rax, r12
mov qword [0x140101d38], rax
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1401000a0]
call rax
movdqa xmm0, xmmword [0x1400d1170]
movdqu xmmword [rsp + 0xd8], xmm0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
lea r14, [rsp + 0x118]
movabs rbp, 0xdaf4a5af9f4df31f
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], r14
mov rbx, qword [r14]
xor rbx, rbp
mov qword [rsp + 0xc0], rbx
mov qword [r14], r12
mov ecx, r12d
lea rsi, [0x140012ad0]
lea rdi, [0x140000000]
mov rax, qword [0x140101a10]
test rax, rax
je 0x140004775
mov rdx, r12
cmp rax, rsi
je 0x140004764
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x101a10]
test rax, rax
jne 0x140004710
jmp 0x140004775
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x1400045a9
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [r11 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov eax, dword [rcx + rax*4]
add rax, r9
jmp 0x140004679
mov r9, qword [rdi + rdx*8 + 0x101d70]
test r9, r9
jne 0x14000485f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9, rax
test rax, rax
jne 0x14000479c
mov r9, r12
jmp 0x14000483e
mov rax, rsi
mov rcx, r9
mov edx, 3
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400047b0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1401020b8]
mov qword [rdi + rax*8 + 0x101a10], rsi
mov qword [rdi + rax*8 + 0x101d70], r9
inc rax
mov qword [0x1401020b8], rax
lea r8, [rsp + 0x60]
lea rdx, [0x1401000a0]
mov rcx, qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
call r9
nop
xor rbx, rbp
mov qword [r14], rbx
mov rax, qword [0x140101d40]
test rax, rax
jne 0x140004930
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004917
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004917
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov ecx, dword [rax + rbx]
add rcx, r9
mov edx, 0x811c9dc5
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004912
nop dword [rax]
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
test al, al
jne 0x1400048f0
cmp edx, 0xc98b9e00
je 0x140004a2d
test r8d, r8d
jne 0x1400048d0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400048a0
mov rax, r12
mov qword [0x140101d40], rax
mov edx, 5
mov rcx, qword [0x1401000a0]
call rax
mov rax, qword [0x140101d60]
test rax, rax
jne 0x1400049f8
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x10]
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400049e3
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400049e3
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
lea rax, [r9 + r8*4]
mov eax, dword [rax + rbx]
add rax, r9
mov edx, 0x811c9dc5
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400049de
nop dword [rax]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
lea rax, [rax + 1]
test cl, cl
jne 0x1400049c0
cmp edx, 0x8bc7bca8
je 0x140004a4b
test r8d, r8d
jne 0x1400049a0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004970
mov rax, r12
mov qword [0x140101d60], rax
mov rcx, qword [0x1401000a0]
call rax
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400b6970
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140004929
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1400049f1