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

Disassembly:
mov byte [rsp + 0x18], r8b
cmp ebx, 0x5dad5611
cmp esi, r12d
push rbp
and bp, 0x390
sar rbp, cl
movsx rbp, r10w
push rsi
inc si
bsf esi, edi
sub rsp, 0x158
cmc
mov rbp, rdx
mov rsi, rcx
cmc
cmp dl, r15b
test rcx, rcx
jmp 0x140cbf956
je 0x140cbf983
test rdx, rdx
jmp 0x140cbf964
je 0x140cbf983
mov eax, 0x5a4d
stc
jmp 0x140cbf975
cmp word [rcx], ax
jmp 0x140cbf97d
je 0x140cbf99d
xor eax, eax
bsf rbp, rax
and bpl, r14b
add rsp, 0x158
pop rsi
movsxd rbp, r13d
cmovs bp, cx
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
clc
cmp dword [rax + rcx], 0x4550
jmp 0x140cbf9ae
jne 0x140cbf983
mov r9d, dword [rax + rcx + 0x88]
clc
mov dword [rsp + 0x24], r9d
cmc
cmp dil, 3
test r9d, r9d
je 0x140cbf983
mov r10d, dword [rax + rcx + 0x8c]
clc
movsx rdx, cx
bsf edx, ecx
lea rdx, [rcx + r9]
cmc
test bx, sp
mov qword [rsp + 0x178], rbx
cmp spl, r9b
mov qword [rsp + 0x150], rdi
test esi, edi
jmp 0x140cbfa02
or r8d, 0xffffffff
test r11b, al
cmc
xor edi, edi
mov dword [rsp + 0x170], r10d
jmp 0x140cbfa19
mov qword [rsp + 0x28], rdx
clc
stc
cmp rbp, 0xffff
jmp 0x140cbfa2c
ja 0x140cbfa43
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x140cbfa3e
jmp 0x140cbfc08
mov eax, dword [rdx + 0x18]
clc
test eax, eax
je 0x140cbfc08
mov r10d, dword [rdx + 0x20]
bswap cx
movzx ecx, r14w
dec eax
mov ecx, edi
stc
add r10, rsi
cmp dl, 0x66
jmp 0x140cbfa6e
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x188], eax
clc
stc
mov qword [rsp + 0x30], r10
clc
test eax, eax
jmp 0x140cbfa88
js 0x140cbfc00
lea ebx, [rax + rcx]
sal r9d, 0x34
movzx rdx, r11w
mov r11, rdi
and r8b, 0xfa
rcl r8b, 0x7f
sar ebx, 1
cmp r13d, edx
jmp 0x140cbfaaf
mov eax, ebx
movzx eax, byte [rsp + 0x180]
mov r8d, dword [r10 + rbx*4]
and r9b, 0xda
btr r9w, r9w
not dl
mov r10, rbp
xadd dl, dh
cwd
shr dh, 0x76
lea r8, [r8 + rsi]
mov r9, 0x3f0d23aa
movsxd r9, r9d
rcl r9w, 0xee
sub r10, r8
setl r9b
not r9d
movzx rdx, bx
nop
movzx edx, byte [r10 + r8]
mov r9b, 0x6d
inc r9w
mov r9w, r12w
movzx r9d, byte [r8]
inc r8
cmc
jmp 0x140cbfb12
test al, al
jmp 0x140cbfb19
je 0x140cbfb52
mov ecx, r11d
bts eax, edi
btc ax, cx
rcr eax, 0x80
mov eax, 0x4131774c
cmc
rol eax, cl
add al, r11b
stc
test r13w, 0x16ce
xor dl, al
lahf
movzx eax, byte [rsp + 0x180]
jmp 0x140cbfb4e
inc r11
clc
test dl, dl
je 0x140cbfb63
cmp dl, r9b
je 0x140cbfaf5
cmp dl, r9b
jb 0x140cbfb8f
jbe 0x140cbfbbc
mov eax, dword [rsp + 0x188]
lea ecx, [rbx + 1]
jmp 0x140cbfb81
mov dword [rsp + 0x20], ecx
jmp 0x140cbfb8a
jmp 0x140cbfba0
mov ecx, dword [rsp + 0x20]
lea eax, [rbx - 1]
mov dword [rsp + 0x188], eax
test rdx, r11
cmp ecx, eax
jmp 0x140cbfba7
jg 0x140cbfbe3
mov r10, qword [rsp + 0x30]
jmp 0x140cbfbb7
jmp 0x140cbfa8e
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
movsx ecx, r10w
lea rcx, [rsi + rax]
movzx r8d, bx
movsx r8d, r14w
movzx r8d, word [rcx + rbx*2]
jmp 0x140cbfbde
jmp 0x140cbfbed
or r8d, 0xffffffff
sbb edx, r9d
sar r9b, cl
mov r9d, dword [rsp + 0x24]
sar dl, cl
mov rdx, qword [rsp + 0x28]
adc r10, 0x57a76aac
mov r10d, dword [rsp + 0x170]
cmp r8d, dword [rdx + 0x14]
jmp 0x140cbfc11
jae 0x140cbfccc
mov eax, dword [rdx + 0x1c]
or ecx, 0x3823b16
stc
sal edx, cl
mov ecx, r8d
xadd dx, dx
movzx edx, r15w
cmova dx, r13w
lea rax, [rax + rsi]
btr dx, 0xbe
mov edx, dword [rax + r8*4]
test r8b, 0xb4
test edx, edx
jmp 0x140cbfc4b
je 0x140cbfccc
cmp edx, r9d
jmp 0x140cbfc59
jb 0x140cbfeb8
lea eax, [r10 + r9]
jmp 0x140cbfc69
cmp edx, eax
jmp 0x140cbfc70
jae 0x140cbfeb8
movzx ecx, byte [rsi + rdx]
dec rbx
btc bx, 0x6e
jmp 0x140cbfc87
lea rax, [rsi + rdx]
mov rbx, rax
test r8b, dil
test cl, cl
jmp 0x140cbfc98
je 0x140cbfccc
nop
cmc
cmp cl, 0x2e
jmp 0x140cbfca8
je 0x140cbfcd3
movzx ecx, byte [rbx + 1]
jmp 0x140cbfcb7
inc rbx
cmp r11b, 0x36
jmp 0x140cbfcc4
test cl, cl
jne 0x140cbfca0
mov r8, rbx
sub r8, rax
cmp r8, 0x104
jmp 0x140cbfce5
jae 0x140cbfccc
mov rcx, rdi
cmp rbp, r11
test r12, 0x36f75b9d
jmp 0x140cbfcfd
test r8, r8
jmp 0x140cbfd05
je 0x140cbfd52
lea r9, [rsp + 0x40]
rcl dx, cl
sub r9, rax
btc dx, sp
rcl dh, 0xa2
movzx dx, r13b
movzx edx, byte [rax]
test dl, dl
je 0x140cbfd52
inc rcx
jmp 0x140cbfd35
mov byte [r9 + rax], dl
jmp 0x140cbfd3e
inc rax
test r10b, r15b
cmp rcx, r8
jmp 0x140cbfd4c
jb 0x140cbfd22
mov byte [rsp + rcx + 0x40], dil
movsx rax, si
not rcx
lea rcx, [rsp + 0x40]
cdqe
setnp ah
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x1408039ec
lea rax, [rsi + rdx]
movsx edi, bp