Function at 0x140004080
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, [0x140004a80]
mov qword [rsp + 0x78], rax
mov rax, qword [0x1401020d0]
test rax, rax
jne 0x140004198
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 0x140004183
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004183
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 0x14000417e
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 0x140004160
cmp edx, 0xd263bde6
je 0x1400041e4
test r8d, r8d
jne 0x140004140
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004110
mov rax, r12
mov qword [0x1401020d0], rax
xor ecx, ecx
call rax
mov qword [rsp + 0x88], rax
lea rax, [0x1400ca658]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x1400041ff
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 0x140004a11
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 0x140004191
mov rax, qword [0x1401020c0]
test rax, rax
jne 0x1400042c0
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 0x1400042a7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400042a7
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 0x1400042a2
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 0x140004280
cmp edx, 0xb0327e93
je 0x1400044b2
test r8d, r8d
jne 0x140004260
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004230
mov rax, r12
mov qword [0x1401020c0], rax
xor ecx, ecx
call rax
mov r14d, eax
mov rdx, qword [0x1401020c0]
test rdx, rdx
jne 0x140004380
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 0x140004367
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004367
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 0x140004362
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 0x140004340
cmp edx, 0xb0327e93
je 0x1400044d0
test r8d, r8d
jne 0x140004320
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400042f0
mov rdx, r12
mov qword [0x1401020c0], rdx
mov ecx, 1
call rdx
mov ebp, eax
mov rbx, qword [0x140101d58]
test rbx, rbx
jne 0x140004440
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 0x140004427
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004427
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 0x140004422
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 0x140004400
cmp edx, 0x2d727b8d
je 0x1400044ee
test r8d, r8d
jne 0x1400043e0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400043b0
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 0x14000450c
lea r9d, [rax + 0x10]
lea r8, str.Erro
lea rdx, str.Erro_ao_criar_a_janela.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140004a11
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 0x1400042b9
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 0x140004379
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 0x140004439
mov rax, qword [0x1401020c8]
test rax, rax
jne 0x1400045c7
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 0x1400045a7
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400045a7
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 0x1400045a2
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 0x140004580
cmp edx, 0x76991bcc
je 0x140004738
test r8d, r8d
jne 0x140004560
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004530
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 0x140004690
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 0x140004677
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004677
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 0x140004672
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 0x140004650
cmp edx, 0x1de05d54
je 0x140004756
test r8d, r8d
jne 0x140004630
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004600
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 [0x1400d1160]
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, [0x140012bc0]
lea rdi, [0x140000000]
mov rax, qword [0x140101a10]
test rax, rax
je 0x140004785
mov rdx, r12
cmp rax, rsi
je 0x140004774
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x101a10]
test rax, rax
jne 0x140004720
jmp 0x140004785
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 0x1400045b9
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 0x140004689
mov r9, qword [rdi + rdx*8 + 0x101d70]
test r9, r9
jne 0x14000486f
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 0x1400047ac
mov r9, r12
jmp 0x14000484e
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 0x1400047c0
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 0x140004940
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 0x140004927
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004927
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 0x140004922
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 0x140004900
cmp edx, 0xc98b9e00
je 0x140004a3d
test r8d, r8d
jne 0x1400048e0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x1400048b0
mov rax, r12
mov qword [0x140101d40], rax
mov edx, 5
mov rcx, qword [0x1401000a0]
call rax
mov rax, qword [0x140101d60]
test rax, rax
jne 0x140004a08
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 0x1400049f3
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400049f3
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 0x1400049ee
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 0x1400049d0
cmp edx, 0x8bc7bca8
je 0x140004a5b
test r8d, r8d
jne 0x1400049b0
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rsi
jne 0x140004980
mov rax, r12
mov qword [0x140101d60], rax
mov rcx, qword [0x1401000a0]
call rax
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400b6a60
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 0x140004939
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 0x140004a01