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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
push r13
push r15
sub rsp, 0x108
mov r15, qword [rcx + 0x10]
xor r8d, r8d
mov qword [rax - 0x28], rbp
mov qword [rax - 0x30], rsi
mov qword [rax - 0x38], r12
or r12d, 0xffffffff
cmp dword [rsp + 0x160], r8d
mov qword [rax - 0x40], r14
mov r14, qword [rcx]
setne r13b
test r15, r15
mov rdi, rdx
mov rbp, rcx
mov dword [rsp + 0x78], r8d
mov dword [rsp + 0x74], r8d
mov byte [rsp + 0x50], r13b
mov dword [rsp + 0x98], r8d
mov byte [rsp + 0x58], r8b
mov dword [rsp + 0xa8], r12d
mov qword [rsp + 0xa0], r15
jne 0x140059dc6
call fcn.140019700
test rax, rax
mov r15, rax
mov qword [rsp + 0xa0], rax
mov qword [rbp + 0x10], rax
je 0x140059db5
mov rcx, qword [rax + 0x30]
movsxd rbx, dword [rax + 0x3c]
cmp dword [rcx + 0x60], ebx
jg 0x140059d7c
lea edx, [r12 + 2]
mov rcx, rax
call fcn.1400214c0
test eax, eax
jne 0x140059db0
add dword [r15 + 0x3c], 1
mov rax, qword [r15 + 8]
lea rcx, [rbx + rbx*2]
xor r8d, r8d
mov byte [rax + rcx*8], 0x9e
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
jmp 0x140059db8
xor r8d, r8d
jmp 0x140059db8
xor r8d, r8d
cmp qword [rbp + 0x1b8], 0
jne 0x140059dc6
mov byte [rbp + 0x23], 1
test byte [rdi + 0x3e], 0x20
movsx rcx, word [rdi + 0x36]
jne 0x140059de4
mov eax, 1
mov qword [rsp + 0x80], r8
mov dword [rsp + 0x6c], eax
jmp 0x140059e17
mov rdx, qword [rdi + 0x10]
test rdx, rdx
mov qword [rsp + 0x80], rdx
je 0x140059e0f
mov eax, dword [rdx + 0x5c]
and al, 3
cmp al, 2
je 0x140059e07
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x140059df5
mov qword [rsp + 0x80], rdx
movzx eax, word [rdx + 0x56]
mov dword [rsp + 0x6c], eax
test ecx, ecx
movzx edx, byte [rsp + 0x170]
mov esi, r8d
mov r9d, 2
jle 0x14005a126
mov r13, rcx
mov r12, r8
nop
nop
nop
movsx eax, word [rdi + 0x34]
cmp esi, eax
je 0x14005a105
mov rax, qword [rdi + 8]
movzx ebx, byte [r12 + rax + 0x28]
test ebx, ebx
je 0x14005a105
cmp dl, 0xa
je 0x140059ec0
movzx ebx, dl
cmp ebx, 5
jne 0x140059e75
cmp qword [r12 + rax + 8], 0
cmove ebx, r9d
mov ecx, ebx
sub ecx, 1
je 0x140059fcc
sub ecx, 1
je 0x140059fc8
sub ecx, 1
je 0x140059fcc
cmp ecx, 1
je 0x140059f58
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x140059ecd
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
je 0x140059eca
mov ebx, 1
jmp 0x140059f06
cmp ebx, 0xa
jne 0x140059e66
mov ebx, r9d
jmp 0x140059e75
xor r8d, r8d
mov rcx, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov eax, dword [rsp + 0x158]
lea rdx, [rbx + rbx*2]
lea eax, [rsi + rax + 1]
mov dword [rcx + rdx*8 + 4], eax
mov byte [rcx + rdx*8], 0x4d
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], r8d
mov dword [rcx + rdx*8 + 0xc], r8d
mov qword [rcx + rdx*8 + 0x10], r8
mov byte [rcx + rdx*8 + 1], 0
mov rdx, qword [rdi + 8]
mov eax, dword [rsp + 0x158]
mov rcx, rbp
mov rdx, qword [r12 + rdx + 8]
lea r8d, [rsi + rax + 1]
call fcn.14004f580
mov r11d, dword [r15 + 0x3c]
cmp r11d, ebx
jbe 0x140059f3b
mov eax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
mov dword [rax + rcx*8 + 8], r11d
mov ecx, dword [r15 + 0x3c]
mov rax, qword [r15 + 0x30]
mov dl, byte [rsp + 0x170]
sub ecx, 1
xor r8d, r8d
mov dword [rax + 0x64], ecx
jmp 0x14005a105
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x140059f7d
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005a0fb
xor r8d, r8d
mov rcx, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov eax, dword [rsp + 0x158]
lea rdx, [rbx + rbx*2]
lea eax, [rsi + rax + 1]
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rsp + 0x178]
mov byte [rcx + rdx*8], 0x4c
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 0xc], r8d
mov qword [rcx + rdx*8 + 0x10], r8
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8 + 1], 0
mov dl, byte [rsp + 0x170]
jmp 0x14005a105
mov byte [rbp + 0x21], 1
mov r9, qword [rdi + 8]
mov r8, qword [rdi]
lea rdx, str._s._s
mov r9, qword [r12 + r9]
mov rcx, r14
call fcn.140034e20
mov rcx, qword [r15 + 0x30]
movsxd rdi, dword [r15 + 0x3c]
cmp dword [rcx + 0x60], edi
mov rbp, rax
jg 0x14005a00e
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
je 0x14005a00e
mov edi, 1
jmp 0x14005a04d
mov rcx, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov eax, dword [rsp + 0x158]
lea rdx, [rdi + rdi*2]
lea eax, [rsi + rax + 1]
mov dword [rcx + rdx*8 + 0xc], eax
mov byte [rcx + rdx*8], 0x15
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], 0x513
mov dword [rcx + rdx*8 + 8], ebx
mov qword [rcx + rdx*8 + 0x10], 0
mov byte [rcx + rdx*8 + 1], 0
mov rbx, qword [r15 + 8]
mov rcx, qword [r15]
test rbx, rbx
je 0x14005a0a5
cmp byte [rcx + 0x51], 0
jne 0x14005a0a5
test edi, edi
jns 0x14005a06a
mov edi, dword [r15 + 0x3c]
sub edi, 1
movsxd rax, edi
lea rdi, [rax + rax*2]
movsx edx, byte [rbx + rdi*8 + 1]
mov r8, qword [rbx + rdi*8 + 0x10]
call fcn.1400255f0
xor r8d, r8d
test rbp, rbp
mov qword [rbx + rdi*8 + 0x10], r8
jne 0x14005a099
mov qword [rbx + rdi*8 + 0x10], r8
mov byte [rbx + rdi*8 + 1], r8b
jmp 0x14005a0b3
mov qword [rbx + rdi*8 + 0x10], rbp
mov byte [rbx + rdi*8 + 1], 0xff
jmp 0x14005a0b3
mov r8, rbp
or edx, 0xffffffff
call fcn.1400255f0
xor r8d, r8d
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x14005a0e2
movsxd rax, dword [r15 + 0x3c]
mov rbp, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x138]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
mov dl, byte [rsp + 0x170]
jmp 0x14005a105
mov rbp, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x138]
mov dl, byte [rsp + 0x170]
jmp 0x14005a105
mov dl, byte [rsp + 0x170]
xor r8d, r8d
add esi, 1
add r12, 0x30
sub r13, 1
mov r9d, 2
jne 0x140059e40
movzx r13d, byte [rsp + 0x50]
or r12d, 0xffffffff
cmp byte [rsp + 0x168], 0
je 0x14005a52f
cmp qword [rsp + 0x80], 0
jne 0x14005a525
mov rdi, qword [r15 + 0x30]
movsxd rbx, dword [rdi + 0x78]
lea eax, [rbx + 1]
mov dword [rdi + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x14005a179
mov rdx, qword [rdi + 0x80]
mov rcx, qword [rdi]
lea eax, [rbx + rbx + 1]
movsxd r8, eax
shl r8, 2
call fcn.140022050
mov qword [rdi + 0x80], rax
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x14005a189
mov dword [rcx + rbx*4], r12d
mov r14b, byte [rsp + 0x170]
mov esi, r12d
mov r12, qword [rsp + 0x138]
sub esi, ebx
cmp r14b, 0xa
movzx ebx, byte [r12 + 0x3f]
je 0x14005a1b0
movzx ebx, r14b
jmp 0x14005a1bb
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
test r13b, r13b
je 0x14005a244
mov rax, qword [r15 + 0x30]
movsxd rdi, dword [r15 + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14005a1e2
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005a224
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov r13d, dword [rsp + 0x158]
mov edx, dword [rsp + 0x160]
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 0x4f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
jmp 0x14005a22c
mov r13d, dword [rsp + 0x158]
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x14005a24c
movsxd rax, dword [r15 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
jmp 0x14005a24c
mov r13d, dword [rsp + 0x158]
cmp ebx, 5
jne 0x14005a2e2
cmp r14b, bl
je 0x14005a2e2
mov rax, qword [r12 + 0x10]
test rax, rax
je 0x14005a2e2
nop
nop
movzx ecx, byte [rax + 0x5a]
cmp cl, 4
je 0x14005a289
cmp cl, 3
je 0x14005a289
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14005a270
jmp 0x14005a2e2
movsxd rdi, dword [r15 + 0x3c]
mov rax, qword [r15 + 0x30]
cmp dword [rax + 0x60], edi
mov dword [rsp + 0x74], edi
jg 0x14005a2b5
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
je 0x14005a2b5
mov dword [rsp + 0x74], 1
jmp 0x14005a2e2
add dword [r15 + 0x3c], 1
mov rax, qword [r15 + 8]
lea rcx, [rdi + rdi*2]
xor edx, edx
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [r15 + 0x30]
movsxd rdi, dword [r15 + 0x3c]
cmp dword [rax + 0x60], edi
jg 0x14005a300
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005a339
add dword [r15 + 0x3c], 1
mov rax, qword [r15 + 8]
mov edx, dword [rsp + 0x148]
lea rcx, [rdi + rdi*2]
mov dword [rax + rcx*8 + 0xc], r13d
xor r13d, r13d
mov byte [rax + rcx*8], 0x49
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], r13b
jmp 0x14005a343
mov edx, dword [rsp + 0x148]
xor r13d, r13d
test ebx, ebx
jle 0x14005a3f6
cmp ebx, 3
jle 0x14005a3fd
cmp ebx, 4
je 0x14005a39d
cmp ebx, 5
jne 0x14005a3f6
cmp qword [r12 + 0x10], 0
je 0x14005a390
mov r9d, dword [rsp + 0x150]
mov r8d, edx
mov rcx, rbp
mov rdx, r12
mov byte [rbp + 0x20], 1
mov qword [rsp + 0x20], r13
call fcn.140054c80
nop
nop
mov dword [rsp + 0x78], 1
jmp 0x14005a468
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005a3bf
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005a468
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov edx, dword [rsp + 0x178]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
jmp 0x14005a468
mov eax, 2
mov ebx, eax
movzx eax, word [r12 + 0x34]
test ax, ax
js 0x14005a437
mov r9, qword [r12 + 8]
mov r8, qword [r12]
movsx rax, ax
lea rcx, [rax + rax*2]
lea rdx, str._s._s
add rcx, rcx
mov r9, qword [r9 + rcx*8]
mov rcx, qword [rbp]
call fcn.140034e20
mov edx, 0x613
jmp 0x14005a450
mov r8, qword [r12]
mov rcx, qword [rbp]
lea rdx, str._s.rowid
call fcn.140034e20
mov edx, 0xa13
mov r9, rax
mov r8d, ebx
mov rcx, rbp
mov byte [rsp + 0x28], 2
mov byte [rsp + 0x20], 0xff
call fcn.14002a390
mov r8, qword [r15 + 0x30]
or eax, 0xffffffff
sub eax, esi
js 0x14005a489
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005a489
movsxd rcx, eax
mov eax, dword [r15 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r15 + 0x3c]
mov ebx, dword [rsp + 0x74]
sub eax, 1
test ebx, ebx
mov dword [r8 + 0x64], eax
je 0x14005a537
movsxd rdi, dword [r15 + 0x3c]
mov rax, qword [r15 + 0x30]
cmp dword [rax + 0x60], edi
mov dword [rsp + 0x98], edi
jg 0x14005a4d2
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
je 0x14005a4d2
mov dword [rsp + 0x98], 1
jmp 0x14005a501
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
mov edx, dword [r15 + 0x3c]
cmp edx, ebx
jbe 0x14005a515
mov rax, qword [r15 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r15 + 0x3c]
mov rax, qword [r15 + 0x30]
sub ecx, 1
mov dword [rax + 0x64], ecx
jmp 0x14005a537
mov r12, qword [rsp + 0x138]
jmp 0x14005a537
mov r12, qword [rsp + 0x138]
mov r14, qword [r12 + 0x10]
xor r13d, r13d
test r14, r14
mov rax, r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x88], rax
je 0x14005b970
mov rbx, qword [rsp + 0x140]
mov ecx, eax
nop
nop
cmp dword [rbx + rax*4], 0
je 0x14005b948
cmp byte [rsp + 0x58], 0
jne 0x14005a5a1
mov r8d, dword [rsp + 0x158]
mov rdx, r12
mov rcx, r15
add r8d, 1
call fcn.14002a1f0
mov ecx, dword [rsp + 0x60]
mov byte [rsp + 0x58], 1
mov r12, qword [r15 + 0x30]
mov eax, dword [rsp + 0x150]
movsxd r13, dword [r12 + 0x78]
add eax, ecx
mov dword [rsp + 0x70], eax
lea eax, [r13 + 1]
mov dword [r12 + 0x78], eax
lea eax, [r13 - 1]
test r13d, eax
jne 0x14005a72e
mov rbp, qword [r12]
mov rsi, qword [r12 + 0x80]
lea eax, [r13 + r13 + 1]
movsxd rdi, eax
xor ebx, ebx
shl rdi, 2
cmp byte [rbp + 0x51], bl
jne 0x14005a6a2
test rsi, rsi
jne 0x14005a682
test rdi, rdi
je 0x14005a674
cmp rdi, 0x7fffff00
jae 0x14005a674
cmp dword [0x1400bf010], ebx
je 0x14005a656
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a621
call qword [0x1400bf098]
lea rdx, [rsp + 0xc0]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a64c
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0xc0]
jmp 0x14005a669
mov rbx, qword [rsp + 0xc0]
jmp 0x14005a669
mov ecx, edi
call qword [0x1400bf038]
mov rbx, rax
mov qword [rsp + 0xc0], rax
test rbx, rbx
jne 0x14005a6a2
mov byte [rbp + 0x51], 1
jmp 0x14005a6a2
mov qword [rsp + 0xc0], rbx
mov byte [rbp + 0x51], 1
jmp 0x14005a6a2
call fcn.140047020
test eax, eax
jne 0x14005a69e
mov rdx, rdi
mov rcx, rsi
call fcn.140015db0
test rax, rax
mov rbx, rax
jne 0x14005a6a2
mov byte [rbp + 0x51], 1
test rbx, rbx
jne 0x14005a71e
test rsi, rsi
je 0x14005a71e
cmp qword [rbp + 0x2c0], rbx
je 0x14005a6c2
mov rdx, rsi
mov rcx, rbp
call fcn.140011800
jmp 0x14005a71e
cmp dword [0x1400bf010], 0
je 0x14005a715
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a6dd
call qword [0x1400bf098]
mov rcx, rsi
call qword [0x1400bf050]
sub qword [0x1400c5018], 1
movsxd rcx, eax
sub qword [0x1400c4fd0], rcx
mov rcx, rsi
call qword [0x1400bf040]
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a71e
call qword [0x1400bf0a8]
jmp 0x14005a71e
mov rcx, rsi
call qword [0x1400bf040]
mov qword [r12 + 0x80], rbx
mov rbx, qword [rsp + 0x140]
mov rcx, qword [r12 + 0x80]
test rcx, rcx
je 0x14005a745
or r9d, 0xffffffff
mov dword [rcx + r13*4], r9d
jmp 0x14005a749
or r9d, 0xffffffff
mov eax, r9d
sub eax, r13d
cmp qword [r14 + 0x48], 0
mov dword [rsp + 0x64], eax
je 0x14005aacc
mov r12, qword [r15 + 0x30]
mov rax, qword [rsp + 0x88]
movsxd r13, dword [r15 + 0x3c]
cmp dword [r12 + 0x60], r13d
mov r14d, dword [rbx + rax*4]
jg 0x14005a89b
mov eax, dword [r12 + 0x60]
test eax, eax
je 0x14005a78a
add eax, eax
jmp 0x14005a78f
mov eax, 0x2a
mov rbp, qword [r12]
mov rsi, qword [r15 + 8]
cdqe
lea rdi, [rax + rax*2]
xor ebx, ebx
shl rdi, 3
cmp byte [rbp + 0x51], bl
jne 0x14005a85e
test rsi, rsi
jne 0x14005a83e
test rdi, rdi
je 0x14005a830
cmp rdi, 0x7fffff00
jae 0x14005a830
cmp dword [0x1400bf010], ebx
je 0x14005a812
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a7dd
call qword [0x1400bf098]
lea rdx, [rsp + 0xb0]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a808
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0xb0]
jmp 0x14005a825
mov rbx, qword [rsp + 0xb0]
jmp 0x14005a825
mov ecx, edi
call qword [0x1400bf038]
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rbx, rbx
jne 0x14005a85e
mov byte [rbp + 0x51], 1
jmp 0x14005a85e
mov qword [rsp + 0xb0], rbx
mov byte [rbp + 0x51], 1
jmp 0x14005a85e
call fcn.140047020
test eax, eax
jne 0x14005a85a
mov rdx, rdi
mov rcx, rsi
call fcn.140015db0
test rax, rax
mov rbx, rax
jne 0x14005a85e
mov byte [rbp + 0x51], 1
test rbx, rbx
je 0x14005a8ca
cmp qword [r12], 0
jne 0x14005a875
mov rcx, rbx
call qword [0x1400bf050]
jmp 0x14005a87e
mov rcx, rbx
call qword [0x1400bf050]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [r12 + 0x60], edx
mov qword [r15 + 8], rbx
add dword [r15 + 0x3c], 1
mov rax, qword [r15 + 8]
lea rcx, [r13 + r13*2]
xor edx, edx
mov byte [rax + rcx*8], 0x1a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rsi, qword [rsp + 0x130]
mov ebp, dword [rsp + 0x158]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsi]
lea eax, [rbp + 1]
xor r9d, r9d
mov dword [rsi + 0x68], eax
mov rdx, qword [r14 + 0x48]
xor r8d, r8d
mov rcx, rdi
call fcn.14001cca0
cmp byte [rdi + 0x51], 0
mov rbx, rax
jne 0x14005a91b
mov r8d, dword [rsp + 0x64]
mov r9d, InitCommonControls
mov rdx, rax
mov rcx, rsi
call fcn.14004ac30
test rbx, rbx
je 0x14005aabf
bt dword [rbx + 4], 0xe
jb 0x14005aa28
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140014240
mov rdx, qword [rbx + 0x18]
mov rcx, rdi
call fcn.140014240
bt dword [rbx + 4], 0x10
jae 0x14005aa01
mov rsi, qword [rbx + 8]
test rsi, rsi
je 0x14005a9f9
cmp qword [rdi + 0x2c0], 0
je 0x14005a981
mov rdx, rsi
mov rcx, rdi
call fcn.140011800
mov rsi, qword [rsp + 0x130]
jmp 0x14005aa01
cmp dword [0x1400bf010], 0
je 0x14005a9dc
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a99c
call qword [0x1400bf098]
mov rcx, rsi
call qword [0x1400bf050]
sub qword [0x1400c5018], 1
movsxd rcx, eax
sub qword [0x1400c4fd0], rcx
mov rcx, rsi
call qword [0x1400bf040]
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005a9ef
call qword [0x1400bf0a8]
mov rsi, qword [rsp + 0x130]
jmp 0x14005aa01
mov rcx, rsi
call qword [0x1400bf040]
mov rsi, qword [rsp + 0x130]
jmp 0x14005aa01
mov rsi, qword [rsp + 0x130]
jmp 0x14005aa01
mov rsi, qword [rsp + 0x130]
bt dword [rbx + 4], 0xb
jae 0x14005aa1c
mov rdx, qword [rbx + 0x20]
mov r8d, 1
mov rcx, rdi
call fcn.14001b8c0
jmp 0x14005aa28
mov rdx, qword [rbx + 0x20]
mov rcx, rdi
call fcn.140013fb0
bt dword [rbx + 4], 0xf
jb 0x14005aabf
cmp qword [rdi + 0x2c0], 0
je 0x14005aa58
mov rdx, rbx
mov rcx, rdi
call fcn.140011800
mov dword [rsi + 0x68], 0
or r9d, 0xffffffff
jmp 0x14005aadb
cmp dword [0x1400bf010], 0
je 0x14005aab6
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005aa73
call qword [0x1400bf098]
mov rcx, rbx
call qword [0x1400bf050]
sub qword [0x1400c5018], 1
movsxd rcx, eax
sub qword [0x1400c4fd0], rcx
mov rcx, rbx
call qword [0x1400bf040]
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005aabf
call qword [0x1400bf0a8]
mov dword [rsi + 0x68], 0
or r9d, 0xffffffff
jmp 0x14005aadb
mov rcx, rbx
call qword [0x1400bf040]
mov dword [rsi + 0x68], 0
or r9d, 0xffffffff
jmp 0x14005aadb
mov rsi, qword [rsp + 0x130]
mov ebp, dword [rsp + 0x158]
movzx ecx, word [r14 + 0x58]
mov edx, dword [rsi + 0x44]
mov r12d, dword [rsi + 0x48]
cmp ecx, edx
mov dword [rsp + 0x54], r12d
jg 0x14005aafe
lea eax, [rcx + r12]
sub edx, ecx
mov dword [rsi + 0x48], eax
mov dword [rsi + 0x44], edx
jmp 0x14005ab0f
mov eax, dword [rsi + 0x54]
lea r12d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x54], r12d
mov dword [rsi + 0x54], eax
xor r8d, r8d
cmp word [r14 + 0x58], r8w
mov dword [rsp + 0x5c], r8d
jbe 0x14005ad41
xor ecx, ecx
mov r13d, r12d
mov qword [rsp + 0xd0], rcx
nop
mov rax, qword [r14 + 8]
movsx ecx, word [rcx + rax]
test ecx, ecx
js 0x14005ab56
mov rax, qword [rsp + 0x138]
movsx eax, word [rax + 0x34]
cmp ecx, eax
je 0x14005ab56
lea eax, [rcx + rbp + 1]
mov dword [rsp + 0x68], eax
jmp 0x14005ab7b
cmp dword [rsp + 0xa8], r13d
je 0x14005ad05
cmp qword [r14 + 0x48], 0
mov eax, r13d
mov dword [rsp + 0x68], ebp
cmovne eax, r9d
mov dword [rsp + 0xa8], eax
mov r12, qword [r15 + 0x30]
movsxd r14, dword [r15 + 0x3c]
cmp dword [r12 + 0x60], r14d
jg 0x14005acb5
mov eax, dword [r12 + 0x60]
test eax, eax
je 0x14005ab9b
add eax, eax
jmp 0x14005aba0
mov eax, 0x2a
mov rbp, qword [r12]
mov rsi, qword [r15 + 8]
cdqe
lea rdi, [rax + rax*2]
xor ebx, ebx
shl rdi, 3
cmp byte [rbp + 0x51], bl
jne 0x14005ac6f
test rsi, rsi
jne 0x14005ac4f
test rdi, rdi
je 0x14005ac41
cmp rdi, 0x7fffff00
jae 0x14005ac41
cmp dword [0x1400bf010], ebx
je 0x14005ac23
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005abee
call qword [0x1400bf098]
lea rdx, [rsp + 0xb8]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005ac19
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0xb8]
jmp 0x14005ac36
mov rbx, qword [rsp + 0xb8]
jmp 0x14005ac36
mov ecx, edi
call qword [0x1400bf038]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test rbx, rbx
jne 0x14005ac6f
mov byte [rbp + 0x51], 1
jmp 0x14005ac6f
mov qword [rsp + 0xb8], rbx
mov byte [rbp + 0x51], 1
jmp 0x14005ac6f
call fcn.140047020
test eax, eax
jne 0x14005ac6b
mov rdx, rdi
mov rcx, rsi
call fcn.140015db0
test rax, rax
mov rbx, rax
jne 0x14005ac6f
mov byte [rbp + 0x51], 1
test rbx, rbx
je 0x14005acf8
cmp qword [r12], 0
jne 0x14005ac8a
mov rcx, rbx
call qword [0x1400bf050]
jmp 0x14005ac93
mov rcx, rbx
call qword [0x1400bf050]
mov r8d, dword [rsp + 0x5c]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [r12 + 0x60], edx
mov qword [r15 + 8], rbx
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov edx, dword [rsp + 0x68]
lea rcx, [r14 + r14*2]
mov r14, qword [rsp + 0x90]
mov byte [rax + rcx*8], 0x20
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], 0
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
jmp 0x14005ad05
mov r8d, dword [rsp + 0x5c]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xd0]
movzx eax, word [r14 + 0x58]
mov ebp, dword [rsp + 0x158]
add r8d, 1
add rcx, 2
add r13d, 1
cmp r8d, eax
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0x5c], r8d
mov r9d, 0xffffffff
jl 0x14005ab30
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x140]
mov r14d, dword [r8 + rax*4]
mov r12, qword [rdx + 0x30]
movsxd r13, dword [rdx + 0x3c]
cmp dword [r12 + 0x60], r13d
mov rax, qword [rsp + 0x90]
movzx r15d, word [rax + 0x58]
jg 0x14005aea3
mov eax, dword [r12 + 0x60]
test eax, eax
je 0x14005ad8a
add eax, eax
jmp 0x14005ad8f
mov eax, 0x2a
mov rbp, qword [r12]
mov rsi, qword [rdx + 8]
cdqe
lea rdi, [rax + rax*2]
xor ebx, ebx
shl rdi, 3
cmp byte [rbp + 0x51], bl
jne 0x14005ae5e
test rsi, rsi
jne 0x14005ae3e
test rdi, rdi
je 0x14005ae30
cmp rdi, 0x7fffff00
jae 0x14005ae30
cmp dword [0x1400bf010], ebx
je 0x14005ae12
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005addd
call qword [0x1400bf098]
lea rdx, [rsp + 0xc8]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005ae08
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0xc8]
jmp 0x14005ae25
mov rbx, qword [rsp + 0xc8]
jmp 0x14005ae25
mov ecx, edi
call qword [0x1400bf038]
mov rbx, rax
mov qword [rsp + 0xc8], rax
test rbx, rbx
jne 0x14005ae5e
mov byte [rbp + 0x51], 1
jmp 0x14005ae5e
mov qword [rsp + 0xc8], rbx
mov byte [rbp + 0x51], 1
jmp 0x14005ae5e
call fcn.140047020
test eax, eax
jne 0x14005ae5a
mov rdx, rdi
mov rcx, rsi
call fcn.140015db0
test rax, rax
mov rbx, rax
jne 0x14005ae5e
mov byte [rbp + 0x51], 1
test rbx, rbx
je 0x14005aedc
cmp qword [r12], 0
jne 0x14005ae75
mov rcx, rbx
call qword [0x1400bf050]
jmp 0x14005ae7e
mov rcx, rbx
call qword [0x1400bf050]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [r12 + 0x60], edx
mov rdx, qword [rsp + 0xa0]
mov qword [rdx + 8], rbx
add dword [rdx + 0x3c], 1
mov rax, qword [rdx + 8]
mov r11d, dword [rsp + 0x54]
lea rcx, [r13 + r13*2]
xor r13d, r13d
mov byte [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r11d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], r13b
jmp 0x14005aee4
mov r11d, dword [rsp + 0x54]
xor r13d, r13d
mov r14, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x130]
mov r8d, 0xa
movzx eax, word [r14 + 0x58]
lea rcx, [rbp + 0x94]
lea r9d, [rax + r11 - 1]
nop
nop
mov edx, dword [rcx]
cmp edx, r11d
jl 0x14005af3c
cmp edx, r9d
jg 0x14005af3c
cmp byte [rcx - 6], 0
je 0x14005af39
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x14005af35
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
add byte [rbp + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
sub r8, 1
jne 0x14005af10
cmp byte [rsp + 0x50], r8b
je 0x14005afb8
cmp qword [rsp + 0x80], r14
jne 0x14005afb8
cmp byte [rsp + 0x168], r8b
jne 0x14005afb8
mov r15, qword [rsp + 0xa0]
or eax, 0xffffffff
sub eax, dword [rsp + 0x64]
mov r8, qword [r15 + 0x30]
js 0x14005af8c
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005af8c
movsxd rcx, eax
mov eax, dword [r15 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r15 + 0x3c]
mov r12, qword [rsp + 0x138]
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x140]
sub eax, 1
mov dword [r8 + 0x64], eax
mov rax, qword [rsp + 0x88]
jmp 0x14005b948
movzx eax, byte [r14 + 0x5a]
test eax, eax
jne 0x14005b07b
movzx r10d, word [r14 + 0x58]
lea rcx, [rbp + 0x94]
lea r8d, [rax + 0xa]
lea r9d, [r10 + r11 - 1]
nop
nop
mov edx, dword [rcx]
cmp edx, r11d
jl 0x14005b00c
cmp edx, r9d
jg 0x14005b00c
cmp byte [rcx - 6], 0
je 0x14005b009
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x14005b005
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
add byte [rbp + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
sub r8, 1
jne 0x14005afe0
cmp r10d, dword [rbp + 0x44]
jle 0x14005b024
mov dword [rbp + 0x44], r10d
mov dword [rbp + 0x48], r11d
mov r15, qword [rsp + 0xa0]
or eax, 0xffffffff
sub eax, dword [rsp + 0x64]
mov r8, qword [r15 + 0x30]
js 0x14005b04f
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005b04f
movsxd rcx, eax
mov eax, dword [r15 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r15 + 0x3c]
mov r12, qword [rsp + 0x138]
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x140]
sub eax, 1
mov dword [r8 + 0x64], eax
mov rax, qword [rsp + 0x88]
jmp 0x14005b948
mov cl, byte [rsp + 0x170]
cmp cl, 0xa
je 0x14005b090
movzx eax, cl
mov dword [rsp + 0x68], eax
jmp 0x14005b09f
cmp eax, 0xa
mov ecx, 2
cmove eax, ecx
mov dword [rsp + 0x68], eax
mov r15, qword [rsp + 0xa0]
movzx r14d, word [r14 + 0x56]
mov r13, qword [r15 + 0x30]
movsxd r12, dword [r15 + 0x3c]
cmp dword [r13 + 0x60], r12d
jg 0x14005b1e3
mov eax, dword [r13 + 0x60]
test eax, eax
je 0x14005b0ca
add eax, eax
jmp 0x14005b0cf
mov eax, 0x2a
mov rbp, qword [r13]
mov rsi, qword [r15 + 8]
cdqe
lea rdi, [rax + rax*2]
xor ebx, ebx
shl rdi, 3
cmp byte [rbp + 0x51], bl
jne 0x14005b19e
test rsi, rsi
jne 0x14005b17e
test rdi, rdi
je 0x14005b170
cmp rdi, 0x7fffff00
jae 0x14005b170
cmp dword [0x1400bf010], ebx
je 0x14005b152
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005b11d
call qword [0x1400bf098]
lea rdx, [rsp + 0xd8]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14005b148
call qword [0x1400bf0a8]
mov rbx, qword [rsp + 0xd8]
jmp 0x14005b165
mov rbx, qword [rsp + 0xd8]
jmp 0x14005b165
mov ecx, edi
call qword [0x1400bf038]
mov rbx, rax
mov qword [rsp + 0xd8], rax
test rbx, rbx
jne 0x14005b19e
mov byte [rbp + 0x51], 1
jmp 0x14005b19e
mov qword [rsp + 0xd8], rbx
mov byte [rbp + 0x51], 1
jmp 0x14005b19e
call fcn.140047020
test eax, eax
jne 0x14005b19a
mov rdx, rdi
mov rcx, rsi
call fcn.140015db0
test rax, rax
mov rbx, rax
jne 0x14005b19e
mov byte [rbp + 0x51], 1
test rbx, rbx
je 0x14005b268
cmp qword [r13], 0
jne 0x14005b1b9
mov rcx, rbx
call qword [0x1400bf050]
jmp 0x14005b1c2
mov rcx, rbx
call qword [0x1400bf050]
mov r11d, dword [rsp + 0x54]
movsxd rcx, eax
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
mov dword [r13 + 0x60], edx
mov qword [r15 + 8], rbx
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov r13d, dword [rsp + 0x70]
mov ebp, dword [rsp + 0x64]
lea rcx, [r12 + r12*2]
mov byte [rax + rcx*8], 0x44
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r11d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
mov rdi, qword [r15 + 8]
mov rcx, qword [r15]
test rdi, rdi
je 0x14005b279
cmp byte [rcx + 0x51], 0
jne 0x14005b279
test r12d, r12d
jns 0x14005b23d
mov r12d, dword [r15 + 0x3c]
sub r12d, 1
movsxd rax, r12d
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.1400255f0
mov qword [rdi + rbx*8 + 0x10], 0
mov dword [rdi + rbx*8 + 0x10], r14d
mov byte [rdi + rbx*8 + 1], 0xf2
jmp 0x14005b286
mov r13d, dword [rsp + 0x70]
mov ebp, dword [rsp + 0x64]
mov r12d, 1
jmp 0x14005b21e
mov r8, r14
mov edx, 0xfffffff2
call fcn.1400255f0
mov r14, qword [rsp + 0x90]
mov r9, qword [rsp + 0x80]
cmp r14, r9
jne 0x14005b2a7
mov r12d, dword [rsp + 0x54]
mov dword [rsp + 0x5c], r12d
jmp 0x14005b2e6
mov rdx, qword [rsp + 0x130]
mov r8d, dword [rsp + 0x6c]
mov ecx, dword [rdx + 0x44]
mov r12d, dword [rdx + 0x48]
cmp r8d, ecx
mov dword [rsp + 0x5c], r12d
jg 0x14005b2d4
lea eax, [r12 + r8]
sub ecx, r8d
mov dword [rdx + 0x48], eax
mov dword [rdx + 0x44], ecx
jmp 0x14005b2e6
mov eax, dword [rdx + 0x54]
lea r12d, [rax + 1]
add eax, r8d
mov dword [rsp + 0x5c], r12d
mov dword [rdx + 0x54], eax
mov dil, byte [rsp + 0x50]
test dil, dil
jne 0x14005b2fb
cmp dword [rsp + 0x68], 5
jne 0x14005b6e1
mov rax, qword [rsp + 0x138]
test byte [rax + 0x3e], 0x20
jne 0x14005b3e0
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005b32b
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005b35d
add dword [r15 + 0x3c], 1
mov rax, qword [r15 + 8]
lea rcx, [rbx + rbx*2]
xor esi, esi
mov byte [rax + rcx*8], 0x71
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], sil
jmp 0x14005b35f
xor esi, esi
test dil, dil
je 0x14005b6cf
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005b386
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005b3ba
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov edx, dword [rsp + 0x160]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x4f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rsi
mov byte [rax + rcx*8 + 1], 0
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x14005b6d8
movsxd rax, dword [r15 + 0x3c]
mov esi, dword [rsp + 0x54]
xor r13d, r13d
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
jmp 0x14005b6f1
cmp r14, r9
je 0x14005b4ac
xor esi, esi
cmp word [r9 + 0x56], si
jbe 0x14005b4ac
xor ebp, ebp
nop
nop
movzx edx, word [r14 + 0x58]
xor ecx, ecx
test edx, edx
jle 0x14005b431
mov rax, qword [r9 + 8]
mov r8, qword [r14 + 8]
movzx r9d, word [rax + rbp]
nop
nop
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x14005b435
add ecx, 1
cmp ecx, edx
jl 0x14005b420
or cx, 0xffff
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
movsx edi, cx
cmp dword [rax + 0x60], ebx
jg 0x14005b456
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005b48b
mov rcx, qword [r15 + 8]
add dword [r15 + 0x3c], 1
lea rdx, [rbx + rbx*2]
lea eax, [r12 + rsi]
mov byte [rcx + rdx*8], 0x2f
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 8], edi
mov qword [rcx + rdx*8 + 0x10], 0
mov dword [rcx + rdx*8 + 0xc], eax
mov byte [rcx + rdx*8 + 1], 0
mov r9, qword [rsp + 0x80]
add esi, 1
add rbp, 2
movzx eax, word [r9 + 0x56]
cmp esi, eax
jl 0x14005b400
mov dil, byte [rsp + 0x50]
test dil, dil
je 0x14005b6ea
movzx ecx, word [r9 + 0x56]
mov eax, dword [r15 + 0x3c]
mov esi, dword [rsp + 0x54]
lea edx, [rcx + rax]
mov eax, dword [r14 + 0x5c]
mov dword [rsp + 0xac], 0x4e
and al, 3
mov dword [rsp + 0x70], edx
mov edx, r12d
cmp al, 2
cmove edx, esi
xor r13d, r13d
test ecx, ecx
mov r12d, r13d
mov dword [rsp + 0xd0], edx
jle 0x14005b6f1
xor r14d, r14d
nop
nop
mov rax, qword [r9 + 0x40]
mov r10, qword [rsp + 0x130]
mov rdi, qword [r14 + rax]
mov rax, qword [r10]
test rdi, rdi
movzx ebp, byte [rax + 0x4e]
movzx ebx, byte [rax + 0xa1]
je 0x14005b53f
movzx r8d, bl
mov rdx, rdi
mov rcx, rax
call fcn.14001c150
mov r10, qword [rsp + 0x130]
mov rsi, rax
jmp 0x14005b543
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x14005b559
movzx eax, bpl
sub eax, 1
cdqe
lea rcx, [rax + rax*4]
lea rsi, [rsi + rcx*8]
test bl, bl
jne 0x14005b57e
test rsi, rsi
je 0x14005b569
cmp qword [rsi + 0x18], 0
jne 0x14005b57e
mov r9, rdi
mov r8, rsi
movzx edx, bpl
mov rcx, r10
call fcn.140036600
mov rsi, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
movsx edi, word [rcx + r13]
movzx ecx, word [rax + 0x56]
sub ecx, 1
cmp r12d, ecx
jne 0x14005b5b0
mov ebp, dword [rsp + 0x64]
mov dword [rsp + 0xac], 0x4f
mov dword [rsp + 0x70], ebp
jmp 0x14005b5b4
mov ebp, dword [rsp + 0x70]
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005b5db
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
je 0x14005b5db
mov ebx, 1
xor ebp, ebp
jmp 0x14005b624
add dword [r15 + 0x3c], 1
mov rcx, qword [r15 + 8]
mov eax, dword [rsp + 0xac]
lea rdx, [rbx + rbx*2]
mov byte [rcx + rdx*8], al
mov eax, dword [rsp + 0x160]
mov dword [rcx + rdx*8 + 8], ebp
lea eax, [rdi + rax + 1]
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rsp + 0xd0]
add eax, r12d
xor ebp, ebp
mov qword [rcx + rdx*8 + 0x10], rbp
mov byte [rcx + rdx*8 + 1], bpl
mov dword [rcx + rdx*8 + 0xc], eax
mov rdi, qword [r15 + 8]
mov rcx, qword [r15]
test rdi, rdi
je 0x14005b679
cmp byte [rcx + 0x51], 0
jne 0x14005b679
test ebx, ebx
jns 0x14005b641
mov ebx, dword [r15 + 0x3c]
sub ebx, 1
movsxd rax, ebx
lea rbx, [rax + rax*2]
movsx edx, byte [rdi + rbx*8 + 1]
mov r8, qword [rdi + rbx*8 + 0x10]
call fcn.1400255f0
test rsi, rsi
mov qword [rdi + rbx*8 + 0x10], rbp
jne 0x14005b66d
mov qword [rdi + rbx*8 + 0x10], rbp
mov byte [rdi + rbx*8 + 1], sil
jmp 0x14005b686
mov qword [rdi + rbx*8 + 0x10], rsi
mov byte [rdi + rbx*8 + 1], 0xfc
jmp 0x14005b686
mov r8, rsi
mov edx, 0xfffffffc
call fcn.1400255f0
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x14005b69c
movsxd rax, dword [r15 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
mov r9, qword [rsp + 0x80]
add r12d, 1
add r14, 8
movzx eax, word [r9 + 0x56]
add r13, 2
cmp r12d, eax
jl 0x14005b500
mov esi, dword [rsp + 0x54]
mov r14, qword [rsp + 0x90]
xor r13d, r13d
jmp 0x14005b6f1
mov esi, dword [rsp + 0x54]
xor r13d, r13d
jmp 0x14005b6f1
mov esi, dword [rsp + 0x54]
xor r13d, r13d
jmp 0x14005b6f1
mov esi, dword [rsp + 0x54]
xor r13d, r13d
jmp 0x14005b6f1
mov esi, dword [rsp + 0x54]
xor r13d, r13d
mov edi, dword [rsp + 0x68]
test edi, edi
jle 0x14005b7a7
cmp edi, 3
jle 0x14005b77d
cmp edi, 4
jne 0x14005b7a7
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005b72b
lea edx, [rdi - 3]
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005b810
mov rax, qword [r15 + 8]
add dword [r15 + 0x3c], 1
mov edx, dword [rsp + 0x178]
mov rbp, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
mov edi, dword [rsp + 0x6c]
lea rcx, [rbx + rbx*2]
mov ebx, dword [rsp + 0x5c]
mov byte [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov byte [rax + rcx*8 + 1], 0
jmp 0x14005b828
mov rbp, qword [rsp + 0x130]
mov r8, r14
mov edx, edi
mov rcx, rbp
call fcn.14002d8d0
mov ebx, dword [rsp + 0x5c]
mov r12, qword [rsp + 0x138]
mov edi, dword [rsp + 0x6c]
jmp 0x14005b828
cmp r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x130]
mov edi, dword [rsp + 0x6c]
mov r12, qword [rsp + 0x138]
mov ebx, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x148]
sete al
mov rdx, r12
mov rcx, rbp
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x150]
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], di
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov byte [rbp + 0x20], 1
mov dword [rsp + 0x20], eax
call fcn.140054e90
mov dword [rsp + 0x78], 1
jmp 0x14005b828
mov ebx, dword [rsp + 0x5c]
mov rbp, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
mov edi, dword [rsp + 0x6c]
mov r8, qword [r15 + 0x30]
or eax, 0xffffffff
sub eax, dword [rsp + 0x64]
js 0x14005b84b
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14005b84b
movsxd rcx, eax
mov eax, dword [r15 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r15 + 0x3c]
lea rcx, [rbp + 0x94]
sub eax, 1
mov dword [r8 + 0x64], eax
movzx r10d, word [r14 + 0x58]
mov r8d, 0xa
lea r9d, [rsi + r10 - 1]
nop
mov edx, dword [rcx]
cmp edx, esi
jl 0x14005b89b
cmp edx, r9d
jg 0x14005b89b
cmp byte [rcx - 6], 0
je 0x14005b898
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x14005b894
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
add byte [rbp + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
sub r8, 1
jne 0x14005b870
cmp r10d, dword [rbp + 0x44]
jle 0x14005b8b2
mov dword [rbp + 0x44], r10d
mov dword [rbp + 0x48], esi
cmp ebx, esi
je 0x14005b91e
lea r9d, [rbx + rdi - 1]
lea rcx, [rbp + 0x94]
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, ebx
jl 0x14005b8f3
cmp edx, r9d
jg 0x14005b8f3
cmp byte [rcx - 6], 0
je 0x14005b8f0
movzx eax, byte [rbp + 0x1f]
cmp al, 8
jae 0x14005b8ec
movzx eax, al
mov dword [rbp + rax*4 + 0x24], edx
add byte [rbp + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], r13d
add rcx, 0x14
sub r8, 1
jne 0x14005b8c8
cmp edi, dword [rbp + 0x44]
jle 0x14005b934
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov dword [rbp + 0x48], ebx
mov rbx, qword [rsp + 0x140]
mov dword [rbp + 0x44], edi
jmp 0x14005b948
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x140]
jmp 0x14005b948
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x140]
mov r14, qword [r14 + 0x28]
add ecx, 1
add rax, 1
test r14, r14
mov qword [rsp + 0x90], r14
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x88], rax
jne 0x14005a570
mov edi, dword [rsp + 0x74]
mov r14, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
test edi, edi
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0x100]
je 0x14005ba10
mov rax, qword [r15 + 0x30]
movsxd rbx, dword [r15 + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14005b9b6
mov edx, 1
mov rcx, r15
call fcn.1400214c0
test eax, eax
jne 0x14005b9e7
mov rcx, qword [r15 + 8]
add dword [r15 + 0x3c], 1
lea rdx, [rbx + rbx*2]
lea eax, [rdi + 1]
mov byte [rcx + rdx*8], InitCommonControls
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 4], r13d
mov dword [rcx + rdx*8 + 0xc], r13d
mov qword [rcx + rdx*8 + 0x10], r13
mov dword [rcx + rdx*8 + 8], eax
mov byte [rcx + rdx*8 + 1], 0
mov edx, dword [r15 + 0x3c]
mov eax, dword [rsp + 0x98]
cmp edx, eax
jbe 0x14005ba02
lea rcx, [rax + rax*2]
mov rax, qword [r15 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r15 + 0x3c]
mov rax, qword [r15 + 0x30]
sub ecx, 1
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0x180]
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
add rsp, 0x108
pop r15
pop r13
pop rdi
pop rbx
ret