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

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
sbb bpl, 0xd8
push rsi
adc ebp, r12d
mov esi, 0x19eb6f66
inc sil
sub rsp, 0x158
xadd sil, sil
sbb esi, esp
bsr bp, bx
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x180865082
test rdx, rdx
je 0x180865082
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x18086507c
je 0x180865096
xor eax, eax
add rsp, 0x158
mov bpl, dil
pop rsi
pop rbp
jmp 0x180865095
ret
movsxd rax, dword [rcx + 0x3c]
test r11b, 0x30
cmp dword [rax + rcx], 0x4550
jmp 0x1808650aa
jne 0x180865082
mov r9d, dword [rax + rcx + 0x88]
cmp bx, 0x6d15
mov dword [rsp + 0x24], r9d
test r9d, r9d
jmp 0x1808650ca
je 0x180865082
mov r10d, dword [rax + rcx + 0x8c]
stc
cmp r13b, 0xe0
bswap dx
lea rdx, [rcx + r9]
clc
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x150], rdi
or r8d, 0xffffffff
stc
sub edi, edi
test r15w, bp
mov dword [rsp + 0x170], r10d
cmp rax, 0x71704841
mov qword [rsp + 0x28], rdx
cmp rbp, 0xffff
jmp 0x180865120
ja 0x180865138
mov r8d, ebp
cmc
sub r8d, dword [rdx + 0x10]
jmp 0x180865133
jmp 0x18086530c
mov eax, dword [rdx + 0x18]
clc
cmp r10b, 0x61
test eax, eax
jmp 0x180865147
je 0x18086530c
mov r10d, dword [rdx + 0x20]
movsx cx, ch
mov ecx, 0x30345e39
dec eax
mov ecx, edi
test r8b, r12b
cmp r14d, 0x7cbf5021
cmp edx, r14d
lea r10, [r10 + rsi]
test r15b, 0x47
mov dword [rsp + 0x20], ecx
stc
clc
mov dword [rsp + 0x188], eax
test bpl, bl
stc
test sil, 0x7c
mov qword [rsp + 0x30], r10
test eax, eax
jmp 0x180865194
js 0x1808652fd
lea ebx, [rax + rcx]
rcr r8b, 0xfe
mov r11, rdi
sar ebx, 1
mov eax, ebx
movzx eax, byte [rsp + 0x180]
mov r8d, dword [r10 + rbx*4]
mov r10, rbp
sal r9w, 0x3e
add r8, rsi
bts r9w, r11w
movsx r9w, r13b
mov r9w, dx
sub r10, r8
nop
mov dh, 0x82
mov r9w, r14w
movzx edx, byte [r10 + r8]
inc r9d
movsx r9d, ax
cmova r9d, r14d
movzx r9d, byte [r8]
jmp 0x1808651f1
inc r8
stc
test al, al
jmp 0x1808651fc
je 0x18086522f
mov ecx, r11d
cmovle ax, bx
mov eax, 0x4abb6a97
rol eax, cl
add al, r11b
clc
jmp 0x180865219
xor dl, al
movzx eax, byte [rsp + 0x180]
jmp 0x180865228
inc r11
clc
cmp spl, cl
test dl, dl
je 0x180865240
cmp dl, r9b
je 0x1808651d8
cmp dl, r9b
jmp 0x180865248
jb 0x180865271
jbe 0x1808652a2
mov eax, dword [rsp + 0x188]
lea ecx, [rbx + 1]
jmp 0x180865263
mov dword [rsp + 0x20], ecx
jmp 0x18086526c
jmp 0x18086528b
mov ecx, dword [rsp + 0x20]
mov al, spl
lea eax, [rbx - 1]
jmp 0x180865284
mov dword [rsp + 0x188], eax
cmp ecx, eax
jg 0x1808652d5
mov r10, qword [rsp + 0x30]
jmp 0x18086529d
jmp 0x18086519a
mov rax, qword [rsp + 0x28]
jmp 0x1808652b0
mov eax, dword [rax + 0x24]
mov r8b, r15b
movsx rcx, r12w
lea rcx, [rsi + rax]
movzx r8d, bp
bswap r8w
movzx r8d, word [rcx + rbx*2]
jmp 0x1808652d0
jmp 0x1808652e4
or r8d, 0xffffffff
rol rdx, 0x9f
shr r9, 0x9d
add rdx, rax
mov r9d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
adc r10, 0x713d4136
btr r10d, 0x82
sal r10, cl
mov r10d, dword [rsp + 0x170]
cmp bpl, r9b
test spl, 0xeb
cmp r8d, dword [rdx + 0x14]
jmp 0x180865315
jae 0x18086539f
mov eax, dword [rdx + 0x1c]
mov ecx, r8d
rcl dl, cl
mov dx, 0x3796
add rax, rsi
mov edx, dword [rax + r8*4]
test edx, edx
jmp 0x180865335
je 0x18086539f
cmp edx, r9d
jb 0x1808655a0
lea eax, [r10 + r9]
test rcx, rsi
clc
cmp edx, eax
jmp 0x180865353
jae 0x1808655a0
movzx ecx, byte [rsi + rdx]
not bh
btc rbx, rdx
sbb ax, 0x2b0c
lea rax, [rsi + rdx]
mov rbx, rax
test cl, cl
jmp 0x180865375
je 0x18086539f
nop
cmp cl, 0x2e
je 0x1808653a6
movzx ecx, byte [rbx + 1]
jmp 0x18086538e
inc rbx
cmc
test cl, cl
jmp 0x180865399
jne 0x18086537c
mov r8, rbx
clc
sub r8, rax
cmc
clc
cmp r8, 0x104
jmp 0x1808653bb
jae 0x18086539f
mov rcx, rdi
jmp 0x1808653c9
test r8, r8
je 0x18086540a
lea r9, [rsp + 0x40]
sub r9, rax
xadd dh, dh
movzx edx, byte [rax]
cmp r14w, si
cmc
test dl, dl
je 0x18086540a
inc rcx
jmp 0x1808653f5
mov byte [r9 + rax], dl
inc rax
cmp rcx, r8
jmp 0x180865404
jb 0x1808653dd
mov byte [rsp + rcx + 0x40], dil
lea rcx, [rsp + 0x40]
cwde
bswap eax
mov rax, qword [0x1803c1128]
jmp 0x1807f21a9
lea rax, [rsi + rdx]
add esi, 0xa303845