Function at 0x1400017f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
xor ebx, ebx
mov r12, rcx
mov esi, edx
lea rcx, [rsp + 0x24]
lea r8d, [rbx + 0x2c]
xor edx, edx
mov dword [rsp + 0x20], ebx
call fcn.1400035a0
mov r8d, 0xd27
mov edx, esi
mov rcx, r12
call fcn.1400017a0
movsxd rax, dword [r12 + 0x3c]
mov ecx, 0x5a4d
lea rdi, [rax + r12]
cmp word [r12], cx
jne 0x140001abf
cmp dword [rdi], 0x4550
jne 0x140001abf
cmp esi, 0x40
jb 0x140001ab8
cmp esi, dword [rdi + 0x54]
jb 0x140001ab8
add rax, 0x108
mov r13d, esi
cmp rsi, rax
jb 0x140001ab8
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x140001abf
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 0x14]
test eax, eax
je 0x1400018c4
lea rdx, [rcx + rdi + 0x24]
mov r8d, eax
nop
mov eax, dword [rdx + 4]
test eax, eax
jne 0x1400018ac
mov ecx, dword [rdi + 0x38]
jmp 0x1400018af
mov rcx, rax
mov eax, dword [rdx]
add rcx, rax
cmp rcx, rbx
cmova rbx, rcx
add rdx, 0x28
dec r8
jne 0x1400018a0
lea rcx, [rsp + 0x20]
call qword [0x1414196d0]
mov r11d, dword [rsp + 0x24]
mov eax, dword [rdi + 0x50]
lea edx, [r11 - 1]
lea ebp, [rax + r11 - 1]
lea rcx, [r11 + rbx - 1]
not edx
and rbp, rdx
and rcx, rdx
cmp rbp, rcx
jne 0x140001abf
mov rcx, qword [rdi + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
call qword [0x1414196f8]
mov rsi, rax
test rax, rax
jne 0x14000193c
lea r9d, [rax + 4]
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [0x1414196f8]
mov rsi, rax
test rax, rax
jne 0x14000193c
lea ecx, [rax + 0xe]
jmp 0x140001ac4
call qword [0x1414196e8]
mov edx, 8
lea r8d, [rdx + 0x20]
mov rcx, rax
call qword [0x1414196c0]
mov rbx, rax
test rax, rax
je 0x140001a7c
mov qword [rax + 8], rsi
mov eax, dword [rsp + 0x24]
mov r9d, 4
mov dword [rbx + 0x24], eax
mov edx, dword [rdi + 0x54]
mov r8d, 0x1000
mov rcx, rsi
call qword [0x1414196f8]
mov rbp, rax
test rax, rax
je 0x140001a7c
mov r8d, dword [rdi + 0x54]
mov rdx, r12
mov rcx, rax
call fcn.1400036a0
movsxd rax, dword [r12 + 0x3c]
mov r9, rbx
add rax, rbp
mov r8, rdi
mov rdx, r13
mov qword [rbx], rax
mov rcx, r12
mov qword [rax + 0x30], rsi
call section..text
test eax, eax
je 0x140001a87
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x1400019e0
mov rcx, rbx
call fcn.140001120
mov dword [rbx + 0x20], eax
jmp 0x1400019e7
mov dword [rbx + 0x20], 1
mov rcx, rbx
call fcn.1400011f0
test eax, eax
je 0x140001a87
mov rcx, rbx
call fcn.1400014a0
test eax, eax
je 0x140001a87
mov rax, qword [rbx]
mov ecx, dword [rax + 0xd0]
test ecx, ecx
je 0x140001a4a
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140001a4a
mov rax, qword [rdi]
test rax, rax
je 0x140001a4a
nop word [rax + rax]
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea edx, [r8 + 1]
call rax
mov rax, qword [rdi + 8]
add rdi, 8
test rax, rax
jne 0x140001a30
mov rax, qword [rbx]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x140001a77
mov rcx, qword [rbx + 8]
xor r8d, r8d
lea rax, [rcx + rdx]
lea edx, [r8 + 1]
call rax
test eax, eax
jne 0x140001a70
mov ecx, 0x45a
jmp 0x140001a81
mov dword [rbx + 0x1c], 1
mov rax, rbx
jmp 0x140001acc
mov ecx, 0xe
call qword [0x1414196b0]
test rsi, rsi
je 0x140001a9d
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x1414196d8]
test rbx, rbx
je 0x140001aca
call qword [0x1414196e8]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1414196e0]
jmp 0x140001aca
mov ecx, 0xd
jmp 0x140001ac4
mov ecx, 0xc1
call qword [0x1414196b0]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
ret