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

Disassembly:
jmp 0x140284cb0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xc0
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 1
test eax, eax
je 0x140284ce2
mov dword [rsp + 0x1c], 1
jmp 0x140284cea
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 4], eax
cmp dword [rsp + 0xd0], 0x100
jae 0x140284def
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 4
test eax, eax
jne 0x140284d83
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 2
test eax, eax
jne 0x140284d30
mov eax, dword [rsp + 4]
jmp 0x140285903
xor edx, edx
mov eax, dword [rsp + 0xd0]
mov ecx, 8
div ecx
mov eax, eax
mov rcx, qword [rsp + 0xd8]
movzx eax, byte [rcx + rax + 2]
mov ecx, dword [rsp + 0xd0]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x140284d72
mov dword [rsp + 0x20], 1
jmp 0x140284d7a
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
jmp 0x140285903
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 2
test eax, eax
je 0x140284def
xor edx, edx
mov eax, dword [rsp + 0xd0]
mov ecx, 8
div ecx
mov eax, eax
mov rcx, qword [rsp + 0xd8]
movzx eax, byte [rcx + rax + 2]
mov ecx, dword [rsp + 0xd0]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x140284def
cmp dword [rsp + 4], 0
jne 0x140284dde
mov dword [rsp + 0x24], 1
jmp 0x140284de6
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
jmp 0x140285903
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 2
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x28], 0
je 0x140284e26
mov dword [rsp + 0x2c], 1
jmp 0x140284e2e
mov dword [rsp + 0x2c], 0
cmp dword [rsp + 0x2c], 0
je 0x140284e49
mov rax, qword [rsp + 0xd8]
add rax, 0x20
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov word [rsp], ax
movzx eax, word [rsp]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
cmp dword [rsp + 0x30], 0
je 0x140284e85
mov dword [rsp + 0x34], 1
jmp 0x140284e8d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
je 0x1402858ff
movzx eax, word [rsp]
cmp eax, 1
jne 0x140284f77
cmp dword [rsp + 0xe0], 0
je 0x140284f20
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 8]
and eax, 0xfc00
cmp eax, 0xd800
jne 0x140284f1e
mov eax, dword [rsp + 8]
and eax, 0x3ff
shl eax, 0xa
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx]
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
jmp 0x140284f43
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0xd0], eax
jne 0x140284f72
cmp dword [rsp + 4], 0
jne 0x140284f61
mov dword [rsp + 0x38], 1
jmp 0x140284f69
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
jmp 0x140285903
jmp 0x1402858fa
movzx eax, word [rsp]
cmp eax, 2
jne 0x1402850f9
cmp dword [rsp + 0xe0], 0
je 0x140285072
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 8]
and eax, 0xfc00
cmp eax, 0xd800
jne 0x140285001
mov eax, dword [rsp + 8]
and eax, 0x3ff
shl eax, 0xa
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx]
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0xc]
and eax, 0xfc00
cmp eax, 0xd800
jne 0x140285070
mov eax, dword [rsp + 0xc]
and eax, 0x3ff
shl eax, 0xa
mov rcx, qword [rsp + 0xd8]
movzx ecx, word [rcx]
and ecx, 0x3ff
or eax, ecx
add eax, 0x10000
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
jmp 0x1402850b8
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0xd0], eax
jb 0x1402850f4
mov eax, dword [rsp + 0xc]
cmp dword [rsp + 0xd0], eax
ja 0x1402850f4
cmp dword [rsp + 4], 0
jne 0x1402850e3
mov dword [rsp + 0x3c], 1
jmp 0x1402850eb
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
jmp 0x140285903
jmp 0x1402858fa
mov eax, dword [rsp + 0xd0]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdqe
lea rcx, [0x140520d10]
movzx eax, word [rcx + rax*2]
imul eax, eax, 0x80
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xd0]
cdq
and edx, 0x7f
add eax, edx
and eax, 0x7f
sub eax, edx
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
cdqe
lea rcx, [0x140525110]
movzx eax, word [rcx + rax*2]
imul rax, rax, 0xc
lea rcx, [0x14051de50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
movzx eax, word [rsp]
cmp eax, 3
jne 0x140285170
mov dword [rsp + 0x44], 1
jmp 0x140285178
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x18], eax
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xd
ja case.0x1402851b0.9
movsxd rax, dword [rsp + 0x48]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x28590c]
add rax, rcx
jmp rax
cmp dword [rsp + 0x18], 0
je 0x1402851db
cmp dword [rsp + 4], 0
jne 0x1402851ca
mov dword [rsp + 0x4c], 1
jmp 0x1402851d2
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 9
je 0x140285214
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 5
je 0x140285214
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 8
je 0x140285214
mov dword [rsp + 0x50], 0
jmp 0x14028521c
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x50], eax
jne 0x140285248
cmp dword [rsp + 4], 0
jne 0x140285237
mov dword [rsp + 0x54], 1
jmp 0x14028523f
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
jmp 0x140285903
jmp 0x1402858e6
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0xd8]
movzx eax, word [rcx + rax]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx + 1]
lea rdx, [0x14051c5a0]
cmp eax, dword [rdx + rcx*4]
jne 0x140285281
mov dword [rsp + 0x58], 1
jmp 0x140285289
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x58], eax
jne 0x1402852b5
cmp dword [rsp + 4], 0
jne 0x1402852a4
mov dword [rsp + 0x5c], 1
jmp 0x1402852ac
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
jmp 0x140285903
jmp 0x1402858e6
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0xd8]
movzx eax, word [rcx + rax]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx + 1]
cmp eax, ecx
jne 0x1402852e6
mov dword [rsp + 0x60], 1
jmp 0x1402852ee
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x60], eax
jne 0x14028531a
cmp dword [rsp + 4], 0
jne 0x140285309
mov dword [rsp + 0x64], 1
jmp 0x140285311
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
jmp 0x140285903
jmp 0x1402858e6
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0xd8]
movzx eax, word [rcx + rax]
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
cmp eax, ecx
jne 0x14028534a
mov dword [rsp + 0x68], 1
jmp 0x140285352
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x68], eax
jne 0x14028537e
cmp dword [rsp + 4], 0
jne 0x14028536d
mov dword [rsp + 0x6c], 1
jmp 0x140285375
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 1
je 0x1402853b9
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 3
je 0x1402853b9
mov dword [rsp + 0x70], 0
jmp 0x1402853c1
mov dword [rsp + 0x70], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x70], eax
jne 0x1402853ed
cmp dword [rsp + 4], 0
jne 0x1402853dc
mov dword [rsp + 0x74], 1
jmp 0x1402853e4
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x74]
jmp 0x140285903
jmp 0x1402858e6
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x2000
ja 0x140285485
cmp dword [rsp + 0x78], 0x2000
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0x20
ja 0x14028545b
cmp dword [rsp + 0x78], 0x20
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 9
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0xa
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0xb
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0xc
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0xd
je case.0x1402854ca.8193
jmp case.0x1402854ca.8207
cmp dword [rsp + 0x78], 0x85
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0xa0
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0x1680
je case.0x1402854ca.8193
cmp dword [rsp + 0x78], 0x180e
je case.0x1402854ca.8193
jmp case.0x1402854ca.8207
cmp dword [rsp + 0x78], 0x3000
ja 0x1402854cc
cmp dword [rsp + 0x78], 0x3000
je case.0x1402854ca.8193
mov eax, dword [rsp + 0x78]
sub eax, 0x2001
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x5e
ja case.0x1402854ca.8207
mov eax, dword [rsp + 0x78]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x285980]
mov eax, dword [rcx + rax*4 + 0x285944]
add rax, rcx
jmp rax
jmp case.0x1402854ca.8207
cmp dword [rsp + 0x18], 0
je 0x1402854f7
cmp dword [rsp + 4], 0
jne 0x1402854e6
mov dword [rsp + 0x7c], 1
jmp 0x1402854ee
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
jmp 0x140285903
jmp 0x14028555f
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 6
jne 0x14028551c
mov dword [rsp + 0x80], 1
jmp 0x140285527
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x80], eax
jne 0x14028555f
cmp dword [rsp + 4], 0
jne 0x140285548
mov dword [rsp + 0x84], 1
jmp 0x140285553
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 1
je 0x1402855a7
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 3
je 0x1402855a7
cmp dword [rsp + 0xd0], 0x5f
je 0x1402855a7
mov dword [rsp + 0x88], 0
jmp 0x1402855b2
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x88], eax
jne 0x1402855ea
cmp dword [rsp + 4], 0
jne 0x1402855d3
mov dword [rsp + 0x8c], 1
jmp 0x1402855de
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
jmp 0x140285903
jmp 0x1402858e6
cmp dword [rsp + 0xd0], 0xa0
jae 0x14028566c
cmp dword [rsp + 0xd0], 0x24
je 0x140285627
cmp dword [rsp + 0xd0], 0x40
je 0x140285627
cmp dword [rsp + 0xd0], 0x60
je 0x140285627
mov dword [rsp + 0x90], 0
jmp 0x140285632
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x90], eax
jne 0x14028566a
cmp dword [rsp + 4], 0
jne 0x140285653
mov dword [rsp + 0x94], 1
jmp 0x14028565e
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
jmp 0x140285903
jmp 0x1402856d6
cmp dword [rsp + 0xd0], 0xd800
jb 0x140285693
cmp dword [rsp + 0xd0], 0xdfff
ja 0x140285693
mov dword [rsp + 0x98], 0
jmp 0x14028569e
mov dword [rsp + 0x98], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x98], eax
jne 0x1402856d6
cmp dword [rsp + 4], 0
jne 0x1402856bf
mov dword [rsp + 0x9c], 1
jmp 0x1402856ca
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 6
je 0x140285756
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 0
jne 0x140285749
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x140285756
cmp dword [rsp + 0xd0], 0x61c
je 0x140285756
cmp dword [rsp + 0xd0], 0x180e
je 0x140285756
cmp dword [rsp + 0xd0], 0x2066
jb 0x140285749
cmp dword [rsp + 0xd0], 0x2069
jbe 0x140285756
mov dword [rsp + 0xa0], 1
jmp 0x140285761
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xa0], eax
jne 0x140285799
cmp dword [rsp + 4], 0
jne 0x140285782
mov dword [rsp + 0xa4], 1
jmp 0x14028578d
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x1b
je 0x140285812
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x1c
je 0x140285812
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 0
jne 0x140285805
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x140285812
cmp dword [rsp + 0xd0], 0x61c
je 0x140285812
cmp dword [rsp + 0xd0], 0x2066
jb 0x140285805
cmp dword [rsp + 0xd0], 0x2069
jbe 0x140285812
mov dword [rsp + 0xa8], 1
jmp 0x14028581d
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xa8], eax
jne 0x140285855
cmp dword [rsp + 4], 0
jne 0x14028583e
mov dword [rsp + 0xac], 1
jmp 0x140285849
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
jmp 0x140285903
jmp 0x1402858e6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 4
je 0x1402858a0
cmp dword [rsp + 0xd0], 0x80
jae 0x140285893
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 5
je 0x1402858a0
mov dword [rsp + 0xb0], 0
jmp 0x1402858ab
mov dword [rsp + 0xb0], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xb0], eax
jne 0x1402858e0
cmp dword [rsp + 4], 0
jne 0x1402858cc
mov dword [rsp + 0xb4], 1
jmp 0x1402858d7
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
jmp 0x140285903
jmp 0x1402858e6
xor eax, eax
jmp 0x140285903
mov rax, qword [rsp + 0xd8]
add rax, 4
mov qword [rsp + 0xd8], rax
jmp 0x140284e49
mov eax, dword [rsp + 4]
add rsp, 0xc0
pop rdi
ret