Function at 0x140010ca0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x1401c0040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x20], rdx
mov r13, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x208]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov r15, qword [rax]
xor r15, rcx
mov qword [rsp + 0x50], r15
xor esi, esi
mov qword [rax], rsi
test r13, r13
je 0x140011070
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x208]
mov rbx, qword [rdi]
mov qword [rdi], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
lea r12, [0x1402c1410]
cmp eax, 0xffffffff
jle 0x140010d79
cdqe
lea rcx, [rax + rax*2]
cmp byte [r12 + rcx*8 + 0x11], 1
jne 0x140010d79
mov byte [r12 + rcx*8 + 0x11], sil
mov qword [rdi], rbx
mov r9d, 0x40
lea r8, [rsp + 0x70]
mov rdx, r13
lea ecx, [r9 - 0x3c]
call fcn.140011830
lea rdi, [rsp + 0x208]
mov rbx, qword [rdi]
mov qword [rdi], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
mov ebp, 5
cmp eax, 0xffffffff
jle 0x140010df2
cdqe
lea rcx, [rax + rax*2]
lea rdx, [rcx*8]
cmp byte [rdx + r12 + 0x11], 0
jne 0x140010df2
lea rax, [rsp + 0x208]
mov qword [rax], rsi
movzx eax, byte [rdx + r12 + 0x10]
mov ecx, eax
cmp al, 0xf3
cmova ecx, ebp
inc cl
mov byte [rdx + r12 + 0x10], cl
mov byte [rdx + r12 + 0x11], 1
mov qword [rdi], rbx
mov eax, 0x5a4d
cmp word [rsp + 0x70], ax
jne 0x140011070
lea rdi, [rsp + 0x208]
mov qword [rdi], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
cmp eax, 0xffffffff
jle 0x140010e35
cdqe
lea rcx, [rax + rax*2]
cmp byte [r12 + rcx*8 + 0x11], 1
jne 0x140010e35
mov byte [r12 + rcx*8 + 0x11], 0
mov qword [rdi], rbx
movsxd rdx, dword [rsp + 0xac]
add rdx, r13
mov r9d, 0x108
lea r8, [rsp + 0xb0]
mov ecx, 4
call fcn.140011830
lea rdi, [rsp + 0x208]
mov rbx, qword [rdi]
mov qword [rdi], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
cmp eax, 0xffffffff
jle 0x140010eb5
cdqe
lea rcx, [rax + rax*2]
lea rdx, [rcx*8]
cmp byte [rdx + r12 + 0x11], 0
jne 0x140010eb5
lea rax, [rsp + 0x208]
mov qword [rax], rsi
movzx eax, byte [rdx + r12 + 0x10]
mov ecx, eax
cmp al, 0xf3
cmova ecx, ebp
inc cl
mov byte [rdx + r12 + 0x10], cl
mov byte [rdx + r12 + 0x11], 1
mov qword [rdi], rbx
cmp dword [rsp + 0xb0], 0x4550
jne 0x140011070
mov ebx, dword [rsp + 0x138]
test ebx, ebx
je 0x140011070
mov eax, dword [rsp + 0x13c]
test eax, eax
je 0x140011070
mov r14d, eax
mov qword [rsp + 0x48], rax
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea rax, [rsp + 0x208]
mov rbp, qword [rax]
mov qword [rax], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
cmp eax, 0xffffffff
jle 0x140010f3c
movsxd rcx, eax
lea rdx, [rcx + rcx*2]
cmp byte [r12 + rdx*8 + 0x11], 1
jne 0x140010f3c
mov byte [r12 + rdx*8 + 0x11], 0
lea rax, [rsp + 0x208]
mov qword [rax], rbp
mov qword [rsp + 0x40], rbx
lea rax, [rbx + r13]
mov qword [rsp + 0x38], rax
mov r9, r14
mov r8, rdi
mov rdx, rax
mov ecx, 4
call fcn.140011830
lea r14, [rsp + 0x208]
mov rbp, qword [r14]
mov qword [r14], rsi
lea rcx, [fcn.140011830]
call fcn.140011a90
cmp eax, 0xffffffff
jle 0x140010fc7
cdqe
lea rcx, [rax + rax*2]
lea rdx, [rcx*8]
cmp byte [rdx + r12 + 0x11], 0
jne 0x140010fc7
lea rax, [rsp + 0x208]
mov qword [rax], rsi
movzx eax, byte [rdx + r12 + 0x10]
mov ecx, eax
cmp al, 0xf3
mov eax, 5
cmova ecx, eax
inc cl
mov byte [rdx + r12 + 0x10], cl
mov byte [rdx + r12 + 0x11], 1
mov qword [r14], rbp
mov r14, rdi
sub r14, rbx
mov r12d, dword [rdi + 0x20]
add r12, r14
mov eax, dword [rdi + 0x24]
add rax, r14
mov qword [rsp + 0x28], rax
mov eax, dword [rdi + 0x1c]
add rax, r14
mov qword [rsp + 0x30], rax
mov ebx, esi
cmp dword [rdi + 0x18], esi
jbe 0x14001101f
nop dword [rax]
nop dword [rax + rax]
mov ebp, ebx
mov ecx, dword [r12 + rbp*4]
add rcx, r14
mov rdx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140011032
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140011000
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140011076
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + rbp*2]
mov rcx, qword [rsp + 0x30]
mov ebx, dword [rcx + rax*4]
add rbx, r13
cmp rbx, qword [rsp + 0x38]
jb 0x1400110bc
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x48]
add rax, r13
cmp rbx, rax
ja 0x1400110bc
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbx, rsi
mov rsi, rbx
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rsp + 0x208]
mov qword [rax], r15
mov rax, rsi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14014fd50
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140011073