Function at 0x140003b10
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov dword [rsp + 0x10], edx
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
lea r15, [0x14027c4b0]
xor eax, eax
movzx edx, bx
mov qword [r11 - 0x48], rax
mov r8, r15
mov qword [r11 - 0x40], rax
mov r9d, 0x1a1e00
mov qword [r11 - 0x38], rax
mov r14d, 1
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov eax, 0xd27
mov word [rsp + 0x78], ax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
cmp r14w, dx
mov eax, ebx
cmovne ax, dx
add cl, 9
movzx edx, ax
movzx eax, byte [rsp + rdx*2 + 0x78]
inc dx
xor al, cl
mov byte [r8 - 1], al
sub r9, r14
jne 0x140003b70
movsxd rax, dword [0x14027c4ec]
mov ecx, 0x5a4d
cmp word [0x14027c4b0], cx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], rsi
lea rdi, [rax + r15]
jne 0x140003e2a
cmp dword [rdi], 0x4550
jne 0x140003e2a
cmp dword [rdi + 0x54], 0x1a1e00
ja 0x140003e23
add rax, 0x108
cmp rax, 0x1a1e00
ja 0x140003e23
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x140003e2a
movzx eax, word [rdi + 0x14]
lea rdx, [rdi + 0x24]
add rdx, rax
movzx eax, word [rdi + 6]
test eax, eax
je 0x140003c3b
mov r8d, eax
mov eax, dword [rdx + 4]
test eax, eax
jne 0x140003c23
mov ecx, dword [rdx]
mov eax, dword [rdi + 0x38]
jmp 0x140003c28
mov rcx, rax
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rbx
cmova rbx, rcx
add rdx, 0x28
sub r8, r14
jne 0x140003c15
lea rcx, [rsp + 0x20]
call qword [0x14042e228]
mov edx, dword [rsp + 0x24]
lea r8d, [rdx - 1]
lea ebp, [rdx - 1]
not r8d
add ebp, dword [rdi + 0x50]
lea rcx, [rdx - 1]
add rcx, rbx
and rbp, r8
and rcx, r8
cmp rbp, rcx
jne 0x140003e2a
mov rcx, qword [rdi + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
call qword [0x14042e230]
mov rsi, rax
test rax, rax
jne 0x140003cb3
lea r9d, [rax + 4]
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [0x14042e230]
mov rsi, rax
test rax, rax
jne 0x140003cb3
lea ecx, [rax + 0xe]
jmp 0x140003e2f
call qword [0x14042e260]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [0x14042e238]
mov rbx, rax
test rax, rax
je 0x140003de7
mov qword [rax + 8], rsi
mov r9d, 4
mov eax, dword [rsp + 0x24]
mov r8d, 0x1000
mov dword [rbx + 0x24], eax
mov rcx, rsi
mov edx, dword [rdi + 0x54]
call qword [0x14042e230]
mov rbp, rax
test rax, rax
je 0x140003de7
mov r8d, dword [rdi + 0x54]
mov rdx, r15
mov rcx, rax
call fcn.1401afac0
movsxd rcx, dword [0x14027c4ec]
mov r9, rbx
add rcx, rbp
mov r8, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
call fcn.140003400
test eax, eax
je 0x140003df2
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140003d53
mov rcx, rbx
call fcn.140003530
mov dword [rbx + 0x20], eax
jmp 0x140003d57
mov dword [rbx + 0x20], r14d
mov rcx, rbx
call fcn.1400035f0
test eax, eax
je 0x140003df2
mov rcx, rbx
call fcn.140003860
test eax, eax
je 0x140003df2
mov rax, qword [rbx]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x140003db9
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140003db9
mov rax, qword [rdi]
test rax, rax
je 0x140003db9
nop word [rax + rax]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r14d
call rax
mov rax, qword [rdi + 8]
lea rdi, [rdi + 8]
test rax, rax
jne 0x140003da0
mov rax, qword [rbx]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140003de2
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea rax, [rcx + rdx]
mov edx, r14d
call rax
test eax, eax
jne 0x140003dde
mov ecx, 0x45a
jmp 0x140003dec
mov dword [rbx + 0x1c], r14d
mov rax, rbx
jmp 0x140003e37
mov ecx, 0xe
call qword [0x14042e220]
test rsi, rsi
je 0x140003e08
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x14042e248]
test rbx, rbx
je 0x140003e35
call qword [0x14042e260]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x14042e258]
jmp 0x140003e35
mov ecx, 0xd
jmp 0x140003e2f
mov ecx, 0xc1
call qword [0x14042e220]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret