Function at 0x14008bef8
Capabilities:
Compress data via zlib inflate or deflate
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 eax, eax
mov r14d, edx
mov r13, rcx
test rcx, rcx
je 0x14008c591
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x14008c591
cmp qword [rcx + 0x10], rax
je 0x14008c591
cmp qword [rcx], rax
jne 0x14008bf45
cmp dword [rcx + 8], eax
jne 0x14008c591
cmp dword [rbx], 0xb
jne 0x14008bf50
mov dword [rbx], InitCommonControls
mov r9d, dword [rcx + 0x18]
mov r10, qword [rcx + 0x10]
mov r15, qword [rcx]
mov r12d, dword [rcx + 8]
mov esi, dword [rbx + 0x40]
mov edi, dword [rbx + 0x44]
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x18], r15
mov dword [rbp - 0x20], r12d
mov r8d, r9d
mov dword [rbp + 0x60], r9d
mov dword [rbp + 0x48], eax
lea r11, [rbx + 0x68]
lea rdx, [rbx + 0x6c]
mov ecx, dword [rbx]
cmp ecx, 0xf
jg 0x14008c8fe
je 0x14008c609
mov eax, 7
cmp ecx, eax
jg 0x14008c564
je 0x14008c49b
xor eax, eax
test ecx, ecx
je 0x14008c350
dec ecx
je 0x14008bfe9
dec ecx
je 0x14008c084
dec ecx
je 0x14008c104
dec ecx
je 0x14008c18a
dec ecx
je 0x14008c217
dec ecx
jne 0x14008c591
xor r8d, r8d
jmp 0x14008c2b1
mov ecx, InitCommonControls
cmp edi, ecx
jae 0x14008c01b
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
add edi, 8
dec r12d
add esi, eax
mov eax, InitCommonControls
mov qword [rbp - 0x18], r15
cmp edi, eax
jb 0x14008bff2
mov dword [rbx + 0x10], esi
cmp sil, 8
jne 0x14008c48e
test esi, 0xe000
jne 0x14008c48e
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
test rcx, rcx
je 0x14008c04a
mov eax, esi
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rbx + 0x10], 0x200
je 0x14008c076
mov byte [rbp - 0x28], sil
shr esi, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], sil
mov ecx, dword [rbx + 0x18]
mov r8d, 2
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 2
jmp 0x14008c0a9
xor r8d, r8d
jmp 0x14008c0a9
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, 0x20
jb 0x14008c089
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c0ba
mov dword [rax + 4], esi
test dword [rbx + 0x10], 0x200
je 0x14008c0f6
mov eax, esi
mov byte [rbp - 0x28], sil
lea rdx, [rbp - 0x28]
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x27], al
mov eax, esi
shr esi, 0x18
shr eax, 0x10
mov byte [rbp - 0x25], sil
mov byte [rbp - 0x26], al
mov ecx, dword [rbx + 0x18]
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 3
jmp 0x14008c107
xor r8d, r8d
mov r14d, InitCommonControls
jmp 0x14008c12f
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, r14d
jb 0x14008c10f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14008c150
movzx eax, sil
mov dword [rcx + 8], eax
mov rax, qword [rbx + 0x20]
mov ecx, esi
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rbx + 0x10], 0x200
je 0x14008c17c
mov byte [rbp - 0x28], sil
shr esi, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], sil
mov ecx, dword [rbx + 0x18]
mov r8d, 2
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 4
jmp 0x14008c191
xor r8d, r8d
lea r14d, [r8 + 0x10]
test dword [rbx + 0x10], 0x400
jne 0x14008c1cf
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c1a7
mov qword [rax + 0x10], r8
mov dword [rbx], 5
jmp 0x14008c21a
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, r14d
jb 0x14008c1af
mov rax, qword [rbx + 0x20]
mov dword [rbx + 0x48], esi
test rax, rax
je 0x14008c1e3
mov dword [rax + 0x18], esi
test dword [rbx + 0x10], 0x200
je 0x14008c20f
mov byte [rbp - 0x28], sil
shr esi, 8
lea rdx, [rbp - 0x28]
mov byte [rbp - 0x27], sil
mov ecx, dword [rbx + 0x18]
mov r8d, 2
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
jmp 0x14008c1a7
xor r8d, r8d
test dword [rbx + 0x10], 0x400
je 0x14008c2a7
mov r14d, dword [rbx + 0x48]
cmp r14d, r12d
cmova r14d, r12d
test r14d, r14d
je 0x14008c29d
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c26f
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14008c26f
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x1c]
sub ecx, dword [rbx + 0x48]
lea eax, [r14 + rcx]
cmp eax, r8d
jbe 0x14008c261
sub r8d, ecx
jmp 0x14008c264
mov r8d, r14d
add rcx, rdx
mov rdx, r15
call fcn.14008db88
test dword [rbx + 0x10], 0x200
je 0x14008c289
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
mov rdx, r15
call fcn.14008d810
mov dword [rbx + 0x18], eax
sub dword [rbx + 0x48], r14d
mov eax, r14d
sub r12d, r14d
add r15, rax
xor r8d, r8d
mov qword [rbp - 0x18], r15
cmp dword [rbx + 0x48], r8d
jne 0x14008c32b
mov dword [rbx + 0x48], r8d
mov dword [rbx], 6
test dword [rbx + 0x10], 0x800
je 0x14008c334
test r12d, r12d
je 0x14008c32b
mov r14d, r8d
jmp 0x14008c2c8
mov r15, qword [rbp - 0x18]
mov eax, r14d
inc r14d
movzx r15d, byte [rax + r15]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c2f4
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14008c2f4
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x14008c2f4
mov byte [rcx + rdx], r15b
inc dword [rbx + 0x48]
test r15d, r15d
je 0x14008c2fe
cmp r14d, r12d
jb 0x14008c2c4
test dword [rbx + 0x10], 0x200
je 0x14008c31c
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r12d, r14d
add qword [rbp - 0x18], rax
test r15d, r15d
je 0x14008c341
mov r15d, dword [rbp + 0x48]
jmp 0x14008c7da
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c341
mov qword [rax + 0x20], r8
mov dword [rbx + 0x48], r8d
mov dword [rbx], 7
jmp 0x14008c49e
cmp dword [rbx + 8], eax
jne 0x14008c360
mov dword [rbx], InitCommonControls
jmp 0x14008bf87
mov ecx, InitCommonControls
cmp edi, ecx
jae 0x14008c397
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
add edi, 8
dec r12d
add esi, eax
mov eax, InitCommonControls
mov qword [rbp - 0x18], r15
cmp edi, eax
mov eax, 0
jb 0x14008c369
test byte [rbx + 8], 2
je 0x14008c3ea
cmp esi, 0x8b1f
jne 0x14008c3ea
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14008d810
lea rdx, [rbp - 0x28]
mov r8d, 2
mov dword [rbx + 0x18], eax
mov word [rbp - 0x28], si
mov ecx, dword [rbx + 0x18]
call fcn.14008d810
mov dword [rbx], 1
mov dword [rbx + 0x18], eax
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
xor eax, eax
mov edi, eax
mov esi, eax
jmp 0x14008bf7f
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c3fa
or dword [rax + 0x40], 0xffffffff
test byte [rbx + 8], 1
je 0x14008c48e
movzx ecx, sil
mov eax, esi
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 0x14008c48a
mov eax, esi
and al, 0xf
cmp al, 8
jne 0x14008c48a
shr esi, 4
xor eax, eax
add edi, 0xfffffffc
mov ecx, esi
and ecx, 0xf
add ecx, 8
cmp dword [rbx + 0x28], eax
jne 0x14008c47a
mov dword [rbx + 0x28], ecx
mov eax, 1
xor r8d, r8d
xor edx, edx
shl eax, cl
xor ecx, ecx
mov dword [rbx + 0x14], eax
call fcn.14008d8a4
shr esi, 8
not esi
mov dword [rbx + 0x18], eax
mov dword [r13 + 0x4c], eax
and esi, 2
or esi, 9
mov dword [rbx], esi
jmp 0x14008c3d3
cmp ecx, dword [rbx + 0x28]
jbe 0x14008c44b
mov dword [rbx], 0x1d
jmp 0x14008bf83
lea rdx, [rbx + 0x6c]
mov dword [rbx], 0x1d
xor eax, eax
jmp 0x14008bf87
xor r8d, r8d
test dword [rbx + 0x10], 0x1000
je 0x14008c523
test r12d, r12d
je 0x14008c32b
mov rcx, qword [rbp - 0x18]
mov r14d, r8d
mov eax, r14d
inc r14d
movzx r15d, byte [rax + rcx]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c4e7
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14008c4e7
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x14008c4e3
mov byte [rcx + rdx], r15b
inc dword [rbx + 0x48]
mov rcx, qword [rbp - 0x18]
test r15d, r15d
je 0x14008c4f1
cmp r14d, r12d
jb 0x14008c4b7
test dword [rbx + 0x10], 0x200
je 0x14008c50e
mov rdx, rcx
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
call fcn.14008d810
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r12d, r14d
add qword [rbp - 0x18], rax
test r15d, r15d
jne 0x14008c32b
jmp 0x14008c530
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008c530
mov qword [rax + 0x30], r8
mov r15, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov r14d, dword [rbp + 0x50]
mov dword [rbx], 8
lea r11, [rbx + 0x68]
lea rdx, [rbx + 0x6c]
test dword [rbx + 0x10], 0x200
je 0x14008c89d
jmp 0x14008c882
sub ecx, 8
je 0x14008c552
dec ecx
je 0x14008c66e
dec ecx
je 0x14008c6ce
dec ecx
je 0x14008c708
dec ecx
je 0x14008c71c
dec ecx
je 0x14008c5a7
dec ecx
je 0x14008c601
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, edi
and ecx, eax
shr esi, cl
sub edi, ecx
jmp 0x14008c5d1
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, 0x20
jb 0x14008c5b1
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
jne 0x14008c48e
xor eax, eax
mov dword [rbx + 0x48], ecx
mov dword [rbx], InitCommonControls
mov esi, eax
mov edi, eax
cmp r14d, 6
je 0x14008c7d3
mov dword [rbx], InitCommonControls
xor eax, eax
mov r14d, dword [rbx + 0x48]
test r14d, r14d
je 0x14008c8ef
cmp r14d, r12d
cmova r14d, r12d
cmp r14d, r9d
cmova r14d, r9d
xor r8d, r8d
test r14d, r14d
je 0x14008c32b
mov r8d, r14d
mov rdx, r15
mov rcx, r10
call fcn.14008db88
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov eax, r14d
sub r9d, r14d
sub r12d, r14d
add r10, rax
add r15, rax
sub dword [rbx + 0x48], r14d
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x10], r10
mov qword [rbp - 0x18], r15
mov r14d, dword [rbp + 0x50]
jmp 0x14008c8de
xor r8d, r8d
cmp edi, 0x20
jae 0x14008c698
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
jmp 0x14008c671
mov ecx, esi
mov eax, esi
mov edx, 0xff00
shl eax, 0x10
and ecx, edx
mov edi, r8d
add ecx, eax
mov eax, esi
shr esi, 0x18
shr eax, 8
shl ecx, 8
and eax, edx
add eax, ecx
add eax, esi
mov esi, r8d
mov dword [rbx + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [rbx], 0xa
jmp 0x14008c6d1
xor r8d, r8d
cmp dword [rbx + 0xc], r8d
je 0x14008d3c8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14008d8a4
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [rbx], 0xb
lea r11, [rbx + 0x68]
lea rdx, [rbx + 0x6c]
cmp r14d, 5
je 0x14008c7d3
cmp r14d, 6
je 0x14008c7d3
xor eax, eax
cmp dword [rbx + 4], eax
je 0x14008c757
mov ecx, edi
mov dword [rbx], 0x1a
and ecx, 7
shr esi, cl
sub edi, ecx
jmp 0x14008bf87
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, 3
jb 0x14008c737
mov eax, esi
shr esi, 1
dec edi
and eax, 1
mov dword [rbx + 4], eax
mov eax, esi
and eax, 3
je 0x14008c851
dec eax
je 0x14008c79a
dec eax
je 0x14008c78e
dec eax
jne 0x14008c857
mov dword [rbx], 0x1d
jmp 0x14008c857
mov eax, InitCommonControls
mov dword [rbx], eax
jmp 0x14008c857
lea rax, [0x140116490]
mov dword [r11], 9
mov dword [rdx], 5
mov qword [rbx + 0x58], rax
lea rax, [0x140116c90]
mov dword [rbx], 0x13
mov qword [rbx + 0x60], rax
cmp r14d, 6
jne 0x14008c857
shr esi, 2
add edi, 0xfffffffe
mov r15d, dword [rbp + 0x48]
xor r8d, r8d
mov rax, qword [rbp - 0x10]
mov dword [r13 + 8], r12d
mov qword [r13 + 0x10], rax
mov eax, dword [rbp + 0x58]
mov dword [r13 + 0x18], eax
mov rax, qword [rbp - 0x18]
mov qword [r13], rax
mov dword [rbx + 0x40], esi
mov esi, dword [rbp + 0x50]
mov dword [rbx + 0x44], edi
mov edi, dword [rbp + 0x60]
cmp dword [rbx + 0x2c], r8d
jne 0x14008c828
cmp edi, dword [r13 + 0x18]
je 0x14008d419
cmp dword [rbx], 0x1d
jge 0x14008d419
cmp dword [rbx], 0x1a
jl 0x14008c828
cmp esi, 4
je 0x14008d419
mov rdx, qword [r13 + 0x10]
mov r8d, edi
mov rcx, r13
sub r8d, dword [r13 + 0x18]
call fcn.14008d6f8
xor r8d, r8d
test eax, eax
je 0x14008d419
mov dword [rbx], 0x1e
jmp 0x14008d3fc
mov dword [rbx], InitCommonControls
shr esi, 2
add edi, 0xfffffffe
jmp 0x14008c494
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
mov eax, InitCommonControls
cmp edi, eax
jb 0x14008c862
movzx eax, word [rbx + 0x18]
cmp esi, eax
jne 0x14008c48e
xor eax, eax
mov esi, eax
mov edi, eax
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14008c8bd
mov eax, dword [rbx + 0x10]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rbx + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14008d810
mov dword [rbx + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [rbx], 0xb
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
lea r11, [rbx + 0x68]
mov r8d, dword [rbp + 0x60]
lea rdx, [rbx + 0x6c]
jmp 0x14008c494
mov r14d, dword [rbp + 0x50]
mov dword [rbx], 0xb
jmp 0x14008bf87
cmp ecx, 0x17
jg 0x14008d1f9
je 0x14008d15f
sub ecx, 0x10
je 0x14008c96a
dec ecx
je 0x14008c9c2
dec ecx
je 0x14008caa3
dec ecx
je 0x14008cd99
dec ecx
je 0x14008cd9f
dec ecx
je 0x14008cf9e
dec ecx
jne 0x14008c591
xor r8d, r8d
jmp 0x14008cffb
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, 0xe
jb 0x14008c94a
mov ecx, esi
shr esi, 5
add edi, 0xfffffff2
mov edx, esi
shr esi, 5
and ecx, 0x1f
mov eax, esi
and edx, 0x1f
add ecx, 0x101
and eax, 0xf
inc edx
shr esi, 4
add eax, 4
mov dword [rbx + 0x74], ecx
mov dword [rbx + 0x78], edx
mov dword [rbx + 0x70], eax
cmp ecx, 0x11e
ja 0x14008d168
cmp edx, 0x1e
ja 0x14008d168
xor r8d, r8d
mov dword [rbx + 0x7c], r8d
lea eax, [r8 + 0x11]
mov dword [rbx], eax
jmp 0x14008c9c5
xor r8d, r8d
mov eax, dword [rbx + 0x70]
mov edx, 7
lea r9, [0x140116d10]
cmp dword [rbx + 0x7c], eax
jae 0x14008ca3d
jmp 0x14008c9fb
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, 3
jb 0x14008c9db
mov eax, dword [rbx + 0x7c]
movzx ecx, si
add edi, 0xfffffffd
movzx eax, word [r9 + rax*2]
and cx, dx
shr esi, 3
mov word [rbx + rax*2 + 0x88], cx
inc dword [rbx + 0x7c]
mov eax, dword [rbx + 0x7c]
cmp eax, dword [rbx + 0x70]
jb 0x14008c9fb
jmp 0x14008ca3d
mov eax, dword [rbx + 0x7c]
movzx ecx, word [r9 + rax*2]
mov word [rbx + rcx*2 + 0x88], r8w
inc dword [rbx + 0x7c]
cmp dword [rbx + 0x7c], 0x13
jb 0x14008ca29
lea rax, [rbx + 0x548]
lea r9, [rbx + 0x80]
xor ecx, ecx
mov qword [r9], rax
mov qword [rbx + 0x58], rax
lea rax, [rbx + 0x308]
mov dword [r11], edx
mov qword [rsp + 0x28], rax
lea rdx, [rbx + 0x88]
lea r8d, [rcx + 0x13]
mov qword [rsp + 0x20], r11
call fcn.14008f530
xor r8d, r8d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14008ca93
mov dword [rbx], 0x1d
jmp 0x14008c8d6
mov dword [rbx + 0x7c], r8d
mov dword [rbx], 0x12
lea r11, [rbx + 0x68]
jmp 0x14008caa6
xor r8d, r8d
mov eax, dword [rbx + 0x78]
mov r10d, dword [rbx + 0x7c]
add eax, dword [rbx + 0x74]
cmp r10d, eax
jae 0x14008cc9c
mov ecx, dword [r11]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov rax, qword [rbx + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
or r9d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x24], eax
cmp ecx, edi
jbe 0x14008cb25
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
mov ecx, dword [r11]
add r12d, r9d
add esi, eax
mov eax, 1
add edi, 8
shl eax, cl
mov qword [rbp - 0x18], r15
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov rax, qword [rbx + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x14008cadb
mov edx, eax
mov ecx, InitCommonControls
shr edx, 0x10
cmp dx, cx
jae 0x14008cb51
shr eax, 8
movzx ecx, al
mov eax, r10d
mov word [rbx + rax*2 + 0x88], dx
shr esi, cl
sub edi, ecx
inc dword [rbx + 0x7c]
jmp 0x14008caa6
jne 0x14008cbb3
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x14008cb7e
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
add r12d, r9d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, edx
jb 0x14008cb5e
movzx ecx, byte [rbp - 0x23]
shr esi, cl
sub edi, ecx
test r10d, r10d
je 0x14008cc83
mov edx, esi
lea eax, [r10 - 1]
shr esi, 2
movzx r9d, word [rbx + rax*2 + 0x88]
and edx, 3
add edx, 3
add edi, 0xfffffffe
jmp 0x14008cc55
movzx r8d, byte [rbp - 0x23]
mov eax, reloc.COMCTL32.dll_InitCommonControls
cmp word [rbp - 0x22], ax
jne 0x14008cc09
lea edx, [r8 + 3]
jmp 0x14008cbe9
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
add r12d, r9d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, edx
jb 0x14008cbc9
xor eax, eax
mov ecx, r8d
shr esi, cl
mov r9d, eax
mov eax, 0xfffffffd
mov edx, esi
and edx, 7
add edx, 3
shr esi, 3
jmp 0x14008cc4d
lea edx, [r8 + 7]
jmp 0x14008cc2f
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
add r12d, r9d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, edx
jb 0x14008cc0f
xor eax, eax
mov ecx, r8d
shr esi, cl
mov r9d, eax
mov eax, 0xfffffff9
mov edx, esi
and edx, 0x7f
add edx, 0xb
shr esi, 7
sub eax, r8d
add edi, eax
xor r8d, r8d
mov ecx, dword [rbx + 0x78]
lea eax, [r10 + rdx]
add ecx, dword [rbx + 0x74]
cmp eax, ecx
ja 0x14008cc96
test edx, edx
je 0x14008caa6
mov eax, dword [rbx + 0x7c]
mov word [rbx + rax*2 + 0x88], r9w
inc dword [rbx + 0x7c]
dec edx
jne 0x14008cc6b
jmp 0x14008caa6
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx], 0x1d
jmp 0x14008c8e2
mov dword [rbx], 0x1d
cmp dword [rbx], 0x1d
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
lea rdx, [rbx + 0x6c]
mov eax, 0
je 0x14008bf87
cmp word [rbx + 0x288], ax
jne 0x14008ccce
mov dword [rbx], 0x1d
jmp 0x14008bf83
mov r8d, dword [rbx + 0x74]
lea rax, [rbx + 0x548]
lea r14, [rbx + 0x80]
lea r15, [rbx + 0x308]
lea rdx, [rbx + 0x88]
mov r9, r14
mov ecx, 1
mov qword [rsp + 0x28], r15
mov qword [r14], rax
mov qword [rbx + 0x58], rax
mov dword [r11], 9
mov qword [rsp + 0x20], r11
call fcn.14008f530
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14008cd31
mov r15, qword [rbp - 0x18]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx], 0x1d
jmp 0x14008c665
mov rax, qword [r14]
mov r8d, dword [rbx + 0x78]
lea rcx, [rbx + 0x6c]
mov qword [rbx + 0x60], rax
mov eax, dword [rbx + 0x74]
mov dword [rcx], 6
add rax, 0x44
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rdx, [rbx + rax*2]
mov r9, r14
mov ecx, 2
call fcn.14008f530
xor r8d, r8d
mov r15d, eax
mov dword [rbp + 0x48], eax
test eax, eax
jne 0x14008cd1a
mov r14d, dword [rbp + 0x50]
mov dword [rbx], 0x13
cmp r14d, 6
je 0x14008c7da
mov r15, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx], 0x14
cmp r12d, 6
jb 0x14008ce17
cmp r9d, 0x102
jb 0x14008ce17
mov qword [r13 + 0x10], r10
mov dword [r13 + 0x18], r9d
mov qword [r13], r15
mov dword [r13 + 8], r12d
mov edx, r8d
mov rcx, r13
mov dword [rbx + 0x40], esi
mov dword [rbx + 0x44], edi
call fcn.14008f9b8
cmp dword [rbx], 0xb
mov r10, qword [r13 + 0x10]
mov r9d, dword [r13 + 0x18]
mov r15, qword [r13]
mov r12d, dword [r13 + 8]
mov esi, dword [rbx + 0x40]
mov edi, dword [rbx + 0x44]
mov r8d, dword [rbp + 0x60]
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x18], r15
lea r11, [rbx + 0x68]
lea rdx, [rbx + 0x6c]
mov eax, 0
jne 0x14008bf87
or dword [rbx + 0x1bdc], 0xffffffff
jmp 0x14008bf7f
mov ecx, dword [rbx + 0x68]
mov r11, qword [rbx + 0x58]
xor r8d, r8d
lea eax, [r8 + 1]
mov dword [rbx + 0x1bdc], r8d
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x14008ce75
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
mov ecx, dword [rbx + 0x68]
dec r12d
add esi, eax
mov eax, 1
add edi, 8
shl eax, cl
mov qword [rbp - 0x18], r15
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov rax, qword [rbx + 0x58]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x14008ce3c
test al, al
je 0x14008cf4c
test al, 0xf0
jne 0x14008cf4c
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, esi
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 0x14008cf36
xor r8d, r8d
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
movzx r9d, byte [rbp - 0x23]
mov ecx, edi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add esi, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r15
dec r8d
dec r12d
add edi, 8
and r8d, esi
mov qword [rbp - 0x18], r15
shr r8d, cl
add r8d, eax
mov rax, qword [rbx + 0x58]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x14008ced8
movzx ecx, byte [rbp - 0x23]
shr esi, cl
sub edi, ecx
xor r8d, r8d
mov dword [rbx + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1bdc], ecx
shr esi, cl
sub edi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [rbx + 0x48], ecx
test al, al
jne 0x14008cf75
mov dword [rbx], 0x19
jmp 0x14008c8d6
test al, 0x20
je 0x14008cf85
or dword [rbx + 0x1bdc], 0xffffffff
jmp 0x14008c8d0
test al, 0x40
jne 0x14008ca88
movzx ecx, al
mov dword [rbx], 0x15
and ecx, 0xf
mov dword [rbx + 0x50], ecx
jmp 0x14008cfa1
xor r8d, r8d
mov edx, dword [rbx + 0x50]
test edx, edx
je 0x14008cfe8
jmp 0x14008cfca
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, edx
jb 0x14008cfaa
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x48], eax
add dword [rbx + 0x1bdc], edx
mov eax, dword [rbx + 0x48]
mov dword [rbx], 0x16
lea rdx, [rbx + 0x6c]
mov dword [rbx + 0x1be0], eax
mov ecx, dword [rdx]
mov r11, qword [rbx + 0x60]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x14008d04e
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
mov ecx, dword [rdx]
dec r12d
add esi, eax
mov eax, 1
add edi, 8
shl eax, cl
mov qword [rbp - 0x18], r15
lea ecx, [rax - 1]
mov eax, esi
and rcx, rax
mov rax, qword [rbx + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x14008d016
test al, 0xf0
jne 0x14008d11e
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, esi
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 0x14008d107
xor r8d, r8d
test r12d, r12d
je 0x14008c32b
movzx eax, byte [r15]
movzx r9d, byte [rbp - 0x23]
mov ecx, edi
shl eax, cl
mov r8d, 1
movzx ecx, dl
add ecx, r9d
add esi, eax
movzx eax, word [rbp - 0x22]
shl r8d, cl
mov ecx, r9d
inc r15
dec r8d
dec r12d
add edi, 8
and r8d, esi
mov qword [rbp - 0x18], r15
shr r8d, cl
add r8d, eax
mov rax, qword [rbx + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x14008d0a9
movzx ecx, byte [rbp - 0x23]
lea rdx, [rbx + 0x6c]
shr esi, cl
sub edi, ecx
add dword [rbx + 0x1bdc], ecx
mov r8d, dword [rbp + 0x60]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov ecx, eax
lea r11, [rbx + 0x68]
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1bdc], ecx
shr esi, cl
sub edi, ecx
test al, 0x40
jne 0x14008c48e
mov ecx, eax
mov dword [rbx], 0x17
shr ecx, 0x10
mov dword [rbx + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rbx + 0x50], ecx
mov edx, dword [rbx + 0x50]
test edx, edx
je 0x14008d1b1
jmp 0x14008d193
mov dword [rbx], 0x1d
jmp 0x14008c8e6
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
cmp edi, edx
jb 0x14008d173
mov ecx, edx
mov eax, 1
sub edi, edx
shl eax, cl
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x4c], eax
add dword [rbx + 0x1bdc], edx
mov dword [rbx], 0x18
lea rdx, [rbx + 0x6c]
test r9d, r9d
je 0x14008c7d3
mov ecx, dword [rbx + 0x4c]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x14008d37b
sub ecx, eax
cmp ecx, dword [rbx + 0x30]
jbe 0x14008d35a
xor eax, eax
cmp dword [rbx + 0x1bd8], eax
je 0x14008d35a
mov dword [rbx], 0x1d
jmp 0x14008bf87
sub ecx, 0x18
je 0x14008d1bb
dec ecx
je 0x14008d332
dec ecx
je 0x14008d219
dec ecx
jne 0x14008d3e8
xor eax, eax
jmp 0x14008d2de
xor eax, eax
cmp dword [rbx + 8], eax
je 0x14008d2d8
jmp 0x14008d24b
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
mov eax, 0
cmp edi, 0x20
jb 0x14008d226
sub r8d, r9d
add dword [r13 + 0x1c], r8d
add dword [rbx + 0x1c], r8d
test r8d, r8d
je 0x14008d297
cmp dword [rbx + 0x10], eax
mov ecx, dword [rbx + 0x18]
mov rdx, r10
mov eax, r8d
je 0x14008d278
sub rdx, rax
call fcn.14008d810
jmp 0x14008d280
sub rdx, rax
call fcn.14008d8a4
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx + 0x18], eax
mov dword [r13 + 0x4c], eax
lea r11, [rbx + 0x68]
lea rdx, [rbx + 0x6c]
mov eax, esi
mov ecx, esi
mov r8d, r9d
shl eax, 0x10
and ecx, 0xff00
mov dword [rbp + 0x60], r9d
add ecx, eax
mov eax, esi
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, esi
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [rbx + 0x10], eax
cmovne ecx, esi
cmp ecx, dword [rbx + 0x18]
jne 0x14008d1ee
mov esi, eax
mov edi, eax
mov dword [rbx], 0x1b
cmp dword [rbx + 8], eax
je 0x14008d321
cmp dword [rbx + 0x10], eax
je 0x14008d321
jmp 0x14008d30f
test r12d, r12d
je 0x14008c7d3
movzx eax, byte [r15]
mov ecx, edi
inc r15
shl eax, cl
dec r12d
mov qword [rbp - 0x18], r15
add esi, eax
add edi, 8
mov eax, 0
cmp edi, 0x20
jb 0x14008d2ea
cmp esi, dword [rbx + 0x1c]
jne 0x14008d1ee
mov esi, eax
mov edi, eax
mov dword [rbx], 0x1c
mov r15d, 1
jmp 0x14008c7d7
test r9d, r9d
je 0x14008d411
mov al, byte [rbx + 0x48]
mov byte [r10], al
inc r10
dec r9d
mov dword [rbp + 0x58], r9d
mov qword [rbp - 0x10], r10
mov dword [rbx], 0x14
jmp 0x14008c494
mov eax, dword [rbx + 0x34]
cmp ecx, eax
jbe 0x14008d36a
mov edx, dword [rbx + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x14008d36e
sub eax, ecx
mov edx, eax
mov eax, dword [rbx + 0x48]
add rdx, qword [rbx + 0x38]
cmp ecx, eax
jbe 0x14008d386
jmp 0x14008d384
mov eax, dword [rbx + 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 [rbx + 0x48], eax
mov al, byte [rdx + r10]
mov byte [r10], al
inc r10
dec ecx
jne 0x14008d39c
xor eax, eax
mov qword [rbp - 0x10], r10
lea rdx, [rbx + 0x6c]
cmp dword [rbx + 0x48], eax
jne 0x14008bf87
mov dword [rbx], 0x14
jmp 0x14008bf83
mov qword [r13 + 0x10], r10
mov dword [r13 + 0x18], r9d
mov qword [r13], r15
mov dword [r13 + 8], r12d
mov eax, 2
mov dword [rbx + 0x40], esi
mov dword [rbx + 0x44], edi
jmp 0x14008c596
dec ecx
je 0x14008d327
dec ecx
je 0x14008d406
dec ecx
jne 0x14008c591
mov eax, 0xfffffffc
jmp 0x14008c596
mov r15d, 0xfffffffd
jmp 0x14008c7d7
xor r8d, r8d
jmp 0x14008c32b
sub edi, dword [r13 + 0x18]
mov r9d, dword [rbp - 0x20]
sub r9d, dword [r13 + 8]
add dword [r13 + 0x1c], edi
add dword [r13 + 0xc], r9d
add dword [rbx + 0x1c], edi
mov dword [rbp - 0x20], r9d
cmp dword [rbx + 8], r8d
je 0x14008d46d
test edi, edi
je 0x14008d46d
mov rdx, qword [r13 + 0x10]
mov ecx, dword [rbx + 0x18]
mov eax, edi
sub rdx, rax
cmp dword [rbx + 0x10], r8d
mov r8d, edi
je 0x14008d45a
call fcn.14008d810
jmp 0x14008d45f
call fcn.14008d8a4
mov r9d, dword [rbp - 0x20]
mov dword [rbx + 0x18], eax
xor r8d, r8d
mov dword [r13 + 0x4c], eax
cmp dword [rbx], 0x13
je 0x14008d477
cmp dword [rbx], 0xe
jne 0x14008d47d
mov r8d, 0x100
mov eax, dword [rbx + 4]
neg eax
mov eax, pe_nt_image_headers64
sbb ecx, ecx
xor r10d, r10d
and ecx, 0x40
cmp dword [rbx], 0xb
mov edx, r10d
cmove edx, eax
lea eax, [r8 + rcx]
add edx, eax
add edx, dword [rbx + 0x44]
mov dword [r13 + 0x48], edx
test r9d, r9d
jne 0x14008d4ae
test edi, edi
je 0x14008d4b3
cmp esi, 4
jne 0x14008d4bf
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x14008c596