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

Disassembly:
mov byte [rsp + 0x18], r8b
not r11d
cmovae r11w, cx
stc
push rbp
push rsi
shld rsi, rax, 0x9e
sub rsp, 0x158
btr esi, r12d
sar r11b, 0xe
movzx r11d, r8b
inc bpl
mov rbp, rdx
mov rsi, rcx
test r12b, r9b
test rcx, rcx
je 0x140af11a8
test rdx, rdx
jmp 0x140af1180
je 0x140af11a8
mov eax, 0x5a4d
cmp rbp, 0xffffffff97889b2a
test sp, bx
jmp 0x140af119a
cmp word [rcx], ax
jmp 0x140af11a2
je 0x140af11c7
sub eax, eax
btr rbp, rax
add rsp, 0x158
bswap si
movzx rbp, r15w
pop rsi
bswap rbp
pop rbp
jmp 0x140af11c6
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140af11a8
mov r9d, dword [rax + rcx + 0x88]
cmc
test eax, edi
mov dword [rsp + 0x24], r9d
test r11b, cl
test r9d, r9d
jmp 0x140af11f3
je 0x140af11a8
mov r10d, dword [rax + rcx + 0x8c]
btr edx, r11d
mov qword [rsp + 0x178], rbx
sar dl, cl
rcr rdx, cl
lea rdx, [rcx + r9]
stc
test edx, 0xa498c3a1
or r8d, 0xffffffff
xor ebx, ebx
mov qword [rsp + 0x150], rdi
jmp 0x140af1230
mov dword [rsp + 0x170], r10d
cmp r15w, r13w
mov qword [rsp + 0x28], rdx
clc
cmp rbp, 0xffff
jmp 0x140af124e
ja 0x140af1260
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x140af13f5
mov eax, dword [rdx + 0x18]
clc
stc
cmc
test eax, eax
jmp 0x140af126d
je 0x140af13f5
mov r10d, dword [rdx + 0x20]
movsx ecx, r9w
dec eax
btr rcx, rdx
shl cx, cl
mov ecx, ebx
jmp 0x140af128f
lea r10, [r10 + rsi]
stc
cmp r15, 0x79005a82
mov dword [rsp + 0x188], ebx
jmp 0x140af12af
mov dword [rsp + 0x20], eax
cmp r10w, r9w
mov qword [rsp + 0x30], r10
test r15, r11
test al, 0xa0
test eax, eax
jmp 0x140af12c8
js 0x140af13e7
nop
bt dx, 0x3b
rcl dl, cl
lea edi, [rax + rcx]
clc
movzx r8d, r11b
mov rcx, rbp
dec dx
sar edi, 1
sbb edx, r11d
mov edx, dword [r10 + rdi*4]
add rdx, rsi
jmp 0x140af12f5
call fcn.140af0f92
test eax, eax
jmp 0x140af1301
jns 0x140af1329
mov ecx, dword [rsp + 0x188]
cdqe
mov ah, 0xac
lea eax, [rdi - 1]
jmp 0x140af131b
mov dword [rsp + 0x20], eax
jmp 0x140af1324
jmp 0x140af1346
test eax, eax
jle 0x140af139a
mov eax, dword [rsp + 0x20]
lea ecx, [rdi + 1]
test r15w, dx
mov dword [rsp + 0x188], ecx
add r11b, spl
cmp ecx, eax
mov r10, qword [rsp + 0x30]
mov r11b, byte [rsp + 0x180]
jle 0x140af12d6
mov rdx, qword [rsp + 0x28]
and r9, 0xffffffff903dee08
mov r9d, dword [rsp + 0x24]
setl r10b
bts r10d, esp
btc r10d, 0xa0
mov r10d, dword [rsp + 0x170]
cmp rbp, 0x4ba9c398
stc
cmp esi, r15d
or r8d, 0xffffffff
jmp 0x140af1395
jmp 0x140af13f5
mov rax, qword [rsp + 0x28]
movzx dx, r9b
mov rdx, qword [rsp + 0x28]
not r10d
mov r10b, 0x30
bswap cx
mov r9d, dword [rsp + 0x24]
setae cl
movzx r8w, dil
mov eax, dword [rax + 0x24]
mov r10d, dword [rsp + 0x170]
movzx r8, bx
bswap r8w
mov ecx, eax
lea rcx, [rsi + rax]
movzx r8d, word [rcx + rdi*2]
jmp 0x140af13e2
jmp 0x140af13f5
mov r10d, dword [rsp + 0x170]
cmp bpl, 0x1e
stc
clc
cmp r8d, dword [rdx + 0x14]
jmp 0x140af13fe
jae 0x140af1486
mov eax, dword [rdx + 0x1c]
stc
mov ecx, r8d
shl dl, cl
add rax, rsi
movsx edx, r8w
mov edx, dword [rax + r8*4]
test edx, edx
je 0x140af1486
cmp edx, r9d
jb 0x140af16a1
lea eax, [r10 + r9]
stc
cmc
cmp edx, eax
jae 0x140af16a1
movzx ecx, byte [rsi + rdx]
lea rax, [rsi + rdx]
or dil, 0x17
add edi, 0xe80609ab
bt di, 0x35
mov rdi, rax
test cl, cl
jmp 0x140af1458
je 0x140af1486
nop
test sp, 0x3628
cmp cl, 0x2e
jmp 0x140af146c
je 0x140af1492
mov cl, byte [rdi + 1]
inc rdi
stc
test cl, cl
jmp 0x140af1480
jne 0x140af1464
mov r8, rdi
sub r8, rax
cmp r8, 0x104
jmp 0x140af14a4
jae 0x140af1486
mov rcx, rbx
clc
jmp 0x140af14b4
test r8, r8
jmp 0x140af14bc
je 0x140af150d
lea r9, [rsp + 0x40]
cqo
ror edx, 0x97
sub r9, rax
movzx dx, dh
rcl dl, cl
bt edx, 0x33
movzx edx, byte [rax]
cmp r15w, 0xd41f
test dl, dl
je 0x140af150d
inc rcx
jmp 0x140af14f2
mov byte [r9 + rax], dl
jmp 0x140af14fb
inc rax
clc
cmp rcx, r8
jmp 0x140af1507
jb 0x140af14d9
mov byte [rsp + rcx + 0x40], bl
nop
lea rcx, [rsp + 0x40]
setno ah
cbw
movsxd rax, r15d
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x14064a27a
lea rax, [rsi + rdx]
bts ebp, r8d
rcr bx, cl