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

Disassembly:
push rbx
push r13
push r14
push r15
sub rsp, 0x48
mov r14, qword [rcx]
mov r15, rcx
mov rcx, qword [rcx + 8]
mov r10, qword [r14]
mov rbx, qword [r14 + 0x10]
mov r9d, 0xa
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], rcx
lea rdx, [r14 + 0x9c]
mov qword [rsp + 0x70], r10
xor r11d, r11d
nop
mov r8d, dword [rdx]
test r8d, r8d
je 0x18009e68a
cmp byte [rdx - 6], r11b
je 0x18009e687
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x18009e683
movzx eax, al
mov dword [r14 + rax*4 + 0x28], r8d
inc byte [r14 + 0x1f]
mov byte [rdx - 6], r11b
mov dword [rdx], r11d
add rdx, 0x14
dec r9
jne 0x18009e660
movzx eax, byte [r15 + 0x3b]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x40], rsi
dec eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
movsxd r13, eax
js 0x18009ec95
mov rax, r13
imul rax, rax, 0x78
lea r14, [rax + rcx + 0x50]
mov rax, r13
imul rax, rax, 0x58
lea rbp, [rax + r15 + 0x358]
nop word [rax + rax]
mov rdx, qword [rbx + 0x30]
mov r12, qword [rbp + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18009e708
movsxd rax, dword [rbp]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
movzx eax, byte [rbp + 0x15]
cmp al, 0xa0
je 0x18009e793
movsxd rcx, dword [rbx + 0x3c]
movzx r10d, byte [rbp + 0x16]
mov r9d, dword [rbp + 0x1c]
mov r8d, dword [rbp + 0x18]
movzx edx, al
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x18009e747
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.18003a660
xor r11d, r11d
jmp 0x18009e776
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x18009e793
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
lea rdx, [rax + rax*2]
movzx eax, byte [rbp + 0x17]
mov byte [rcx + rdx*8 - 0x15], al
test dword [r12 + 0x28], 0x800
je 0x18009e8e7
cmp dword [rbp + 0x20], 0
jle 0x18009e8e7
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18009e7d0
movsxd rax, dword [rbp - 8]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov esi, dword [rbp + 0x20]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [rbp + 0x28]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test esi, esi
jle 0x18009e8e7
nop word [rax + rax]
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
inc edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18009e81b
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009e82d
lea rax, [0x1802f0540]
jmp 0x18009e83c
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
movzx edx, byte [rdi + 8]
cmp dword [rax + 0x64], ecx
jg 0x18009e86a
mov rcx, rbx
mov dword [rsp + 0x20], r11d
call fcn.18003a660
xor r11d, r11d
jmp 0x18009e899
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rdi + 4]
mov rax, qword [rbx + 0x30]
dec ecx
dec edx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18009e8b4
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009e8c6
lea rax, [0x1802f0540]
jmp 0x18009e8d5
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
dec esi
sub rdi, 0xc
mov dword [rax + 8], r8d
test esi, esi
jg 0x18009e800
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18009e90b
movsxd rax, dword [rbp - 0xc]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
mov edx, dword [rbp - 4]
test edx, edx
je 0x18009e9f4
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18009e947
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r11d
call fcn.18003a660
xor r11d, r11d
jmp 0x18009e973
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], select
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rbp - 4]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
test edx, edx
jns 0x18009e98e
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009e9a0
lea rax, [0x1802f0540]
jmp 0x18009e9af
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rbp - 4]
mov rax, qword [rbx + 0x30]
dec ecx
sub edx, 2
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
jns 0x18009e9cf
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009e9e1
lea rax, [0x1802f0540]
jmp 0x18009e9f0
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov edx, dword [rbp + 0x10]
test edx, edx
je 0x18009ea90
lea ecx, [rdx - 1]
test ecx, ecx
jns 0x18009ea0b
mov ecx, dword [rbx + 0x3c]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009ea1d
lea rax, [0x1802f0540]
jmp 0x18009ea2c
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov eax, dword [rax + 4]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rbp + 0xc]
neg eax
mov rax, qword [rbx + 0x30]
sbb r10d, r10d
add r10d, 0x8e
cmp dword [rax + 0x64], ecx
jg 0x18009ea61
mov r9d, edx
mov rcx, rbx
mov edx, r10d
mov dword [rsp + 0x20], r11d
call fcn.18003a660
jmp 0x18009ea90
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8], r10b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], r11
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [rbp - 0x18]
test edx, edx
je 0x18009ec71
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
xor esi, esi
cmp dword [rax + 0x64], edi
jg 0x18009eac5
mov r8d, edx
xor r9d, r9d
mov rcx, rbx
mov edx, 0x8a
mov dword [rsp + 0x20], esi
call fcn.18003a660
mov edi, eax
jmp 0x18009eaec
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rsi
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x8a
test byte [r12 + 0x28], 0x40
jne 0x18009eb47
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [r14]
cmp dword [rax + 0x64], ecx
jg 0x18009eb1c
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x68]
mov dword [rsp + 0x20], esi
call fcn.18003a660
jmp 0x18009eb47
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x68
test dword [r12 + 0x28], 0x200
je 0x18009eba5
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rbp - 0x10]
cmp dword [rax + 0x64], ecx
jg 0x18009eb7a
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x68]
mov dword [rsp + 0x20], esi
call fcn.18003a660
jmp 0x18009eba5
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x68
cmp byte [rbp + 0x15], 0xf
mov edx, dword [rbp + 4]
movsxd rcx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
jne 0x18009ebf0
mov r8d, dword [rbp + 0x18]
cmp dword [rax + 0x64], ecx
jg 0x18009ebd5
mov r9d, edx
mov rcx, rbx
mov edx, select
mov dword [rsp + 0x20], esi
call fcn.18003a660
jmp 0x18009ec37
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], r8d
mov word [rax + rcx*8], select
jmp 0x18009ec25
cmp dword [rax + 0x64], ecx
jg 0x18009ec0d
xor r8d, r8d
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], esi
call fcn.18003a660
jmp 0x18009ec37
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], esi
mov word [rax + rcx*8], select
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 0xc], esi
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test edi, edi
jns 0x18009ec4d
lea edi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009ec5f
lea rax, [0x1802f0540]
jmp 0x18009ec6e
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
sub rbp, 0x58
sub r14, 0x78
dec r13
mov r11d, 0
jns 0x18009e6e0
mov r14, qword [rsp + 0x80]
mov r10, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x18009ecb9
movsxd rax, dword [r15 + 0x44]
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
mov r13d, r11d
dec eax
mov dword [rdx + 0x6c], eax
cmp byte [r15 + 0x3b], 0
jbe 0x18009efc7
mov r14, qword [rsp + 0x78]
lea rbp, [r15 + 0x388]
nop dword [rax + rax]
movzx eax, byte [rbp - 0x1c]
mov rsi, qword [rbp]
imul rax, rax, 0x78
test byte [rax + r14 + 0x48], 0x10
mov r12, qword [rax + r14 + 0x28]
je 0x18009ed99
cmp byte [r10 + 0x55], 0
jne 0x18009ed99
mov r8d, dword [rbp - 0x28]
mov r10d, dword [rax + r14 + 0x40]
mov r9d, dword [rbp - 0x44]
mov ecx, r8d
test r8d, r8d
jns 0x18009ed22
mov ecx, dword [rbx + 0x3c]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009ed34
lea rdx, [0x1802f0540]
jmp 0x18009ed43
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0x3c]
cmp r8d, eax
jge 0x18009ed8f
add rdx, 4
sub eax, r8d
mov r8d, eax
cmp dword [rdx], r9d
jne 0x18009ed86
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x18009ed77
mov eax, dword [rdx + 4]
mov byte [rdx - 4], 0x1e
lea ecx, [r10 + rax]
mov eax, dword [rdx + 8]
mov dword [rdx + 4], eax
mov dword [rdx], ecx
jmp 0x18009ed82
cmp al, 0x67
jne 0x18009ed86
mov byte [rdx - 4], 0x19
mov dword [rdx], r11d
mov dword [rdx + 8], r11d
add rdx, 0x18
dec r8
jne 0x18009ed55
mov r10, qword [rsp + 0x70]
jmp 0x18009efaa
test byte [r12 + 0x46], 2
jne 0x18009ee8d
cmp qword [r12 + 0x18], 0
jne 0x18009ee8d
test byte [r15 + 0x34], 0x10
jne 0x18009ee8d
cmp byte [r15 + 0x38], 0
mov edi, dword [rsi + 0x28]
jne 0x18009ee25
test dil, 0x40
jne 0x18009ee25
mov edx, dword [rax + r14 + 0x50]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18009edfa
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r11d
call fcn.18003a660
xor r11d, r11d
jmp 0x18009ee25
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], 0x3d
bt edi, 9
jae 0x18009ee8d
test edi, 0x4100
jne 0x18009ee8d
mov edx, dword [rbp - 0x40]
cmp edx, dword [r15 + 0x50]
je 0x18009ee8d
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18009ee62
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3d]
mov dword [rsp + 0x20], r11d
call fcn.18003a660
jmp 0x18009ee8d
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r11
mov word [rax + rcx*8], 0x3d
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x18009ee9d
mov r11, qword [rsi + 0x20]
jmp 0x18009eeab
bt eax, 0xd
jae 0x18009efa2
mov r11, qword [rbp - 0x10]
test r11, r11
je 0x18009efa2
cmp byte [r15 + 0x38], 0
je 0x18009eec9
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x18009efa2
mov r10, qword [rsp + 0x70]
cmp byte [r10 + 0x55], 0
jne 0x18009efa7
mov r9d, dword [rbp - 0x28]
mov r8d, dword [rbx + 0x3c]
mov ecx, r9d
test r9d, r9d
jns 0x18009eeed
lea ecx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18009eeff
lea rdx, [0x1802f0540]
jmp 0x18009ef0e
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x18009efa7
sub r8d, r9d
add rdx, 4
xor esi, esi
mov edi, r8d
or r14d, 0xffffffff
mov eax, dword [rbp - 0x44]
cmp dword [rdx], eax
jne 0x18009ef94
movzx eax, byte [rdx - 4]
cmp al, 0x2f
jne 0x18009ef87
test byte [r12 + 0x46], 0x20
movsxd r10, dword [rdx + 4]
je 0x18009ef53
mov rcx, r12
call fcn.18005e990
mov rax, qword [rax + 8]
movsx r10d, word [rax + r10*2]
movzx r8d, word [r11 + 0x60]
mov ecx, esi
test r8d, r8d
jle 0x18009ef74
mov r9, qword [r11 + 8]
movsxd rax, ecx
cmp r10w, word [r9 + rax*2]
je 0x18009ef78
inc ecx
cmp ecx, r8d
jl 0x18009ef63
movzx ecx, r14w
movsx eax, cx
test eax, eax
js 0x18009ef94
mov dword [rdx + 4], eax
mov eax, dword [rbp - 0x40]
jmp 0x18009ef92
cmp al, 0x67
jne 0x18009ef94
mov eax, dword [rbp - 0x40]
mov byte [rdx - 4], 0x71
mov dword [rdx], eax
add rdx, 0x18
dec rdi
jne 0x18009ef27
mov r14, qword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
xor r11d, r11d
movzx eax, byte [r15 + 0x3b]
inc r13d
add rbp, 0x58
cmp r13d, eax
jl 0x18009ece0
mov r14, qword [rsp + 0x80]
mov eax, dword [r15 + 0x48]
mov rdx, r15
mov rcx, r10
mov dword [r14 + 0x1dc], eax
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rbx
jmp fcn.18009a250