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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov eax, dword [rsp + 0x80]
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 + 0x10], eax
mov eax, dword [rsp + 0x80]
cdq
and edx, 0x7f
add eax, edx
and eax, 0x7f
sub eax, edx
mov ecx, dword [rsp + 0x10]
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 + 8], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x14]
dec eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
ja case.default.0x18024f8b0
mov eax, dword [rsp + 0x14]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x24fcb4]
add rax, rcx
jmp rax
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 9
je 0x18024f8e6
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 5
je 0x18024f8e6
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 8
je 0x18024f8e6
mov dword [rsp + 0x18], 0
jmp 0x18024f8ee
mov dword [rsp + 0x18], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x18], eax
jne 0x18024f905
mov dword [rsp + 0x1c], 1
jmp 0x18024f90d
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x90], eax
jne 0x18024f93c
mov dword [rsp + 0x20], 1
jmp 0x18024f944
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jne 0x18024f95b
mov dword [rsp + 0x24], 1
jmp 0x18024f963
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp dword [rsp + 0x90], eax
jne 0x18024f988
mov dword [rsp + 0x28], 1
jmp 0x18024f990
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x28], eax
jne 0x18024f9a7
mov dword [rsp + 0x2c], 1
jmp 0x18024f9af
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
cmp dword [rsp + 0x90], eax
jne 0x18024f9d3
mov dword [rsp + 0x30], 1
jmp 0x18024f9db
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x30], eax
jne 0x18024f9f2
mov dword [rsp + 0x34], 1
jmp 0x18024f9fa
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 1
je 0x18024fa39
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 3
je 0x18024fa39
mov dword [rsp + 0x38], 0
jmp 0x18024fa41
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x38], eax
jne 0x18024fa58
mov dword [rsp + 0x3c], 1
jmp 0x18024fa60
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
jmp 0x18024fcad
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x2000
ja 0x18024faf9
cmp dword [rsp + 0x40], 0x2000
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0x20
ja 0x18024facf
cmp dword [rsp + 0x40], 0x20
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 9
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0xa
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0xb
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0xc
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0xd
je case.0x18024fb3e.8193
jmp case.0x18024fb3e.8203
cmp dword [rsp + 0x40], 0x85
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0xa0
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0x1680
je case.0x18024fb3e.8193
cmp dword [rsp + 0x40], 0x180e
je case.0x18024fb3e.8193
jmp case.0x18024fb3e.8203
cmp dword [rsp + 0x40], 0x3000
ja 0x18024fb40
cmp dword [rsp + 0x40], 0x3000
je case.0x18024fb3e.8193
mov eax, dword [rsp + 0x40]
sub eax, 0x2001
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x5e
ja case.0x18024fb3e.8203
mov eax, dword [rsp + 0x40]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x24fd14]
mov eax, dword [rcx + rax*4 + 0x24fcd8]
add rax, rcx
jmp rax
jmp case.0x18024fb3e.8203
mov eax, dword [rsp + 0x98]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 6
jne 0x18024fb6e
mov dword [rsp + 0x44], 1
jmp 0x18024fb76
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x44], eax
jne 0x18024fb8d
mov dword [rsp + 0x48], 1
jmp 0x18024fb95
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 1
je 0x18024fbe3
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x1804e6a90]
cmp dword [rcx + rax*4], 3
je 0x18024fbe3
cmp dword [rsp + 0x80], 0x5f
je 0x18024fbe3
mov dword [rsp + 0x4c], 0
jmp 0x18024fbeb
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x4c], eax
jne 0x18024fc02
mov dword [rsp + 0x50], 1
jmp 0x18024fc0a
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
jmp 0x18024fcad
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 3]
lea rcx, [0x1804e7f40]
lea rax, [rcx + rax*4]
mov qword [rsp], rax
mov rax, qword [rsp]
mov eax, dword [rax]
cmp dword [rsp + 0x80], eax
jae 0x18024fc5c
cmp dword [rsp + 0x98], 0
jne 0x18024fc4e
mov dword [rsp + 0x54], 1
jmp 0x18024fc56
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
jmp 0x18024fcad
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp]
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jne 0x18024fc91
mov dword [rsp + 0x60], 1
jmp 0x18024fc99
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x18024fca9
mov eax, dword [rsp + 0x98]
jmp 0x18024fcad
jmp 0x18024fc2b
xor eax, eax
add rsp, 0x70
pop rdi
ret