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

Disassembly:
jmp 0x18025a2a0
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 0x18025a2d2
mov dword [rsp + 0x1c], 1
jmp 0x18025a2da
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 4], eax
cmp dword [rsp + 0xd0], 0x100
jae 0x18025a3df
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 4
test eax, eax
jne 0x18025a373
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 2
test eax, eax
jne 0x18025a320
mov eax, dword [rsp + 4]
jmp 0x18025aef3
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 0x18025a362
mov dword [rsp + 0x20], 1
jmp 0x18025a36a
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
jmp 0x18025aef3
mov rax, qword [rsp + 0xd8]
movzx eax, word [rax]
and eax, 2
test eax, eax
je 0x18025a3df
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 0x18025a3df
cmp dword [rsp + 4], 0
jne 0x18025a3ce
mov dword [rsp + 0x24], 1
jmp 0x18025a3d6
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
jmp 0x18025aef3
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 0x18025a416
mov dword [rsp + 0x2c], 1
jmp 0x18025a41e
mov dword [rsp + 0x2c], 0
cmp dword [rsp + 0x2c], 0
je 0x18025a439
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 0x18025a475
mov dword [rsp + 0x34], 1
jmp 0x18025a47d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
je 0x18025aeef
movzx eax, word [rsp]
cmp eax, 1
jne 0x18025a567
cmp dword [rsp + 0xe0], 0
je 0x18025a510
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 0x18025a50e
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 0x18025a533
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 0x18025a562
cmp dword [rsp + 4], 0
jne 0x18025a551
mov dword [rsp + 0x38], 1
jmp 0x18025a559
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
jmp 0x18025aef3
jmp 0x18025aeea
movzx eax, word [rsp]
cmp eax, 2
jne 0x18025a6e9
cmp dword [rsp + 0xe0], 0
je 0x18025a662
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 0x18025a5f1
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 0x18025a660
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 0x18025a6a8
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 0x18025a6e4
mov eax, dword [rsp + 0xc]
cmp dword [rsp + 0xd0], eax
ja 0x18025a6e4
cmp dword [rsp + 4], 0
jne 0x18025a6d3
mov dword [rsp + 0x3c], 1
jmp 0x18025a6db
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
jmp 0x18025aef3
jmp 0x18025aeea
mov eax, dword [rsp + 0xd0]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdqe
lea rcx, [0x1804eb200]
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, [0x1804ef600]
movzx eax, word [rcx + rax*2]
imul rax, rax, 0xc
lea rcx, [0x1804e8340]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
movzx eax, word [rsp]
cmp eax, 3
jne 0x18025a760
mov dword [rsp + 0x44], 1
jmp 0x18025a768
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.0x18025a7a0.9
movsxd rax, dword [rsp + 0x48]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x25aefc]
add rax, rcx
jmp rax
cmp dword [rsp + 0x18], 0
je 0x18025a7cb
cmp dword [rsp + 4], 0
jne 0x18025a7ba
mov dword [rsp + 0x4c], 1
jmp 0x18025a7c2
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 9
je 0x18025a804
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 5
je 0x18025a804
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 8
je 0x18025a804
mov dword [rsp + 0x50], 0
jmp 0x18025a80c
mov dword [rsp + 0x50], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x50], eax
jne 0x18025a838
cmp dword [rsp + 4], 0
jne 0x18025a827
mov dword [rsp + 0x54], 1
jmp 0x18025a82f
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
jmp 0x18025aef3
jmp 0x18025aed6
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, [0x1804e6a90]
cmp eax, dword [rdx + rcx*4]
jne 0x18025a871
mov dword [rsp + 0x58], 1
jmp 0x18025a879
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x58], eax
jne 0x18025a8a5
cmp dword [rsp + 4], 0
jne 0x18025a894
mov dword [rsp + 0x5c], 1
jmp 0x18025a89c
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
jmp 0x18025aef3
jmp 0x18025aed6
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 0x18025a8d6
mov dword [rsp + 0x60], 1
jmp 0x18025a8de
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x60], eax
jne 0x18025a90a
cmp dword [rsp + 4], 0
jne 0x18025a8f9
mov dword [rsp + 0x64], 1
jmp 0x18025a901
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
jmp 0x18025aef3
jmp 0x18025aed6
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 0x18025a93a
mov dword [rsp + 0x68], 1
jmp 0x18025a942
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x68], eax
jne 0x18025a96e
cmp dword [rsp + 4], 0
jne 0x18025a95d
mov dword [rsp + 0x6c], 1
jmp 0x18025a965
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 1
je 0x18025a9a9
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 3
je 0x18025a9a9
mov dword [rsp + 0x70], 0
jmp 0x18025a9b1
mov dword [rsp + 0x70], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x70], eax
jne 0x18025a9dd
cmp dword [rsp + 4], 0
jne 0x18025a9cc
mov dword [rsp + 0x74], 1
jmp 0x18025a9d4
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x74]
jmp 0x18025aef3
jmp 0x18025aed6
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x2000
ja 0x18025aa75
cmp dword [rsp + 0x78], 0x2000
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0x20
ja 0x18025aa4b
cmp dword [rsp + 0x78], 0x20
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 9
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0xa
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0xb
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0xc
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0xd
je case.0x18025aaba.8193
jmp case.0x18025aaba.8207
cmp dword [rsp + 0x78], 0x85
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0xa0
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0x1680
je case.0x18025aaba.8193
cmp dword [rsp + 0x78], 0x180e
je case.0x18025aaba.8193
jmp case.0x18025aaba.8207
cmp dword [rsp + 0x78], 0x3000
ja 0x18025aabc
cmp dword [rsp + 0x78], 0x3000
je case.0x18025aaba.8193
mov eax, dword [rsp + 0x78]
sub eax, 0x2001
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x5e
ja case.0x18025aaba.8207
mov eax, dword [rsp + 0x78]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x25af70]
mov eax, dword [rcx + rax*4 + 0x25af34]
add rax, rcx
jmp rax
jmp case.0x18025aaba.8207
cmp dword [rsp + 0x18], 0
je 0x18025aae7
cmp dword [rsp + 4], 0
jne 0x18025aad6
mov dword [rsp + 0x7c], 1
jmp 0x18025aade
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
jmp 0x18025aef3
jmp 0x18025ab4f
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 6
jne 0x18025ab0c
mov dword [rsp + 0x80], 1
jmp 0x18025ab17
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x80], eax
jne 0x18025ab4f
cmp dword [rsp + 4], 0
jne 0x18025ab38
mov dword [rsp + 0x84], 1
jmp 0x18025ab43
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 1
je 0x18025ab97
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 3
je 0x18025ab97
cmp dword [rsp + 0xd0], 0x5f
je 0x18025ab97
mov dword [rsp + 0x88], 0
jmp 0x18025aba2
mov dword [rsp + 0x88], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x88], eax
jne 0x18025abda
cmp dword [rsp + 4], 0
jne 0x18025abc3
mov dword [rsp + 0x8c], 1
jmp 0x18025abce
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
jmp 0x18025aef3
jmp 0x18025aed6
cmp dword [rsp + 0xd0], 0xa0
jae 0x18025ac5c
cmp dword [rsp + 0xd0], 0x24
je 0x18025ac17
cmp dword [rsp + 0xd0], 0x40
je 0x18025ac17
cmp dword [rsp + 0xd0], 0x60
je 0x18025ac17
mov dword [rsp + 0x90], 0
jmp 0x18025ac22
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x90], eax
jne 0x18025ac5a
cmp dword [rsp + 4], 0
jne 0x18025ac43
mov dword [rsp + 0x94], 1
jmp 0x18025ac4e
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
jmp 0x18025aef3
jmp 0x18025acc6
cmp dword [rsp + 0xd0], 0xd800
jb 0x18025ac83
cmp dword [rsp + 0xd0], 0xdfff
ja 0x18025ac83
mov dword [rsp + 0x98], 0
jmp 0x18025ac8e
mov dword [rsp + 0x98], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0x98], eax
jne 0x18025acc6
cmp dword [rsp + 4], 0
jne 0x18025acaf
mov dword [rsp + 0x9c], 1
jmp 0x18025acba
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 6
je 0x18025ad46
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 0
jne 0x18025ad39
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x18025ad46
cmp dword [rsp + 0xd0], 0x61c
je 0x18025ad46
cmp dword [rsp + 0xd0], 0x180e
je 0x18025ad46
cmp dword [rsp + 0xd0], 0x2066
jb 0x18025ad39
cmp dword [rsp + 0xd0], 0x2069
jbe 0x18025ad46
mov dword [rsp + 0xa0], 1
jmp 0x18025ad51
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xa0], eax
jne 0x18025ad89
cmp dword [rsp + 4], 0
jne 0x18025ad72
mov dword [rsp + 0xa4], 1
jmp 0x18025ad7d
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x1b
je 0x18025ae02
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 0x1c
je 0x18025ae02
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 0
jne 0x18025adf5
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x18025ae02
cmp dword [rsp + 0xd0], 0x61c
je 0x18025ae02
cmp dword [rsp + 0xd0], 0x2066
jb 0x18025adf5
cmp dword [rsp + 0xd0], 0x2069
jbe 0x18025ae02
mov dword [rsp + 0xa8], 1
jmp 0x18025ae0d
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xa8], eax
jne 0x18025ae45
cmp dword [rsp + 4], 0
jne 0x18025ae2e
mov dword [rsp + 0xac], 1
jmp 0x18025ae39
mov dword [rsp + 0xac], 0
mov eax, dword [rsp + 0xac]
jmp 0x18025aef3
jmp 0x18025aed6
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 4
je 0x18025ae90
cmp dword [rsp + 0xd0], 0x80
jae 0x18025ae83
mov rax, qword [rsp + 0x10]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 5
je 0x18025ae90
mov dword [rsp + 0xb0], 0
jmp 0x18025ae9b
mov dword [rsp + 0xb0], 1
mov eax, dword [rsp + 0x18]
cmp dword [rsp + 0xb0], eax
jne 0x18025aed0
cmp dword [rsp + 4], 0
jne 0x18025aebc
mov dword [rsp + 0xb4], 1
jmp 0x18025aec7
mov dword [rsp + 0xb4], 0
mov eax, dword [rsp + 0xb4]
jmp 0x18025aef3
jmp 0x18025aed6
xor eax, eax
jmp 0x18025aef3
mov rax, qword [rsp + 0xd8]
add rax, 4
mov qword [rsp + 0xd8], rax
jmp 0x18025a439
mov eax, dword [rsp + 4]
add rsp, 0xc0
pop rdi
ret