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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
jl 0x180003ae4
push rcx
push rax
nop
pop rax
pop rcx
jge 0x180003ae4
invalid
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
jbe 0x180003b28
push rbp
push rsi
push rbp
nop
pop rbp
pop rsi
pop rbp
ja 0x180003b28
sbb ebp, dword [rsi - 6]
invalid
mov dword [rsp + 0x24], 0
jmp 0x180003b3c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x24], eax
jae 0x180003e80
jne 0x180003b79
nop
je 0x180003b79
out 0x71, eax
std
out 0x1b, eax
outsb dx, byte [rsi]
invalid
imul eax, dword [rsp + 0x30], 0x343fd
add eax, 0x269ec3
mov dword [rsp + 0x30], eax
jb 0x180003bb6
jae 0x180003bb6
jno 0x180003bf3
mov dword [rcx - 0x62], 0x1b9e4841
jno 0x180003bb8
out 0x1b, eax
out 0x1b, eax
out 0x9e, eax
invalid
mov eax, dword [rsp + 0x30]
and al, 0x30
shr eax, 0x10
and eax, 0x7fff
mov byte [rsp + 0x20], al
jnp 0x180003bf2
push rbp
pop rbp
jp 0x180003bf2
out 0x6e, eax
cli
jno 0x180003b9a
sahf
out 0x1f, eax
invalid
movzx eax, byte [rsp + 0x20]
mov dh, 0x44
and al, 0x20
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
jg 0x180003c36
push rsp
push rdx
push rdi
pop rdi
pop rdx
pop rsp
jle 0x180003c36
invalid
cmp dword [0x18001a064], 0
je 0x180003e6e
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 3
div ecx
mov eax, edx
test eax, eax
jne 0x180003d05
jg 0x180003c86
push rdi
push rbp
push rbx
pop rbx
pop rbp
pop rdi
jle 0x180003c86
invalid
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x38], rax
lea rcx, [0x18001b230]
lea ecx, [0x18001b230]
call qword [0x18001ad30]
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
mov rcx, qword [rsp + 0x40]
div rcx
mov rax, rdx
lea rcx, [0x18001b230]
movsx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
jp 0x180003d00
push rdi
push rdi
nop
pop rdi
pop rdi
jnp 0x180003d00
sbb ebx, dword [rdi]
jno 0x180003d22
out 0x1b, eax
sahf
jge 0x180003d64
out 0xe7, eax
out 0xfd, eax
call [rbx]
out 0x71, eax
jge 0x180003c90
std
invalid
jmp 0x180003e6e
xor edx, edx
mov eax, dword [rsp + 0x24]
mov ecx, 3
div ecx
add byte [rax], al
add bh, dh
int1
mov eax, edx
cmp eax, 1
jne 0x180003dc8
jp 0x180003d49
push rbx
nop
pop rbx
jnp 0x180003d49
jno 0x180003d0d
sbb edi, dword [rbp + 0x41]
out 0xfa, eax
invalid
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x48], rax
lea rcx, [0x18001b230]
call qword [0x18001ad30]
mov qword [rsp + 0x50], rax
xor edx, edx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
mov rcx, qword [rsp + 0x50]
div rcx
mov rax, rdx
lea rcx, [0x18001b230]
movsx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
jns 0x180003dc3
push rdi
push rdx
nop
pop rdx
pop rdi
js 0x180003dc3
outsb dx, byte [rsi]
out 0xe7, eax
std
out 0xfd, eax
invalid
jno 0x180003dc0
jno 0x180003dc0
jmp 0x180003e6e
jbe 0x180003df4
push rsi
nop
pop rsi
ja 0x180003df4
jge 0x180003dd0
dec dword [rax - 0x39]
outsb dx, byte [rsi]
out 0xc7, eax
jge 0x180003df7
invalid
jno 0x180003dc1
out 0x9e, eax
cli
jge 0x180003e43
invalid
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x58], rax
and al, 0x48
mov dword [rsp + 0x58], eax
lea rcx, [0x18001b230]
call qword [0x18001ad30]
mov qword [rsp + 0x60], rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
mov rcx, qword [rsp + 0x60]
div rcx
mov rax, rdx
lea rcx, [0x18001b230]
movsx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov byte [rcx], al
jp 0x180003e6e
sub bh, byte [rbx + 0x28]
jnp 0x180003e6e
invalid
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x180003b32
jle 0x180003eac
nop
jg 0x180003eac
invalid
xor eax, eax
add rsp, 0x78
ret