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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor r13b, r13b
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
call fcn.1400677b0
mov edi, eax
xor bl, bl
movzx r15d, byte [rbp + 0x98]
test r15b, r15b
je 0x140003317
lea rcx, [rsp + 0x68]
call fcn.140011400
nop
movzx r9d, byte [rbp + 0x90]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
mov ecx, edi
call fcn.1400036e0
test al, al
je 0x140003305
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140003305
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
call fcn.14000a140
test eax, eax
je 0x140003305
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x78]
call fcn.14000a1f0
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea rcx, [rsp + 0x68]
call fcn.140011770
test bl, bl
je 0x1400036b5
lea rdx, [0x14008a7b0]
lea rcx, [rsp + 0x68]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140011770
test rbx, rbx
je 0x1400036b5
lea rdx, [0x140089970]
lea rcx, [rbp - 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997d0], rax
lea rcx, [rbp - 0x70]
call fcn.140011770
lea rdx, [0x1400899a0]
lea rcx, [rbp - 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997c8], rax
lea rcx, [rbp - 0x70]
call fcn.140011770
lea rdx, [0x1400899d0]
lea rcx, [rbp - 0x70]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997c0], rax
lea rcx, [rbp - 0x70]
call fcn.140011770
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x140003600
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x140003600
lea rdx, [rbp + 0x98]
mov rcx, rsi
call fcn.14006a3f0
movzx eax, word [rdi + 4]
mov ecx, 0x14c
cmp ax, cx
jne 0x140003433
cmp dword [rbp + 0x98], 0
jmp 0x140003444
mov ecx, 0x8664
cmp ax, cx
jne 0x14000344a
cmp dword [rbp + 0x98], 6
jne 0x1400036b5
mov edx, 0x18
lea rcx, [rsp + 0x68]
call fcn.140010ce0
mov edx, 0x68
lea rcx, [rbp - 0x40]
call fcn.140010ce0
mov dword [rbp - 0x40], edx
mov dword [rbp - 4], 0x101
xor eax, eax
mov word [rbp], ax
lea rax, [rsp + 0x68]
test r15b, r15b
je 0x1400034ac
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x38], rax
mov r8, r12
mov rdx, rsi
mov rcx, qword [rbp + 0x80]
call fcn.14000a290
jmp 0x1400034c5
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rdx, r12
mov rcx, rsi
call fcn.14000a380
test eax, eax
je 0x140003600
mov edx, 8
call fcn.14006af70
mov r15, rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14000a450
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x1400035fb
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 8]
lea r8, [rbp - 0x48]
call qword [0x1400997d0]
mov eax, 4
mov ecx, 0x40
cmp byte [rbp + 0x88], r12b
cmovne eax, ecx
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.14006b000
mov qword [rbp - 0x78], rax
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x1400035f4
mov r9d, dword [rdi + 0x54]
mov r8, r14
mov rdx, rax
call fcn.14000a4e0
movzx ebx, word [rdi + 0x14]
add rbx, 0x2c
mov esi, r12d
cmp r12w, word [rdi + 6]
jae 0x1400035a9
add rbx, rdi
nop dword [rax + rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.14000a4e0
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x140003580
mov rdx, qword [r15 + 0x88]
add rdx, 0x10
mov r9d, 8
lea r8, [rbp - 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.14000a4e0
mov eax, dword [rdi + 0x28]
add rax, qword [rbp - 0x78]
mov qword [r15 + 0x80], rax
mov rdx, r15
mov rcx, qword [rsp + 0x70]
call qword [0x1400997c8]
mov rcx, qword [rsp + 0x70]
call qword [0x1400997c0]
mov r13b, 1
jmp 0x140003603
call fcn.14000a590
jmp 0x140003603
call fcn.14000a590
xor r12d, r12d
cmp qword [rbp + 0x78], 0
je 0x140003688
lea rdx, [0x1400899f0]
lea rcx, [rbp - 0x70]
call fcn.140001040
nop
mov rcx, rax
call fcn.1400113f0
mov rcx, rax
call fcn.14006b0b0
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.140011770
test rbx, rbx
je 0x140003684
lea rdx, [0x140089a10]
lea rcx, [rsp + 0x68]
call fcn.140001040
mov rcx, rax
call fcn.1400113f0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400997f8], rax
lea rcx, [rsp + 0x68]
call fcn.140011770
mov rax, qword [0x1400997f8]
test rax, rax
je 0x140003684
mov rcx, qword [rbp + 0x78]
call rax
mov qword [rbp + 0x78], r12
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1400036a0
call fcn.1400698c0
mov qword [rbp + 0x80], r12
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400036af
call fcn.1400698c0
movzx eax, r13b
jmp 0x1400036b7
xor al, al
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret