Function at 0x140001670
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
xor ebx, ebx
mov dword [rbp + 0x138], 4
mov dword [rbp - 0x18], ebx
mov dword [rbp - 0x30], 4
mov rax, qword gs:[0x30]
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x1400021dd
mov dword [rsp + 0x50], ebx
mov rcx, qword [rax + 0x60]
mov qword [rbp + 0x98], rcx
test rcx, rcx
je 0x1400021dd
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400021dd
lea rdx, [rax + 0x20]
mov qword [rbp - 0x80], rdx
test rdx, rdx
je 0x1400021dd
mov rdx, qword [rdx]
lea r8d, [rbx + 0xe]
mov ecx, 0xc98e7bb2
mov rdx, qword [rdx + 0x50]
call fcn.140001000
or eax, 1
lea r8d, [rbx + 0xe]
mov dword [rbp + 0x40], eax
mov ecx, 0xc8b3c93f
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x50]
call fcn.140001000
mov dword [rbp + 0xb0], eax
lea r8d, [rbx + 0xe]
mov rax, qword [rbp - 0x80]
mov ecx, 0x512a71e1
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x50]
call fcn.140001000
mov edx, 0xf2454b2d
mov dword [rbp + 0x120], eax
mov r8d, 0x10cd5964
lea rcx, [rsp + 0x40]
call fcn.140001040
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1400021dd
mov edx, 0xe8bdc7ea
mov r8d, 0x7f74f991
mov rcx, rax
call fcn.1400010d0
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x7db56fe2
mov r8d, 0xa2b215b6
call fcn.1400010d0
mov qword [rbp + 0x88], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0xe0fc18ea
mov r8d, 0x3ecc5f1d
call fcn.1400010d0
mov qword [rbp + 0x168], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x1ba3327d
mov r8d, 0x34af8c38
call fcn.1400010d0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x8c16a87e
mov r8d, 0xcf518744
call fcn.1400010d0
mov qword [rbp + 0x108], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x96517d67
mov r8d, 0x4bcfe745
call fcn.1400010d0
mov qword [rbp + 0xc0], rax
test rax, rax
je 0x1400021dd
mov edx, 0x829ca474
mov dword [rsp + 0x20], 0x1819fce8
mov r9d, 0x2f634ea9
lea rcx, [rsp + 0x40]
mov r8d, 0x33f736c6
call fcn.140001460
lea rcx, [rsp + 0x40]
call fcn.140001630
test eax, eax
je 0x1400021dd
lea rcx, [rbp + 0xa0]
call qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400021dd
mov edx, 0xe013b057
mov dword [rsp + 0x20], 0x3eb5860a
mov r9d, 0xa6d840db
lea rcx, [rsp + 0x40]
mov r8d, 0xbf27181c
call fcn.140001460
lea rcx, [rbp + 0xa0]
call qword [rsp + 0x48]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x1400021dd
mov edx, 0xb81bc128
mov dword [rsp + 0x20], 0x6c701bcc
mov r9d, 0xfbc0b18
lea rcx, [rsp + 0x40]
mov r8d, 0x827316cf
call fcn.140001460
lea rcx, [rbp + 0xa0]
call qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x2d4c767
mov r8d, 0xf33c4eef
call fcn.1400010d0
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x21f18f5f
mov r8d, 0x2702c53c
call fcn.1400010d0
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1400021dd
lea edx, [rbx + 0x27]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x88]
mov qword [rbp + 0x128], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0xf6453151
mov r8d, 0x98ee9766
call fcn.1400010d0
mov qword [rbp + 8], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x5e483660
mov r8d, 0xd44c62d
call fcn.1400010d0
mov qword [rbp + 0x78], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0x51eb4ce6
mov r8d, 0xab9ce8e0
call fcn.1400010d0
mov qword [rbp + 0x148], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp - 0x50]
mov edx, 0x256b6548
mov r8d, 0x1efe428c
call fcn.1400010d0
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1400021dd
mov edx, 0x281006e2
mov dword [rsp + 0x20], 0x70552bb5
mov r9d, 0xaa982389
lea rcx, [rsp + 0x40]
mov r8d, 0x64abec2e
call fcn.140001460
lea rcx, [rbp + 0xa0]
call qword [rsp + 0x48]
mov qword [rbp + 0x160], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp - 0x50]
mov edx, 0xa23da09c
mov r8d, 0x43b4ba6a
call fcn.1400010d0
mov qword [rbp + 0x170], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x60]
mov edx, 0xeb4475bc
mov r8d, 0x1f6d8a2c
call fcn.1400010d0
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp - 0x50]
mov edx, 0xe9d7a7fc
mov r8d, 0xa6ee9c03
call fcn.1400010d0
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400021dd
mov rcx, qword [rbp + 0x70]
mov edx, 0xf5722817
mov r8d, 0x23596a9a
call fcn.1400010d0
mov qword [rbp - 0x68], rax
test rax, rax
je 0x1400021dd
mov qword [rsp + 0x4a0], rsi
lea rcx, [rsp + 0x40]
mov edx, 0x74de0181
mov qword [rsp + 0x4a8], rdi
mov r9d, 0xbab0feb0
mov dword [rsp + 0x20], 0xb941aa6e
mov r8d, 0x1800a140
call fcn.140001460
mov rdi, qword [rbp + 0x128]
lea rsi, [rbp + 0xa0]
mov ecx, 0x10
mov edx, 0xe93944e0
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp + 0x160]
mov r8d, 0x1acb89ce
call fcn.1400010d0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp - 0x50]
mov edx, 0x5602a8dd
mov r8d, 0x404bf607
call fcn.1400010d0
mov qword [rbp + 0x48], rax
test rax, rax
je 0x1400021cd
mov edx, 0xc9e9698d
mov dword [rsp + 0x20], 0x9986dcca
mov r9d, 0x714d0243
lea rcx, [rsp + 0x40]
mov r8d, 0xfcee8133
call fcn.140001460
mov rdi, qword [rbp + 0x128]
lea rsi, [rbp + 0xa0]
add rdi, 0x10
mov dword [rsp + 0x20], 0xe1f32079
mov ecx, 0x10
mov edx, 0x99ead24
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov r9d, 0x84fb0931
mov r8d, 0x7b1a86e2
call fcn.140001460
mov rdi, qword [rbp + 0x128]
lea rsi, [rbp + 0xa0]
add rdi, 0x20
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp + 0x70]
mov edx, 0x29e7be79
mov r8d, 0x576a2fc2
call fcn.1400010d0
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp - 0x50]
mov edx, 0x12202507
mov r8d, 0x55e96a59
call fcn.1400010d0
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp - 0x78]
mov edx, 0x390c589d
mov r8d, 0x23982f3d
call fcn.1400010d0
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp - 0x50]
mov edx, 0x7830591a
mov r8d, 0x480f1cc4
call fcn.1400010d0
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400021cd
xor ecx, ecx
call qword [rsp + 0x68]
mov dword [rbp + 0x130], eax
test eax, eax
js 0x1400021cd
lea edx, [rbx + 0x20]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x88]
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x1400021cd
lea edx, [rbx + 0x13]
xor ecx, ecx
lea r9d, [rbx + 4]
mov r8d, 0x3000
call qword [rbp + 0x88]
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x1400021cd
mov edx, 0x31aa2b76
mov dword [rsp + 0x20], 0x1973b532
mov r9d, 0xd4c39720
lea rcx, [rsp + 0x40]
mov r8d, 0x31fd8d37
call fcn.140001460
mov rdi, qword [rbp + 0xe8]
lea rsi, [rbp + 0xa0]
mov ecx, 0x10
mov dword [rsp + 0x20], 0xf81c911b
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov edx, 0x40f2d64b
mov r9d, 0x9e533ec5
mov r8d, 0x474e3cc5
call fcn.140001460
mov rdi, qword [rbp + 0xe8]
lea rsi, [rbp + 0xa0]
add rdi, 0x10
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp - 0x50]
mov edx, 0x61a300f2
mov r8d, 0xf6655285
call fcn.1400010d0
mov qword [rbp + 0x50], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp + 0x70]
mov edx, 0x784da6ad
mov r8d, 0xeffc2061
call fcn.1400010d0
mov qword [rbp], rax
test rax, rax
je 0x1400021cd
lea rdx, [rbp + 0x180]
mov ecx, 0x104
call qword [rbp + 8]
test eax, eax
je 0x1400021cd
lea rcx, [rbp + 0x180]
call qword [rbp]
test eax, eax
je 0x1400021cd
mov edx, 0x675d2dc4
mov dword [rsp + 0x20], 0xab76210e
mov r9d, 0xf63b3811
lea rcx, [rsp + 0x40]
mov r8d, 0x2812b005
call fcn.140001460
mov rdi, qword [rbp + 0xd0]
lea rsi, [rbp + 0xa0]
mov ecx, 0x10
mov dword [rsp + 0x20], ebx
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
lea edx, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
call qword [rbp - 0x20]
mov qword [rbp + 0xd8], rax
test rax, rax
je 0x1400021cd
mov edx, 0xddb14efc
mov dword [rsp + 0x20], 0x2834dc9c
mov r9d, 0xeddff942
lea rcx, [rsp + 0x40]
mov r8d, 0x8831468a
call fcn.140001460
mov rdi, qword [rbp + 0xd0]
lea rsi, [rbp + 0xa0]
add rdi, 0x10
mov dword [rsp + 0x20], 0xdc4ddaaf
mov ecx, 0x10
mov edx, 0x6dc6c8e5
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
mov r9d, 0x70bdaa9c
mov r8d, 0x4acf9b3
call fcn.140001460
mov rcx, qword [rbp + 0xd8]
lea rdx, [rbp + 0xa0]
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 + 0x48]
mov qword [rbp + 0xe0], rax
test rax, rax
je 0x1400021cd
mov edx, 0xcd0d48e1
mov dword [rsp + 0x20], 0xc5ea68a5
mov r9d, 0x4d9227d7
lea rcx, [rsp + 0x40]
mov r8d, 0x62d02238
call fcn.140001460
mov rcx, qword [rbp + 0xe0]
lea r8, [rbp + 0xa4]
mov qword [rsp + 0x38], rbx
lea rdx, [rbp + 0xa0]
mov dword [rsp + 0x30], 0x80800000
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rbp + 0x170]
mov qword [rbp + 0x38], rax
test rax, rax
je 0x1400021cd
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rbp + 0x20]
test eax, eax
je 0x1400021cd
mov rcx, qword [rbp + 0x38]
lea rax, [rbp - 0x18]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x40]
mov edx, 0x20000005
call qword [rbp - 0x58]
test eax, eax
je 0x1400021cd
mov edx, dword [rbp - 0x40]
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [rbp + 0x88]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400021cd
mov r8d, dword [rbp - 0x40]
lea r9, [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
mov rdx, rax
call qword [rbp + 0x28]
test eax, eax
je 0x1400021cd
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x30], eax
jne 0x1400021cd
mov rcx, qword [rbp + 0x38]
call qword [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140001500
mov rax, qword [rbp + 0x158]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400021cd
mov edx, 0xe57942dc
mov dword [rsp + 0x20], 0x62959f93
mov r9d, 0xf4f05289
lea rcx, [rsp + 0x40]
mov r8d, 0x36e9b76a
call fcn.140001460
mov rcx, qword [rbp + 0xe0]
lea r8, [rbp + 0xa4]
mov qword [rsp + 0x38], rbx
lea rdx, [rbp + 0xa0]
mov dword [rsp + 0x30], 0x80800000
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [rbp + 0x170]
mov qword [rbp + 0x178], rax
test rax, rax
je 0x1400021cd
mov r8d, dword [rbp - 0x40]
lea r9, [rbp + 0x150]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp + 0x158]
mov qword [rsp + 0x20], rbx
call qword [rbp - 0x68]
test eax, eax
je 0x1400021cd
mov rcx, qword [rbp + 0x158]
call qword [rbp - 0x28]
mov rdx, qword [rbp + 0xd0]
lea r8d, [rbx + 1]
xor ecx, ecx
call qword [rbp + 0xf8]
mov dword [rbp + 0x110], eax
test eax, eax
js 0x1400021cd
mov r8, qword [rbp + 0xe8]
mov r9d, 0x1040
mov rdx, qword [rbp + 0x128]
xor ecx, ecx
call qword [rsp + 0x78]
mov rcx, qword [rbp + 0x178]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [rbp + 0x20]
test eax, eax
je 0x1400021cd
mov rcx, qword [rbp + 0x178]
lea rax, [rsp + 0x50]
lea r9, [rbp + 0x138]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x68]
mov edx, 0x20000005
call qword [rbp - 0x58]
test eax, eax
je 0x1400021cd
mov edx, dword [rbp + 0x68]
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x3000
call qword [rbp + 0x88]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x1400021cd
mov r8d, dword [rbp + 0x68]
lea r9, [rbp - 0x70]
mov rcx, qword [rbp + 0x178]
mov rdx, rax
call qword [rbp + 0x28]
test eax, eax
je 0x1400021cd
mov eax, dword [rbp + 0x68]
cmp dword [rbp - 0x70], eax
jne 0x1400021cd
mov rcx, qword [rbp - 0x48]
mov eax, 0x5a4d
mov qword [rbp - 0x38], rcx
cmp word [rcx], ax
jne 0x1400021cd
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
mov qword [rbp - 8], rdx
cmp dword [rdx], 0x4550
jne 0x1400021cd
mov eax, 0x8664
cmp word [rdx + 4], ax
jne 0x1400021cd
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400021cd
mov rcx, qword [rbp + 0xe0]
call qword [rbp + 0x50]
mov rcx, qword [rbp + 0xd8]
call qword [rbp + 0x50]
mov rax, qword [rbp - 8]
lea r9d, [rbx + 0x40]
xor ecx, ecx
mov r8d, 0x3000
mov edx, dword [rax + 0x50]
call qword [rbp + 0x88]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400021cd
mov rcx, qword [rbp + 0x178]
call qword [rbp + 0x50]
mov rcx, qword [rbp - 8]
movzx eax, word [rcx + 0x14]
add rcx, 0x18
add rcx, rax
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x40]
call fcn.140001200
lea rcx, [rsp + 0x40]
call fcn.140001280
lea rcx, [rsp + 0x40]
call fcn.140001360
mov rax, qword [rbp - 8]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rbp - 0x48]
mov ecx, dword [rax + 0x54]
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
call fcn.140001400
mov rsi, qword [rsp + 0x4a0]
mov rdi, qword [rsp + 0x4a8]
mov rbx, qword [rsp + 0x4b0]
xor eax, eax
add rsp, 0x490
pop rbp
ret