Function at 0x140002560
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov r12, rdx
mov qword [rbp - 0x31], rdx
mov qword [rbp - 0x29], r8
xor r14d, r14d
mov edi, r14d
mov qword [rbp - 0x61], r14
mov dword [rbp - 0x39], r14d
lea r9, [rbp - 0x39]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call fcn.1400031a6
cmp eax, 0xc0000004
jne 0x140002609
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x39]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
lea r9, [rbp - 0x39]
mov r8d, dword [rbp - 0x39]
mov rdx, rax
mov ecx, 0xb
call fcn.1400031a6
cmp eax, 0xc0000004
je 0x1400025c0
mov qword [rbp - 0x61], rdi
test eax, eax
jns 0x1400026e5
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14000265f
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r12]
jb 0x14000265a
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002d85
mov rcx, r8
call fcn.14000341c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400026ac
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400026a7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002d97
mov rcx, r8
call fcn.14000341c
xor eax, eax
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400033c0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov esi, r14d
mov dword [rbp - 0x69], r14d
cmp dword [rdi], r14d
jbe 0x140002611
mov r13d, 0x5a4d
nop dword [rax + rax]
mov eax, esi
imul rcx, rax, 0x128
lea rbx, [rcx + rdi]
movzx eax, word [rbx + 0x2e]
add rax, rcx
lea rdx, [rdi + 0x30]
add rdx, rax
mov qword [rbp - 1], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002736
lea rcx, [rbp - 1]
call fcn.140001300
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x140002759
mov rdx, qword [r12]
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
call fcn.14000bdb4
test eax, eax
jne 0x140002a1e
lea rdx, [rbx + 0x30]
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], al
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002792
lea rcx, [rbp - 0x21]
call fcn.140001300
nop
lea rcx, str.SYSTEMROOT
call fcn.14000c098
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400027d0
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140001300
nop
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14000281c
lea rax, [rcx + 1]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x59]
mov word [rax + rcx], 0x5c
lea rsi, [rbp - 0x59]
jmp 0x14000283d
mov qword [rsp + 0x20], 1
lea r9, [0x140025774]
mov edx, 1
lea rcx, [rbp - 0x59]
call fcn.140001450
mov rsi, rax
lea rdi, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdi, qword [rbp - 0x21]
mov rax, qword [rbp - 0x11]
cmp rax, 0xc
jb 0x1400028bf
lea r14, [rdi + rax]
lea r8, [r14 - 0xb]
sub r8, rdi
mov edx, 0x5c
mov rcx, rdi
call fcn.14001b0e0
mov rbx, rax
test rax, rax
je 0x1400028bc
nop word [rax + rax]
mov r8d, 0xc
lea rdx, str.SystemRoot_
mov rcx, rbx
call fcn.14001add0
test eax, eax
je 0x140002a6b
inc rbx
lea r8, [r14 - 0xb]
sub r8, rbx
mov edx, 0x5c
mov rcx, rbx
call fcn.14001b0e0
mov rbx, rax
test rax, rax
jne 0x140002880
xor r14d, r14d
mov rbx, 0xffffffffffffffff
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400028d4
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140002dc0
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140002924
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000291f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d9d
call fcn.14000341c
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rcx, qword [rbp - 0x21]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
cmp word [rax], r13w
jne 0x140002cff
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x140002bdb
mov edx, dword [rcx + rax + 0x88]
test edx, edx
je 0x140002bdb
mov r11d, dword [rdx + rax + 0x1c]
lea r14, [rax + r11]
mov esi, dword [rdx + rax + 0x20]
add rsi, rax
mov r13d, dword [rdx + rax + 0x24]
add r13, rax
xor r9d, r9d
test r11d, r11d
je 0x1400029d3
mov rbx, qword [r15 + 0x18]
nop
mov rax, r15
cmp rbx, 0x10
jb 0x14000299c
mov rax, qword [r15]
mov r8d, dword [rsi + r9*4]
add r8, rdi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400029c3
inc rax
test ecx, ecx
jne 0x1400029b0
test edx, edx
je 0x140002a76
inc r9d
cmp r9d, r11d
jb 0x140002990
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002a0e
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002da3
call fcn.14000341c
mov r13d, 0x5a4d
xor r14d, r14d
mov esi, dword [rbp - 0x69]
mov rdi, qword [rbp - 0x61]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140002a59
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002daf
call fcn.14000341c
inc esi
mov dword [rbp - 0x69], esi
cmp esi, dword [rdi]
jae 0x140002611
jmp 0x140002700
sub rbx, rdi
xor r14d, r14d
jmp 0x1400028c6
movzx eax, word [r13 + r9*2]
mov ebx, dword [r14 + rax*4]
mov eax, dword [rbp - 0x69]
imul rcx, rax, 0x128
mov rax, qword [rbp - 0x61]
add rbx, qword [rcx + rax + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002ae9
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002da3
call fcn.14000341c
xor edi, edi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], dil
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140002b36
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d91
call fcn.14000341c
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140002b82
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x140002b7d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002da9
mov rcx, r8
call fcn.14000341c
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140002bcf
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140002bca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140002d8b
mov rcx, r8
call fcn.14000341c
mov qword [r15 + 0x10], rdi
mov rax, rbx
jmp 0x1400026b2
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002c16
inc rdx
mov rcx, qword [rbp - 0x21]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002c11
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002da3
call fcn.14000341c
mov byte [rbp - 0x21], 0
mov qword [rbp - 9], 0xf
mov qword [rbp - 0x11], r14
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140002c61
inc rdx
mov rcx, qword [rbp - 1]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140002c5c
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d91
call fcn.14000341c
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x140002cad
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140002ca8
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002da9
mov rcx, r8
call fcn.14000341c
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1400026ac
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400026a7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002d8b
jmp 0x1400026a4
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140002d36
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002da3
call fcn.14000341c
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140002c61
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d91
jmp 0x140002c5c
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
nop
call fcn.14000bc64
int3