Function at 0x1404246d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
cbw
mov qword [rsp + 0x18], r8
clc
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
shl rax, cl
rol rax, 0x83
lahf
mov rax, qword [0x1400db970]
cmp bp, sp
cmc
clc
mov qword [rsp + 0x60], rax
sbb ax, 0x5b2b
xor al, r9b
rcr al, cl
mov qword [rsp + 0x40], 0
shl eax, 0x95
mov rax, qword [rsp + 0xa8]
cmc
test r10, rdi
cmp dword [rax], 0
jmp 0x140424735
jl 0x140424791
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xc0]
cmp dil, r15b
test r13w, r11w
cmp dword [rax], ecx
jge 0x140424791
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
bswap edx
cdq
lea r8, [rsp + 0x40]
mov eax, esp
movzx edx, r8w
mov rax, qword [rsp + 0xa8]
mov edx, dword [rax]
movzx ecx, sp
mov cx, 0x6987
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x58]
cmp dword [rsp + 0xc8], 0xffffffff
je 0x140424878
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1b20]
and eax, 0x10
cmc
stc
test eax, eax
jmp 0x1404247b6
jne 0x140424878
mov ecx, dword [rsp + 0xc8]
jmp 0x1404247c8
call fcn.140422ffa
movss dword [rsp + 0x28], xmm0
and dl, 0x8a
cdqe
movss xmm0, dword [0x1400cebdc]
sbb cl, r14b
movss dword [rsp + 0x30], xmm0
ror cx, 6
movzx dx, r12b
rcr rcx, cl
movss xmm0, dword [rsp + 0x28]
shl cx, cl
mov rdx, r15
movsxd rax, edx
movss dword [rsp + 0x34], xmm0
inc al
lea rax, [rsp + 0x30]
sub dh, 5
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
shl cl, 0x16
btr dx, r10w
xorps xmm0, xmm0
movss dword [rsp + 0x3c], xmm0
shrd cx, r12w, 0x85
add cx, 0x939e
cmp rsp, rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
jmp 0x140424857
xor r9d, r9d
mov rdx, rdi
bsr rcx, rdi
sub r8d, r8d
mov rdx, qword [rsp + 0x68]
movsx cx, r14b
mov rcx, qword [rsp + 0x70]
call fcn.1403cca20
xor r8d, r8d
cwd
jmp 0x140424886
mov rdx, qword [rsp + 0x40]
mov ecx, 0xcc80a817
mov rcx, qword [rsp + 0xa0]
jmp 0x14042489d
call fcn.1404230b5
movzx eax, al
test eax, eax
jmp 0x1404248ac
jne 0x1404248b9
xor al, al
jmp 0x140424aa7
mov byte [rsp + 0x22], 0
jmp 0x1404248c3
mov dword [rsp + 0x24], 0
jmp 0x1404248d0
jmp 0x1404248ef
mov eax, dword [rsp + 0x24]
jmp 0x1404248de
inc eax
cmp r9b, dil
mov dword [rsp + 0x24], eax
bsr rax, r11
cwde
sbb al, r15b
mov eax, dword [rsp + 0xc0]
cmp edi, edi
test bpl, 2
cmp dword [rsp + 0x24], eax
jge 0x140424a8f
movsxd rax, dword [rsp + 0x24]
movsx rcx, r12w
mov rcx, rax
jmp 0x140424917
call fcn.1403cd073
mov rax, qword [rsp + 0xa8]
cmc
mov eax, dword [rax]
clc
jmp 0x14042492d
cmp dword [rsp + 0x24], eax
jmp 0x140424936
jne 0x14042494b
mov byte [rsp + 0x20], 1
jmp 0x140424946
jmp 0x140424953
mov byte [rsp + 0x20], 0
bswap cx
mov al, byte [rsp + 0x20]
bswap edx
movsx ecx, di
mov byte [rsp + 0x21], al
movsxd rcx, eax
cmovno r8, r8
mov rax, qword [rsp + 0xb0]
mov dx, 0xd425
mov qword [rsp + 0x78], rax
movsx cx, dil
cwd
lea r8, [rsp + 0x50]
cmovge rdx, rsp
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xb8]
jmp 0x140424999
call qword [rsp + 0x78]
movzx eax, al
stc
test eax, eax
jmp 0x1404249a8
jne 0x1404249c5
lea rax, str.Unknown_item
sar ch, cl
mov qword [rsp + 0x50], rax
cmp dx, bp
btr ecx, esp
xchg r9b, cl
xorps xmm0, xmm0
movss dword [rsp + 0x48], xmm0
cmc
rcl ah, 0x36
xorps xmm0, xmm0
shr rax, cl
sbb r9, rcx
movss dword [rsp + 0x4c], xmm0
shl r9b, cl
add r9b, 0x8e
lea rax, [rsp + 0x48]
mov ch, 0x2a
rcr dl, 0xd
shl r9d, cl
mov qword [rsp + 0x80], rax
xchg cx, cx
cmp dil, 0x9f
mov rax, qword [rsp + 0x50]
sar ch, cl
shl rcx, cl
mov qword [rsp + 0x88], rax
sar ch, 0x9f
bsr ecx, ebx
mov r9, qword [rsp + 0x80]
xor r8d, r8d
mov dl, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x88]
jmp 0x140424a39
call fcn.1404434c5
movzx eax, al
test r8b, 0xb4
stc
test eax, eax
jmp 0x140424a4d
je 0x140424a6c
mov byte [rsp + 0x22], 1
movsxd rax, r10d
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
sar ax, cl
movzx eax, byte [rsp + 0x21]
test r15b, 0x8c
cmp dl, sil
test eax, eax
je 0x140424a85
call fcn.1403ccbf6
call fcn.1403cd1d4
jmp 0x1404248d5
call fcn.140424652
mov al, byte [rsp + 0x22]
jmp 0x140424aa7
add rsp, 0x98
ret