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

Disassembly:
call rax
mov r11, rax
test rax, rax
jmp 0x140597203
mov byte [rsp + 0x18], r8b
stc
cmp bpl, r10b
push rbp
movsx bp, al
add ebp, ecx
push rsi
ror esi, cl
sub rsp, 0x158
movzx ebp, bx
cmp r10, 0x5e9655ea
sub ebp, r8d
mov rbp, rdx
btr esi, 0x40
mov rsi, rcx
stc
cmp rax, rax
test rcx, rcx
je 0x140596dec
test rdx, rdx
jmp 0x140596dd3
je 0x140596dec
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x140596de6
je 0x140596e0d
xor eax, eax
btc rbp, rsi
xor sil, r14b
add rsp, 0x158
movsx rbp, r14w
bswap esi
pop rsi
movzx ebp, cx
pop rbp
jmp 0x140596e0c
ret
movsxd rax, dword [rcx + 0x3c]
clc
cmc
cmp dword [rax + rcx], 0x4550
jne 0x140596dec
mov r9d, dword [rax + rcx + 0x88]
clc
cmp esp, 0xb416a81
mov dword [rsp + 0x24], r9d
test r9d, r9d
jmp 0x140596e3c
je 0x140596dec
mov r10d, dword [rax + rcx + 0x8c]
cmovns edx, ecx
ror dx, 0x36
lea rdx, [rcx + r9]
cmp r8d, 0x22d00afd
test r10b, 0x6e
mov qword [rsp + 0x178], rbx
test r15d, r14d
cmp r15b, 0xc7
mov qword [rsp + 0x150], rdi
cmp r15b, 0xde
clc
stc
or r8d, 0xffffffff
test r10b, al
xor edi, edi
cmp r15b, 0x95
jmp 0x140596e8f
mov dword [rsp + 0x170], r10d
mov qword [rsp + 0x28], rdx
cmp rbp, 0xffff
jmp 0x140596ea8
ja 0x140596ec6
mov r8d, ebp
test ah, al
jmp 0x140596eb8
sub r8d, dword [rdx + 0x10]
jmp 0x140596ec1
jmp 0x14059709d
mov eax, dword [rdx + 0x18]
clc
cmc
test eax, eax
je 0x14059709d
mov r10d, dword [rdx + 0x20]
bswap rcx
movzx cx, r8b
dec eax
and ch, 0x63
cmc
mov ecx, edi
cmp r11w, 0x53cb
clc
lea r10, [r10 + rsi]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x188], eax
clc
cmc
mov qword [rsp + 0x30], r10
clc
test eax, eax
jmp 0x140596f0c
js 0x14059708f
lea ebx, [rax + rcx]
mov r11, rdi
shld r9, r14, 0xd9
cmp r15d, 0x18b03fa2
sar ebx, 1
shr r9, cl
mov eax, ebx
xadd al, dh
not r9w
sub edx, 0x36c823ce
movzx eax, byte [rsp + 0x180]
mov r8d, dword [r10 + rbx*4]
btc edx, 0x1a
shrd r10, r15, 0x41
btr edx, 0xf2
mov r10, rbp
cmc
add r8, rsi
cwd
movsx r9d, r11w
sub r10, r8
movsxd r9, r15d
mov r9b, Ordinal_32
movzx r9, dx
nop
movzx r9d, r8w
movzx edx, byte [r10 + r8]
not r9b
mov r9, 0x514a58cd
movsx r9, dx
movzx r9d, byte [r8]
jmp 0x140596f8c
inc r8
test al, al
je 0x140596fc9
mov ecx, r11d
cwde
mov eax, 0x4a562178
jmp 0x140596fa5
rol eax, cl
add al, r11b
stc
test r10, 0x2a3f30b2
xor dl, al
mov rax, rbp
movzx eax, byte [rsp + 0x180]
jmp 0x140596fc4
inc r11
clc
cmc
test dl, dl
jmp 0x140596fd0
je 0x140596fe4
cmp dl, r9b
jmp 0x140596fde
je 0x140596f70
cmp dl, r9b
jmp 0x140596fec
jb 0x14059701c
jbe 0x14059704d
mov eax, dword [rsp + 0x188]
bswap rcx
movsx rcx, r14w
lea ecx, [rbx + 1]
jmp 0x14059700e
mov dword [rsp + 0x20], ecx
jmp 0x140597017
jmp 0x140597036
mov ecx, dword [rsp + 0x20]
movsx eax, cx
cdqe
jmp 0x14059702a
lea eax, [rbx - 1]
stc
cmc
mov dword [rsp + 0x188], eax
cmp ecx, eax
jg 0x14059706f
mov r10, qword [rsp + 0x30]
jmp 0x140597048
jmp 0x140596f12
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
lea rcx, [rsi + rax]
movsx r8d, r10w
not r8b
jmp 0x140597065
movzx r8d, word [rcx + rbx*2]
jmp 0x140597080
or r8d, 0xffffffff
inc r10w
cmp bp, 0x5286
add r10b, 0xc5
mov r9d, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
shl r10w, 0x49
mov r10d, dword [rsp + 0x170]
stc
jmp 0x14059709d
cmp r8d, dword [rdx + 0x14]
jae 0x140597160
mov eax, dword [rdx + 0x1c]
rcr edx, cl
xadd cx, cx
xchg rdx, rcx
mov ecx, r8d
rol rdx, cl
add rax, rsi
cmovnp rdx, r12
btr dx, 0x26
add dx, bx
mov edx, dword [rax + r8*4]
cmp r8b, 0xb3
test spl, dil
jmp 0x1405970d8
test edx, edx
jmp 0x1405970df
je 0x140597160
cmp edx, r9d
jmp 0x1405970ed
jb 0x140597367
lea eax, [r10 + r9]
jmp 0x1405970fc
cmp edx, eax
jmp 0x140597103
jae 0x140597367
movzx ecx, byte [rsi + rdx]
shr eax, 0x36
btc bx, 0x8a
cmp r10b, 0xbc
lea rax, [rsi + rdx]
sub bl, 0x8d
mov rbx, rax
jmp 0x140597128
test cl, cl
jmp 0x14059712f
je 0x140597160
nop
stc
cmp cl, 0x2e
jmp 0x14059713f
je 0x14059716c
movzx ecx, byte [rbx + 1]
jmp 0x14059714e
inc rbx
stc
clc
test cl, cl
jmp 0x14059715a
jne 0x140597137
mov r8, rbx
jmp 0x140597178
sub r8, rax
cmc
test r12w, cx
cmp r8, 0x104
jmp 0x14059718c
jae 0x140597160
mov rcx, rdi
test r14, 0x2a5d79ec
test r8, r8
jmp 0x1405971a4
je 0x1405971e9
lea r9, [rsp + 0x40]
sub r9, rax
movzx edx, r8w
movzx edx, byte [rax]
clc
cmc
test dl, dl
jmp 0x1405971c2
je 0x1405971e9
inc rcx
jmp 0x1405971d0
mov byte [r9 + rax], dl
jmp 0x1405971d9
inc rax
test r10w, sp
cmp rcx, r8
jb 0x1405971b6
mov byte [rsp + rcx + 0x40], dil
lea rcx, [rsp + 0x40]
movsx rax, cx
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA_1]
jmp 0x1402d7d9d
jne 0x140597226
lea rcx, [rsp + 0x40]
mov ah, cl
movsx eax, r12w
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA_1]
jmp 0x140371d05
lea rax, [rsi + rdx]
bt rdi, rdi