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

Disassembly:
mov byte [rsp + 0x18], r8b
jmp 0x140ff1733
push rbp
btc ebp, esi
movzx ebp, dx
push rsi
sub rsp, 0x158
btr si, 0xfd
btc rsi, 0x76
or si, sp
mov rbp, rdx
mov rsi, rcx
stc
clc
test rcx, rcx
jmp 0x140ff175f
je 0x140ff178c
test rdx, rdx
jmp 0x140ff176d
je 0x140ff178c
mov eax, 0x5a4d
test r8w, 0x7eff
cmp word [rcx], ax
jmp 0x140ff1786
je 0x140ff17a1
xor eax, eax
sub sil, 0x25
add rsp, 0x158
pop rsi
pop rbp
jmp 0x140ff17a0
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x140ff17b1
jne 0x140ff178c
mov r9d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x24], r9d
test r9d, r9d
je 0x140ff178c
mov r10d, dword [rax + rcx + 0x8c]
bts rdx, rsp
test dil, r15b
lea rdx, [rcx + r9]
mov qword [rsp + 0x178], rbx
jmp 0x140ff17f0
mov qword [rsp + 0x150], rdi
or r8d, 0xffffffff
jmp 0x140ff1801
xor edi, edi
test r13b, 0xf3
cmp sil, r10b
mov dword [rsp + 0x170], r10d
cmc
clc
test bx, r12w
mov qword [rsp + 0x28], rdx
test dil, bpl
cmc
stc
cmp rbp, 0xffff
jmp 0x140ff182e
ja 0x140ff1845
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x140ff1840
jmp 0x140ff1a1b
mov eax, dword [rdx + 0x18]
jmp 0x140ff1852
test eax, eax
jmp 0x140ff1859
je 0x140ff1a1b
mov r10d, dword [rdx + 0x20]
movsx rcx, r8w
inc cl
dec eax
mov ecx, edi
test bp, di
add r10, rsi
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x188], eax
test al, r9b
stc
mov qword [rsp + 0x30], r10
test eax, eax
jmp 0x140ff188e
js 0x140ff1a11
lea ebx, [rax + rcx]
neg r9w
setle r8b
bt ax, r13w
mov r11, rdi
shl r8b, 0x27
sar ebx, 1
shrd r9w, di, 0xc6
or r9b, cl
movsx r8, bx
mov eax, ebx
rcl r8b, 0xd9
lahf
movzx eax, byte [rsp + 0x180]
movzx r8d, sp
mov r8d, dword [r10 + rbx*4]
rcr r10b, 0x1c
test di, cx
mov r10, rbp
adc r9b, 0x87
add r8, rsi
sub r10, r8
movzx r9w, spl
nop
movzx edx, byte [r10 + r8]
jmp 0x140ff18f5
movzx r9d, byte [r8]
jmp 0x140ff18fe
inc r8
test dh, 0x58
stc
test al, al
jmp 0x140ff190c
je 0x140ff193d
mov ecx, r11d
xchg ah, al
mov eax, 0x2f860b9b
rol eax, cl
clc
test r11d, 0x74b20602
stc
add al, r11b
cmc
xor dl, al
movzx eax, byte [rsp + 0x180]
jmp 0x140ff193a
inc r11
test dl, dl
je 0x140ff1953
cmp dl, r9b
jmp 0x140ff194d
je 0x140ff18eb
cmp dl, r9b
jmp 0x140ff195b
jb 0x140ff198c
jbe 0x140ff19c1
mov eax, dword [rsp + 0x188]
not ch
movsx ecx, r12w
mov cl, 1
lea ecx, [rbx + 1]
jmp 0x140ff197e
mov dword [rsp + 0x20], ecx
jmp 0x140ff1987
jmp 0x140ff19a5
mov ecx, dword [rsp + 0x20]
stc
dec ah
cmovge rax, r10
lea eax, [rbx - 1]
mov dword [rsp + 0x188], eax
cmp r11w, di
cmp ecx, eax
jmp 0x140ff19ac
jg 0x140ff19ec
mov r10, qword [rsp + 0x30]
jmp 0x140ff19bc
jmp 0x140ff1894
mov rax, qword [rsp + 0x28]
movsx r8, r11w
movsxd rcx, r13d
mov eax, dword [rax + 0x24]
movzx rcx, r15w
movsx r8w, dl
lea rcx, [rsi + rax]
movzx r8d, word [rcx + rbx*2]
jmp 0x140ff19e7
jmp 0x140ff19f6
or r8d, 0xffffffff
dec r10w
adc edx, edx
mov r9d, dword [rsp + 0x24]
rol r10b, cl
mov rdx, qword [rsp + 0x28]
bts r10w, r14w
bt r10d, 0xff
movsx r10, r9w
mov r10d, dword [rsp + 0x170]
stc
clc
cmp r8d, dword [rdx + 0x14]
jae 0x140ff1ab6
mov eax, dword [rdx + 0x1c]
mov ecx, r8d
cqo
lea rax, [rax + rsi]
bsr dx, r14w
adc dx, r9w
mov edx, dword [rax + r8*4]
test r15b, r15b
test edx, edx
jmp 0x140ff1a48
je 0x140ff1ab6
cmp edx, r9d
jmp 0x140ff1a56
jb 0x140ff1cf6
lea eax, [r10 + r9]
cmp edx, eax
jmp 0x140ff1a67
jae 0x140ff1cf6
movzx ecx, byte [rsi + rdx]
lea rax, [rsi + rdx]
mov rbx, rax
cmp r8d, 0x12b70296
stc
test r15b, 0xf7
test cl, cl
je 0x140ff1ab6
nop
clc
cmp cl, 0x2e
jmp 0x140ff1a96
je 0x140ff1ac2
movzx ecx, byte [rbx + 1]
jmp 0x140ff1aa5
inc rbx
stc
test cl, cl
jmp 0x140ff1ab0
jne 0x140ff1a8e
mov r8, rbx
stc
clc
sub r8, rax
stc
cmp r11b, r9b
cmp r8, 0x104
jae 0x140ff1ab6
mov rcx, rdi
jmp 0x140ff1ae4
test r8, r8
jmp 0x140ff1aec
je 0x140ff1b39
lea r9, [rsp + 0x40]
sbb dl, spl
sub r9, rax
btr dx, r12w
jmp 0x140ff1b07
movzx edx, byte [rax]
test dl, dl
jmp 0x140ff1b11
je 0x140ff1b39
inc rcx
jmp 0x140ff1b1f
mov byte [r9 + rax], dl
jmp 0x140ff1b28
inc rax
cmp rcx, r8
jmp 0x140ff1b33
jb 0x140ff1b07
mov byte [rsp + rcx + 0x40], dil
cdqe
cbw
jmp 0x140ff1b47
lea rcx, [rsp + 0x40]
cwde
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x140a3e7d0
lea rax, [rsi + rdx]
shrd esi, r9d, 0x58
sbb sil, 0x22