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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
test rcx, rcx
je 0x180033b79
mov r9, rcx
mov byte [rsp + 0x20], 1
xor r8d, r8d
xor edx, edx
call fcn.180007830
test al, al
je 0x180033b79
movsxd rax, dword [rsi + 0x3c]
mov edx, 0x10b
movzx ecx, word [rax + rsi + 0x18]
lea r8, [rax + rsi]
cmp cx, dx
je 0x180033847
mov edx, 0x20b
cmp cx, dx
jne 0x180033b79
cmp ebx, 0x28
jae 0x1800337e9
test ebx, ebx
je 0x180033b7b
cmp ebx, 1
jne 0x18003366d
mov rax, qword [r8 + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 2
je 0x180033876
cmp ebx, 0x17
je 0x18003388f
cmp ebx, 3
je 0x1800338c1
cmp ebx, 4
je 0x1800338da
cmp ebx, 5
je 0x1800338f3
cmp ebx, 6
je 0x18003390d
cmp ebx, 7
jne 0x1800336bf
mov eax, dword [r8 + 0x90]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 8
jne 0x1800336db
mov eax, dword [r8 + 0x94]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 9
jne 0x1800336f7
mov eax, dword [r8 + 0x98]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xa
jne 0x180033713
mov eax, dword [r8 + 0x9c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xb
je 0x18003395e
cmp ebx, 0xc
je 0x18003397a
cmp ebx, 0xd
jne 0x180033741
mov eax, dword [r8 + 0xd0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xe
jne 0x18003375d
mov eax, dword [r8 + 0xd4]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xf
jne 0x180033779
mov eax, dword [r8 + 0xb0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x10
jne 0x180033795
mov eax, dword [r8 + 0xb4]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x11
je 0x180033a38
cmp ebx, 0x12
je 0x180033a51
cmp ebx, 0x13
je 0x180033a6b
cmp ebx, 0x14
je 0x180033a84
cmp ebx, 0x15
je 0x180033a9e
cmp ebx, 0x16
je 0x180033942
cmp ebx, 0x19
jne 0x180033b79
movzx eax, word [r8 + 0x5e]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movzx eax, word [r8 + 6]
cmp eax, edi
jb 0x180033b79
movzx edx, word [r8 + 0x14]
lea ecx, [rdi + rdi*4]
shl ecx, 3
add rdx, r8
add rdx, rcx
cmp ebx, 0x28
je 0x180033af3
cmp ebx, 0x29
je 0x180033b1a
cmp ebx, 0x2a
je 0x180033b32
cmp ebx, 0x2b
je 0x180033b4e
cmp ebx, 0x2c
jne 0x180033b61
mov eax, dword [rdx + 0x28]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x28
jae 0x180033ad0
test ebx, ebx
je 0x180033b7b
cmp ebx, 1
jne 0x180033871
mov eax, dword [r8 + 0x34]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 2
jne 0x18003388a
mov eax, dword [r8 + 0x28]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x17
jne 0x1800338a3
mov eax, dword [r8 + 0x2c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x18
jne 0x1800338bc
mov eax, dword [r8 + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 3
jne 0x1800338d5
mov eax, dword [r8 + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 4
jne 0x1800338ee
mov eax, dword [r8 + 0x54]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 5
jne 0x180033908
movzx eax, word [r8 + 0x14]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 6
jne 0x180033921
mov eax, dword [r8 + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 7
jne 0x18003393d
mov eax, dword [r8 + 0x80]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 8
jne 0x180033959
mov eax, dword [r8 + 0x84]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 9
jne 0x180033975
mov eax, dword [r8 + 0x88]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xa
jne 0x180033991
mov eax, dword [r8 + 0x8c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xb
jne 0x1800339aa
mov eax, dword [r8 + 0x78]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xc
jne 0x1800339c3
mov eax, dword [r8 + 0x7c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xd
jne 0x1800339df
mov eax, dword [r8 + 0xc0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xe
jne 0x1800339fb
mov eax, dword [r8 + 0xc4]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xf
jne 0x180033a17
mov eax, dword [r8 + 0xa0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x10
jne 0x180033a33
mov eax, dword [r8 + 0xa4]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x11
jne 0x180033a4c
mov eax, dword [r8 + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x12
jne 0x180033a66
movzx eax, word [r8 + 6]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x13
jne 0x180033a7f
mov eax, dword [r8 + 0x58]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x14
jne 0x180033a99
movzx eax, word [r8 + 0x5c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x15
jne 0x180033ab3
movzx eax, word [r8 + 0x16]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x16
jne 0x1800337cb
mov eax, dword [r8 + 0x74]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movzx eax, word [r8 + 6]
cmp eax, edi
jb 0x180033b79
movzx edx, word [r8 + 0x14]
lea ecx, [rdi + rdi*4]
shl ecx, 3
add rdx, r8
add rdx, rcx
cmp ebx, 0x28
jne 0x180033b15
mov rax, qword [rdx + 0x18]
mov qword [0x180098568], rax
lea rax, [0x180098568]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x29
jne 0x180033b2d
mov eax, dword [rdx + 0x24]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x2a
jne 0x180033b45
mov eax, dword [rdx + 0x20]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x2b
jne 0x18003382b
mov eax, dword [rdx + 0x2c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0x2d
jne 0x180033b79
mov eax, dword [rdx + 0x3c]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret