Function at 0x140013d30
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rcx, qword [0x140062530]
mov edx, 0x400
call fcn.140003eb0
mov edx, 0x357cd588
lea rcx, [0x1400612e0]
mov rbx, rax
mov rax, qword [0x140062510]
mov qword [rbx], rax
call fcn.14000ae80
mov edx, 0x5fde8388
mov rcx, rax
call fcn.14000b5e0
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
mov rax, qword [0x140062380]
call qword [rax]
mov r8d, 0x1000
mov edx, 8
mov rcx, rax
mov rax, qword [0x140062390]
call qword [rax]
mov edx, 0x3b842508
lea rcx, [0x1400612a0]
mov dword [rsp + 0x58], 0
lea r14, [rax + 0x15]
lea r13, [rax + 0x2a]
mov qword [0x14007c0d0], rax
mov r12, rax
mov qword [0x14007c0c8], r14
mov qword [0x14007c0c0], r13
call fcn.14000ae80
mov edx, 0x73490f08
mov rcx, rax
call fcn.14000b5e0
lea rcx, [0x140060240]
test rax, rax
je 0x140013e07
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, rdx
mov rdx, r12
call fcn.140010af0
mov edx, 0x39064b88
lea rcx, [0x140061260]
call fcn.14000ae80
mov edx, 0x402a988
mov rcx, rax
call fcn.14000b5e0
lea rcx, [0x140060240]
test rax, rax
je 0x140013e45
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, rdx
mov rdx, r14
call fcn.140010af0
mov edx, 0x4ce8e708
lea rcx, [0x140061220]
call fcn.14000ae80
mov edx, 0x5830e108
mov rcx, rax
call fcn.14000b5e0
lea rcx, [0x140060240]
test rax, rax
je 0x140013e83
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, rdx
mov rdx, r13
call fcn.140010af0
mov edx, 0x1aa3b188
lea rcx, [0x1400611f0]
call fcn.14000ae80
mov edx, 0x5cf23f88
mov rcx, rax
call fcn.14000b5e0
lea rdx, [r12 + 0x93]
lea rcx, [0x140060240]
test rax, rax
je 0x140013ec9
lea r8, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, r8
call fcn.140010af0
mov edx, 0x77b07908
lea rcx, [0x1400611c0]
call fcn.14000ae80
mov edx, 0x595a0308
lea r13, [r12 + 0x126]
mov rcx, rax
call fcn.14000b5e0
lea rdx, [r12 + 0x111]
lea rcx, [0x140060240]
test rax, rax
je 0x140013f14
lea r8, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, r8
call fcn.140010af0
lea rcx, [0x140061180]
mov edx, 0x30b2c588
call fcn.14000b5e0
lea rcx, [0x140060240]
test rax, rax
je 0x140013f42
lea rdx, [rax + 0x10]
cmp qword [rax], 0
cmovne rcx, rdx
mov rdx, r13
lea rdi, [rbx + 0x38]
call fcn.140010af0
mov rax, qword [0x1400624d0]
lea r9, [rsp + 0x58]
mov rcx, r12
mov r8d, 0x20
mov edx, 0x15
and rdi, 0xfffffffffffffff8
call qword [rax]
mov edx, 0x316cf508
lea rcx, [0x140061080]
call fcn.14000b5e0
mov edx, 0x5685bb88
lea rcx, [0x140061020]
call fcn.14000b5e0
mov eax, ebx
mov edx, 0x3c863708
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x3f0], 0
sub eax, edi
lea ecx, [rax + 0x3f8]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [rbx + 0x10], 0
lea rcx, [0x140060e60]
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
call fcn.14000b5e0
mov edx, 0x4f48a188
lea rcx, [0x140060de0]
call fcn.14000b5e0
mov edx, 0x57564908
lea rcx, [0x140060c20]
call fcn.14000b5e0
mov edx, 0x4d4f788
lea rcx, [0x140060a20]
call fcn.14000b5e0
mov edx, 0x2341ab08
lea rcx, [0x140060920]
call fcn.14000b5e0
call fcn.14000d3c0
mov edx, 0x2bf1b308
xor ecx, ecx
call fcn.14000ae80
mov rcx, rax
call fcn.140012740
mov rax, qword [0x1400624c0]
mov ecx, 0x5dc
call qword [rax]
call fcn.14000cdf0
mov edx, 0x72156388
lea rcx, [0x140060880]
call fcn.14000b5e0
mov edx, 0x1fabaf08
lea rcx, [0x1400606a0]
call fcn.14000b5e0
mov rax, qword [str.XN_a_]
mov rdx, qword [0x140062940]
mov rcx, rbx
mov rsi, qword [str.PN_a_]
mov qword [rbx + 0x3f8], 0xffffffffffffffff
mov rax, qword [rax]
add rax, 0x10
mov qword [rdx], rax
mov rax, qword [rsi]
mov rdx, qword [str._bN_a_]
add rax, 0x10
mov qword [rdx], rax
call fcn.140006650
mov rdi, qword [rsi]
mov qword [rsp + 0x60], 0
cmp word [rdi + 0x10], 0x5a4d
jne 0x140014388
movsxd r12, dword [rdi + 0x4c]
cmp r12d, 0x400
jg 0x140014388
add rdi, 0x10
add r12, rdi
cmp dword [r12], 0x4550
jne 0x140014388
mov eax, dword [r12 + 0xb0]
mov rcx, qword [rbx + 0x3f8]
lea r9, [rsp + 0x68]
mov r8d, 0
test eax, eax
mov rax, qword [r12 + 0x30]
mov qword [rsp + 0x60], rax
movsxd rax, dword [r12 + 0x50]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rdx, rax
mov dword [rsp + 0x20], 0x3000
je 0x140014370
call qword [0x14007c0c0]
mov rdx, qword [rsp + 0x60]
lea rbp, [rsp + 0x70]
mov qword [r12 + 0x30], rdx
mov r8, rdi
xor r13d, r13d
movsxd r9, dword [r12 + 0x54]
mov rcx, qword [rbx + 0x3f8]
mov qword [rsp + 0x70], 0
lea rsi, [r12 + 0x108]
mov qword [rsp + 0x20], rbp
call qword [0x14007c0c8]
cmp word [r12 + 6], 0
je 0x1400141da
nop dword [rax + rax]
movsxd rax, dword [rsi + 0x14]
movsxd rdx, dword [rsi + 0xc]
add r13, 1
add rsi, 0x28
movsxd r9, dword [rsi - 0x18]
mov rcx, qword [rbx + 0x3f8]
mov qword [rsp + 0x20], rbp
add rdx, qword [rsp + 0x60]
lea r8, [rdi + rax]
call qword [0x14007c0c8]
movzx eax, word [r12 + 6]
cmp rax, r13
jg 0x1400141a0
mov rbp, qword [rsp + 0x60]
test rbp, rbp
je 0x140014310
cmp word [rbp], 0x5a4d
jne 0x140014310
movsxd rax, dword [rbp + 0x3c]
cmp eax, 0x400
jg 0x140014310
add rax, rbp
cmp dword [rax], 0x4550
jne 0x140014310
movsxd rdx, dword [rax + 0x90]
test edx, edx
je 0x140014310
movsxd rax, dword [rax + 0x94]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140014310
lea rax, [rdx + rbp]
mov rdi, qword [0x140062460]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov r13, qword [0x140062420]
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x30]
mov edx, dword [rax]
mov r8d, dword [rax + 0x10]
test edx, edx
jne 0x140014390
test r8d, r8d
je 0x14001430b
movsxd rsi, dword [rax + 0xc]
movsxd r15, r8d
mov rbx, r15
add rsi, rbp
mov rcx, rsi
lea r14, [rbp + r15]
lea r15, [rbp + rbx]
call qword [rdi]
jmp 0x1400142d1
mov rbx, qword [r15]
test rbx, rbx
je 0x1400142f5
cmp qword [r14], rbx
jne 0x1400142c9
mov rcx, rsi
call qword [rdi]
movsxd rdx, ebx
mov rcx, rax
mov rax, qword [0x140062420]
lea rdx, [rbp + rdx + 2]
call qword [rax]
mov qword [r15], rax
add r14, 8
add r15, 8
test qword [r14], 0xffffffff80000000
je 0x1400142a0
mov rcx, rsi
call qword [rdi]
movzx edx, word [r14]
mov rcx, rax
call qword [r13]
mov rbx, rax
mov qword [r15], rax
test rbx, rbx
jne 0x1400142a8
add qword [rsp + 0x30], 0x14
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
ja 0x140014260
mov rbp, qword [rsp + 0x60]
movsxd rax, dword [r12 + 0x28]
mov rdx, qword [rsp + 0x48]
mov r9d, 0x20
lea r8, [rsp + 0x78]
mov rcx, 0xffffffffffffffff
mov dword [rsp + 0x5c], 0
add rbp, rax
movsxd rax, dword [r12 + 0x50]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call qword [0x14007c0d0]
call rbp
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [0x14007c0c0]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x140014157
nop dword [rax]
xor ecx, ecx
call sub.msvcrt.dll_exit
nop
movsxd rsi, dword [rax + 0xc]
movsxd rbx, r8d
movsxd r15, edx
add rsi, rbp
jmp 0x14001428e