Function at 0x14008b0cc
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 0x14008b765
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x14008b765
cmp qword [rcx + 0x10], rax
je 0x14008b765
cmp qword [rcx], rax
jne 0x14008b119
cmp dword [rcx + 8], eax
jne 0x14008b765
cmp dword [rbx], 0xb
jne 0x14008b124
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 0x14008bad2
je 0x14008b7dd
mov eax, 7
cmp ecx, eax
jg 0x14008b738
je 0x14008b66f
xor eax, eax
test ecx, ecx
je 0x14008b524
dec ecx
je 0x14008b1bd
dec ecx
je 0x14008b258
dec ecx
je 0x14008b2d8
dec ecx
je 0x14008b35e
dec ecx
je 0x14008b3eb
dec ecx
jne 0x14008b765
xor r8d, r8d
jmp 0x14008b485
mov ecx, InitCommonControls
cmp edi, ecx
jae 0x14008b1ef
test r12d, r12d
je 0x14008b9a7
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 0x14008b1c6
mov dword [rbx + 0x10], esi
cmp sil, 8
jne 0x14008b662
test esi, 0xe000
jne 0x14008b662
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
test rcx, rcx
je 0x14008b21e
mov eax, esi
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rbx + 0x10], 0x200
je 0x14008b24a
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.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 2
jmp 0x14008b27d
xor r8d, r8d
jmp 0x14008b27d
test r12d, r12d
je 0x14008b4ff
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 0x14008b25d
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b28e
mov dword [rax + 4], esi
test dword [rbx + 0x10], 0x200
je 0x14008b2ca
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.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 3
jmp 0x14008b2db
xor r8d, r8d
mov r14d, InitCommonControls
jmp 0x14008b303
test r12d, r12d
je 0x14008b4ff
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 0x14008b2e3
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14008b324
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 0x14008b350
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.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
mov dword [rbx], 4
jmp 0x14008b365
xor r8d, r8d
lea r14d, [r8 + 0x10]
test dword [rbx + 0x10], 0x400
jne 0x14008b3a3
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b37b
mov qword [rax + 0x10], r8
mov dword [rbx], 5
jmp 0x14008b3ee
test r12d, r12d
je 0x14008b4ff
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 0x14008b383
mov rax, qword [rbx + 0x20]
mov dword [rbx + 0x48], esi
test rax, rax
je 0x14008b3b7
mov dword [rax + 0x18], esi
test dword [rbx + 0x10], 0x200
je 0x14008b3e3
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.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov esi, r8d
mov edi, r8d
jmp 0x14008b37b
xor r8d, r8d
test dword [rbx + 0x10], 0x400
je 0x14008b47b
mov r14d, dword [rbx + 0x48]
cmp r14d, r12d
cmova r14d, r12d
test r14d, r14d
je 0x14008b471
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b443
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14008b443
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x1c]
sub ecx, dword [rbx + 0x48]
lea eax, [r14 + rcx]
cmp eax, r8d
jbe 0x14008b435
sub r8d, ecx
jmp 0x14008b438
mov r8d, r14d
add rcx, rdx
mov rdx, r15
call fcn.14008cd5c
test dword [rbx + 0x10], 0x200
je 0x14008b45d
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
mov rdx, r15
call fcn.14008c9e4
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 0x14008b4ff
mov dword [rbx + 0x48], r8d
mov dword [rbx], 6
test dword [rbx + 0x10], 0x800
je 0x14008b508
test r12d, r12d
je 0x14008b4ff
mov r14d, r8d
jmp 0x14008b49c
mov r15, qword [rbp - 0x18]
mov eax, r14d
inc r14d
movzx r15d, byte [rax + r15]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b4c8
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14008b4c8
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x14008b4c8
mov byte [rcx + rdx], r15b
inc dword [rbx + 0x48]
test r15d, r15d
je 0x14008b4d2
cmp r14d, r12d
jb 0x14008b498
test dword [rbx + 0x10], 0x200
je 0x14008b4f0
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
call fcn.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r12d, r14d
add qword [rbp - 0x18], rax
test r15d, r15d
je 0x14008b515
mov r15d, dword [rbp + 0x48]
jmp 0x14008b9ae
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b515
mov qword [rax + 0x20], r8
mov dword [rbx + 0x48], r8d
mov dword [rbx], 7
jmp 0x14008b672
cmp dword [rbx + 8], eax
jne 0x14008b534
mov dword [rbx], InitCommonControls
jmp 0x14008b15b
mov ecx, InitCommonControls
cmp edi, ecx
jae 0x14008b56b
test r12d, r12d
je 0x14008b9a7
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 0x14008b53d
test byte [rbx + 8], 2
je 0x14008b5be
cmp esi, 0x8b1f
jne 0x14008b5be
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14008c9e4
lea rdx, [rbp - 0x28]
mov r8d, 2
mov dword [rbx + 0x18], eax
mov word [rbp - 0x28], si
mov ecx, dword [rbx + 0x18]
call fcn.14008c9e4
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 0x14008b153
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b5ce
or dword [rax + 0x40], 0xffffffff
test byte [rbx + 8], 1
je 0x14008b662
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 0x14008b65e
mov eax, esi
and al, 0xf
cmp al, 8
jne 0x14008b65e
shr esi, 4
xor eax, eax
add edi, 0xfffffffc
mov ecx, esi
and ecx, 0xf
add ecx, 8
cmp dword [rbx + 0x28], eax
jne 0x14008b64e
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.14008ca78
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 0x14008b5a7
cmp ecx, dword [rbx + 0x28]
jbe 0x14008b61f
mov dword [rbx], 0x1d
jmp 0x14008b157
lea rdx, [rbx + 0x6c]
mov dword [rbx], 0x1d
xor eax, eax
jmp 0x14008b15b
xor r8d, r8d
test dword [rbx + 0x10], 0x1000
je 0x14008b6f7
test r12d, r12d
je 0x14008b4ff
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 0x14008b6bb
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14008b6bb
mov ecx, dword [rbx + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x14008b6b7
mov byte [rcx + rdx], r15b
inc dword [rbx + 0x48]
mov rcx, qword [rbp - 0x18]
test r15d, r15d
je 0x14008b6c5
cmp r14d, r12d
jb 0x14008b68b
test dword [rbx + 0x10], 0x200
je 0x14008b6e2
mov rdx, rcx
mov ecx, dword [rbx + 0x18]
mov r8d, r14d
call fcn.14008c9e4
xor r8d, r8d
mov dword [rbx + 0x18], eax
mov eax, r14d
sub r12d, r14d
add qword [rbp - 0x18], rax
test r15d, r15d
jne 0x14008b4ff
jmp 0x14008b704
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14008b704
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 0x14008ba71
jmp 0x14008ba56
sub ecx, 8
je 0x14008b726
dec ecx
je 0x14008b842
dec ecx
je 0x14008b8a2
dec ecx
je 0x14008b8dc
dec ecx
je 0x14008b8f0
dec ecx
je 0x14008b77b
dec ecx
je 0x14008b7d5
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 0x14008b7a5
test r12d, r12d
je 0x14008b9a7
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 0x14008b785
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
jne 0x14008b662
xor eax, eax
mov dword [rbx + 0x48], ecx
mov dword [rbx], InitCommonControls
mov esi, eax
mov edi, eax
cmp r14d, 6
je 0x14008b9a7
mov dword [rbx], InitCommonControls
xor eax, eax
mov r14d, dword [rbx + 0x48]
test r14d, r14d
je 0x14008bac3
cmp r14d, r12d
cmova r14d, r12d
cmp r14d, r9d
cmova r14d, r9d
xor r8d, r8d
test r14d, r14d
je 0x14008b4ff
mov r8d, r14d
mov rdx, r15
mov rcx, r10
call fcn.14008cd5c
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 0x14008bab2
xor r8d, r8d
cmp edi, 0x20
jae 0x14008b86c
test r12d, r12d
je 0x14008b4ff
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 0x14008b845
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 0x14008b8a5
xor r8d, r8d
cmp dword [rbx + 0xc], r8d
je 0x14008c59c
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14008ca78
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 0x14008b9a7
cmp r14d, 6
je 0x14008b9a7
xor eax, eax
cmp dword [rbx + 4], eax
je 0x14008b92b
mov ecx, edi
mov dword [rbx], 0x1a
and ecx, 7
shr esi, cl
sub edi, ecx
jmp 0x14008b15b
test r12d, r12d
je 0x14008b9a7
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 0x14008b90b
mov eax, esi
shr esi, 1
dec edi
and eax, 1
mov dword [rbx + 4], eax
mov eax, esi
and eax, 3
je 0x14008ba25
dec eax
je 0x14008b96e
dec eax
je 0x14008b962
dec eax
jne 0x14008ba2b
mov dword [rbx], 0x1d
jmp 0x14008ba2b
mov eax, InitCommonControls
mov dword [rbx], eax
jmp 0x14008ba2b
lea rax, [0x140115490]
mov dword [r11], 9
mov dword [rdx], 5
mov qword [rbx + 0x58], rax
lea rax, [0x140115c90]
mov dword [rbx], 0x13
mov qword [rbx + 0x60], rax
cmp r14d, 6
jne 0x14008ba2b
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 0x14008b9fc
cmp edi, dword [r13 + 0x18]
je 0x14008c5ed
cmp dword [rbx], 0x1d
jge 0x14008c5ed
cmp dword [rbx], 0x1a
jl 0x14008b9fc
cmp esi, 4
je 0x14008c5ed
mov rdx, qword [r13 + 0x10]
mov r8d, edi
mov rcx, r13
sub r8d, dword [r13 + 0x18]
call fcn.14008c8cc
xor r8d, r8d
test eax, eax
je 0x14008c5ed
mov dword [rbx], 0x1e
jmp 0x14008c5d0
mov dword [rbx], InitCommonControls
shr esi, 2
add edi, 0xfffffffe
jmp 0x14008b668
test r12d, r12d
je 0x14008b9a7
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 0x14008ba36
movzx eax, word [rbx + 0x18]
cmp esi, eax
jne 0x14008b662
xor eax, eax
mov esi, eax
mov edi, eax
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14008ba91
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.14008c9e4
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 0x14008b668
mov r14d, dword [rbp + 0x50]
mov dword [rbx], 0xb
jmp 0x14008b15b
cmp ecx, 0x17
jg 0x14008c3cd
je 0x14008c333
sub ecx, 0x10
je 0x14008bb3e
dec ecx
je 0x14008bb96
dec ecx
je 0x14008bc77
dec ecx
je 0x14008bf6d
dec ecx
je 0x14008bf73
dec ecx
je 0x14008c172
dec ecx
jne 0x14008b765
xor r8d, r8d
jmp 0x14008c1cf
test r12d, r12d
je 0x14008b9a7
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 0x14008bb1e
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 0x14008c33c
cmp edx, 0x1e
ja 0x14008c33c
xor r8d, r8d
mov dword [rbx + 0x7c], r8d
lea eax, [r8 + 0x11]
mov dword [rbx], eax
jmp 0x14008bb99
xor r8d, r8d
mov eax, dword [rbx + 0x70]
mov edx, 7
lea r9, [0x140115d10]
cmp dword [rbx + 0x7c], eax
jae 0x14008bc11
jmp 0x14008bbcf
test r12d, r12d
je 0x14008b4ff
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 0x14008bbaf
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 0x14008bbcf
jmp 0x14008bc11
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 0x14008bbfd
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.14008e704
xor r8d, r8d
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14008bc67
mov dword [rbx], 0x1d
jmp 0x14008baaa
mov dword [rbx + 0x7c], r8d
mov dword [rbx], 0x12
lea r11, [rbx + 0x68]
jmp 0x14008bc7a
xor r8d, r8d
mov eax, dword [rbx + 0x78]
mov r10d, dword [rbx + 0x7c]
add eax, dword [rbx + 0x74]
cmp r10d, eax
jae 0x14008be70
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 0x14008bcf9
test r12d, r12d
je 0x14008b4ff
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 0x14008bcaf
mov edx, eax
mov ecx, InitCommonControls
shr edx, 0x10
cmp dx, cx
jae 0x14008bd25
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 0x14008bc7a
jne 0x14008bd87
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x14008bd52
test r12d, r12d
je 0x14008b4ff
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 0x14008bd32
movzx ecx, byte [rbp - 0x23]
shr esi, cl
sub edi, ecx
test r10d, r10d
je 0x14008be57
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 0x14008be29
movzx r8d, byte [rbp - 0x23]
mov eax, reloc.COMCTL32.dll_InitCommonControls
cmp word [rbp - 0x22], ax
jne 0x14008bddd
lea edx, [r8 + 3]
jmp 0x14008bdbd
test r12d, r12d
je 0x14008b9a7
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 0x14008bd9d
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 0x14008be21
lea edx, [r8 + 7]
jmp 0x14008be03
test r12d, r12d
je 0x14008b9a7
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 0x14008bde3
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 0x14008be6a
test edx, edx
je 0x14008bc7a
mov eax, dword [rbx + 0x7c]
mov word [rbx + rax*2 + 0x88], r9w
inc dword [rbx + 0x7c]
dec edx
jne 0x14008be3f
jmp 0x14008bc7a
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx], 0x1d
jmp 0x14008bab6
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 0x14008b15b
cmp word [rbx + 0x288], ax
jne 0x14008bea2
mov dword [rbx], 0x1d
jmp 0x14008b157
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.14008e704
mov dword [rbp + 0x48], eax
test eax, eax
je 0x14008bf05
mov r15, qword [rbp - 0x18]
mov r9d, dword [rbp + 0x58]
mov r10, qword [rbp - 0x10]
mov dword [rbx], 0x1d
jmp 0x14008b839
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.14008e704
xor r8d, r8d
mov r15d, eax
mov dword [rbp + 0x48], eax
test eax, eax
jne 0x14008beee
mov r14d, dword [rbp + 0x50]
mov dword [rbx], 0x13
cmp r14d, 6
je 0x14008b9ae
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 0x14008bfeb
cmp r9d, 0x102
jb 0x14008bfeb
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.14008eb8c
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 0x14008b15b
or dword [rbx + 0x1bdc], 0xffffffff
jmp 0x14008b153
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 0x14008c049
test r12d, r12d
je 0x14008b4ff
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 0x14008c010
test al, al
je 0x14008c120
test al, 0xf0
jne 0x14008c120
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 0x14008c10a
xor r8d, r8d
test r12d, r12d
je 0x14008b4ff
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 0x14008c0ac
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 0x14008c149
mov dword [rbx], 0x19
jmp 0x14008baaa
test al, 0x20
je 0x14008c159
or dword [rbx + 0x1bdc], 0xffffffff
jmp 0x14008baa4
test al, 0x40
jne 0x14008bc5c
movzx ecx, al
mov dword [rbx], 0x15
and ecx, 0xf
mov dword [rbx + 0x50], ecx
jmp 0x14008c175
xor r8d, r8d
mov edx, dword [rbx + 0x50]
test edx, edx
je 0x14008c1bc
jmp 0x14008c19e
test r12d, r12d
je 0x14008b4ff
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 0x14008c17e
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 0x14008c222
test r12d, r12d
je 0x14008b4ff
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 0x14008c1ea
test al, 0xf0
jne 0x14008c2f2
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 0x14008c2db
xor r8d, r8d
test r12d, r12d
je 0x14008b4ff
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 0x14008c27d
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 0x14008b662
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 0x14008c385
jmp 0x14008c367
mov dword [rbx], 0x1d
jmp 0x14008baba
test r12d, r12d
je 0x14008b9a7
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 0x14008c347
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 0x14008b9a7
mov ecx, dword [rbx + 0x4c]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x14008c54f
sub ecx, eax
cmp ecx, dword [rbx + 0x30]
jbe 0x14008c52e
xor eax, eax
cmp dword [rbx + 0x1bd8], eax
je 0x14008c52e
mov dword [rbx], 0x1d
jmp 0x14008b15b
sub ecx, 0x18
je 0x14008c38f
dec ecx
je 0x14008c506
dec ecx
je 0x14008c3ed
dec ecx
jne 0x14008c5bc
xor eax, eax
jmp 0x14008c4b2
xor eax, eax
cmp dword [rbx + 8], eax
je 0x14008c4ac
jmp 0x14008c41f
test r12d, r12d
je 0x14008b9a7
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 0x14008c3fa
sub r8d, r9d
add dword [r13 + 0x1c], r8d
add dword [rbx + 0x1c], r8d
test r8d, r8d
je 0x14008c46b
cmp dword [rbx + 0x10], eax
mov ecx, dword [rbx + 0x18]
mov rdx, r10
mov eax, r8d
je 0x14008c44c
sub rdx, rax
call fcn.14008c9e4
jmp 0x14008c454
sub rdx, rax
call fcn.14008ca78
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 0x14008c3c2
mov esi, eax
mov edi, eax
mov dword [rbx], 0x1b
cmp dword [rbx + 8], eax
je 0x14008c4f5
cmp dword [rbx + 0x10], eax
je 0x14008c4f5
jmp 0x14008c4e3
test r12d, r12d
je 0x14008b9a7
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 0x14008c4be
cmp esi, dword [rbx + 0x1c]
jne 0x14008c3c2
mov esi, eax
mov edi, eax
mov dword [rbx], 0x1c
mov r15d, 1
jmp 0x14008b9ab
test r9d, r9d
je 0x14008c5e5
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 0x14008b668
mov eax, dword [rbx + 0x34]
cmp ecx, eax
jbe 0x14008c53e
mov edx, dword [rbx + 0x2c]
sub ecx, eax
sub edx, ecx
jmp 0x14008c542
sub eax, ecx
mov edx, eax
mov eax, dword [rbx + 0x48]
add rdx, qword [rbx + 0x38]
cmp ecx, eax
jbe 0x14008c55a
jmp 0x14008c558
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 0x14008c570
xor eax, eax
mov qword [rbp - 0x10], r10
lea rdx, [rbx + 0x6c]
cmp dword [rbx + 0x48], eax
jne 0x14008b15b
mov dword [rbx], 0x14
jmp 0x14008b157
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 0x14008b76a
dec ecx
je 0x14008c4fb
dec ecx
je 0x14008c5da
dec ecx
jne 0x14008b765
mov eax, 0xfffffffc
jmp 0x14008b76a
mov r15d, 0xfffffffd
jmp 0x14008b9ab
xor r8d, r8d
jmp 0x14008b4ff
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 0x14008c641
test edi, edi
je 0x14008c641
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 0x14008c62e
call fcn.14008c9e4
jmp 0x14008c633
call fcn.14008ca78
mov r9d, dword [rbp - 0x20]
mov dword [rbx + 0x18], eax
xor r8d, r8d
mov dword [r13 + 0x4c], eax
cmp dword [rbx], 0x13
je 0x14008c64b
cmp dword [rbx], 0xe
jne 0x14008c651
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 0x14008c682
test edi, edi
je 0x14008c687
cmp esi, 4
jne 0x14008c693
mov eax, 0xfffffffb
test r15d, r15d
cmove r15d, eax
mov eax, r15d
jmp 0x14008b76a