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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x34], 0xc00000bb
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x2e0], 0
jne 0x1400032bf
mov eax, 0xc000007b
jmp 0x14000371f
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400032d8
mov eax, 0xc000007b
jmp 0x14000371f
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
je 0x140003327
mov eax, 0xc000007b
jmp 0x14000371f
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x140003374
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x58], eax
jmp 0x1400033a9
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x38], 0
jmp 0x140003405
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jae 0x14000371b
mov eax, 0xffff
mov word [rsp + 0x30], ax
mov qword [rsp + 0x80], 0
cmp qword [rsp + 0x2e8], 0xffff
ja 0x140003447
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x30], ax
jmp 0x1400034a3
cmp qword [rsp + 0x2e8], 0xffff
jbe 0x140003499
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x38], eax
jae 0x140003499
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x30], ax
jmp 0x1400034a3
mov eax, 0xc000007a
jmp 0x14000371f
cmp qword [rsp + 0x2e8], 0xffff
ja 0x1400034ca
movzx eax, word [rsp + 0x2e8]
movzx ecx, word [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x14000350f
cmp qword [rsp + 0x2e8], 0xffff
jbe 0x140003716
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x2e8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003502
inc rax
test dl, dl
jne 0x1400034ef
xor eax, eax
jmp 0x140003507
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003716
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x50], rax
jb 0x1400036fc
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x50], rax
ja 0x1400036fc
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x140003588
mov rax, qword [rsp + 0x68]
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 0x80
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_strncpy_s]
mov dword [rsp + 0x40], 0
jmp 0x1400035d4
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp rax, 0x80
jae 0x1400035fd
mov eax, dword [rsp + 0x40]
movsx eax, byte [rsp + rax + 0xb0]
cmp eax, 0x2e
jne 0x1400035fb
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
jmp 0x1400035fd
jmp 0x1400035ca
mov r8d, 9
lea rdx, [rsp + 0xb0]
lea rcx, [0x140010c70]
call fcn.140002620
test eax, eax
jne 0x140003668
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x2f0]
mov qword [rsp + 0x20], rcx
lea r9, [0x140010c80]
mov r8, rax
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.140003180
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x140003663
xor eax, eax
jmp 0x14000371f
jmp 0x1400036f2
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x2f0]
mov qword [rsp + 0x20], rcx
lea r9, [0x140010c90]
mov r8, rax
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.140003180
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400036ad
xor eax, eax
jmp 0x14000371f
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x2f0]
mov qword [rsp + 0x20], rcx
lea r9, [0x140010ca0]
mov r8, rax
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0xb0]
call fcn.140003180
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x1400036f2
xor eax, eax
jmp 0x14000371f
mov dword [rsp + 0x34], 0xc000007a
jmp 0x14000371b
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov dword [rsp + 0x34], 0
jmp 0x14000371b
jmp 0x1400033fb
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140010a90
add rsp, 0x2d0
pop rdi
ret