Function at 0x140031160
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10c0]
mov eax, 0x11c0
call fcn.140044090
sub rsp, rax
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x10b0], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x60], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov esi, r15d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
lea rdx, [0x140085c58]
mov rcx, r12
call fcn.140001650
mov r14d, 1
mov dword [rsp + 0x34], r14d
mov ecx, 0x10000
movzx ebx, byte [rsp + 0x30]
movzx edi, byte [rsp + 0x30]
nop word [rax + rax]
mov rax, qword [r13]
lea r8, [rbp]
mov rdx, rcx
mov rcx, r13
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x140031638
cmp eax, 0xc0000022
je 0x140031638
cmp eax, 0xc000010a
je 0x140031638
test eax, eax
jne 0x14003161d
cmp dword [rbp + 0x20], 0x1000
jne 0x14003161d
mov eax, dword [rbp + 0x10]
cmp eax, 1
je 0x14003161d
bt eax, 8
jb 0x14003161d
cmp rsi, qword [rbp + 8]
je 0x14003161d
movzx edx, bl
lea rcx, [rbp - 0x58]
call fcn.140004df0
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x58]
call fcn.140001650
lea rcx, [rbp - 0x58]
call fcn.1400034a0
movzx edx, dil
lea rcx, [rbp - 0x38]
call fcn.140004df0
lea rdx, [0x140085c58]
lea rcx, [rbp - 0x38]
call fcn.140001650
lea rcx, [rbp - 0x38]
call fcn.1400034a0
nop
mov rax, qword [r13]
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
lea r8, [rbp + 0xb0]
mov rdx, qword [rbp + 8]
mov rcx, r13
call qword [rax + 0x18]
test eax, eax
jne 0x14003160b
movsxd rax, dword [rbp + 0xec]
lea rcx, [rbp + 0xb0]
add rcx, rax
mov eax, 0x5a4d
cmp word [rbp + 0xb0], ax
jne 0x14003160b
cmp dword [rcx], 0x4550
jne 0x14003160b
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x14003131e
mov dword [rbp - 0x14], r15d
jmp 0x14003132f
mov edx, 0x20b
cmp ax, dx
jne 0x140031335
mov dword [rbp - 0x14], 1
mov eax, dword [rcx + 0x50]
mov dword [rbp - 0x18], eax
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x10], r15
mov byte [rbp - 8], 0
mov rax, qword [r13]
mov qword [rsp + 0x20], 0x1000
lea r9, [rbp + 0xb0]
mov r8d, 2
mov rcx, r13
call qword [rax + 0x28]
test eax, eax
jne 0x140031519
cmp byte [r13 + 0x16], 1
jne 0x1400313d5
mov edx, dword [rbp + 0xb4]
lea rcx, [rsp + 0x38]
call fcn.140002e30
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140013230
mov r15, rax
lea rax, [rbp - 0x38]
cmp rax, r15
je 0x1400313ce
lea rcx, [rbp - 0x38]
call fcn.1400033b0
mov rcx, r15
call fcn.140003390
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003390
mov rcx, rsi
call fcn.140002ed0
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.1400036b0
lea rcx, [rsp + 0x78]
jmp 0x140031435
mov rdx, qword [rbp + 0xb8]
lea rcx, [rsp + 0x78]
call fcn.140002e30
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140013230
mov r15, rax
lea rax, [rbp - 0x38]
cmp rax, r15
je 0x140031430
lea rcx, [rbp - 0x38]
call fcn.1400033b0
mov rcx, r15
call fcn.140003390
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003390
mov rcx, rsi
call fcn.140002ed0
mov rdx, r15
lea rcx, [rbp - 0x38]
call fcn.1400036b0
lea rcx, [rsp + 0x38]
call fcn.140002d40
lea rcx, [rbp - 0x38]
call fcn.140002b20
test al, al
je 0x14003145b
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400103f0
or r14d, 2
jmp 0x1400314d0
mov rsi, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.140002960
mov r9d, 0x5c
mov rdx, rsi
mov rcx, rax
call fcn.140013450
cmp rax, 0xffffffffffffffff
jne 0x14003149d
mov rsi, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.140002960
mov r9d, 0x2f
mov rdx, rsi
mov rcx, rax
call fcn.140013450
or r14d, 2
cmp rax, 0xffffffffffffffff
je 0x1400314c2
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.140013360
jmp 0x1400314d0
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400103f0
mov dword [rsp + 0x34], r14d
lea rcx, [rbp - 0x58]
call fcn.1400033b0
lea rcx, [rsp + 0x38]
call fcn.140003390
mov rsi, rax
lea rcx, [rbp - 0x58]
call fcn.140003390
mov rcx, rsi
call fcn.140002ed0
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x58]
call fcn.1400036b0
lea rcx, [rsp + 0x38]
call fcn.140002d40
xor r15d, r15d
jmp 0x140031595
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
mov r8, qword [rbp - 0x60]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.140003570
lea rcx, [rbp - 0x38]
call fcn.140003390
lea rcx, [rbp - 0x58]
call fcn.140003390
mov rsi, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.140002960
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400035b0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140015bf0
mov rsi, rax
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x1400315f1
mov r15, rdx
call fcn.140001130
mov rdx, r15
mov ecx, 0x10
call fcn.140001120
xor r15d, r15d
mov rcx, rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov rax, qword [rsi]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
add qword [r12 + 8], 0x10
jmp 0x1400315fd
mov r8, rsi
mov rcx, r12
call fcn.140031830
nop
lea rcx, [rsp + 0x68]
call fcn.140008e30
mov rsi, qword [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140002d40
lea rcx, [rbp - 0x58]
call fcn.140002d40
mov rcx, qword [rbp + 0x18]
add rcx, qword [rbp]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x140031200
mov rax, r12
mov rcx, qword [rbp + 0x10b0]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x1210]
add rsp, 0x11c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret