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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
lea rbp, [rsp + 0x40]
xor r9d, r9d
mov qword [rbp + 0x208], rbx
mov r14, rcx
mov dword [rbp + 0x18], r9d
xor ecx, ecx
mov dword [rbp + 0xc], r9d
mov dword [rbp + 0x68], r9d
mov dword [rbp + 0x88], ecx
mov r10, qword [r14 + 0x48]
mov qword [rbp + 0x38], r10
mov byte [rbp + 0x8c], cl
mov dword [rbp + 0x110], r9d
mov qword [rbp + 0x120], r9
test r8, r8
jne 0x18002c2c0
lea eax, [rcx + 7]
jmp 0x18002c626
movzx ecx, word [r14 + 0x18]
movzx r8d, byte [r14 + 0xc]
lea ebx, [r8 + rcx]
cmp ebx, 2
jae 0x18002c2d8
mov edx, r9d
jmp 0x18002c301
test edx, edx
jne 0x18002c2e1
mov edx, r9d
jmp 0x18002c2f4
cmp edx, ebx
jne 0x18002c2f2
mov eax, dword [rbp + 0x220]
lea edx, [rax - 2]
add edx, ebx
jmp 0x18002c2fa
dec edx
mov eax, dword [rbp + 0x220]
mov ebx, 2
sub ebx, eax
mov eax, edx
mov dword [rbp + 0x1c], edx
sub eax, r8d
mov dword [rbp + 0x40], ebx
add eax, ebx
lea r13d, [rbx + 1]
mov dword [rbp + 0x50], r13d
cmp eax, ecx
jne 0x18002c32c
mov rdx, qword [r14 + 0x50]
movzx ecx, byte [r14 + 9]
add rdx, 8
add rdx, rcx
jmp 0x18002c351
add eax, eax
movsxd rcx, eax
mov rax, qword [r14 + 0x60]
movzx edx, byte [rcx + rax]
movzx eax, byte [rcx + rax + 1]
shl rdx, 8
or rdx, rax
movzx eax, word [r14 + 0x1a]
and rdx, rax
add rdx, qword [r14 + 0x50]
movzx eax, byte [rdx + 2]
lea r8, [rbp + 0x98]
movzx r12d, byte [rdx + 1]
mov rcx, r10
shl r12d, 8
or r12d, eax
movsxd r15, ebx
movzx eax, byte [rdx]
shl eax, 0x18
shl r12d, 8
or r12d, eax
mov qword [rbp + 0x90], rdx
movzx eax, byte [rdx + 3]
lea rsi, [r15*8]
or r12d, eax
mov qword [rbp + 0x1a0], r15
mov edx, r12d
mov dword [rbp + 0x34], r12d
add r8, rsi
mov dword [rbp + 0x48], r12d
mov dword [rsp + 0x20], r9d
call fcn.180027654
mov edi, eax
mov dword [rbp + 0x30], eax
mov dword [rbp], eax
xor r9d, r9d
movsxd rax, r13d
mov qword [rbp + 0x60], rax
test edi, edi
jne 0x18002c59b
lea r10, [rbp + 0x70]
lea r15, [r10 + r15*4]
mov rcx, qword [rbp + rsi + 0x98]
mov r10d, 4
movsxd r13, ebx
cmp dword [rcx + 0x14], r9d
jge 0x18002c405
call fcn.1800271d8
xor r9d, r9d
mov dword [rbp + 0x30], eax
mov dword [rbp], eax
mov edi, eax
test eax, eax
jne 0x18002c640
lea r10d, [rax + 4]
mov eax, ebx
sub r15, r10
dec ebx
sub rsi, 8
test eax, eax
je 0x18002c65c
cmp byte [r14 + 0xc], r9b
je 0x18002c47c
mov ecx, dword [rbp + 0x1c]
movzx eax, word [r14 + 0x1c]
add ecx, ebx
cmp ecx, eax
jne 0x18002c47c
mov rdx, qword [r14 + 0x28]
mov rcx, r14
mov qword [rbp + rsi + 0xb0], rdx
movzx eax, byte [rdx + 2]
movzx r12d, byte [rdx + 1]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 3]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx]
shl eax, 0x18
or r12d, eax
mov dword [rbp + 0x34], r12d
mov dword [rbp + 0x48], r12d
call qword [r14 + Ordinal_122]
movzx eax, ax
mov dword [r15], eax
xor eax, eax
mov byte [r14 + 0xc], al
jmp 0x18002c565
movzx eax, byte [r14 + 0xc]
mov ecx, dword [rbp + 0x1c]
sub ecx, eax
mov rax, qword [r14 + 0x60]
add ecx, ebx
add ecx, ecx
movsxd rcx, ecx
movzx edi, byte [rcx + rax + 1]
movzx eax, byte [rcx + rax]
mov rcx, r14
shl rax, 8
or rdi, rax
movzx eax, word [r14 + 0x1a]
and rdi, rax
add rdi, qword [r14 + 0x50]
mov rdx, rdi
mov qword [rbp + rsi + 0xb0], rdi
movzx eax, byte [rdi + 2]
movzx r12d, byte [rdi + 1]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdi + 3]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdi]
shl eax, 0x18
or r12d, eax
mov dword [rbp + 0x34], r12d
mov dword [rbp + 0x48], r12d
call qword [r14 + Ordinal_122]
mov rdx, qword [rbp + 0x38]
movzx r14d, ax
mov rax, qword [rbp + 0x200]
mov dword [r15], r14d
test byte [rdx + 0x26], 0xc
je 0x18002c544
mov ecx, edi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x34]
jg 0x18002c648
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp + 0x210]
mov rdx, rdi
call fcn.1800c59c0
mov rax, qword [rbp + 0x200]
sub rdi, qword [rax + 0x50]
add rdi, qword [rbp + 0x210]
mov qword [rbp + rsi + 0xb0], rdi
movzx eax, byte [rax + 0xc]
lea r9, [rbp]
mov edx, dword [rbp + 0x1c]
mov r8d, r14d
mov r14, qword [rbp + 0x200]
sub edx, eax
add edx, ebx
mov rcx, r14
call fcn.18002b47c
mov rcx, qword [rbp + 0x38]
lea r8, [rbp + 0x98]
movsxd rax, ebx
xor r9d, r9d
mov edx, r12d
lea r8, [r8 + rax*8]
xor eax, eax
mov dword [rsp + 0x20], eax
call fcn.180027654
xor r9d, r9d
mov dword [rbp + 0x30], eax
mov dword [rbp], eax
mov edi, eax
test eax, eax
je 0x18002c3d2
lea eax, [rbx + 1]
movsxd r8, eax
shl r8, 3
lea rcx, [rbp + 0x98]
xor edx, edx
call fcn.1800c5560
xor r9d, r9d
mov r11d, 1
mov r14, qword [rbp + 0x60]
test r14, r14
jle 0x18002c5f3
mov rbx, r9
mov r11d, 1
mov rcx, qword [rbp + rbx*8 + 0x98]
test rcx, rcx
je 0x18002c5eb
mov rcx, qword [rcx + 0x70]
call fcn.1800223b0
xor r9d, r9d
lea r11d, [r9 + 1]
add rbx, r11
cmp rbx, r14
jl 0x18002c5ce
movsxd rsi, dword [rbp + 0x18]
test rsi, rsi
jle 0x18002c624
mov rbx, r9
mov rcx, qword [rbp + rbx*8 + 0xe0]
test rcx, rcx
je 0x18002c61c
mov rcx, qword [rcx + 0x70]
call fcn.1800223b0
xor r9d, r9d
lea r11d, [r9 + 1]
add rbx, r11
cmp rbx, rsi
jl 0x18002c5ff
mov eax, edi
mov rbx, qword [rbp + 0x208]
lea rsp, [rbp + 0x1c0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd r8, ebx
jmp 0x18002c5a1
mov ecx, 0x1154e
call fcn.180083be8
mov edi, eax
mov r8, r13
jmp 0x18002c5a1
mov rax, qword [rbp + 0x38]
mov r8d, dword [rax + 0x30]
mov eax, 0xaaaaaaab
lea ecx, [r8 - 8]
mul ecx
shr edx, 2
add edx, r10d
imul edx, dword [rbp + 0x50]
add edx, 3
and edx, 0xfffffffc
lea eax, [rdx + rdx*4]
lea eax, [r8 + rax*2]
cdqe
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18002c69b
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800e1f70
sub rsp, rcx
lea r8, [rsp + 0x40]
mov qword [rbp + 0x120], r8
test r8, r8
jne 0x18002c6c4
lea edi, [r8 + 7]
jmp 0x18002c5b6
movsxd rax, edx
xor r11d, r11d
mov dword [rbp + 8], r11d
lea r9, [r8 + rax*8]
lea rax, [r9 + rax*2]
mov qword [rbp + 0x128], r9
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x118], rax
movzx r10d, byte [rax + 8]
movzx r8d, byte [rax + 3]
shl r10w, 2
mov word [rbp + 0x10], r10w
mov dword [rbp + 4], r8d
cmp qword [rbp + 0x60], r11
jle 0x18002c99c
mov r15d, r11d
mov r14, qword [rbp + r15*8 + 0x98]
movzx eax, word [r14 + 0x1a]
mov r13, qword [r14 + 0x50]
movzx ebx, word [r14 + 0x12]
movzx esi, word [r14 + 0x18]
add rbx, r13
mov word [rbp + 0x14], ax
mov rax, qword [rbp + 0x98]
mov rcx, qword [rax + 0x50]
mov al, byte [rcx]
cmp byte [r13], al
jne 0x18002c984
movsxd rax, dword [rbp + 0x110]
xor edx, edx
movzx r8d, byte [r14 + 0xc]
add r8, rsi
add r8, r8
lea rcx, [r9 + rax*2]
call fcn.1800c5560
mov cl, byte [r14 + 0xc]
xor r11d, r11d
test cl, cl
je 0x18002c813
movzx eax, word [r14 + 0x1c]
cmp si, ax
jb 0x18002c97d
mov r10d, dword [rbp + 0x110]
lea esi, [r11 + 1]
cmp r11w, ax
mov r11, qword [rbp + 0x120]
jae 0x18002c7da
movzx r9d, word [rbp + 0x14]
mov edx, eax
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx]
add rbx, 2
shl rcx, 8
or rcx, rax
movsxd rax, r10d
and rcx, r9
add r10d, esi
add rcx, r13
mov qword [r11 + rax*8], rcx
sub rdx, rsi
jne 0x18002c7a6
mov cl, byte [r14 + 0xc]
mov dword [rbp + 0x110], r10d
jmp 0x18002c7df
movzx r9d, word [rbp + 0x14]
xor eax, eax
mov r8d, eax
test cl, cl
je 0x18002c818
lea rdx, [r14 + 0x28]
mov rax, qword [rdx]
add r8d, esi
movsxd rcx, r10d
lea rdx, [rdx + 8]
add r10d, esi
mov qword [r11 + rcx*8], rax
movzx eax, byte [r14 + 0xc]
cmp r8d, eax
jl 0x18002c7ec
mov dword [rbp + 0x110], r10d
jmp 0x18002c818
movzx r9d, word [rbp + 0x14]
movzx ecx, word [r14 + 0x12]
movzx edx, word [r14 + 0x18]
add rcx, r13
lea r8, [rcx + rdx*2]
cmp rbx, r8
jae 0x18002c876
mov r10, qword [rbp + 0x120]
mov r11d, 1
movzx edx, r9w
mov r9d, dword [rbp + 0x110]
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx]
add rbx, 2
shl rcx, 8
or rcx, rax
movsxd rax, r9d
and rcx, rdx
add r9d, r11d
add rcx, r13
mov qword [r10 + rax*8], rcx
cmp rbx, r8
jb 0x18002c846
mov dword [rbp + 0x110], r9d
jmp 0x18002c87d
mov r9d, dword [rbp + 0x110]
mov edx, dword [rbp + 8]
mov r8d, dword [rbp + 4]
mov dword [rbp + r15*4 + 0x188], r9d
cmp edx, dword [rbp + 0x40]
jge 0x18002c957
test r8b, r8b
jne 0x18002c957
movzx ecx, word [rbp + r15*4 + 0x70]
movsxd r13, dword [rbp + 0xc]
mov r8d, ecx
mov rax, qword [rbp + 0x128]
mov rbx, r13
add rbx, qword [rbp + 0x20]
add r13d, ecx
mov rdx, qword [rbp + r15*8 + 0xb0]
movsxd rsi, r9d
mov dword [rbp + 0xc], r13d
mov word [rax + rsi*2], cx
mov rcx, rbx
call fcn.1800c59c0
movzx r10d, word [rbp + 0x10]
xor r11d, r11d
mov r8, qword [rbp + 0x120]
mov r9, qword [rbp + 0x128]
lea rax, [rbx + r10]
mov qword [r8 + rsi*8], rax
sub word [r9 + rsi*2], r10w
cmp byte [r14 + 8], r11b
jne 0x18002c90f
mov rax, qword [r14 + 0x50]
mov rcx, qword [r8 + rsi*8]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x18002c941
mov edx, 4
cmp word [r9 + rsi*2], dx
jae 0x18002c941
mov rcx, qword [rbp + 0x20]
movsxd rax, r13d
add rcx, rax
lea eax, [rdx - 3]
mov byte [rcx], r11b
add r13d, eax
add word [r9 + rsi*2], ax
add rcx, rax
cmp word [r9 + rsi*2], dx
jb 0x18002c928
mov dword [rbp + 0xc], r13d
mov edx, dword [rbp + 8]
mov r11d, 1
add dword [rbp + 0x110], r11d
mov r8d, dword [rbp + 4]
jmp 0x18002c969
movzx r10d, word [rbp + 0x10]
mov r11d, 1
mov r9, qword [rbp + 0x128]
add edx, r11d
add r15, r11
mov dword [rbp + 8], edx
cmp r15, qword [rbp + 0x60]
jge 0x18002c9a2
jmp 0x18002c714
mov ecx, 0x115a9
jmp 0x18002c989
mov ecx, 0x11591
call fcn.180083be8
mov r14, qword [rbp + 0x60]
mov edi, eax
xor r9d, r9d
jmp 0x18002c5c5
mov r11d, 1
mov rax, qword [rbp + 0x38]
xor r9d, r9d
movzx ecx, r10w
mov r15d, r9d
mov dword [rbp + 0x180], ecx
mov dword [rbp + 8], r9d
mov edx, dword [rax + 0x34]
add edx, 0xfffffff4
add edx, ecx
mov dword [rbp + 0x14], edx
cmp qword [rbp + 0x60], r9
jle 0x18002cade
mov esi, r9d
mov qword [rbp + 0x20], r9
mov ebx, r9d
lea r14, [rbp + 0x15c]
mov r13, qword [rbp + rsi*8 + 0x98]
mov ecx, dword [rbp + rsi*4 + 0x188]
mov rax, qword [r13 + 0x58]
mov qword [rbp + rbx*8 + reloc.WLDAP32.dll_Ordinal_304], rax
mov eax, 4
mov dword [rbp + rbx*4 + 0x160], ecx
test r15d, r15d
je 0x18002ca1e
cmp ecx, dword [r14]
jne 0x18002ca1e
sub r15d, r11d
dec rbx
mov dword [rbp + 8], r15d
sub r14, rax
test r8b, r8b
jne 0x18002ca4d
add rbx, r11
add r15d, r11d
add r14, rax
mov dword [rbp + 8], r15d
mov rax, qword [rbp + 0x200]
mov rax, qword [rax + 0x58]
mov qword [rbp + rbx*8 + reloc.WLDAP32.dll_Ordinal_304], rax
lea eax, [rcx + 1]
mov dword [rbp + rbx*4 + 0x160], eax
mov r12d, edx
mov edi, r9d
sub r12d, dword [r13 + 0x14]
mov dword [rbp + rsi*4 + 0x70], r12d
cmp byte [r13 + 0xc], r9b
jbe 0x18002cab1
lea rsi, [r13 + 0x28]
mov r15d, 1
mov rdx, qword [rsi]
mov rcx, r13
call qword [r13 + Ordinal_122]
movzx eax, ax
add edi, r15d
add eax, 2
lea rsi, [rsi + 8]
add r12d, eax
movzx eax, byte [r13 + 0xc]
cmp edi, eax
jl 0x18002ca6c
mov rsi, qword [rbp + 0x20]
xor r9d, r9d
mov r15d, dword [rbp + 8]
mov edx, dword [rbp + 0x14]
mov r8d, dword [rbp + 4]
mov ecx, dword [rbp + rsi*4 + 0x188]
lea r11d, [r9 + 1]
mov dword [rbp + rsi*4 + 0x70], r12d
add r15d, r11d
mov dword [rbp + rsi*4 + 0xc8], ecx
add rsi, r11
mov dword [rbp + 8], r15d
add rbx, r11
mov qword [rbp + 0x20], rsi
add r14, 4
cmp rsi, qword [rbp + 0x60]
jl 0x18002c9e0
mov edi, dword [rbp + 0x30]
mov r12d, dword [rbp + 0x34]
mov eax, dword [rbp + 0x50]
mov ecx, eax
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], r9d
test eax, eax
jle 0x18002cce5
mov rbx, r9
mov r13d, r11d
mov r14d, dword [rbp + rbx*4 + 0x70]
jmp 0x18002cbc6
cmp r13d, ecx
jl 0x18002cb2e
lea eax, [r13 + 1]
mov dword [rbp + 8], eax
lea rax, [rbx + 2]
cmp rax, 5
jg 0x18002cccd
mov ecx, dword [rbp + 0x110]
mov dword [rbp + rax*4 + 0xc4], ecx
mov dword [rbp + rax*4 + 0x6c], r9d
movsxd rsi, dword [rbp + rbx*4 + 0xc8]
mov rcx, qword [rbp + 0x128]
lea r15d, [rsi - 1]
movzx eax, word [rcx + rsi*2 - 2]
test ax, ax
jne 0x18002cb6b
mov edx, r15d
lea rcx, [rbp + 0x110]
call fcn.18002b72c
mov rcx, qword [rbp + 0x128]
xor r9d, r9d
mov edx, dword [rbp + 0x14]
mov r8d, dword [rbp + 4]
mov r14d, dword [rbp + rbx*4 + 0x70]
movzx eax, ax
add eax, 2
sub r14d, eax
mov dword [rbp + rbx*4 + 0x70], r14d
test r8b, r8b
jne 0x18002cbb7
cmp esi, dword [rbp + 0x110]
jge 0x18002cbb4
movzx eax, word [rcx + rsi*2]
test ax, ax
jne 0x18002cba9
mov edx, esi
lea rcx, [rbp + 0x110]
call fcn.18002b72c
mov r8d, dword [rbp + 4]
xor r9d, r9d
mov edx, dword [rbp + 0x14]
movzx eax, ax
add eax, 2
jmp 0x18002cbb7
mov eax, r9d
add dword [rbp + rbx*4 + 0x74], eax
mov ecx, dword [rbp + 8]
mov dword [rbp + rbx*4 + 0xc8], r15d
cmp r14d, edx
jg 0x18002cb02
movsxd rsi, dword [rbp + rbx*4 + 0xc8]
mov ecx, dword [rbp + 0x110]
cmp esi, ecx
jge 0x18002cca5
mov rdx, qword [rbp + 0x128]
mov edi, 1
mov r12d, dword [rbp + 4]
lea r15, [rdx + rsi*2]
movzx eax, word [r15]
test ax, ax
jne 0x18002cc19
mov edx, esi
lea rcx, [rbp + 0x110]
call fcn.18002b72c
mov ecx, dword [rbp + 0x110]
xor r9d, r9d
mov edx, dword [rbp + 0x14]
movzx eax, ax
add eax, 2
add r14d, eax
cmp r14d, edx
jg 0x18002cc7f
add esi, edi
mov dword [rbp + rbx*4 + 0x70], r14d
add r15, 2
mov dword [rbp + rbx*4 + 0xc8], esi
test r12b, r12b
jne 0x18002cc73
cmp esi, ecx
jge 0x18002cc70
movzx eax, word [r15]
test ax, ax
jne 0x18002cc68
mov edx, esi
lea rcx, [rbp + 0x110]
call fcn.18002b72c
mov ecx, dword [rbp + 0x110]
xor r9d, r9d
mov edx, dword [rbp + 0x14]
movzx eax, ax
add eax, 2
jmp 0x18002cc73
mov eax, r9d
sub dword [rbp + rbx*4 + 0x74], eax
cmp esi, ecx
jl 0x18002cbf9
mov edi, dword [rbp + 0x30]
mov r12d, dword [rbp + 0x34]
cmp esi, ecx
jge 0x18002cca5
cmp dword [rbp + 0xc], r9d
jle 0x18002cc99
mov eax, dword [rbp + rbx*4 + 0xc4]
jmp 0x18002cc9c
mov eax, r9d
cmp esi, eax
jle 0x18002ccde
mov ecx, dword [rbp + 8]
jmp 0x18002ccab
mov ecx, r13d
mov dword [rbp + 8], ecx
mov eax, dword [rbp + 0xc]
mov r11d, 1
add eax, r11d
add r13d, r11d
add rbx, r11
mov dword [rbp + 0xc], eax
cmp eax, ecx
jge 0x18002cce5
mov r8d, dword [rbp + 4]
jmp 0x18002caf8
mov ecx, 0x1160e
call fcn.180083be8
mov edi, eax
jmp 0x18002c5b3
mov ecx, 0x1162f
jmp 0x18002ccd2
lea eax, [rcx - 1]
movsxd r15, eax
mov dword [rbp + 0x58], eax
mov rbx, r15
test eax, eax
jle 0x18002ce4f
mov eax, dword [rbp + rbx*4 + 0x6c]
lea rcx, [rbp + 0xc8]
mov r14, qword [rbp + 0x128]
sub rcx, 4
mov r13d, dword [rbp + rbx*4 + 0x70]
xor r10d, r10d
mov dword [rbp + 0xc], eax
mov qword [rbp + 0x20], rcx
mov r9d, dword [rcx + rbx*4]
mov dword [rbp + 0x40], r9d
lea esi, [r9 - 1]
mov eax, esi
sub eax, dword [rbp + 4]
lea edx, [rax + 1]
cdqe
inc rax
lea rax, [r14 + rax*2]
mov qword [rbp + 0xb0], rax
cmp word [rax], r10w
jne 0x18002cd57
lea rcx, [rbp + 0x110]
call fcn.18002b72c
xor r10d, r10d
mov edi, dword [rbp + 0x58]
mov r12d, dword [rbp + 0x220]
movsxd rax, esi
lea r14, [r14 + rax*2]
cmp word [r14], r10w
jne 0x18002cd7f
mov edx, esi
lea rcx, [rbp + 0x110]
call fcn.18002b72c
xor r10d, r10d
mov r8d, dword [rbp + 0xc]
test r13d, r13d
je 0x18002cdb8
test r12d, r12d
jne 0x18002ce07
mov eax, r15d
mov edx, r8d
sub eax, edi
neg eax
sbb eax, eax
and eax, 2
sub edx, eax
movzx eax, word [r14]
sub edx, eax
mov rax, qword [rbp + 0xb0]
movzx ecx, word [rax]
add ecx, 2
add ecx, r13d
cmp ecx, edx
jg 0x18002ce07
mov rdx, qword [rbp + 0xb0]
mov ecx, 0xfffffffe
mov r11d, 1
mov dword [rbp + 0x40], esi
mov r9d, esi
movzx eax, word [rdx]
sub rdx, 2
add eax, 2
mov qword [rbp + 0xb0], rdx
add r13d, eax
movzx eax, word [r14]
sub ecx, eax
sub r14, 2
add r8d, ecx
mov rcx, qword [rbp + 0x20]
mov dword [rbp + 0xc], r8d
mov dword [rcx + rbx*4], esi
sub esi, r11d
jns 0x18002cd68
jmp 0x18002ce15
mov r9d, dword [rbp + 0x40]
mov r11d, 1
mov rcx, qword [rbp + 0x20]
mov edi, dword [rbp + 0x30]
mov r12d, dword [rbp + 0x34]
mov dword [rbp + rbx*4 + 0x70], r13d
mov dword [rbp + rbx*4 + 0x6c], r8d
cmp rbx, r11
jbe 0x18002ce31
mov eax, dword [rcx + rbx*4 - 4]
jmp 0x18002ce34
mov eax, r10d
cmp r9d, eax
jle 0x18002cebe
sub r15d, r11d
sub rbx, r11
xor r9d, r9d
test rbx, rbx
jg 0x18002ccf9
mov rax, qword [rbp + 0x98]
mov rcx, qword [rax + 0x50]
movsxd rax, dword [rbp + 8]
mov r14, rax
movzx r13d, byte [rcx]
mov dword [rbp + 0x58], r13d
test eax, eax
jle 0x18002cf78
mov rbx, r9
cmp rbx, qword [rbp + 0x60]
jge 0x18002cec8
mov rcx, qword [rbp + rbx*8 + 0x98]
mov qword [rbp + rbx*8 + 0xe0], rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + rbx*8 + 0x98], r9
mov rcx, qword [rcx + 0x70]
call fcn.1800229a4
mov r11d, 1
mov dword [rbp], eax
add dword [rbp + 0x18], r11d
xor r9d, r9d
mov edi, eax
test eax, eax
jne 0x18002c5bc
jmp 0x18002cf6c
mov ecx, 0x11659
jmp 0x18002ccd2
cmp dword [rbp + 0x220], r9d
lea r8, [rbp + 0x48]
mov r15, qword [rbp + 0x38]
lea rdx, [rbp + 0x20]
cmovne r12d, r11d
mov byte [rsp + 0x20], r9b
mov r9d, r12d
mov rcx, r15
call fcn.18002a4c8
xor r9d, r9d
mov dword [rbp], eax
mov edi, eax
test eax, eax
jne 0x18002c5b6
mov rsi, qword [rbp + 0x20]
mov edx, r13d
mov rcx, rsi
call fcn.18002749c
mov eax, dword [rbp + 0x110]
lea r11d, [rdi + 1]
add dword [rbp + 0x18], r11d
xor r9d, r9d
mov qword [rbp + rbx*8 + 0xe0], rsi
mov dword [rbp + rbx*4 + 0x188], eax
cmp byte [r15 + 0x21], r9b
je 0x18002cf68
mov edx, dword [rsi + 4]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp + 0x200]
mov rcx, r15
mov r9d, dword [rax + 4]
call fcn.180026348
mov edi, dword [rbp]
xor r9d, r9d
lea r11d, [r9 + 1]
test edi, edi
jne 0x18002c5bc
mov r12d, dword [rbp + 0x48]
add rbx, r11
cmp rbx, r14
jl 0x18002ce74
movsxd r8, dword [rbp + 0x18]
mov r14, r8
test r8d, r8d
jle 0x18002d0ac
mov rdx, r9
mov rax, qword [rbp + rdx*8 + 0xe0]
mov r8d, dword [rax + 4]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0x1a8], r8d
mov dword [rbp + rdx*4 + 0xb0], r8d
movzx ecx, word [rax + 0x34]
mov rax, r9
mov word [rbp + rdx*2 + 0x20], cx
test rdx, rdx
jle 0x18002cfd2
cmp dword [rbp + rax*4 + 0x1a8], r8d
je 0x18002d1b4
add rax, r11
cmp rax, rdx
jl 0x18002cfbc
add rdx, r11
cmp rdx, r14
jl 0x18002cf8b
mov r13, qword [rbp + 0x38]
mov rbx, r9
mov edx, r9d
mov rsi, r9
mov r8d, r11d
mov rcx, r11
cmp r11, r14
jge 0x18002d02e
lea rax, [rcx*4]
mov r10d, dword [rbp + rax + 0xb0]
cmp r10d, dword [rbp + r9 + 0xb0]
jae 0x18002d012
mov rsi, rcx
mov r9, rax
mov eax, r8d
mov r11d, 1
cmovae eax, edx
add r8d, r11d
add rcx, r11
mov edx, eax
cmp rcx, r14
jl 0x18002cff2
xor r9d, r9d
mov r15d, dword [rbp + rsi*4 + 0xb0]
or dword [rbp + rsi*4 + 0xb0], 0xffffffff
cmp rsi, rbx
je 0x18002d092
jle 0x18002d063
mov eax, dword [r13 + 0x3c]
inc eax
add edx, eax
mov rax, qword [rbp + rsi*8 + 0xe0]
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], r9w
call fcn.18001ddfc
mov rax, qword [rbp + rbx*8 + 0xe0]
mov edx, r15d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rsi*2 + 0x20]
mov word [rcx + 0x34], ax
call fcn.18001ddfc
mov rax, qword [rbp + rbx*8 + 0xe0]
mov r11d, 1
mov dword [rax + 4], r15d
add rbx, r11
mov r9d, 0
cmp rbx, r14
jl 0x18002cfe1
mov r13d, dword [rbp + 0x58]
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x90]
lea r12, [r14 - 1]
mov rax, qword [rbp + r12*8 + 0xe0]
mov ecx, dword [rax + 4]
mov eax, ecx
shr eax, 0x18
mov byte [rdx], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx + 1], al
mov eax, ecx
shr eax, 8
mov byte [rdx + 2], al
mov byte [rdx + 3], cl
test r13b, 8
jne 0x18002d11b
cmp dword [rbp + 0x50], r8d
je 0x18002d11b
mov rcx, qword [rbp + 0x1a0]
lea rdx, [rbp + 0x98]
lea rax, [rbp + 0xe0]
cmovge rax, rdx
mov rax, qword [rax + rcx*8]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r12*8 + 0xe0]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov r11, qword [rbp + 0x38]
cmp byte [r11 + 0x21], r9b
je 0x18002d307
mov rbx, qword [rbp + 0xe0]
mov esi, r9d
movzx r13d, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add r13d, eax
cmp dword [rbp + 0x110], r9d
jle 0x18002d30e
mov rdx, qword [rbp + 0x128]
lea r8, [rbp + 0xc8]
mov rax, qword [rbp + 0x120]
mov r15, r9
mov r10d, dword [rbp + 0x110]
lea r9, [rbp + 0xe0]
mov qword [rbp + 0x20], r9
mov rcx, rbx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x90], r8
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x58], rbx
mov r12, qword [rax]
cmp esi, r13d
jne 0x18002d1ea
xor eax, eax
cmp byte [rbp + 4], al
mov edx, eax
sete dl
lea r11d, [rax + 1]
add r15, r11
cmp r15, r14
jge 0x18002d1be
mov rbx, qword [rbp + r15*8 + 0xe0]
jmp 0x18002d1c6
mov ecx, 0x116a3
jmp 0x18002ccd2
mov rbx, qword [rbp + r15*8 + 0x98]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add r13d, ecx
cmp esi, r13d
je 0x18002d1a2
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov r11, qword [rbp + 0x38]
cmp esi, dword [r8]
jne 0x18002d213
add r9, 8
add r8, 4
cmp byte [rbp + 4], 0
mov qword [rbp + 0x90], r8
mov qword [rbp + 0x20], r9
mov rcx, qword [r9]
mov qword [rbp + 0x58], rcx
je 0x18002d2e5
cmp r15, r14
jge 0x18002d235
mov eax, dword [rbp + r15*4 + 0x1a8]
cmp dword [rcx + 4], eax
jne 0x18002d235
cmp r12, qword [rbx + 0x50]
jb 0x18002d235
cmp r12, qword [rbx + 0x58]
jb 0x18002d2e1
xor eax, eax
cmp word [rbp + 0x10], ax
jne 0x18002d282
movzx eax, byte [r12 + 2]
mov r8b, 5
movzx edx, byte [r12 + 1]
mov r9d, dword [rcx + 4]
mov rcx, r11
shl edx, 8
or edx, eax
movzx eax, byte [r12 + 3]
shl edx, 8
or edx, eax
movzx eax, byte [r12]
shl eax, 0x18
or edx, eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.180026348
mov rcx, qword [rbp + 0x58]
mov edi, dword [rbp]
mov rax, qword [rbp + 0x48]
movzx eax, word [rax]
test ax, ax
jne 0x18002d2a0
mov edx, esi
lea rcx, [rbp + 0x110]
call fcn.18002b72c
mov rcx, qword [rbp + 0x58]
cmp ax, word [rcx + 0x10]
jbe 0x18002d2bc
lea r9, [rbp]
mov r8, r12
mov rdx, rbx
call fcn.180026858
mov rcx, qword [rbp + 0x58]
mov edi, dword [rbp]
xor r9d, r9d
test edi, edi
jne 0x18002c5b6
mov rdx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x90]
mov r9, qword [rbp + 0x20]
mov r10d, dword [rbp + 0x110]
mov r11, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
add rax, 8
add rdx, 2
inc esi
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rdx
cmp esi, r10d
jl 0x18002d18c
lea r12, [r14 - 1]
xor r9d, r9d
mov rbx, qword [rbp + 0xe0]
test r12, r12
jle 0x18002d422
mov r13d, dword [rbp + 0x180]
mov rsi, r9
movsxd rdx, dword [rbp + rsi*4 + 0xc8]
xor r8d, r8d
mov rax, qword [rbp + 0x128]
mov r15, qword [rbp + rsi*8 + 0xe0]
mov rcx, qword [rbp + 0x120]
movsxd rdi, dword [rbp + 0x68]
movzx eax, word [rax + rdx*2]
add rdi, qword [rbp + 0x210]
mov rbx, qword [rcx + rdx*8]
lea r9d, [rax + r13]
cmp byte [r15 + 8], r8b
jne 0x18002d36a
mov rcx, qword [r15 + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x18002d3c4
cmp byte [rbp + 4], r8b
je 0x18002d3a3
mov rdx, qword [rcx + rdx*8 - 8]
lea r8, [rbp + 0x1a8]
mov rcx, r15
call qword [r15 + Ordinal_133]
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rdi + 4]
mov rbx, rdi
call fcn.180019c68
lea r9d, [rax + 4]
xor eax, eax
mov edi, eax
jmp 0x18002d3c4
mov ecx, 4
sub rbx, rcx
cmp ax, cx
jne 0x18002d3c4
mov rax, qword [rbp + 0x200]
mov rdx, rbx
mov rcx, rax
call qword [rax + Ordinal_122]
movzx r9d, ax
add dword [rbp + 0x68], r9d
lea rax, [rbp]
mov qword [rsp + 0x30], rax
mov r8, rbx
mov eax, dword [r15 + 4]
mov r15, qword [rbp + 0x200]
mov ebx, dword [rbp + 0x1c]
mov rcx, r15
mov dword [rsp + 0x28], eax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call fcn.18002b584
mov edi, dword [rbp]
xor r9d, r9d
lea r11d, [r9 + 1]
test edi, edi
jne 0x18002c5bc
add ebx, r11d
add rsi, r11
mov dword [rbp + 0x1c], ebx
cmp rsi, r12
jl 0x18002d321
mov rbx, qword [rbp + 0xe0]
jmp 0x18002d42f
mov r15, qword [rbp + 0x200]
mov r11d, 1
mov r8d, dword [rbp + 0x18]
mov esi, r11d
sub esi, r8d
cmp esi, r8d
jge 0x18002d526
mov r12d, dword [rbp + 0x14]
mov r13d, dword [rbp + 0x50]
mov eax, esi
cdq
xor eax, edx
sub eax, edx
movsxd rbx, eax
cmp byte [rbp + rbx + 0x88], r9b
jne 0x18002d513
test esi, esi
jns 0x18002d47a
mov ecx, dword [rbp + rbx*4 + 0xc4]
cmp dword [rbp + rbx*4 + 0x184], ecx
jl 0x18002d513
test eax, eax
jne 0x18002d48d
mov edx, r9d
mov r8d, r9d
mov r9d, dword [rbp + 0xc8]
jmp 0x18002d4c8
cmp eax, r13d
mov eax, dword [rbp + 4]
jge 0x18002d4a6
test al, al
mov edx, r9d
sete dl
add edx, dword [rbp + rbx*4 + 0x184]
jmp 0x18002d4ac
mov edx, dword [rbp + 0x110]
mov r8d, r9d
test al, al
mov r9d, dword [rbp + rbx*4 + 0xc8]
sete r8b
add r8d, dword [rbp + rbx*4 + 0xc4]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0xe0]
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
call fcn.18002bc1c
xor r9d, r9d
mov dword [rbp], eax
mov edi, eax
lea r11d, [r9 + 1]
test eax, eax
jne 0x18002c5bc
mov rax, qword [rbp + rbx*8 + 0xe0]
mov ecx, r12d
sub ecx, dword [rbp + rbx*4 + 0x70]
mov r8d, dword [rbp + 0x18]
mov byte [rbp + rbx + 0x88], r11b
mov dword [rax + 0x14], ecx
add esi, r11d
cmp esi, r8d
jl 0x18002d44a
mov rbx, qword [rbp + 0xe0]
cmp dword [rbp + 0x218], r9d
je 0x18002d596
cmp word [r15 + 0x18], r9w
jne 0x18002d596
movzx eax, byte [r15 + 9]
cmp eax, dword [rbx + 0x14]
jg 0x18002d596
or edx, 0xffffffff
mov rcx, rbx
call fcn.18002690c
mov rcx, qword [rbp + 0xe0]
lea r8, [rbp]
mov rdx, r15
mov dword [rbp], eax
call fcn.18002c178
mov edi, dword [rbp]
xor r9d, r9d
test edi, edi
jne 0x18002d587
mov rcx, qword [rbp + 0xe0]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.18002ac90
mov edi, eax
xor r9d, r9d
mov r11d, 1
mov rbx, qword [rbp + 0x60]
jmp 0x18002d634
mov r10, qword [rbp + 0x38]
cmp byte [r10 + 0x21], r9b
je 0x18002d58d
cmp word [rbp + 0x10], r9w
jne 0x18002d58d
test r14, r14
jle 0x18002d58d
mov rbx, r9
mov r8, qword [rbp + rbx*8 + 0xe0]
mov rcx, qword [r8 + 0x50]
mov r9d, dword [r8 + 4]
mov r8b, 5
movzx eax, byte [rcx + 0xa]
movzx edx, byte [rcx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 0xb]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 8]
shl eax, 0x18
mov rcx, r10
or edx, eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.180026348
mov r10, qword [rbp + 0x38]
mov r11d, 1
add rbx, r11
cmp rbx, r14
jl 0x18002d5af
mov edi, dword [rbp]
xor r9d, r9d
jmp 0x18002d58d
mov rcx, qword [rbp + r14*8 + 0x98]
test edi, edi
jne 0x18002d631
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.18002ac90
xor r9d, r9d
mov edi, eax
lea r11d, [r9 + 1]
add r14, r11
cmp r14, rbx
jl 0x18002d60c
jmp 0x18002c5bc