Function at 0x140030c50
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 - 0x1070]
mov eax, 0x1170
call fcn.140044090
sub rsp, rax
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x1060], rax
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x60], rdx
xor esi, esi
mov dword [rsp + 0x34], esi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov r14d, esi
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
lea rdx, [0x140085c58]
mov rcx, r13
call fcn.140001650
mov r15d, 1
mov dword [rsp + 0x34], r15d
mov ecx, 0x10000
movzx ebx, byte [rsp + 0x30]
movzx edi, byte [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12]
lea r8, [rbp]
mov rdx, rcx
mov rcx, r12
call qword [rax + 0x30]
cmp eax, 0xc000000d
je 0x14003112d
cmp eax, 0xc0000022
je 0x14003112d
cmp eax, 0xc000010a
je 0x14003112d
test eax, eax
jne 0x140031112
cmp dword [rbp + 0x20], 0x1000
jne 0x140031112
cmp dword [rbp + 0x28], 0x1000000
jne 0x140031112
mov rsi, qword [rbp + 8]
cmp r14, rsi
je 0x140031112
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x60]
call fcn.140045d80
mov rax, qword [r12]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x860]
mov r8d, 2
mov rdx, rsi
mov rcx, r12
call qword [rax + 0x28]
test eax, eax
js 0x14003110e
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 [r12]
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9d, 0x800
lea r8, [rbp + 0x60]
mov rdx, qword [rbp + 8]
mov rcx, r12
call qword [rax + 0x18]
test eax, eax
je 0x140030e13
lea rcx, [rbp - 0x38]
call fcn.140002d40
lea rcx, [rbp - 0x58]
call fcn.140002d40
jmp 0x140031112
movsxd rax, dword [rbp + 0x9c]
lea rcx, [rbp + 0x60]
add rcx, rax
mov eax, 0x5a4d
cmp word [rbp + 0x60], ax
jne 0x140030e69
cmp dword [rcx], 0x4550
jne 0x140030e69
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
cmp ax, dx
jne 0x140030e50
mov eax, dword [rcx + 0x50]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], esi
jmp 0x140030ed1
mov edx, 0x20b
cmp ax, dx
jne 0x140030dfc
mov eax, dword [rcx + 0x50]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], 1
jmp 0x140030ed1
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov rax, qword [rbp + 8]
movabs rsi, 0x7ffffffeffff
cmp rax, rsi
jae 0x140030eca
nop dword [rax + rax]
mov rcx, qword [r12]
mov r9, qword [rcx + 0x30]
lea r8, [rbp + 0x30]
mov rdx, rax
mov rcx, r12
call r9
test eax, eax
js 0x140030ec1
cmp dword [rbp + 0x58], 0x1000000
jne 0x140030ec1
mov rax, qword [rbp + 0x48]
add rax, qword [rbp + 0x30]
cmp rax, rsi
jb 0x140030e90
jmp 0x140030eca
mov eax, dword [rbp + 0x30]
sub eax, dword [rbp + 8]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], 3
cmp byte [r12 + 0x16], 1
jne 0x140030f3a
mov edx, dword [rbp + 0x864]
lea rcx, [rsp + 0x38]
call fcn.140002e30
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140013230
mov r14, rax
lea rax, [rbp - 0x38]
cmp rax, r14
je 0x140030f33
lea rcx, [rbp - 0x38]
call fcn.1400033b0
mov rcx, r14
call fcn.140003390
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003390
mov rcx, rsi
call fcn.140002ed0
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.1400036b0
lea rcx, [rsp + 0x78]
jmp 0x140030f9a
mov rdx, qword [rbp + 0x868]
lea rcx, [rsp + 0x78]
call fcn.140002e30
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140013230
mov r14, rax
lea rax, [rbp - 0x38]
cmp rax, r14
je 0x140030f95
lea rcx, [rbp - 0x38]
call fcn.1400033b0
mov rcx, r14
call fcn.140003390
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.140003390
mov rcx, rsi
call fcn.140002ed0
mov rdx, r14
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 0x140030fc0
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400103f0
or r15d, 2
jmp 0x140031035
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 0x140031002
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 r15d, 2
cmp rax, 0xffffffffffffffff
je 0x140031027
lea r8, [rax + 1]
mov r9, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.140013360
jmp 0x140031035
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400103f0
mov dword [rsp + 0x34], r15d
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
mov rax, qword [rbp + 8]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140015bf0
mov rsi, rax
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x1400310e5
mov r14, rdx
call fcn.140001130
mov rdx, r14
mov ecx, 0x10
call fcn.140001120
xor edx, edx
mov rcx, rax
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov rax, qword [rsi]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
mov qword [rsi], rdx
mov qword [rsi + 8], rdx
add qword [r13 + 8], 0x10
jmp 0x1400310f1
mov r8, rsi
mov rcx, r13
call fcn.140031830
nop
lea rcx, [rsp + 0x68]
call fcn.140008e30
nop
lea rcx, [rbp - 0x38]
call fcn.140002d40
lea rcx, [rbp - 0x58]
call fcn.140002d40
mov r14, qword [rbp + 8]
mov rcx, qword [rbp + 0x18]
add rcx, qword [rbp]
movabs rax, 0x7ffffffeffff
cmp rcx, rax
jb 0x140030cf0
mov rax, r13
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.1400433a0
mov rbx, qword [rsp + 0x11c0]
add rsp, 0x1170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret