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

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
xor r11d, r11d
mov ebx, edx
mov r14, rcx
test rcx, rcx
je 0x1000a14c6
mov rdi, qword [rcx + 0x28]
test rdi, rdi
je 0x1000a14c6
cmp qword [rcx + 0x10], r11
je 0x1000a14c6
cmp qword [rcx], r11
jne 0x1000a1429
cmp dword [rcx + 8], r11d
jne 0x1000a14c6
mov eax, dword [rdi]
mov r12d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
cmp eax, 0xb
mov ecx, 0xc
mov dword [rbp + 0x48], r11d
cmove eax, ecx
mov dword [rdi], eax
mov r9d, dword [r14 + 0x18]
mov r13, qword [r14]
mov r15d, dword [r14 + 8]
mov r10, qword [r14 + 0x10]
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x20], r15d
mov r8d, r9d
mov dword [rbp + 0x60], r9d
mov edx, 0x10
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x10], r10
mov eax, 7
mov ecx, dword [rdi]
cmp ecx, 0xe
jg 0x1000a1dae
je 0x1000a1b4f
cmp ecx, eax
jg 0x1000a1abf
je 0x1000a1849
test ecx, ecx
je 0x1000a1926
dec ecx
je 0x1000a14fe
dec ecx
je 0x1000a159e
dec ecx
je 0x1000a1624
dec ecx
je 0x1000a1682
dec ecx
je 0x1000a16a2
dec ecx
je 0x1000a17b0
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a14dc
mov dword [rdi + 0x10], r12d
cmp r12b, 8
je 0x1000a1518
lea rax, [0x1000b6867]
jmp 0x1000a1a73
test r12d, 0xe000
je 0x1000a152d
lea rax, [0x1000b6847]
jmp 0x1000a1a73
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1000a1541
mov eax, r12d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x10], 0x200
je 0x1000a156e
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 2
jmp 0x1000a159e
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1000a157c
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1000a15b0
mov dword [rax + 4], r12d
test dword [rdi + 0x10], 0x200
je 0x1000a15ef
mov eax, r12d
mov byte [rbp - 0x28], r12b
lea rdx, [rbp - 0x28]
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x27], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rbp - 0x25], r12b
mov byte [rbp - 0x26], al
mov ecx, dword [rdi + 0x18]
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 3
mov edx, 0x10
jmp 0x1000a1624
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a1602
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1000a1645
movzx eax, r12b
mov dword [rcx + 8], eax
mov rax, qword [rdi + 0x20]
mov ecx, r12d
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rdi + 0x10], 0x200
je 0x1000a1676
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
lea edx, [r11 + 0x10]
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 4
test dword [rdi + 0x10], 0x400
jne 0x1000a1711
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1000a169c
mov qword [rax + 0x10], r11
mov dword [rdi], 5
test dword [rdi + 0x10], 0x400
je 0x1000a17a6
mov ebx, dword [rdi + 0x48]
cmp ebx, r15d
cmova ebx, r15d
test ebx, ebx
je 0x1000a179c
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1000a1770
mov r9, qword [rax + 0x10]
test r9, r9
je 0x1000a1770
mov edx, dword [rax + 0x18]
mov ecx, dword [rax + 0x1c]
sub edx, dword [rdi + 0x48]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1000a175e
sub ecx, edx
jmp 0x1000a1760
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a16ef
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x48], r12d
test rax, rax
je 0x1000a1726
mov dword [rax + 0x18], r12d
test dword [rdi + 0x10], 0x200
je 0x1000a1753
mov byte [rbp - 0x28], r12b
shr r12d, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], r12b
mov ecx, dword [rdi + 0x18]
mov r8d, 2
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov r12d, r11d
mov esi, r11d
jmp 0x1000a169c
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r13
add rcx, r9
call fcn.1000a4177
test dword [rdi + 0x10], 0x200
je 0x1000a178a
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
mov rdx, r13
call fcn.1000a3867
mov dword [rdi + 0x18], eax
sub dword [rdi + 0x48], ebx
mov eax, ebx
sub r15d, ebx
add r13, rax
xor r11d, r11d
mov qword [rbp - 0x18], r13
cmp dword [rdi + 0x48], r11d
jne 0x1000a18c5
mov dword [rdi + 0x48], r11d
mov dword [rdi], 6
test dword [rdi + 0x10], 0x800
je 0x1000a1832
test r15d, r15d
je 0x1000a18c5
mov ebx, r11d
mov r8, r13
mov rax, qword [rdi + 0x20]
movzx r13d, byte [r8]
inc ebx
inc r8
test rax, rax
je 0x1000a17f2
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1000a17f2
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x1000a17f2
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x48]
test r13d, r13d
je 0x1000a17fc
cmp ebx, r15d
jb 0x1000a17c8
test dword [rdi + 0x10], 0x200
je 0x1000a181a
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r15d, ebx
add qword [rbp - 0x18], rax
test r13d, r13d
jne 0x1000a18c5
mov r13, qword [rbp - 0x18]
jmp 0x1000a183f
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1000a183f
mov qword [rax + 0x20], r11
mov dword [rdi + 0x48], r11d
mov dword [rdi], 7
test dword [rdi + 0x10], 0x1000
je 0x1000a1a82
test r15d, r15d
je 0x1000a18c5
mov ebx, r11d
mov r8, r13
mov rax, qword [rdi + 0x20]
movzx r13d, byte [r8]
inc ebx
inc r8
test rax, rax
je 0x1000a188b
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1000a188b
mov ecx, dword [rdi + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x1000a188b
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x48]
test r13d, r13d
je 0x1000a1895
cmp ebx, r15d
jb 0x1000a1861
test dword [rdi + 0x10], 0x200
je 0x1000a18b3
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rdi + 0x18]
mov r8d, ebx
call fcn.1000a3867
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov eax, ebx
sub r15d, ebx
add qword [rbp - 0x18], rax
test r13d, r13d
je 0x1000a1a8f
mov r13d, dword [rbp + 0x48]
mov rax, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x60]
mov dword [r14 + 8], r15d
mov qword [r14 + 0x10], rax
mov eax, dword [rbp + 0x58]
mov dword [r14 + 0x18], eax
mov rax, qword [rbp - 0x18]
mov qword [r14], rax
mov dword [rdi + 0x40], r12d
xor r12d, r12d
mov dword [rdi + 0x44], esi
cmp dword [rdi + 0x2c], r12d
jne 0x1000a1909
cmp dword [rdi], 0x18
jge 0x1000a28ce
cmp ebx, dword [r14 + 0x18]
je 0x1000a28ce
mov edx, ebx
mov rcx, r14
call fcn.1000a12df
test eax, eax
je 0x1000a28ce
mov dword [rdi], 0x1c
jmp 0x1000a2747
cmp dword [rdi + 8], r11d
jne 0x1000a1955
mov dword [rdi], 0xc
jmp 0x1000a146e
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a1937
test byte [rdi + 8], 2
je 0x1000a19b6
cmp r12d, 0x8b1f
jne 0x1000a19b6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000a3867
lea rdx, [rbp - 0x28]
mov r8d, 2
mov dword [rdi + 0x18], eax
mov word [rbp - 0x28], r12w
mov ecx, dword [rdi + 0x18]
call fcn.1000a3867
mov dword [rdi], 1
mov dword [rdi + 0x18], eax
xor r11d, r11d
mov esi, r11d
mov r12d, r11d
mov r10, qword [rbp - 0x10]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov edx, 0x10
jmp 0x1000a146e
mov rax, qword [rdi + 0x20]
mov dword [rdi + 0x10], r11d
test rax, rax
je 0x1000a19c7
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 8], 1
je 0x1000a1a6c
movzx ecx, r12b
mov eax, r12d
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x1000a1a67
mov eax, r12d
and al, 0xf
cmp al, 8
je 0x1000a1a15
lea rax, [0x1000b6867]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a19ac
shr r12d, 4
add esi, 0xfffffffc
mov ecx, r12d
and ecx, 0xf
add ecx, 8
cmp ecx, dword [rdi + 0x28]
jbe 0x1000a1a33
lea rax, [0x1000b682f]
jmp 0x1000a1a09
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [rdi + 0x14], eax
call fcn.1000a3287
shr r12d, 8
not r12d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
and r12d, 2
or r12d, 9
mov dword [rdi], r12d
jmp 0x1000a1997
mov edx, 0x10
lea rax, [0x1000b6817]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a146e
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1000a1a8f
mov qword [rax + 0x30], r11
mov r13, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
mov dword [rdi], 8
mov edx, 0x10
test dword [rdi + 0x10], 0x200
je 0x1000a1d52
jmp 0x1000a1d33
sub ecx, 8
je 0x1000a1aad
dec ecx
je 0x1000a1bd3
dec ecx
je 0x1000a1c11
dec ecx
je 0x1000a1c47
dec ecx
je 0x1000a1c50
dec ecx
jne 0x1000a14c6
mov ecx, esi
and ecx, 7
shr r12d, cl
sub esi, ecx
jmp 0x1000a1b1a
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1000a1af8
mov eax, r12d
movzx ecx, r12w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1000a1b3b
lea rax, [0x1000b67f7]
jmp 0x1000a1a73
mov dword [rdi + 0x48], ecx
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0xe
mov eax, 7
mov r13d, dword [rdi + 0x48]
test r13d, r13d
je 0x1000a1d9f
cmp r13d, r15d
cmova r13d, r15d
cmp r13d, r9d
cmova r13d, r9d
test r13d, r13d
je 0x1000a18c5
mov rdx, qword [rbp - 0x18]
mov r8d, r13d
mov rcx, r10
mov ebx, r13d
call fcn.1000a4177
add qword [rbp - 0x18], rbx
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
sub r15d, r13d
sub r9d, r13d
add r10, rbx
sub dword [rdi + 0x48], r13d
mov r13, qword [rbp - 0x18]
mov ebx, dword [rbp + 0x50]
mov r8d, dword [rbp + 0x60]
xor r11d, r11d
jmp 0x1000a1461
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1000a1bb1
mov ecx, r12d
mov eax, r12d
mov edx, 0xff00
shl eax, 0x10
and ecx, edx
mov esi, r11d
add ecx, eax
mov eax, r12d
shr r12d, 0x18
shr eax, 8
shl ecx, 8
and eax, edx
add eax, ecx
add eax, r12d
mov r12d, r11d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xa
cmp dword [rdi + 0xc], r11d
je 0x1000a288c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000a3287
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
xor r11d, r11d
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xb
lea edx, [r11 + 0x10]
cmp ebx, 5
je 0x1000a18c5
cmp dword [rdi + 4], r11d
je 0x1000a1c91
mov ecx, esi
mov eax, 7
mov dword [rdi], 0x18
and ecx, eax
shr r12d, cl
sub esi, ecx
jmp 0x1000a1473
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 3
jb 0x1000a1c6f
mov eax, r12d
shr r12d, 1
dec esi
and eax, 1
mov dword [rdi + 4], eax
mov eax, r12d
and eax, 3
je 0x1000a1cff
dec eax
je 0x1000a1cd3
dec eax
je 0x1000a1ccb
dec eax
jne 0x1000a1d05
lea rax, [0x1000b67df]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a1d05
mov dword [rdi], 0xf
jmp 0x1000a1d05
lea rax, [0x1000b5df7]
mov dword [rdi + 0x68], 9
mov dword [rdi + 0x6c], 5
mov qword [rdi + 0x58], rax
lea rax, [0x1000b65f7]
mov dword [rdi], 0x12
mov qword [rdi + 0x60], rax
jmp 0x1000a1d05
mov dword [rdi], 0xd
shr r12d, 2
add esi, 0xfffffffe
jmp 0x1000a146e
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a1d11
movzx eax, word [rdi + 0x18]
cmp r12d, eax
je 0x1000a1d4c
lea rax, [0x1000b67c7]
jmp 0x1000a1a73
mov r12d, r11d
mov esi, r11d
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1000a1d72
mov eax, dword [rdi + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rdi + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1000a3867
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov dword [rdi], 0xb
xor r11d, r11d
jmp 0x1000a19ac
mov r13, qword [rbp - 0x18]
mov dword [rdi], 0xb
jmp 0x1000a1473
cmp ecx, 0x16
jg 0x1000a271a
je 0x1000a2687
sub ecx, 0xf
je 0x1000a1e19
dec ecx
je 0x1000a1e72
dec ecx
je 0x1000a1f69
dec ecx
je 0x1000a2290
dec ecx
je 0x1000a2465
dec ecx
je 0x1000a24b3
dec ecx
jne 0x1000a14c6
jmp 0x1000a261f
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0xe
jb 0x1000a1df7
mov ecx, r12d
shr r12d, 5
add esi, 0xfffffff2
mov edx, r12d
shr r12d, 5
and ecx, 0x1f
mov eax, r12d
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr r12d, 4
add eax, 4
mov dword [rdi + 0x74], ecx
mov dword [rdi + 0x78], edx
mov dword [rdi + 0x70], eax
cmp ecx, 0x11e
ja 0x1000a26af
cmp edx, 0x1e
ja 0x1000a26af
mov dword [rdi + 0x7c], r11d
mov dword [rdi], 0x10
mov edx, 7
lea r8, [0x1000b6677]
mov eax, dword [rdi + 0x70]
cmp dword [rdi + 0x7c], eax
jae 0x1000a1ee6
jmp 0x1000a1eaa
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 3
jb 0x1000a1e88
mov eax, dword [rdi + 0x7c]
movzx ecx, r12w
shr r12d, 3
movzx eax, word [r8 + rax*2]
and cx, dx
mov word [rdi + rax*2 + 0x88], cx
inc dword [rdi + 0x7c]
add esi, 0xfffffffd
jmp 0x1000a1e7e
mov eax, dword [rdi + 0x7c]
movzx ecx, word [r8 + rax*2]
mov word [rdi + rcx*2 + 0x88], r11w
inc dword [rdi + 0x7c]
cmp dword [rdi + 0x7c], 0x13
jb 0x1000a1ed2
lea rcx, [rdi + 0x68]
lea rax, [rdi + 0x548]
lea r9, [rdi + 0x80]
mov dword [rcx], edx
mov qword [r9], rax
mov qword [rdi + 0x58], rax
lea rax, [rdi + 0x308]
lea rdx, [rdi + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.1000a2e1f
mov r10, qword [rbp - 0x10]
xor r11d, r11d
mov dword [rbp + 0x48], eax
lea edx, [r11 + 0x10]
test eax, eax
je 0x1000a1f5a
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
lea rax, [0x1000b67a7]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a146e
mov r8d, 0x11
mov dword [rdi + 0x7c], r11d
mov dword [rdi], r8d
jmp 0x1000a1f6f
mov r8d, 0x11
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
cmp dword [rdi + 0x7c], eax
jae 0x1000a2199
jmp 0x1000a1fa2
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
mov ecx, dword [rdi + 0x68]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
mov dword [rbp - 0x24], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1000a1f80
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jae 0x1000a2029
shr eax, 8
movzx ecx, al
cmp esi, ecx
jae 0x1000a2009
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
movzx eax, byte [rbp - 0x23]
mov qword [rbp - 0x18], r13
cmp esi, eax
jb 0x1000a1fdf
movzx ecx, byte [rbp - 0x23]
movzx eax, word [rbp - 0x22]
shr r12d, cl
sub esi, ecx
mov ecx, dword [rdi + 0x7c]
mov word [rdi + rcx*2 + 0x88], ax
inc dword [rdi + 0x7c]
jmp 0x1000a215c
cmp word [rbp - 0x22], dx
jne 0x1000a2092
movzx edx, byte [rbp - 0x23]
lea r8d, [rdx + 2]
jmp 0x1000a205b
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, r8d
jb 0x1000a2039
mov eax, dword [rdi + 0x7c]
mov ecx, edx
sub esi, edx
shr r12d, cl
test eax, eax
je 0x1000a2172
mov edx, r12d
dec eax
shr r12d, 2
movzx r9d, word [rdi + rax*2 + 0x88]
and edx, 3
add edx, 3
add esi, 0xfffffffe
jmp 0x1000a2130
cmp word [rbp - 0x22], r8w
movzx r8d, byte [rbp - 0x23]
jne 0x1000a20e4
lea edx, [r8 + 3]
jmp 0x1000a20c6
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a20a4
mov ecx, r8d
mov eax, 0xfffffffd
shr r12d, cl
mov edx, r12d
and edx, 7
add edx, 3
shr r12d, 3
jmp 0x1000a2128
lea edx, [r8 + 7]
jmp 0x1000a210c
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, edx
jb 0x1000a20ea
mov ecx, r8d
mov eax, 0xfffffff9
shr r12d, cl
mov edx, r12d
and edx, 0x7f
add edx, 0xb
shr r12d, 7
sub eax, r8d
mov r9d, r11d
add esi, eax
mov eax, dword [rdi + 0x7c]
lea ecx, [rdx + rax]
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
cmp ecx, eax
ja 0x1000a2188
test edx, edx
je 0x1000a2157
mov eax, dword [rdi + 0x7c]
mov word [rdi + rax*2 + 0x88], r9w
inc dword [rdi + 0x7c]
dec edx
jne 0x1000a2144
mov edx, 0x10
mov eax, dword [rdi + 0x78]
add eax, dword [rdi + 0x74]
cmp dword [rdi + 0x7c], eax
jae 0x1000a2199
mov r8d, 0x11
jmp 0x1000a1fa2
lea rax, [0x1000b6787]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a19a4
lea rax, [0x1000b6787]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
cmp dword [rdi], 0x1b
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov edx, 0x10
lea eax, [rdx - 9]
je 0x1000a1473
mov r8d, dword [rdi + 0x74]
lea rax, [rdi + 0x548]
lea r13, [rdi + 0x308]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x58], rax
lea rax, [rdi + 0x68]
lea rdx, [rdi + 0x88]
lea r9, [rdi + 0x80]
mov ecx, 1
mov qword [rsp + 0x28], r13
mov dword [rax], 9
mov qword [rsp + 0x20], rax
call fcn.1000a2e1f
xor r11d, r11d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x1000a2222
mov r13, qword [rbp - 0x18]
mov ebx, dword [rbp + 0x50]
lea rax, [0x1000b6767]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a19a0
mov rax, qword [rdi + 0x80]
mov r8d, dword [rdi + 0x78]
lea rcx, [rdi + 0x6c]
mov qword [rdi + 0x60], rax
mov eax, dword [rdi + 0x74]
mov dword [rcx], 6
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea r9, [rdi + 0x80]
lea rdx, [rdi + rax*2 + 0x88]
mov ecx, 2
call fcn.1000a2e1f
mov r13, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
xor r11d, r11d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x1000a228a
lea rax, [0x1000b674f]
jmp 0x1000a1a09
mov dword [rdi], 0x12
cmp r15d, 6
jb 0x1000a22df
cmp r9d, 0x102
jb 0x1000a22df
mov qword [r14 + 0x10], r10
mov dword [r14 + 0x18], r9d
mov qword [r14], r13
mov dword [r14 + 8], r15d
mov edx, r8d
mov rcx, r14
mov dword [rdi + 0x40], r12d
mov dword [rdi + 0x44], esi
call fcn.1000a29bf
mov r13, qword [r14]
mov r10, qword [r14 + 0x10]
mov r9d, dword [r14 + 0x18]
mov r15d, dword [r14 + 8]
mov r12d, dword [rdi + 0x40]
mov esi, dword [rdi + 0x44]
mov qword [rbp - 0x18], r13
jmp 0x1000a1ba5
mov ecx, dword [rdi + 0x68]
mov r11, qword [rdi + 0x58]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x1000a2338
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
mov ecx, dword [rdi + 0x68]
dec r15d
add r12d, eax
mov eax, 1
add esi, 8
shl eax, cl
mov qword [rbp - 0x18], r13
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1000a22fc
test al, al
je 0x1000a2406
test al, 0xf0
jne 0x1000a2406
mov r10d, eax
movzx ecx, al
mov r9d, 1
shr r10d, 8
mov edx, eax
mov dword [rbp - 0x24], eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x1000a23f8
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
movzx r9d, byte [rbp - 0x23]
mov ecx, esi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r13
dec r8d
dec r15d
add esi, 8
and r8d, r12d
mov qword [rbp - 0x18], r13
shr r8d, cl
add r8d, eax
mov rax, qword [rdi + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x1000a239b
movzx ecx, byte [rbp - 0x23]
shr r12d, cl
sub esi, ecx
mov ecx, eax
xor r11d, r11d
shr ecx, 8
movzx ecx, cl
shr r12d, cl
sub esi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x48], ecx
test al, al
jne 0x1000a242d
mov dword [rdi], 0x17
jmp 0x1000a19a0
test al, 0x20
je 0x1000a243c
mov dword [rdi], 0xb
jmp 0x1000a19a0
test al, 0x40
je 0x1000a2456
lea rax, [0x1000b672f]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a19a0
movzx ecx, al
mov dword [rdi], 0x13
and ecx, 0xf
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x1000a24ad
cmp esi, edx
jae 0x1000a2497
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
mov qword [rbp - 0x18], r13
cmp esi, dword [rdi + 0x50]
jb 0x1000a2470
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [rdi + 0x48], eax
sub esi, edx
mov dword [rdi], 0x14
mov ecx, dword [rdi + 0x6c]
mov r11, qword [rdi + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x1000a250c
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
mov ecx, dword [rdi + 0x6c]
dec r15d
add r12d, eax
mov eax, 1
add esi, 8
shl eax, cl
mov qword [rbp - 0x18], r13
lea ecx, [rax - 1]
mov eax, r12d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1000a24d0
test al, 0xf0
jne 0x1000a25d2
mov r10d, eax
movzx ecx, al
mov r9d, 1
shr r10d, 8
mov edx, eax
mov dword [rbp - 0x24], eax
movzx r8d, r10b
shr eax, 0x10
add ecx, r8d
shl r9d, cl
mov ecx, r8d
dec r9d
and r9d, r12d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x1000a25c4
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
movzx r9d, byte [rbp - 0x23]
mov ecx, esi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add r12d, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r13
dec r8d
dec r15d
add esi, 8
and r8d, r12d
mov qword [rbp - 0x18], r13
shr r8d, cl
add r8d, eax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x1000a2567
movzx ecx, byte [rbp - 0x23]
shr r12d, cl
sub esi, ecx
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr r12d, cl
sub esi, ecx
test al, 0x40
je 0x1000a2605
lea rax, [0x1000b6717]
mov qword [r14 + 0x20], rax
mov dword [rdi], 0x1b
jmp 0x1000a1d97
mov ecx, eax
mov dword [rdi], 0x15
shr ecx, 0x10
mov dword [rdi + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
xor r11d, r11d
mov dword [rdi + 0x50], ecx
mov edx, dword [rdi + 0x50]
test edx, edx
je 0x1000a2667
cmp esi, edx
jae 0x1000a2651
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
add esi, 8
dec r15d
add r12d, eax
mov qword [rbp - 0x18], r13
cmp esi, dword [rdi + 0x50]
jb 0x1000a262a
mov ecx, edx
mov eax, 1
shl eax, cl
dec eax
and eax, r12d
shr r12d, cl
add dword [rdi + 0x4c], eax
sub esi, edx
mov eax, dword [rdi + 0x30]
sub eax, r9d
add eax, r8d
cmp dword [rdi + 0x4c], eax
jbe 0x1000a2681
lea rax, [0x1000b66f7]
jmp 0x1000a1a09
mov dword [rdi], 0x16
test r9d, r9d
je 0x1000a18c5
mov ecx, dword [rdi + 0x4c]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x1000a26cc
sub ecx, eax
mov eax, dword [rdi + 0x34]
cmp ecx, eax
jbe 0x1000a26bb
mov edx, dword [rdi + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x1000a26bf
lea rax, [0x1000b66cf]
jmp 0x1000a1a09
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x48]
add rdx, qword [rdi + 0x38]
cmp ecx, eax
jbe 0x1000a26d7
jmp 0x1000a26d5
mov eax, dword [rdi + 0x48]
mov rdx, r10
sub rdx, rcx
mov ecx, eax
cmp ecx, r9d
cmova ecx, r9d
sub r9d, ecx
sub eax, ecx
sub rdx, r10
mov dword [rbp + 0x58], r9d
mov dword [rdi + 0x48], eax
mov al, byte [rdx + r10]
mov byte [r10], al
inc r10
dec ecx
jne 0x1000a26ed
mov qword [rbp - 0x10], r10
lea edx, [rcx + 0x10]
lea eax, [rcx + 7]
cmp dword [rdi + 0x48], r11d
jne 0x1000a1473
mov dword [rdi], 0x12
jmp 0x1000a1473
sub ecx, 0x17
je 0x1000a286c
dec ecx
je 0x1000a2751
dec ecx
je 0x1000a281d
dec ecx
je 0x1000a28c3
dec ecx
je 0x1000a28ac
dec ecx
jne 0x1000a14c6
mov eax, 0xfffffffc
jmp 0x1000a14cb
cmp dword [rdi + 8], r11d
je 0x1000a2817
jmp 0x1000a277f
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1000a275d
sub r8d, r9d
add dword [r14 + 0x1c], r8d
add dword [rdi + 0x1c], r8d
test r8d, r8d
je 0x1000a27c8
mov ecx, dword [rdi + 0x18]
mov eax, r8d
mov rdx, r10
sub rdx, rax
cmp dword [rdi + 0x10], r11d
je 0x1000a27ad
call fcn.1000a3867
jmp 0x1000a27b2
call fcn.1000a3287
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
xor r11d, r11d
mov dword [rdi + 0x18], eax
lea edx, [r11 + 0x10]
mov dword [r14 + 0x4c], eax
mov ecx, r12d
mov eax, r12d
mov r8d, r9d
shl eax, 0x10
and ecx, 0xff00
mov dword [rbp + 0x60], r9d
add ecx, eax
mov eax, r12d
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, r12d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x10], r11d
cmovne ecx, r12d
cmp ecx, dword [rdi + 0x18]
je 0x1000a2811
lea rax, [0x1000b66b7]
jmp 0x1000a1a73
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0x19
cmp dword [rdi + 8], r11d
je 0x1000a28bd
cmp dword [rdi + 0x10], r11d
je 0x1000a28bd
jmp 0x1000a2855
test r15d, r15d
je 0x1000a18c5
movzx eax, byte [r13]
mov ecx, esi
inc r13
shl eax, cl
dec r15d
mov qword [rbp - 0x18], r13
add r12d, eax
add esi, 8
cmp esi, 0x20
jb 0x1000a2833
cmp r12d, dword [rdi + 0x1c]
je 0x1000a28b7
lea rax, [0x1000b669f]
jmp 0x1000a1a73
test r9d, r9d
je 0x1000a18c5
mov al, byte [rdi + 0x48]
mov byte [r10], al
inc r10
dec r9d
mov dword [rdi], 0x12
jmp 0x1000a1466
mov qword [r14 + 0x10], r10
mov dword [r14 + 0x18], r9d
mov qword [r14], r13
mov dword [r14 + 8], r15d
mov eax, 2
mov dword [rdi + 0x40], r12d
mov dword [rdi + 0x44], esi
jmp 0x1000a14cb
mov r13d, 0xfffffffd
jmp 0x1000a18c9
mov r12d, r11d
mov esi, r11d
mov dword [rdi], 0x1a
mov r13d, 1
jmp 0x1000a18c9
sub ebx, dword [r14 + 0x18]
mov esi, dword [rbp - 0x20]
sub esi, dword [r14 + 8]
add dword [r14 + 0x1c], ebx
add dword [r14 + 0xc], esi
add dword [rdi + 0x1c], ebx
cmp dword [rdi + 8], r12d
je 0x1000a2916
test ebx, ebx
je 0x1000a2916
mov rdx, qword [r14 + 0x10]
mov ecx, dword [rdi + 0x18]
mov eax, ebx
sub rdx, rax
mov r8d, ebx
cmp dword [rdi + 0x10], r12d
je 0x1000a290a
call fcn.1000a3867
jmp 0x1000a290f
call fcn.1000a3287
mov dword [rdi + 0x18], eax
mov dword [r14 + 0x4c], eax
mov eax, dword [rdi + 4]
mov edx, 0x80
neg eax
mov eax, r12d
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [rdi + 0x44]
mov dword [r14 + 0x48], ecx
test esi, esi
jne 0x1000a293f
test ebx, ebx
je 0x1000a2945
cmp dword [rbp + 0x50], 4
jne 0x1000a2951
mov eax, 0xfffffffb
test r13d, r13d
cmove r13d, eax
mov eax, r13d
jmp 0x1000a14cb