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

Disassembly:
mov byte [rsp + 0x18], r8b
push rbp
and bpl, spl
shr bpl, 0x1a
push rsi
sub rsp, 0x158
add bp, r8w
sbb bp, r10w
xor bpl, bl
mov rbp, rdx
mov rsi, rcx
test r10b, al
test rcx, rcx
je 0x140ed1c1e
test rdx, rdx
jmp 0x140ed1c0a
je 0x140ed1c1e
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x140ed1c3f
xor eax, eax
sub bpl, r8b
add rsp, 0x158
pop rsi
seta bpl
movsx bp, bpl
movzx ebp, r15w
pop rbp
jmp 0x140ed1c3e
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jmp 0x140ed1c4f
jne 0x140ed1c1e
mov r9d, dword [rax + rcx + 0x88]
stc
clc
mov dword [rsp + 0x24], r9d
jmp 0x140ed1c69
test r9d, r9d
jmp 0x140ed1c71
je 0x140ed1c1e
mov r10d, dword [rax + rcx + 0x8c]
sal rdx, cl
sal dx, 0x95
cdq
lea rdx, [rcx + r9]
stc
jmp 0x140ed1c91
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x150], rdi
test r15, 0x465c550e
jmp 0x140ed1cb0
or r8d, 0xffffffff
cmp ebp, r14d
sub edi, edi
cmc
test esp, r13d
mov dword [rsp + 0x170], r10d
cmp di, 0x32f7
test r8w, 0x6f1c
mov qword [rsp + 0x28], rdx
test r10w, di
stc
cmp rbp, 0xffff
jmp 0x140ed1ce6
ja 0x140ed1cfd
mov r8d, ebp
jmp 0x140ed1cf4
sub r8d, dword [rdx + 0x10]
jmp 0x140ed1ec1
mov eax, dword [rdx + 0x18]
jmp 0x140ed1d0b
test eax, eax
jmp 0x140ed1d12
je 0x140ed1ec1
mov r10d, dword [rdx + 0x20]
xchg cl, ch
mov cx, si
dec eax
mov ecx, edi
cmp rax, 0x76ec1efc
test r9b, r14b
add r10, rsi
cmp rdx, 0x50de725c
mov dword [rsp + 0x20], ecx
test bpl, 4
test r11, r8
mov dword [rsp + 0x188], eax
clc
stc
mov qword [rsp + 0x30], r10
cmc
test eax, eax
jmp 0x140ed1d5a
js 0x140ed1eb6
lea ebx, [rax + rcx]
movzx eax, r10w
cwde
sbb r8b, dl
mov r11, rdi
sar ebx, 1
movsx rdx, bp
mov eax, ebx
movzx eax, byte [rsp + 0x180]
shld rdx, r9, 0xa1
sbb rdx, r12
bts rdx, rdi
mov r8d, dword [r10 + rbx*4]
mov r10, rbp
btr r9, 0x14
add r8, rsi
shrd r9w, cx, 0x6d
sub r10, r8
jmp 0x140ed1dae
nop
movsx r9, si
dec dx
movzx edx, byte [r10 + r8]
not r9b
dec r9b
movzx r9d, byte [r8]
inc r8
jmp 0x140ed1dcd
test al, al
je 0x140ed1e01
mov ecx, r11d
rol eax, cl
rcl ax, 0xfb
mov eax, 0xb8e2e20
cmc
clc
rol eax, cl
add al, r11b
cmp r9w, dx
xor dl, al
dec eax
movzx eax, r12w
movzx eax, byte [rsp + 0x180]
inc r11
test dl, dl
je 0x140ed1e12
cmp dl, r9b
je 0x140ed1db6
cmp dl, r9b
jb 0x140ed1e3e
jbe 0x140ed1e6e
mov eax, dword [rsp + 0x188]
lea ecx, [rbx + 1]
jmp 0x140ed1e30
mov dword [rsp + 0x20], ecx
jmp 0x140ed1e39
jmp 0x140ed1e52
mov ecx, dword [rsp + 0x20]
shld ax, r11w, 0xd4
lea eax, [rbx - 1]
mov dword [rsp + 0x188], eax
cmp ecx, eax
jmp 0x140ed1e59
jg 0x140ed1e93
mov r10, qword [rsp + 0x30]
jmp 0x140ed1e69
jmp 0x140ed1d60
mov rax, qword [rsp + 0x28]
mov cl, r8b
mov eax, dword [rax + 0x24]
movsxd rcx, edi
movzx r8d, r8w
lea rcx, [rsi + rax]
movzx r8d, word [rcx + rbx*2]
jmp 0x140ed1e8e
jmp 0x140ed1ea1
or r8d, 0xffffffff
mov rdx, 0x376b5012
rcr r9, cl
mov r9d, dword [rsp + 0x24]
xadd r10b, dl
movsx edx, ax
btr r10d, r14d
mov rdx, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x170]
test al, dil
cmp r8d, dword [rdx + 0x14]
jmp 0x140ed1eca
jae 0x140ed1f7b
mov eax, dword [rdx + 0x1c]
and rdx, 0x268901bd
mov ecx, r8d
jmp 0x140ed1ee5
lea rax, [rax + rsi]
dec dh
test r14b, r8b
mov edx, dword [rax + r8*4]
test r11, 0x2fcc37d6
stc
cmp r8b, dl
test edx, edx
jmp 0x140ed1f04
je 0x140ed1f7b
cmp edx, r9d
jmp 0x140ed1f12
jb 0x140ed218e
lea eax, [r10 + r9]
cmp edx, eax
jmp 0x140ed1f23
jae 0x140ed218e
movzx ecx, byte [rsi + rdx]
lea rax, [rsi + rdx]
btr bx, sp
rcr bh, cl
mov rbx, rax
cmp r9b, cl
stc
jmp 0x140ed1f43
test cl, cl
jmp 0x140ed1f4a
je 0x140ed1f7b
nop
cmp cl, 0x2e
jmp 0x140ed1f59
je 0x140ed1f87
movzx ecx, byte [rbx + 1]
jmp 0x140ed1f68
inc rbx
cmp spl, 0x99
test dil, 0x25
test cl, cl
jne 0x140ed1f51
mov r8, rbx
clc
cmp di, r8w
sub r8, rax
cmp r8, 0x104
jmp 0x140ed1f9e
jae 0x140ed1f7b
mov rcx, rdi
test r8, r8
je 0x140ed1ff2
lea r9, [rsp + 0x40]
cmc
stc
sub r9, rax
movsx edx, r12w
test rsp, rax
shrd edx, esi, 0x5a
movzx edx, byte [rax]
test dl, dl
je 0x140ed1ff2
inc rcx
jmp 0x140ed1fd8
mov byte [r9 + rax], dl
jmp 0x140ed1fe1
inc rax
cmp rcx, r8
jmp 0x140ed1fec
jb 0x140ed1fc5
mov byte [rsp + rcx + 0x40], dil
movzx ecx, r15w
mov cx, 0x1613
lea rcx, [rsp + 0x40]
mov al, r15b
cdqe
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov r11, rax
test rax, rax
jmp 0x140ed201d
jne 0x140ed2042
lea rcx, [rsp + 0x40]
movzx rax, r14w
movzx eax, r11w
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x140e602da
lea rax, [rsi + rdx]
movsxd rbp, ebp
neg ebx