Function at 0x140001660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
xor ebx, ebx
mov dword [rbp - 0x50], 4
mov dword [rbp - 0x80], ebx
mov dword [rbp + 0x138], 4
mov rax, qword gs:[0x30]
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rax + 0x60]
mov qword [rbp + 0x68], rcx
test rcx, rcx
je 0x14000227f
mov dword [rbp + 0xb0], ebx
mov rax, qword [rcx + 0x18]
mov qword [rbp], rax
test rax, rax
je 0x14000227f
lea rdx, [rax + 0x20]
mov qword [rbp + 0x188], rdx
test rdx, rdx
je 0x14000227f
mov rdx, qword [rdx]
lea r8d, [rbx + 0x11]
mov ecx, 0x76c1966a
mov rdx, qword [rdx + 0x50]
call section..text
or eax, 1
lea r8d, [rbx + 0x11]
mov dword [rbp + 0x1c0], eax
mov ecx, 0xde9bd0c5
mov rax, qword [rbp + 0x188]
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x50]
call section..text
mov edx, 0x18ccebc7
mov dword [rbp + 0x190], eax
mov r8d, 0xabad4b0a
lea rcx, [rsp + 0x40]
call fcn.140001040
mov qword [rbp + 0x128], rax
test rax, rax
je 0x14000227f
mov edx, 0x975efc3f
mov r8d, 0xa0024da1
mov rcx, rax
call fcn.1400010d0
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x424385c1
mov r8d, 0xd09d8ff8
call fcn.1400010d0
mov qword [rbp + 0x108], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x35a5a295
mov r8d, 0x35ce9ff2
call fcn.1400010d0
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x14000228f
mov rcx, qword [rbp + 0x128]
mov edx, 0xfba3aaf9
mov r8d, 0xbdd7494b
call fcn.1400010d0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x4c9c47d1
mov r8d, 0xc8be8dab
call fcn.1400010d0
mov qword [rbp + 0x48], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0xfee1ccc2
mov r8d, 0x6bb56e78
call fcn.1400010d0
mov qword [rbp + 0x198], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x370f8a8d
mov r8d, 0x5251724a
call fcn.1400010d0
mov qword [rbp + 0x168], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0xf63a6262
mov r8d, 0x2be1b070
call fcn.1400010d0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x792752b4
mov r8d, 0x9329d6f8
call fcn.1400010d0
mov qword [rbp + 0x88], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x3214ca77
mov r8d, 0x1844a859
call fcn.1400010d0
mov qword [rbp + 0x80], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x1bdf0c81
mov r8d, 0x55c265c3
call fcn.1400010d0
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0xc8efa489
mov r8d, 0x40b4f208
call fcn.1400010d0
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x646fa6b8
mov r8d, 0x91fbe945
call fcn.1400010d0
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14000227f
mov rcx, qword [rbp + 0x128]
mov edx, 0x405eaa9f
mov r8d, 0x5ff7a47b
call fcn.1400010d0
mov qword [rbp + 0x130], rax
test rax, rax
je 0x14000227f
mov rax, qword [rbp + 0x188]
lea r8d, [rbx + 0x11]
mov ecx, 0x5c3e8f0a
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x50]
call section..text
mov rcx, qword [rbp + 0x128]
mov edx, 0x62ff036e
mov r8d, 0x10335dc8
mov dword [rbp - 0x78], eax
call fcn.1400010d0
mov qword [rbp + 0x30], rax
test rax, rax
je 0x14000227f
mov edx, 0x878e5d3f
mov dword [rsp + 0x20], 0xf7d24d79
mov r9d, 0x3a8ef5e6
lea rcx, [rsp + 0x40]
mov r8d, 0xeb100022
call fcn.140001460
lea rcx, [rsp + 0x40]
call fcn.140001620
test eax, eax
je 0x14000227f
lea rcx, [rbp + 0x158]
call qword [rbp - 0x10]
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x14000227f
mov edx, 0x251bd901
mov r8d, 0xd6d7c86f
mov rcx, rax
call fcn.1400010d0
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000227f
mov edx, 0x3c4e975c
mov dword [rsp + 0x20], 0x7d329957
mov r9d, 0x21e2af90
lea rcx, [rsp + 0x40]
mov r8d, 0x9a0a9fc
call fcn.140001460
lea rcx, [rbp + 0x158]
call qword [rbp - 0x10]
mov qword [rbp + 0x150], rax
test rax, rax
je 0x14000227f
mov edx, 0x2f3cdaf6
mov r8d, 0x437dd855
mov rcx, rax
call fcn.1400010d0
mov qword [rbp + 0xa0], rax
test rax, rax
je 0x14000227f
lea edx, [rbx + 0x13]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x108]
mov qword [rbp + 0x170], rax
test rax, rax
je 0x14000227f
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [rbp + pe_nt_image_headers64]
test eax, eax
je 0x14000227f
lea rcx, [rbp + 0x1d0]
call qword [rbp + 0x10]
test eax, eax
je 0x14000227f
mov qword [rsp + 0x4f0], rsi
lea rcx, [rsp + 0x40]
mov edx, 0xbf844dcd
mov qword [rsp + 0x4f8], rdi
mov r9d, 0x8aa96eda
mov dword [rsp + 0x20], 0x3f734df9
mov r8d, 0x8c987cbf
call fcn.140001460
mov rdi, qword [rbp + 0x170]
lea rsi, [rbp + 0x158]
add rdi, 0x10
mov dword [rsp + 0x20], 0x69ea7fa
mov ecx, 0x10
mov edx, 0xfe524ae7
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov r9d, 0x3eb9730a
mov r8d, 0x2f8e7fa
call fcn.140001460
lea rcx, [rbp + 0x158]
call qword [rbp - 0x10]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14000226f
lea edx, [rbx + 0x27]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x108]
mov qword [rbp + 0x178], rax
test rax, rax
je 0x14000226f
mov edx, 0xe070a489
mov dword [rsp + 0x20], 0x9fe9180d
mov r9d, 0x110e3680
lea rcx, [rsp + 0x40]
mov r8d, 0x3abaaddc
call fcn.140001460
mov rdi, qword [rbp + 0x170]
lea rsi, [rbp + 0x158]
mov ecx, 0x10
mov dword [rsp + 0x20], 0x7eebc784
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov edx, 0x96e3a3fb
mov r9d, 0x85b6d530
mov r8d, 0x1f8a686e
call fcn.140001460
mov rdi, qword [rbp + 0x178]
lea rsi, [rbp + 0x158]
mov ecx, 0x10
lea edx, [rbx + 0x20]
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x108]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14000226f
mov edx, 0xd09c98c
mov dword [rsp + 0x20], 0x896f9f04
mov r9d, 0xa4152433
lea rcx, [rsp + 0x40]
mov r8d, 0x2da9e11a
call fcn.140001460
lea rcx, [rbp + 0x158]
call qword [rbp - 0x10]
mov qword [rbp - 8], rax
test rax, rax
je 0x14000226f
mov edx, 0x857d0344
mov r8d, 0xb90951b8
mov rcx, rax
call fcn.1400010d0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0x40c2ef1a
mov r8d, 0x2be03563
call fcn.1400010d0
mov qword [rbp + 0x120], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp + 0x18]
mov edx, 0xfc4a52bf
mov r8d, 0xedfd5573
call fcn.1400010d0
mov qword [rbp + 0x1a0], rax
test rax, rax
je 0x14000226f
mov edx, 0x1b7bbe8c
mov dword [rsp + 0x20], 0x388d7720
mov r9d, 0xc005d0b7
lea rcx, [rsp + 0x40]
mov r8d, 0xc8acd930
call fcn.140001460
mov rdi, qword [rbp + 0x178]
lea rsi, [rbp + 0x158]
add rdi, 0x20
mov dword [rsp + 0x20], ebx
mov ecx, 0x10
lea edx, [rbx + 1]
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
call qword [rbp + 0x120]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000226f
xor ecx, ecx
call qword [rbp + 0x1a0]
mov dword [rbp + 0x180], eax
test eax, eax
js 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0xfcb8bb2a
mov r8d, 0x95f96021
call fcn.1400010d0
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x14000226f
mov edx, 0x4227198e
mov dword [rsp + 0x20], 0x6faff9be
mov r9d, 0x14af73b
lea rcx, [rsp + 0x40]
mov r8d, 0x2413afff
call fcn.140001460
mov rdi, qword [rbp - 0x20]
lea rsi, [rbp + 0x158]
add rdi, 0x10
mov dword [rsp + 0x20], 0x1663e7fe
mov ecx, 0x10
mov edx, 0x4420099c
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov r9d, 0xb18faf78
mov r8d, 0xbd2fe9ad
call fcn.140001460
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x158]
mov qword [rsp + 0x38], rbx
mov r8d, 0x1bb
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
call qword [rbp + 0xd0]
mov qword [rbp + 0xd8], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0xdb51c54c
mov r8d, 0x25da0ba2
call fcn.1400010d0
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14000226f
mov edx, 0x426898a9
mov dword [rsp + 0x20], 0x9a0c037f
mov r9d, 0x8c72cce9
lea rcx, [rsp + 0x40]
mov r8d, 0x8b610d7c
call fcn.140001460
mov rdi, qword [rbp - 0x20]
lea rsi, [rbp + 0x158]
mov ecx, 0x10
mov dword [rsp + 0x20], 0xf0f3b0b7
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov edx, 0xb2cfabd4
mov r9d, 0x6136e4d8
mov r8d, 0x8f14c819
call fcn.140001460
mov rcx, qword [rbp + 0xd8]
lea r8, [rbp + 0x15c]
mov qword [rsp + 0x38], rbx
lea rdx, [rbp + 0x158]
mov dword [rsp + 0x30], 0x80800000
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rbp + 0x70]
mov qword [rbp + 0x118], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0xe76ffb77
mov r8d, 0xe04c00c3
call fcn.1400010d0
mov qword [rbp - 0x18], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0xe4b44481
mov r8d, 0xe407b2b7
call fcn.1400010d0
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp - 8]
mov edx, 0xf6a94e5f
mov r8d, 0xa366e03b
call fcn.1400010d0
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14000226f
mov edx, 0x6b8899f0
mov dword [rsp + 0x20], 0xe2442c6
mov r9d, 0xd8a595
lea rcx, [rsp + 0x40]
mov r8d, 0x8f05ead0
call fcn.140001460
mov rdi, qword [rbp + 0x178]
lea rsi, [rbp + 0x158]
add rdi, 0x10
mov dword [rsp + 0x20], ebx
mov ecx, 0x10
xor r9d, r9d
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp + 0x118]
xor r8d, r8d
xor edx, edx
call qword [rbp + 0x40]
test eax, eax
je 0x14000226f
lea rcx, [rsp + 0x40]
call fcn.1400014f0
mov rax, qword [rbp - 0x40]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000226f
mov rcx, qword [rbp + 0x118]
lea rax, [rbp + 0xb0]
lea r9, [rbp + 0x138]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
call qword [rbp - 0x18]
test eax, eax
je 0x14000226f
mov edx, dword [rsp + 0x50]
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [rbp + 0x108]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14000226f
mov r8d, dword [rsp + 0x50]
lea r9, [rbp - 0x68]
mov rcx, qword [rbp + 0x118]
mov rdx, rax
call qword [rsp + 0x58]
test eax, eax
je 0x14000226f
mov eax, dword [rsp + 0x50]
cmp dword [rbp - 0x68], eax
jne 0x14000226f
mov rcx, qword [rbp + 0x118]
call qword [rbp + 0x20]
mov r8d, dword [rsp + 0x50]
lea r9, [rbp + 0x1a8]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x40]
mov qword [rsp + 0x20], rbx
call qword [rsp + 0x40]
test eax, eax
je 0x14000226f
mov rcx, qword [rbp - 0x40]
call qword [rbp + 0x48]
mov rdx, qword [rbp - 0x20]
lea r8d, [rbx + 1]
xor ecx, ecx
call qword [rbp + 0xa0]
mov dword [rbp + 0xc8], eax
test eax, eax
js 0x14000226f
mov r8, qword [rbp + 0x170]
mov r9d, 0x1040
mov rdx, qword [rbp + 0x178]
xor ecx, ecx
call qword [rbp - 0x70]
mov rcx, qword [rbp + 0xd8]
call qword [rbp + 0x20]
mov edx, 0xe172537
mov dword [rsp + 0x20], 0x8f06faf5
mov r9d, 0x84cc7789
lea rcx, [rsp + 0x40]
mov r8d, 0xa3027136
call fcn.140001460
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x158]
mov qword [rsp + 0x38], rbx
mov r8d, 0x1bb
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
call qword [rbp + 0xd0]
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x14000226f
mov edx, 0x20931de2
mov dword [rsp + 0x20], 0x286334a5
mov r9d, 0xbdfbe1ff
lea rcx, [rsp + 0x40]
mov r8d, 0x190f9c41
call fcn.140001460
mov rcx, qword [rbp + 0xa8]
lea r8, [rbp + 0x15c]
mov qword [rsp + 0x38], rbx
lea rdx, [rbp + 0x158]
mov dword [rsp + 0x30], 0x80800000
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rbp + 0x70]
mov qword [rbp + 0x100], rax
test rax, rax
je 0x14000226f
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rbp + 0x40]
test eax, eax
je 0x14000226f
mov rcx, qword [rbp + 0x100]
lea rax, [rbp - 0x80]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x58]
mov edx, 0x20000005
call qword [rbp - 0x18]
test eax, eax
je 0x14000226f
mov edx, dword [rbp + 0x58]
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [rbp + 0x108]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14000226f
mov r8d, dword [rbp + 0x58]
lea r9, [rbp - 0x38]
mov rcx, qword [rbp + 0x100]
mov rdx, rax
call qword [rsp + 0x58]
test eax, eax
je 0x14000226f
mov eax, dword [rbp + 0x58]
cmp dword [rbp - 0x38], eax
jne 0x14000226f
mov rcx, qword [rsp + 0x60]
call qword [rbp + 0x20]
mov rcx, qword [rbp + 0x100]
call qword [rbp + 0x20]
mov rcx, qword [rbp + 0xa8]
call qword [rbp + 0x20]
mov rcx, qword [rbp + 0x50]
mov eax, 0x5a4d
mov qword [rbp + 0x38], rcx
cmp word [rcx], ax
jne 0x14000226f
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
mov qword [rbp + 0xe8], rdx
cmp dword [rdx], 0x4550
jne 0x14000226f
mov eax, 0x8664
cmp word [rdx + 4], ax
jne 0x14000226f
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000226f
movzx ecx, word [rdx + 0x14]
lea r9d, [rbx + 0x40]
add rcx, 0x18
mov r8d, 0x3000
add rcx, rdx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov edx, dword [rdx + 0x50]
call qword [rbp + 0x108]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x14000226f
mov rcx, qword [rbp + 0xe8]
mov rdi, rax
mov rsi, qword [rbp + 0x50]
mov ecx, dword [rcx + 0x54]
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
call fcn.140001200
lea rcx, [rsp + 0x40]
call fcn.140001360
lea rcx, [rsp + 0x40]
call fcn.140001280
lea rcx, [rsp + 0x40]
call fcn.140001400
mov rsi, qword [rsp + 0x4f0]
mov rdi, qword [rsp + 0x4f8]
mov rax, qword [rbp + 0xf0]
test rax, rax
je 0x14000228f
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x500]
xor eax, eax
add rsp, 0x4e0
pop rbp
ret