Function at 0x1400024eb
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1e8
mov dword [rsp + 0x230], ecx
mov rdi, rdx
mov rsi, r8
mov r13d, dword [rsp + 0x250]
mov ebx, dword [rsp + 0x280]
movzx r15d, byte [rsp + 0x258]
cmp word [r8], 0x5a4d
jne 0x140002cf8
movsxd r12, dword [r8 + 0x3c]
add r12, r8
cmp word [r12 + 4], 0x8664
jne 0x140002d11
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, dword [r12 + 0x50]
mov edx, 0
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x220]
mov r14, rax
test rax, rax
je 0x140002d18
mov qword [rsp + 0x1b0], 0
mov qword [rsp + 0x1b8], 0
mov qword [rsp + 0x1c8], 0
mov rax, qword [0x1400c68e0]
mov rdx, qword [rax + 0x40]
mov qword [rsp + 0x190], rdx
mov rdx, qword [rax + 0x50]
mov qword [rsp + 0x198], rdx
mov rdx, qword [rax + 0x160]
mov qword [rsp + 0x1a0], rdx
mov qword [rsp + 0x1a8], r14
mov edx, dword [rsp + 0x288]
mov dword [rsp + 0x1b8], edx
mov rdx, qword [rsp + 0x290]
mov qword [rsp + 0x1c0], rdx
movzx ebx, bl
mov dword [rsp + 0x1c8], ebx
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x240]
test eax, eax
je 0x14000263b
movzx eax, word [r12 + 0x14]
lea rbx, [r12 + rax + 0x18]
cmp word [r12 + 6], 0
je 0x1400026d4
mov ebp, 0
jmp 0x140002675
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x228]
mov eax, 0
jmp 0x140002cfd
add ebp, 1
add rbx, 0x28
movzx eax, word [r12 + 6]
cmp eax, ebp
je 0x1400026d4
mov r9d, dword [rbx + 0x10]
test r9d, r9d
je 0x140002664
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0xc]
add rdx, r14
mov qword [rsp + 0x20], 0
mov r9d, r9d
lea r8, [rsi + rax]
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x240]
test eax, eax
jne 0x140002664
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x228]
mov eax, 0
jmp 0x140002cfd
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x40
mov edx, 0
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x220]
mov rbx, rax
test rax, rax
je 0x14000286f
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x190]
mov rdx, rax
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x240]
test eax, eax
je 0x140002898
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x14f0
mov edx, 0
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x220]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400028d9
mov qword [rsp + 0x20], 0
mov r9d, 0x4f0
lea r8, [0x1400c0a20]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x240]
test eax, eax
je 0x14000291a
mov dword [rsp + 0x18c], 0
mov rsi, qword [0x1400c68e0]
lea rbp, [rsp + 0x18c]
mov qword [rsp + 0x20], rbp
mov r9d, 0x40
mov r8d, dword [r12 + 0x50]
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x230]
mov qword [rsp + 0x20], rbp
mov r9d, 0x40
mov r8d, 0x4f0
mov rbp, qword [rsp + 0x40]
mov rdx, rbp
mov rcx, rdi
call qword [rsi + 0x230]
call qword [rsi + 0x1d0]
mov esi, eax
test r13b, r13b
jne 0x1400029e8
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
mov r9, rbp
mov r8d, 0
mov edx, 0
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x1a8]
test rax, rax
je 0x140002975
cmp qword [rsp + 0x2a0], 0
je 0x1400029ce
mov rdi, qword [rsp + 0x2a0]
mov qword [rdi], rax
mov eax, 1
jmp 0x140002cfd
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x228]
mov eax, 0
jmp 0x140002cfd
mov rsi, qword [0x1400c68e0]
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x228]
mov eax, 0
jmp 0x140002cfd
mov rsi, qword [0x1400c68e0]
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x228]
mov eax, 0
jmp 0x140002cfd
mov rsi, qword [0x1400c68e0]
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [rsi + 0x228]
mov eax, 0
jmp 0x140002cfd
mov rsi, qword [0x1400c68e0]
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [rsi + 0x228]
mov eax, r13d
jmp 0x140002cfd
mov rcx, rax
mov rax, qword [0x1400c68e0]
call qword [rax + 0xb8]
mov eax, 1
jmp 0x140002cfd
mov qword [rsp + 0x58], rbx
mov rax, qword [rsp + 0x40]
lea rdx, [rax + 9]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x58]
mov rcx, rdi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x240]
test eax, eax
je 0x140002a4b
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov rbx, qword [0x1400c68e0]
mov rdi, rbx
mov rbp, rbx
jmp 0x140002ae1
mov rsi, qword [0x1400c68e0]
mov r9d, 0x8000
mov r8d, 0
mov rdx, r14
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x228]
mov r9d, 0x8000
mov r8d, 0
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [rsi + 0x228]
mov eax, 0
jmp 0x140002cfd
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x68], rax
jne 0x140002b13
call qword [rdi + 0x1d0]
sub eax, esi
cmp eax, dword [rsp + 0x298]
jae 0x140002b13
mov ecx, dword [rsp + 0x260]
call qword [rbp + 0x1f0]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x68]
je 0x140002ae1
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x230]
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x80]
lea rcx, [0x140003cf8]
call qword [rbx + 0x258]
jmp 0x140002aa6
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x68], rax
je 0x140002cdc
mov rax, qword [0x1400c68e0]
mov r9, qword [rax + 0xf0]
mov byte [rsp + 0x1d6], 0x5e
mov byte [rsp + 0x1d7], 0x45
mov byte [rsp + 0x1d8], 0x56
mov byte [rsp + 0x1d9], 0x5f
mov byte [rsp + 0x1da], 0x58
mov byte [rsp + 0x1db], 0x1b
mov byte [rsp + 0x1dc], 0x52
mov byte [rsp + 0x1dd], 0x5b
mov byte [rsp + 0x1de], 0x54
mov byte [rsp + 0x1df], 0x39
lea rcx, [rsp + 0x1d6]
mov edx, 0
movsxd rax, edx
imul rax, rax, 0x51eb851f
sar rax, 0x24
mov r8d, edx
sar r8d, 0x1f
sub eax, r8d
imul eax, eax, 0x32
mov r8d, edx
sub r8d, eax
lea eax, [r8 + 0x30]
xor byte [rcx], al
add edx, 1
add rcx, 1
cmp edx, 0xa
jne 0x140002b8e
lea rcx, [rsp + 0x1d6]
call r9
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
cmp rdi, rbx
je 0x140002cdc
mov rbp, qword [0x1400c68e0]
mov r12, rbp
jmp 0x140002c2e
cmp qword [rbx], 0
je 0x140002c21
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x54]
mov rcx, qword [rbx]
call qword [r12 + 0x268]
mov esi, eax
test eax, eax
je 0x140002c21
mov eax, dword [rsp + 0x230]
cmp dword [rsp + 0x54], eax
je 0x140002c47
add rbx, 8
cmp rdi, rbx
je 0x140002ccb
lea rdx, [rsp + 0x80]
mov r8d, 0x104
mov rcx, qword [rbx]
call qword [rbp + 0x260]
jmp 0x140002bf0
mov r9d, esi
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov ecx, 3
mov rax, qword [0x1400c68e0]
call qword [rax + 0x280]
mov r14, rax
test rax, rax
je 0x140002c21
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, esi
mov rax, qword [0x1400c68e0]
call qword [rax + 0x278]
mov ecx, 0xa
mov rax, qword [0x1400c68e0]
call qword [rax + 0x1f0]
mov ecx, 0xa
mov rax, qword [0x1400c68e0]
call qword [rax + 0x1f0]
mov rcx, r14
mov rax, qword [0x1400c68e0]
call qword [rax + 0x288]
test r15b, r15b
je 0x140002c21
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x68]
je 0x140002cdc
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002cf3
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
call fcn.1400bb640
mov eax, r13d
jmp 0x140002cfd
mov eax, 0
add rsp, 0x1e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 0
jmp 0x140002cfd
mov eax, 0
jmp 0x140002cfd