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

Disassembly:
mov byte [rsp + 0x18], r8b
stc
push rbp
add ebp, 0x4e6244b0
push rsi
rol bpl, 0xce
shr sil, 0xc0
neg si
sub rsp, 0x158
test bl, r8b
shld si, dx, 0x7a
mov rbp, rdx
inc rsi
adc si, di
test si, sp
mov rsi, rcx
test rcx, rcx
je 0x140827e74
test rdx, rdx
jmp 0x140827e56
je 0x140827e74
mov eax, 0x5a4d
cmp r13w, cx
clc
cmp word [rcx], ax
jmp 0x140827e6e
je 0x140827e9c
sub eax, eax
bsr bp, ax
rcl bp, cl
shr esi, cl
add rsp, 0x158
movzx rsi, sp
setae sil
pop rsi
mov bpl, 0xfc
not bpl
pop rbp
jmp 0x140827e9b
ret
movsxd rax, dword [rcx + 0x3c]
cmc
stc
cmp dword [rax + rcx], 0x4550
jmp 0x140827eae
jne 0x140827e74
mov r9d, dword [rax + rcx + 0x88]
stc
mov dword [rsp + 0x24], r9d
jmp 0x140827ec7
test r9d, r9d
jmp 0x140827ecf
je 0x140827e74
mov r10d, dword [rax + rcx + 0x8c]
btc dx, bp
xor edx, r9d
movsx edx, r8w
lea rdx, [rcx + r9]
stc
cmp cl, r8b
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x150], rdi
stc
or r8d, 0xffffffff
cmp r14b, dil
xor edi, edi
cmp rdi, rsp
stc
mov dword [rsp + 0x170], r10d
clc
mov qword [rsp + 0x28], rdx
cmp rbp, 0xffff
jmp 0x140827f28
ja 0x140827f3f
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x140827f3a
jmp 0x140828129
mov eax, dword [rdx + 0x18]
clc
jmp 0x140827f48
test eax, eax
jmp 0x140827f4f
je 0x140828129
mov r10d, dword [rdx + 0x20]
jmp 0x140827f65
dec eax
stc
mov cx, r11w
rol ch, 0x9b
mov ecx, edi
cmp dil, 0xc7
clc
add r10, rsi
test bpl, r12b
cmp r8, 0x229715ba
mov dword [rsp + 0x20], ecx
cmc
jmp 0x140827f8e
mov dword [rsp + 0x188], eax
mov qword [rsp + 0x30], r10
cmp r15b, spl
test eax, eax
jmp 0x140827fa4
js 0x14082811e
lea ebx, [rax + rcx]
rol rdx, cl
not r11b
mov r11, rdi
sar ebx, 1
sal r8b, cl
clc
mov eax, ebx
adc r9w, 0x1ae9
or al, 0xf1
shl r9w, cl
movzx eax, byte [rsp + 0x180]
mov r8d, dword [r10 + rbx*4]
bt r10, 0xad
bts r10w, r15w
cwd
mov r10, rbp
btr dx, r10w
shr dx, 0x33
add r8, rsi
bswap r9w
add r9w, 0x3a17
sub r10, r8
nop
movzx edx, byte [r10 + r8]
jmp 0x140828009
movzx r9d, byte [r8]
inc r8
test rbp, rsi
test al, al
jmp 0x14082801a
je 0x140828052
mov ecx, r11d
mov eax, 0x19977a3d
cmc
rol eax, cl
add al, r11b
clc
jmp 0x140828034
xor dl, al
movsxd rax, r10d
inc ah
movzx eax, byte [rsp + 0x180]
jmp 0x140828048
inc r11
clc
test r11w, si
cmp edx, ebp
test dl, dl
jmp 0x140828059
je 0x14082806d
cmp dl, r9b
jmp 0x140828067
je 0x140827fff
cmp dl, r9b
jmp 0x140828075
jb 0x14082809c
jbe 0x1408280d0
mov eax, dword [rsp + 0x188]
mov cl, r12b
lea ecx, [rbx + 1]
jmp 0x140828093
mov dword [rsp + 0x20], ecx
jmp 0x1408280b4
mov ecx, dword [rsp + 0x20]
lea eax, [rbx - 1]
mov dword [rsp + 0x188], eax
jmp 0x1408280b4
cmp ecx, eax
jmp 0x1408280bb
jg 0x1408280ff
mov r10, qword [rsp + 0x30]
jmp 0x1408280cb
jmp 0x140827faa
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
jmp 0x1408280e5
lea rcx, [rsi + rax]
movsx r8d, r13w
movsx r8w, r11b
xchg r8, r8
movzx r8d, word [rcx + rbx*2]
jmp 0x14082810e
or r8d, 0xffffffff
add rdx, 0x2f99369f
stc
neg dx
mov r9d, dword [rsp + 0x24]
add edx, 0x30e771c1
mov rdx, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x170]
test r9b, bpl
cmp r8d, dword [rdx + 0x14]
jae 0x1408281c5
mov eax, dword [rdx + 0x1c]
xchg dh, cl
movsx rdx, r14w
mov ecx, r8d
lea rax, [rax + rsi]
movsx dx, ch
xchg rdx, rdx
test sil, 0x58
mov edx, dword [rax + r8*4]
cmp sp, bx
test edx, edx
jmp 0x14082815c
je 0x1408281c5
cmp edx, r9d
jmp 0x14082816a
jb 0x1408283db
lea eax, [r10 + r9]
stc
cmp edx, eax
jae 0x1408283db
movzx ecx, byte [rsi + rdx]
lea rax, [rsi + rdx]
mov rbx, rax
cmp r10w, r10w
stc
test cl, cl
jmp 0x140828194
je 0x1408281c5
nop
cmc
clc
cmp cl, 0x2e
jmp 0x1408281a5
je 0x1408281d1
movzx ecx, byte [rbx + 1]
inc rbx
stc
jmp 0x1408281b8
test cl, cl
jmp 0x1408281bf
jne 0x14082819d
mov r8, rbx
sub r8, rax
cmp bp, 0x69fe
cmp r13b, dl
cmp r8, 0x104
jmp 0x1408281eb
jae 0x1408281c5
mov rcx, rdi
stc
test r8, r8
je 0x14082823d
lea r9, [rsp + 0x40]
movzx edx, r11w
clc
sub r9, rax
movzx edx, byte [rax]
test al, 0x17
test dl, dl
je 0x14082823d
inc rcx
jmp 0x140828220
mov byte [r9 + rax], dl
jmp 0x140828229
inc rax
test rsi, rax
cmp rcx, r8
jmp 0x140828237
jb 0x14082820b
mov byte [rsp + rcx + 0x40], dil
cmove eax, eax
cdqe
movzx ax, r8b
lea rcx, [rsp + 0x40]
nop
lahf
cdqe
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x1407849fd
lea rax, [rsi + rdx]
sar bpl, 0x77
add bl, dil