Function at 0x14000162c
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
movups xmm1, xmmword [rcx]
mov eax, dword [rcx + 0x18]
lea r10, [section..ndata]
movsd xmm0, qword [rcx + 0x10]
xor r14d, r14d
mov r13, qword [0x140029a40]
movq rcx, xmm1
movsd qword [rsp + 0x50], xmm0
mov r15d, r14d
shr rcx, 0x20
movdqa xmm0, xmm1
mov dword [rbp + 0x298], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x44]
psrldq xmm0, 8
movd ebx, xmm0
movd r8d, xmm1
movsxd r12, ecx
shl r12, 0xb
movsxd rdx, ebx
add r12, r10
mov rdi, rdx
mov qword [0x14000c148], rax
shl rdi, 0xb
add rdi, r10
mov dword [rbp + 0x290], ebx
lea eax, [r8 - 2]
movups xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x48], ebx
cmp eax, 0x43
ja case.0x1400016e5.66
cdqe
lea r9, [0x140000000]
mov eax, dword [r9 + rax*4 + 0x3504]
add rax, r9
jmp rax
mov eax, ecx
jmp 0x1400034ef
xor edx, edx
call fcn.140006b04
mov eax, 0x7fffffff
jmp 0x1400034ef
mov esi, 1
add dword [0x140029a28], esi
test r13, r13
je 0x1400016f5
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x1400016f5
mov eax, dword [rsp + 0x44]
test eax, eax
jns 0x140001732
not eax
movsxd rcx, eax
shl rcx, 0xb
add rcx, r10
call fcn.140007bdc
lea ecx, [rax - 1]
xor edx, edx
call fcn.14000142c
jmp 0x1400034ef
mov ecx, dword [rsp + 0x44]
xor edx, edx
call fcn.140006b04
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.140003614
mov esi, 1
cmp eax, esi
cmovg esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x1400016e5.66
mov rcx, r13
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x1400016e5.66
movsxd rcx, dword [rsp + 0x44]
cmp dword [rsp + 0x4c], r14d
jne 0x1400017be
mov eax, dword [r9 + rcx*4 + 0x2ab40]
mov dword [r9 + rcx*4 + 0x2ab00], eax
mov ecx, 1
call fcn.140003614
mov rcx, rax
lea rdx, [0x140000000]
movsxd rax, dword [rsp + 0x44]
mov dword [rdx + rax*4 + 0x2ab40], ecx
jmp case.0x1400016e5.66
mov eax, dword [r9 + rcx*4 + 0x2ab00]
mov dword [r9 + rcx*4 + 0x2ab40], eax
jmp case.0x1400016e5.66
movsxd rdx, dword [rsp + 0x4c]
mov ecx, dword [r9 + rdx*4 + 0x2ab40]
mov eax, ecx
and eax, dword [rsp + 0x50]
mov dword [r9 + rdx*4 + 0x2ab40], eax
neg ecx
sbb rax, rax
not rax
and eax, 4
mov eax, dword [rsp + rax + 0x44]
jmp 0x1400034ef
movsxd rdx, dword [r9 + rdx*4 + 0x2ab40]
mov rcx, r12
call fcn.14000745c
jmp case.0x1400016e5.66
mov rcx, qword [0x140029a18]
test rcx, rcx
je 0x14000182b
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140029a20]
test rcx, rcx
je case.0x1400016e5.66
mov edx, dword [rsp + 0x44]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x1400016e5.66
mov ecx, 0xfffffff0
call fcn.140003638
mov edx, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x1400016e5.66
mov r15d, 1
jmp case.0x1400016e5.66
mov ecx, 0xfffffff0
call fcn.140003638
mov rcx, rax
mov rdi, rax
call fcn.140007b4c
mov rbx, rax
mov esi, 1
test rax, rax
je 0x1400018ff
mov edx, 0x5c
mov rcx, rbx
call fcn.14000742c
mov rbx, rax
movzx r12d, word [rax]
mov word [rax], r14w
test r12w, r12w
jne 0x1400018ce
cmp dword [rsp + 0x4c], r14d
je 0x1400018ce
call fcn.1400072e4
test eax, eax
je 0x1400018ce
mov rcx, rdi
call fcn.140006c50
jmp 0x1400018d6
mov rcx, rdi
call fcn.140006c2c
test eax, eax
je 0x1400018f1
cmp eax, 0xb7
jne 0x1400018ee
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1400018f1
add r15d, esi
mov word [rbx], r12w
add rbx, 2
test r12w, r12w
jne 0x140001896
lea rdx, [0x14000c950]
cmp dword [rsp + 0x48], r14d
je 0x14000193f
mov ecx, 0xffffffe6
call fcn.140006b04
mov rdx, rdi
lea rcx, [0x140037000]
call fcn.140007afc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x1400016e5.66
add r15d, esi
jmp case.0x1400016e5.66
mov ecx, 0xfffffff5
jmp 0x140001747
xor ecx, ecx
call fcn.140003638
mov rcx, rax
call fcn.1400073fc
test rax, rax
jmp 0x140002218
mov ecx, 0xffffffd0
call fcn.140003638
mov ecx, 0xffffffdf
mov rbx, rax
call fcn.140003638
mov ecx, 0x13
mov rdi, rax
call fcn.140003638
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400019a5
lea rdx, [0x14000c950]
mov ecx, 0xffffffe3
jmp 0x140001747
cmp dword [rsp + 0x4c], r14d
je 0x140001869
mov rcx, rbx
call fcn.1400073fc
test rax, rax
je 0x140001869
mov rdx, rdi
mov rcx, rbx
call fcn.1400070f8
lea rdx, [0x14000c950]
mov ecx, 0xffffffe4
jmp 0x140001747
xor ecx, ecx
call fcn.140003638
lea r9, [rbp + 0x290]
mov r8, rdi
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x140001a34
mov rax, qword [rbp + 0x290]
cmp rax, rbx
jbe 0x140001a3e
cmp word [rax], r14w
je 0x140001a3e
mov rcx, rbx
call fcn.1400073fc
test rax, rax
je 0x140001a34
mov rcx, qword [rbp + 0x290]
lea rdx, [rax + 0x2c]
call fcn.140007afc
jmp 0x140001a3e
mov word [rdi], r14w
mov r15d, 1
cmp dword [rsp + 0x4c], r14d
jne case.0x1400016e5.66
mov r8d, 0x400
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x1400016e5.66
or rcx, 0xffffffffffffffff
call fcn.140003638
lea rcx, [rbp + 0x290]
mov r9d, 0x400
mov qword [rsp + 0x28], rcx
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x1400016e5.66
mov r15d, 1
mov word [r12], r14w
jmp case.0x1400016e5.66
mov ecx, 0xffffffef
call fcn.140003638
mov rdx, rax
mov rcx, r12
call fcn.1400079e8
test rax, rax
jmp 0x140001863
mov ecx, 0x31
call fcn.140003638
mov ebx, dword [rsp + 0x44]
mov rcx, rax
and ebx, 7
mov qword [rbp + 0x290], rax
mov rsi, rax
call fcn.140007e08
lea rdi, [0x14000c150]
mov rcx, rdi
test eax, eax
je 0x140001afe
mov rdx, rsi
call fcn.140007afc
jmp 0x140001b1d
lea rdx, [0x140037000]
call fcn.140007afc
mov rcx, rax
call fcn.140007354
mov rcx, rax
mov rdx, rsi
call sub.KERNEL32.dll_lstrcatW
mov rcx, rdi
call fcn.140007d00
or r13, 0xffffffffffffffff
lea r12, [0x14000d150]
mov esi, 1
cmp ebx, 3
jl 0x140001b6a
mov rcx, rdi
call fcn.1400073fc
mov ecx, r14d
test rax, rax
je 0x140001b5b
lea rcx, [rax + 0x14]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
lea eax, [rbx - 3]
mov ebx, r14d
bts eax, 0x1f
test ecx, eax
sete bl
test ebx, ebx
jne 0x140001b76
mov rcx, rdi
call fcn.140007b14
mov r8d, r14d
cmp ebx, esi
mov edx, 0x40000000
mov rcx, rdi
setne r8b
add r8d, esi
call fcn.140007850
mov qword [rbp + 0x298], rax
cmp rax, r13
jne 0x140001c35
test ebx, ebx
jne 0x140001c18
lea rdx, [section..ndata]
mov rcx, r12
call fcn.140007afc
mov rdx, rdi
lea rcx, [section..ndata]
call fcn.140007afc
mov edx, dword [rsp + 0x58]
lea rcx, [0x14000c950]
call fcn.140006ce0
mov rdx, r12
lea rcx, [section..ndata]
call fcn.140007afc
mov edx, dword [rsp + 0x44]
lea rcx, [0x14000c950]
sar edx, 3
call fcn.140007a78
mov ecx, eax
sub ecx, 4
je 0x140001b35
cmp ecx, esi
je 0x140001c0d
mov rdx, rdi
lea ecx, [rbx - 6]
jmp 0x1400016f0
add dword [0x14002ab48], esi
jmp 0x1400034ed
mov rdx, qword [rbp + 0x290]
mov ecx, 0xffffffe2
call fcn.140006b04
cmp ebx, 2
sete r15b
jmp case.0x1400016e5.66
mov r12, qword [rbp + 0x290]
mov ecx, 0xffffffea
mov rdx, r12
call fcn.140006b04
mov rbx, qword [rbp + 0x298]
xor r9d, r9d
mov ecx, dword [rsp + 0x4c]
mov rdx, rbx
add dword [0x14002ab74], esi
xor r8d, r8d
call fcn.140003734
sub dword [0x14002ab74], esi
mov r13d, eax
or eax, 0xffffffff
cmp dword [rsp + 0x50], eax
jne 0x140001c80
cmp dword [rsp + 0x54], eax
je 0x140001c96
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
jns case.0x1400016e5.66
mov rcx, rdi
cmp r13d, 0xfffffffe
jne 0x140001cc7
lea edx, [r13 - 0x15]
call fcn.140006ce0
mov rdx, r12
mov rcx, rdi
call sub.KERNEL32.dll_lstrcatW
jmp 0x140001cd1
mov edx, 0xffffffee
call fcn.140006ce0
mov rcx, rdi
mov edx, 0x200010
call fcn.140007a78
jmp 0x1400016f5
xor ecx, ecx
call fcn.140003638
mov edx, dword [rsp + 0x48]
mov rcx, rax
call fcn.1400075a4
jmp case.0x1400016e5.66
mov ecx, 0x31
call fcn.140003638
mov edx, dword [rsp + 0x44]
mov rcx, rax
call fcn.140007a78
test eax, eax
je 0x140001869
cmp eax, dword [rsp + 0x4c]
je 0x140001eeb
cmp eax, dword [rsp + 0x54]
jne case.0x1400016e5.66
mov eax, dword [rsp + 0x58]
jmp 0x1400034ef
mov ecx, 0xfffffff0
jmp 0x140001ce5
mov ecx, 1
call fcn.140003638
mov rcx, rax
call sub.KERNEL32.dll_lstrlenW
movsxd rdx, eax
jmp 0x14000180a
mov edx, dword [rsp + 0x4c]
xor ecx, ecx
call fcn.140006ce0
mov rcx, rax
mov rbx, rax
call fcn.140007bdc
movzx ebx, word [rbx]
mov ecx, 3
mov rdi, rax
call fcn.140003614
mov ecx, 1
mov r13, rax
call fcn.140003638
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_lstrlenW
test bx, bx
mov word [r12], r14w
mov ecx, eax
cmove edi, eax
test edi, edi
je case.0x1400016e5.66
add eax, r13d
test r13d, r13d
cmovns eax, r13d
test eax, eax
js case.0x1400016e5.66
cmp eax, ecx
cmovg eax, ecx
mov rcx, r12
cdqe
lea rdx, [rsi + rax*2]
call fcn.140007afc
test edi, edi
jns 0x140001ddd
mov rcx, r12
call sub.KERNEL32.dll_lstrlenW
add edi, eax
test edi, edi
mov eax, r14d
cmovns eax, edi
cmp eax, 0x400
jge case.0x1400016e5.66
cdqe
mov word [r12 + rax*2], r14w
jmp case.0x1400016e5.66
mov ecx, 0x20
call fcn.140003638
mov ecx, 0x31
mov rbx, rax
call fcn.140003638
mov rdx, rax
mov rcx, rbx
cmp dword [rsp + 0x54], r14d
jne 0x140001e28
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x140001e2e
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140001eeb
mov eax, dword [rsp + 0x4c]
jmp 0x1400034ef
mov esi, 1
mov ecx, esi
call fcn.140003638
mov r8d, 0x400
mov rdx, r12
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140001e7b
cmp dword [rsp + 0x4c], r14d
je 0x140001e83
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140001e83
mov r15d, esi
mov word [r12], r14w
mov word [r12 + 0x7fe], r14w
jmp case.0x1400016e5.66
cmp word [rsp + 0x58], r14w
movzx ebx, byte [rsp + 0x58]
setl r15b
xor ecx, ecx
call fcn.140003614
mov ecx, 1
mov rdi, rax
call fcn.140003614
test ebx, ebx
jne 0x140001ece
test r15d, r15d
je 0x140001ec2
cmp rdi, rax
jmp 0x140001ec4
cmp edi, eax
jl 0x140001eeb
jle 0x140001e36
jmp 0x140001ede
test r15d, r15d
je 0x140001ee7
cmp rdi, rax
jb 0x140001eeb
jbe 0x140001e36
mov eax, dword [rsp + 0x54]
jmp 0x1400034ef
cmp edi, eax
jae 0x140001ed8
mov eax, dword [rsp + 0x50]
jmp 0x1400034ef
mov esi, 1
mov ecx, esi
call fcn.140003614
lea ecx, [rsi + 1]
mov rbx, rax
call fcn.140003614
mov ecx, dword [rsp + 0x50]
mov r8, rax
cmp ecx, 7
jg 0x140001f87
je 0x140001f7c
test ecx, ecx
je 0x140001f77
sub ecx, esi
je 0x140001f72
sub ecx, esi
je 0x140001f6c
sub ecx, esi
je 0x140001f51
sub ecx, esi
je 0x140001f49
sub ecx, esi
je 0x140001f41
cmp ecx, esi
jne 0x140001fdd
xor ebx, r8d
jmp 0x140001fdd
and ebx, r8d
jmp 0x140001fdd
or ebx, r8d
jmp 0x140001fdd
test r8d, r8d
je 0x140001f60
mov eax, ebx
cdq
idiv r8d
mov ebx, eax
jmp 0x140001f63
mov ebx, r14d
test r8d, r8d
sete r15b
jmp 0x140001fdd
imul ebx, r8d
jmp 0x140001fdd
sub ebx, r8d
jmp 0x140001fdd
add ebx, r8d
jmp 0x140001fdd
test ebx, ebx
sete r14b
mov ebx, r14d
jmp 0x140001fdd
sub ecx, 8
je 0x140001fcf
sub ecx, esi
je 0x140001fc4
sub ecx, esi
je 0x140001fb5
sub ecx, esi
je 0x140001fae
sub ecx, esi
je 0x140001fa7
cmp ecx, esi
jne 0x140001fdd
mov ecx, r8d
shr ebx, cl
jmp 0x140001fdd
mov ecx, r8d
sar ebx, cl
jmp 0x140001fdd
mov ecx, r8d
shl ebx, cl
jmp 0x140001fdd
test r8d, r8d
je 0x140001f60
mov eax, ebx
cdq
idiv r8d
mov ebx, edx
jmp 0x140001f63
test ebx, ebx
je 0x140001f82
test r8d, r8d
jne 0x140001fdb
jmp 0x140001f82
test ebx, ebx
jne 0x140001fdb
mov ebx, r14d
test r8d, r8d
je 0x140001fdd
mov ebx, esi
movsxd rdx, ebx
jmp 0x14000180a
mov ecx, 1
call fcn.140003638
mov ecx, 2
mov rbx, rax
call fcn.140003614
cmp dword [rsp + 0x50], r14d
mov rcx, rax
mov eax, r14d
mov r8d, ecx
setne al
mov rdx, rbx
test eax, eax
cmovne r8, rcx
mov rcx, r12
call qword [sym.imp.USER32.dll_wsprintfW]
jmp case.0x1400016e5.66
mov eax, dword [rsp + 0x4c]
mov rbx, qword [0x14000c140]
test eax, eax
je 0x140002099
mov esi, 1
sub eax, esi
test rbx, rbx
je 0x140002085
mov rbx, qword [rbx]
test eax, eax
jne 0x140002038
test rbx, rbx
je 0x140002085
lea rdi, [0x14000c150]
mov rcx, rdi
lea rdx, [rbx + 8]
call fcn.140007afc
mov rdx, qword [0x14000c140]
lea rcx, [rbx + 8]
add rdx, 8
call fcn.140007afc
mov rcx, qword [0x14000c140]
mov rdx, rdi
add rcx, 8
jmp 0x1400031d3
mov edx, 0xffffffe8
xor ecx, ecx
call fcn.140006ce0
mov rcx, rax
jmp 0x140001cd4
cmp dword [rbp + 0x290], r14d
je 0x1400020c9
test rbx, rbx
je 0x140001869
lea rdx, [rbx + 8]
mov rcx, r12
call fcn.140007afc
mov rax, qword [rbx]
mov rcx, rbx
mov qword [0x14000c140], rax
jmp 0x14000266d
mov edx, 0x808
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [rsp + 0x44]
mov rbx, rax
lea rcx, [rax + 8]
call fcn.140006ce0
mov rax, qword [0x14000c140]
mov qword [rbx], rax
mov qword [0x14000c140], rbx
jmp case.0x1400016e5.66
mov ecx, 3
call fcn.140003614
mov ecx, 4
mov r13, rax
call fcn.140003614
mov rdi, rax
mov esi, 1
mov eax, dword [rsp + 0x58]
test sil, al
je 0x140002136
lea ecx, [rsi + 0x32]
call fcn.140003638
mov r13, rax
mov eax, dword [rsp + 0x58]
test al, 2
je 0x140002147
mov ecx, 0x44
call fcn.140003638
mov rdi, rax
cmp dword [rsp + 0x40], 0x21
mov ecx, esi
jne 0x1400021b3
call fcn.140003614
mov ecx, 2
mov rbx, rax
call fcn.140003614
mov rcx, rax
mov r9, rdi
mov eax, dword [rsp + 0x58]
mov r8, r13
sar eax, 2
test eax, eax
je 0x1400021a6
lea rdx, [rbp + 0x290]
mov qword [rsp + 0x30], rdx
mov edx, ecx
mov dword [rsp + 0x28], eax
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
mov rax, qword [rbp + 0x290]
sete r15b
jmp 0x1400021f3
mov edx, ecx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400021ec
call fcn.140003638
mov ecx, 0x12
mov rbx, rax
call fcn.140003638
mov rcx, rax
mov rdx, rdi
movzx eax, word [rax]
neg ax
movzx eax, word [rbx]
sbb r9, r9
and r9, rcx
mov rcx, r13
neg ax
sbb r8, r8
and r8, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [rbp + 0x290], rax
cmp dword [rsp + 0x44], r14d
jl case.0x1400016e5.66
mov rdx, rax
jmp 0x14000180a
xor ecx, ecx
call fcn.140003614
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140001e36
mov eax, dword [rsp + 0x48]
jmp 0x1400034ef
mov ecx, 2
call fcn.140003614
mov ecx, 1
mov rbx, rax
call fcn.140003614
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x1400021fe
mov rbx, qword [0x14002aabc]
xor ecx, ecx
add rbx, rdx
call fcn.140003614
mov rcx, rax
mov r8, rbx
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
jmp case.0x1400016e5.66
test dword [rsp + 0x50], 0x100
je 0x140002288
mov ecx, 2
call fcn.140003614
jmp 0x140002295
mov edx, dword [rsp + 0x4c]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbp + 0x298], rax
mov eax, dword [rsp + 0x50]
mov edi, eax
shr edi, 0x1e
mov ebx, eax
mov r13d, eax
mov ecx, eax
shr ecx, 0x1f
and edi, 1
and ebx, 3
mov dword [rbp + 0x290], ecx
and r13d, 4
bt eax, 0x10
jae 0x1400022d1
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.140003638
jmp 0x1400022d6
movzx eax, word [rsp + 0x48]
mov rcx, qword [rbp + 0x298]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0x2a0], rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rsp + 0x50]
mov r8d, ebx
mov eax, dword [rsp + 0x7c]
and edx, 0xfef0
mov r9d, dword [rsp + 0x78]
imul r9d, dword [rbp + 0x290]
imul eax, edi
mov dword [rsp + 0x28], edx
neg r13d
mov rdx, qword [rbp + 0x2a0]
sbb rcx, rcx
and rcx, qword [0x140029a38]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rbp + 0x298]
mov edx, 0x172
mov r9, rax
mov r8d, ebx
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14000235f
test ebx, ebx
jne 0x14000235f
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [rsp + 0x44], r14d
jl case.0x1400016e5.66
mov rdx, rdi
jmp 0x14000180a
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, 0x5a
mov rdi, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, 2
mov ebx, eax
call fcn.140003614
mov rcx, rax
mov r8d, 0x48
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov rdx, rdi
mov rcx, r13
neg eax
mov dword [0x14000e950], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 3
call fcn.140003614
mov cl, byte [rsp + 0x54]
mov esi, 1
mov edx, dword [rsp + 0x48]
mov dword [0x14000e960], eax
mov al, cl
and al, sil
mov byte [0x14000e967], sil
mov byte [0x14000e964], al
mov al, cl
and cl, 4
and al, 2
mov byte [0x14000e966], cl
lea rcx, [0x14000e96c]
mov byte [0x14000e965], al
call fcn.140006ce0
lea rcx, [0x14000e950]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x1400021fe
xor ecx, ecx
call fcn.140003614
mov ecx, 1
mov rbx, rax
call fcn.140003614
mov edx, eax
mov rcx, rbx
cmp dword [rsp + 0x50], r14d
je 0x14000183f
call qword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.140003638
mov ecx, 0x31
mov rsi, rax
call fcn.140003638
mov ecx, 0x22
mov rbx, rax
call fcn.140003638
mov ecx, 0x15
mov rdi, rax
call fcn.140003638
lea rdx, [0x14000c950]
mov ecx, 0xffffffec
call fcn.140006b04
mov eax, dword [rsp + 0x54]
lea r8, [0x140037000]
mov dword [rbp - 0x7c], eax
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x78], r13
movzx eax, word [rsi]
neg ax
mov qword [rbp - 0x68], rbx
sbb rcx, rcx
and rcx, rsi
mov qword [rbp - 0x70], rcx
movzx eax, word [rdi]
neg ax
mov qword [rbp - 0x58], r8
sbb rcx, rcx
and rcx, rdi
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x80]
call fcn.14000797c
test eax, eax
je 0x140001869
test byte [rbp - 0x7c], 0x40
je case.0x1400016e5.66
mov rcx, qword [rbp - 0x18]
call fcn.140007310
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.140003638
mov rdx, rax
mov ecx, 0xffffffeb
mov rbx, rax
call fcn.140006b04
mov rcx, rbx
call fcn.140007538
mov rbx, rax
test rax, rax
je 0x140001869
cmp dword [rsp + 0x4c], r14d
je 0x140002557
mov rcx, rax
call fcn.140007310
cmp dword [rsp + 0x48], r14d
jl 0x14000254c
mov edx, eax
mov rcx, rdi
call fcn.14000745c
jmp 0x140002557
test eax, eax
mov esi, 1
cmovne r15d, esi
mov rcx, rbx
jmp 0x1400024f4
mov ecx, 2
call fcn.140003638
mov rcx, rax
call fcn.1400073fc
mov rbx, rax
test rax, rax
je 0x140002589
mov edx, dword [rax + 0x14]
mov rcx, rdi
call fcn.14000745c
mov edx, dword [rbx + 0x18]
jmp 0x14000180a
mov word [r12], r14w
mov word [rdi], r14w
jmp 0x140001869
mov ecx, 0xffffffee
call fcn.140003638
mov ecx, 6
mov qword [rbp + 0x2a8], rax
mov rbx, rax
call fcn.1400077e4
lea rdx, [rbp + 0x290]
mov rcx, rbx
call rax
mov word [r12], r14w
mov r15d, 1
mov r13d, eax
mov word [rdi], r14w
test eax, eax
je case.0x1400016e5.66
mov edx, r13d
lea ecx, [r15 + 0x3f]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je case.0x1400016e5.66
lea ecx, [r15 + 6]
call fcn.1400077e4
lea ecx, [r15 + 7]
mov rbx, rax
call fcn.1400077e4
mov rcx, qword [rbp + 0x2a8]
mov r9, rsi
mov r8d, r13d
mov qword [rsp + 0x68], rax
xor edx, edx
call rbx
test eax, eax
je 0x14000266a
lea r9, [rbp + 0x298]
mov rcx, rsi
lea r8, [rbp + 0x2a0]
lea rdx, [0x140009550]
call qword [rsp + 0x68]
test eax, eax
je 0x14000266a
mov rax, qword [rbp + 0x2a0]
mov rcx, r12
mov edx, dword [rax + 8]
call fcn.14000745c
mov rax, qword [rbp + 0x2a0]
mov rcx, rdi
mov edx, dword [rax + 0xc]
call fcn.14000745c
mov r15d, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x1400016e5.66
cmp dword [0x14002aae0], r14d
mov esi, 1
mov r15d, esi
jl 0x140002778
lea ecx, [rsi - 0x11]
call fcn.140003638
mov ecx, esi
mov rdi, rax
call fcn.140003638
mov r12, rax
cmp dword [rsp + 0x54], r14d
je 0x1400026ba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x1400026d5
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x140002767
mov rdx, r12
mov rcx, rbx
call fcn.140007114
mov rdi, rax
test rax, rax
je 0x140002731
mov ecx, dword [rsp + 0x4c]
mov r15d, r14d
test ecx, ecx
je 0x14000270b
lea rdx, [0x14000c950]
call fcn.140006b04
call rdi
test rax, rax
je 0x14000273e
mov r15d, esi
jmp 0x14000273e
lea rax, section..data
mov edx, 0x400
lea r9, [0x14000c140]
mov qword [rsp + 0x20], rax
lea r8, [section..ndata]
mov rcx, r13
call rdi
jmp 0x14000273e
mov rdx, r12
mov ecx, 0xfffffff7
call fcn.140006b04
cmp dword [rsp + 0x50], r14d
jne case.0x1400016e5.66
mov rcx, rbx
call fcn.1400043ac
test eax, eax
je case.0x1400016e5.66
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x1400016e5.66
lea rdx, [0x14000c950]
mov ecx, 0xfffffff6
jmp 0x140001747
lea rdx, [0x14000c950]
mov ecx, 0xffffffe7
jmp 0x140001747
mov ecx, 0xfffffff0
call fcn.140003638
mov ecx, 0xffffffdf
mov qword [rsp + 0x70], rax
call fcn.140003638
mov ecx, 2
mov qword [rbp + 0x2a8], rax
mov rsi, rax
call fcn.140003638
mov ecx, 0xffffffcd
mov qword [rsp + 0x68], rax
call fcn.140003638
mov ecx, 0x45
mov rdi, rax
call fcn.140003638
mov r12d, dword [rsp + 0x54]
mov rcx, rsi
mov qword [rsp + 0x60], rax
mov ebx, r12d
mov eax, r12d
sar ebx, 0xc
and eax, 0xfff
mov r13d, r12d
mov dword [rbp + 0x290], eax
and r13d, 0x8000
and ebx, 7
sar r12d, 0x10
call fcn.140007e08
test eax, eax
jne 0x140002815
lea ecx, [rax + 0x21]
call fcn.140003638
lea rax, [rbp + 0x298]
mov esi, 1
mov r8d, esi
mov qword [rsp + 0x20], rax
lea r9, [0x140009bc8]
xor edx, edx
lea rcx, [0x140009be8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15d, eax
test eax, eax
js 0x140002941
mov rcx, qword [rbp + 0x298]
lea r8, [rbp + 0x2a0]
lea rdx, [0x140009bd8]
mov rax, qword [rcx]
call qword [rax]
mov r15d, eax
test eax, eax
js 0x140002934
mov rcx, qword [rbp + 0x298]
mov rdx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov r15d, eax
test r13d, r13d
jne 0x1400028a2
mov rcx, qword [rbp + 0x298]
lea rdx, [0x140037000]
mov rax, qword [rcx]
call qword [rax + 0x48]
test ebx, ebx
je 0x1400028b5
mov rcx, qword [rbp + 0x298]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rbp + 0x298]
movzx edx, r12w
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp word [rdi], r14w
je 0x1400028e6
mov rcx, qword [rbp + 0x298]
mov rdx, rdi
mov r8d, dword [rbp + 0x290]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rbp + 0x298]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x298]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x38]
test r15d, r15d
js 0x140002927
mov rcx, qword [rbp + 0x2a0]
mov r8d, esi
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r15d, eax
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov ecx, r15d
sar ecx, 0x1f
and ecx, 0xfffffffc
sub ecx, 0xc
lea rdx, [0x14000c950]
call fcn.140006b04
shr r15d, 0x1f
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.140003638
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rax
call fcn.140003638
mov ecx, 0x23
mov rdi, rax
call fcn.140003638
mov rcx, rbx
mov rsi, rax
call fcn.1400073fc
test rax, rax
jne 0x1400029a2
xor edx, edx
lea ecx, [rdx - 7]
call fcn.140006b04
jmp 0x140001869
mov rcx, rbx
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], 2
call sub.KERNEL32.dll_lstrlenW
movsxd rcx, eax
mov word [rbx + rcx*2 + 2], r14w
mov rcx, rdi
call sub.KERNEL32.dll_lstrlenW
movsxd rcx, eax
mov rdx, rsi
mov word [rdi + rcx*2 + 2], r14w
xor ecx, ecx
movzx eax, word [rsp + 0x4c]
mov word [rbp - 0x60], ax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x50], rsi
call fcn.140006b04
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x1400016e5.66
jmp 0x140002993
cmp dword [rsp + 0x44], 0xbadf00d
jne 0x140002085
mov esi, 1
add dword [0x14002ab54], esi
jmp case.0x1400016e5.66
mov rdi, r14
mov rsi, r14
mov r12, r14
cmp dword [rsp + 0x44], r14d
je 0x140002a3e
xor ecx, ecx
call fcn.140003638
mov ebx, dword [rsp + 0x48]
mov rdi, rax
test ebx, ebx
je 0x140002a4f
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.140003638
mov rsi, rax
cmp dword [rsp + 0x54], r14d
je 0x140002a63
mov ecx, 0x22
call fcn.140003638
mov r12, rax
mov ecx, 0xffffffcd
call fcn.140003638
mov r9, rax
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x140001861
mov r13d, 0xa
mov dword [rbp + 0x290], r13d
lea esi, [r13 - 9]
mov ecx, esi
call fcn.140003638
lea ecx, [rsi + 0x11]
mov rdi, rax
call fcn.140003638
lea ecx, [rsi - 0x24]
mov rbx, rax
call fcn.140003638
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x290]
mov eax, 0x3ff
mov r9, r12
mov rdx, rbx
mov dword [rsp + 0x20], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [r12], r13w
jne case.0x1400016e5.66
mov r15d, esi
jmp 0x140001a9c
mov esi, 1
cmp dword [rsp + 0x54], r14d
jne 0x140002b2a
lea ecx, [rsi + 1]
call fcn.140003694
mov rbx, rax
test rax, rax
je 0x140002b99
lea ecx, [rsi + 0x32]
call fcn.140003638
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002b99
mov ecx, 0x22
call fcn.140003638
mov ecx, dword [rsp + 0x54]
mov rdi, rax
sar ecx, 1
cmp word [rax], r14w
jne 0x140002b4a
mov esi, 0x3eb
jmp 0x140002b99
or ecx, 0x100020
mov dword [rbp + 0x290], ecx
movsxd rcx, ebx
test ebx, ebx
js 0x140002b6d
movsxd rax, dword [0x14002ab44]
add rax, 0xffffffff80000001
add rcx, rax
lea rdx, [rbp + 0x290]
call fcn.140006fe4
test rax, rax
je 0x140002b94
mov r8d, dword [rbp + 0x290]
mov rdx, rdi
mov rcx, rax
call fcn.1400014f8
mov esi, eax
jmp 0x140002b99
mov esi, 6
test esi, esi
setne r15b
jmp case.0x1400016e5.66
movsxd rbx, dword [rsp + 0x44]
mov ecx, 2
mov r12d, dword [rsp + 0x54]
call fcn.140003638
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov r13, rax
call fcn.140003638
mov esi, 1
mov rdx, rax
mov r15d, esi
mov rcx, rbx
test ebx, ebx
js 0x140002be7
movsxd rax, dword [0x14002ab44]
add rax, 0xffffffff80000001
add rcx, rax
lea r9, [rbp + 0x290]
mov r8d, 0x100022
call fcn.140007158
mov rdi, qword [rbp + 0x290]
test eax, eax
cmovne rdi, r14
test rdi, rdi
je case.0x1400016e5.66
lea rbx, [0x14000d150]
cmp r12d, esi
jne 0x140002c35
mov ecx, 0x23
call fcn.140003638
mov rcx, rbx
call sub.KERNEL32.dll_lstrlenW
lea r14d, [rax*2 + 2]
cmp r12d, 4
jne 0x140002c4e
lea ecx, [r12 - 1]
call fcn.140003614
mov dword [0x14000d150], eax
mov r14d, r12d
cmp r12d, 3
jne 0x140002c6b
mov ecx, dword [rsp + 0x50]
mov r9d, 0x1800
mov r8, rbx
xor edx, edx
call fcn.140003734
mov r14d, eax
mov r9d, dword [rbp + 0x298]
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
mov rcx, rdi
sbb edx, edx
and r15d, edx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x1400016e5.66
mov ecx, 0x20019
call fcn.140003694
mov ecx, 0x33
mov rbx, rax
call fcn.140003638
mov word [r12], r14w
test rbx, rbx
je 0x140001869
lea rcx, [rbp + 0x290]
mov dword [rbp + 0x290], 0x800
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x298]
mov rcx, rbx
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, 1
test eax, eax
jne 0x140002d37
mov eax, dword [rbp + 0x298]
cmp eax, 4
je 0x140002d20
dec eax
cmp eax, esi
ja 0x140002d37
mov r15d, dword [rsp + 0x54]
mov word [r12 + 0x7fe], r14w
jmp 0x140002d3f
cmp dword [rsp + 0x54], r14d
mov rcx, r12
mov edx, dword [r12]
sete r15b
call fcn.14000745c
jmp 0x140002d3f
mov word [r12], r14w
mov r15d, esi
mov rcx, rbx
jmp 0x140002c95
mov ecx, 0x20019
call fcn.140003694
mov ecx, 3
mov rbx, rax
call fcn.140003614
mov word [r12], r14w
mov rcx, rax
test rbx, rbx
je 0x140001869
mov eax, 0x3ff
mov edx, ecx
mov r8, r12
mov dword [rbp + 0x290], eax
mov rcx, rbx
cmp dword [rsp + 0x54], r14d
je 0x140002d94
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x140002d15
mov qword [rsp + 0x38], r14
lea r9, [rbp + 0x290]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov esi, 1
cmovne r15d, esi
jmp 0x140002d15
mov rcx, r12
call fcn.140007bdc
test rax, rax
je case.0x1400016e5.66
mov rcx, rax
jmp 0x1400024f4
mov ecx, 0xffffffed
call fcn.140003638
mov r8d, dword [rsp + 0x4c]
mov rcx, rax
mov edx, dword [rsp + 0x48]
call fcn.140007850
or r13, 0xffffffffffffffff
cmp rax, r13
jne 0x1400021fe
mov word [r12], r14w
jmp 0x140001869
mov r13d, dword [rsp + 0x4c]
cmp r8d, 0x38
mov edi, r14d
mov esi, 1
sete dil
test r13d, r13d
je 0x140002e40
mov ecx, esi
call fcn.140003614
mov ebx, edi
mov word [0x14000c950], ax
xor ebx, esi
add ebx, esi
jmp 0x140002e8f
cmp r8d, 0x38
jne 0x140002e79
lea ecx, [r8 - 0x17]
call fcn.140003638
mov r8d, 0x400
lea rdx, [0x14000c950]
lea rcx, [0x14000d150]
call fcn.14000720c
lea rcx, [0x14000c950]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
jmp 0x140002e8f
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.140003638
mov rcx, rax
call sub.KERNEL32.dll_lstrlenW
mov ebx, eax
add ebx, ebx
cmp word [r12], r14w
je 0x140002ed6
mov rcx, r12
call fcn.140007bdc
or edi, r13d
mov r12, rax
jne 0x140002ebc
cmp dword [rsp + 0x50], r14d
je 0x140002ebc
mov rdx, rax
mov rcx, rax
call fcn.14000723c
test eax, eax
js 0x140002ed6
mov r8d, ebx
lea rdx, [0x14000c950]
mov rcx, r12
call fcn.140007990
test eax, eax
jne case.0x1400016e5.66
mov r15d, esi
jmp case.0x1400016e5.66
mov ebx, 2
mov r13d, r14d
mov ecx, ebx
call fcn.140003614
lea esi, [rbx - 1]
mov rcx, rax
cmp eax, esi
jl case.0x1400016e5.66
mov eax, 0x3ff
cmp ecx, eax
cmovg ecx, eax
mov qword [rsp + 0x68], rcx
cmp word [r12], r14w
je 0x1400030b2
mov rcx, r12
call fcn.140007bdc
mov rcx, rax
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x68]
test rax, rax
jle 0x1400030b2
mov edx, dword [rsp + 0x50]
mov r12, r14
cmp dword [rsp + 0x40], 0x39
jne 0x140003036
mov r8d, 2
mov qword [rsp + 0x20], r14
sub r8d, edx
lea r9, [rbp + 0x2a0]
lea rdx, [rbp + 0x298]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400030b2
mov ebx, dword [rbp + 0x2a0]
test ebx, ebx
je 0x1400030b2
movzx ecx, byte [rbp + 0x298]
mov word [rbp + 0x290], cx
cmp dword [rsp + 0x50], r14d
jne 0x1400030f9
lea rax, [rbp + 0x290]
mov dword [rsp + 0x28], esi
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x298]
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140003065
mov eax, ebx
neg eax
add dword [rbp + 0x2a0], 0xffffffff
mov ecx, 0xfffd
mov word [rbp + 0x290], cx
je 0x14000306c
mov rcx, qword [rsp + 0x60]
add eax, esi
mov edx, eax
mov dword [rbp + 0x2a8], eax
mov r9d, esi
xor r8d, r8d
sub ebx, esi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r9d, dword [rbp + 0x2a0]
lea rax, [rbp + 0x290]
mov dword [rsp + 0x28], esi
lea r8, [rbp + 0x298]
mov edx, 8
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov eax, dword [rbp + 0x2a8]
je 0x140002fc9
jmp 0x140003065
test edx, edx
jne 0x14000304f
test r12, r12
jne 0x14000304f
xor edx, edx
call fcn.14000723c
test eax, eax
js 0x1400030b2
mov rcx, qword [rsp + 0x60]
mov r8d, 2
lea rdx, [rbp + 0x290]
call fcn.1400078a4
test eax, eax
je 0x1400030b2
movzx ecx, word [rbp + 0x290]
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x1400030f9
lea r8d, [rdx + 0xd]
lea eax, [rdx + 0xa]
cmp r15w, r8w
je 0x1400030c5
cmp r15w, ax
je 0x1400030c5
mov word [rdi + r12*2], cx
add r13d, esi
add r12, rsi
movzx r15d, cx
test cx, cx
je 0x1400030b2
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp r12, rax
jl 0x140002f3a
movsxd rax, r13d
mov r15d, r14d
test r13d, r13d
mov word [rdi + rax*2], r14w
jmp 0x140001c2c
cmp r15w, cx
je 0x1400030e2
cmp cx, r8w
je 0x1400030d6
cmp cx, ax
jne 0x1400030e2
movsxd rax, r13d
add r13d, esi
mov word [rdi + rax*2], cx
jmp 0x1400030b2
mov rcx, qword [rsp + 0x60]
neg ebx
mov edx, ebx
mov r9d, esi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1400030b2
movzx edx, cx
mov rcx, rdi
call fcn.14000745c
jmp 0x1400034ed
cmp word [r12], r14w
je case.0x1400016e5.66
mov ecx, 2
call fcn.140003614
mov rcx, r12
mov rbx, rax
call fcn.140007bdc
mov r9d, dword [rsp + 0x50]
mov rcx, rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [rsp + 0x48], r14d
jl case.0x1400016e5.66
mov edx, eax
mov rcx, rdi
jmp 0x14000180d
mov rcx, r12
call fcn.140007bdc
test rax, rax
je case.0x1400016e5.66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x1400016e5.66
mov rcx, rdi
call fcn.140007bdc
test rax, rax
je 0x140001a96
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140001a96
jmp 0x1400031cc
mov ecx, 2
call fcn.140003638
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
or r13, 0xffffffffffffffff
cmp rax, r13
jne 0x1400031c1
mov word [rdi], r14w
jmp 0x140002e06
mov rdx, rax
mov rcx, rdi
call fcn.14000745c
lea rdx, [rbp + 0x1c]
mov rcx, r12
call fcn.140007afc
jmp case.0x1400016e5.66
mov ecx, 0xfffffff0
mov r15d, 0xfffffd66
call fcn.140003638
mov rcx, rax
mov r12, rax
call fcn.140007e08
test eax, eax
jne 0x140003204
lea ecx, [rax - 0x13]
call fcn.140003638
mov rcx, r12
call fcn.140007b14
mov edx, 0x40000000
mov r8d, 2
mov rcx, r12
call fcn.140007850
or r13, 0xffffffffffffffff
mov qword [rbp + 0x298], rax
mov rbx, rax
cmp rax, r13
je 0x14000330f
movsxd rdi, dword [0x14002aa6c]
lea ecx, [r13 + 0x41]
mov rdx, rdi
mov dword [rbp + 0x290], edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140003301
xor ecx, ecx
call fcn.14000371c
mov edx, edi
mov rcx, rsi
call fcn.140003708
movsxd rdx, dword [rsp + 0x4c]
lea ecx, [r13 + 0x41]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov r15, rax
test rax, rax
je 0x1400032d2
mov r9d, dword [rsp + 0x4c]
mov r8, rax
mov ecx, dword [rsp + 0x48]
xor edx, edx
call fcn.140003734
cmp byte [r15], r14b
je 0x1400032c9
mov rcx, qword [rdi]
add rdi, 8
mov ebx, ecx
mov rdx, rdi
shr rcx, 0x20
mov r8d, ebx
add rcx, rsi
call fcn.140008d2c
add rdi, rbx
cmp byte [rdi], r14b
jne 0x14000329f
mov rbx, qword [rbp + 0x298]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r8d, dword [rbp + 0x290]
mov rdx, rsi
mov rcx, rbx
call fcn.140007990
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov ecx, r13d
call fcn.140003734
mov r15d, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
jns 0x140003318
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, r15d
sar ecx, 0x1f
and ecx, 0xfffffffc
sub ecx, 0xd
jmp 0x14000294d
xor ecx, ecx
call fcn.140003614
cmp eax, dword [0x14002aa94]
mov r12, rax
jae 0x140001869
movsxd rcx, r12d
imul rbx, rcx, 0x818
movsxd rcx, dword [rsp + 0x4c]
add rbx, qword [0x14002aa8c]
test ecx, ecx
js 0x14000336f
movsxd rdx, dword [rbx + rcx*4]
mov rcx, rdi
jne 0x14000180d
lea rdx, [rbx + 0x18]
jmp 0x1400031d3
or r13, 0xffffffffffffffff
sub r13d, ecx
mov dword [rsp + 0x4c], r13d
je 0x140003390
mov ecx, 1
call fcn.140003614
mov rcx, rax
mov dword [rsp + 0x48], eax
jmp 0x1400033a6
mov edx, dword [rsp + 0x54]
lea rcx, [rbx + 0x18]
call fcn.140006ce0
bts dword [rbx + 8], 8
mov ecx, dword [rsp + 0x48]
movsxd rax, dword [rsp + 0x4c]
mov dword [rbx + rax*4], ecx
cmp dword [rsp + 0x50], r14d
je case.0x1400016e5.66
mov ecx, r12d
call fcn.140001270
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.140003614
cmp eax, 0x20
jae 0x140001869
cmp dword [rsp + 0x50], r14d
je 0x140003405
cmp dword [rsp + 0x4c], r14d
je 0x1400033f9
mov ecx, eax
call fcn.1400012f4
xor edx, edx
xor ecx, ecx
call fcn.140001344
jmp case.0x1400016e5.66
xor ecx, ecx
call fcn.1400011d8
jmp 0x140003147
movsxd rdx, eax
cmp dword [rsp + 0x4c], r14d
je 0x140003426
mov rcx, qword [0x14002aa78]
mov eax, dword [rsp + 0x48]
mov dword [rcx + rdx*4 + 0xb4], eax
jmp case.0x1400016e5.66
mov rax, qword [0x14002aa78]
mov rcx, rdi
mov edx, dword [rax + rdx*4 + 0xb4]
call fcn.140006ce0
jmp case.0x1400016e5.66
mov ecx, 2
call fcn.1400077e4
mov ecx, 0x22
mov rbx, rax
call fcn.140003638
test rbx, rbx
je 0x1400034a6
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHCLSIDFromString]
test eax, eax
js 0x1400034a6
mov edx, dword [rsp + 0x50]
lea r9, [rbp + 0x290]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call rbx
test eax, eax
js 0x1400034a6
mov rdx, qword [rbp + 0x290]
mov rcx, rdi
call fcn.140007afc
mov rcx, qword [rbp + 0x290]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x1400016e5.66
mov r15d, 1
mov word [rdi], r14w
jmp case.0x1400016e5.66
movsxd r8, dword [0x140023280]
xor r9d, r9d
movsxd rax, dword [rsp + 0x44]
mov rcx, r13
and r8, rax
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x44], r14d
je case.0x1400016e5.66
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_InvalidateRect]
add dword [0x14002ab48], r15d
xor eax, eax
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret