Function at 0x140001640
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:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
mov rax, qword [0x14000d188]
xor rax, rsp
mov qword [rbp + 0x270], rax
movups xmm1, xmmword [rcx]
mov eax, dword [rcx + 0x18]
lea r8, [section..ndata]
movsd xmm0, qword [rcx + 0x10]
xor r14d, r14d
mov r13, qword [0x140070d20]
mov r15d, r14d
mov dword [rsp + 0x40], eax
mov dword [rbp + 8], eax
movq rax, xmm1
shr rax, 0x20
movsd qword [rbp], xmm0
movdqa xmm0, xmm1
movsxd r12, eax
lea rax, [rbp - 0xc]
shl r12, 0xe
psrldq xmm0, 8
add r12, r8
movd ecx, xmm0
movd ebx, xmm1
movups xmmword [rbp - 0x10], xmm1
movsxd rdx, ecx
mov rdi, rdx
mov dword [rsp + 0x68], ecx
shl rdi, 0xe
add rdi, r8
mov dword [rbp - 8], ecx
mov qword [0x14000d1a8], rax
cmp ebx, 0x24
jg 0x140002371
je 0x14000234a
cmp ebx, 0x12
jg 0x140001b5f
je 0x140001b1c
lea eax, [r14 + 0xa]
cmp ebx, eax
jg 0x140001846
je 0x14000181d
sub ebx, 2
je 0x140001815
sub ebx, 1
je 0x140001801
sub ebx, 1
je 0x1400017e7
sub ebx, 1
je 0x1400017c0
sub ebx, 1
je 0x1400017b6
sub ebx, 1
je 0x140001798
sub ebx, 1
je 0x14000178a
cmp ebx, 1
jne 0x140003799
mov rax, qword [0x140070cf8]
test rax, rax
je 0x14000176c
mov edx, ecx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140070d00]
test rcx, rcx
je 0x140003799
mov edx, dword [rbp - 0xc]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140003799
mov rcx, r13
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x140003799
xor ecx, ecx
call fcn.1400037d4
mov esi, 1
cmp eax, esi
cmovg esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003799
mov ecx, dword [rbp - 0xc]
xor edx, edx
jmp 0x140003794
mov eax, dword [rbp - 0xc]
test eax, eax
jns 0x1400017d8
not eax
movsxd rcx, eax
shl rcx, 0xe
add rcx, r8
call fcn.14000824c
lea ecx, [rax - 1]
xor edx, edx
call fcn.140001430
jmp 0x1400037a2
mov esi, 1
add dword [0x140070d08], esi
test r13, r13
je 0x14000180b
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14000180b
mov ecx, dword [rbp - 0xc]
xor edx, edx
call fcn.1400070d8
mov eax, 0x7fffffff
jmp 0x1400037a2
mov eax, dword [rbp - 0xc]
jmp 0x1400037a2
mov ecx, 0xfffffff0
call fcn.1400037f8
mov edx, dword [rbp - 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140003799
mov r15d, 1
jmp 0x140003799
sub ebx, 0xb
je 0x140001a49
sub ebx, 1
je 0x140001a32
sub ebx, 1
je 0x1400019b7
sub ebx, 1
je 0x140001988
sub ebx, 1
je 0x14000196f
sub ebx, 1
je 0x140001901
cmp ebx, 1
jne 0x140003799
xor ecx, ecx
call fcn.1400037f8
lea r9, [rsp + 0x50]
mov r8, rdi
mov edx, 0x2000
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1400018d6
mov rax, qword [rsp + 0x50]
cmp rax, rbx
jbe 0x1400018e0
cmp word [rax], r14w
je 0x1400018e0
mov rcx, rbx
call fcn.140007a54
test rax, rax
je 0x1400018d6
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 0x2c]
call fcn.140008170
jmp 0x1400018e0
mov word [rdi], r14w
mov r15d, 1
cmp dword [rbp - 4], r14d
jne 0x140003799
mov r8d, 0x2000
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x140003799
mov ecx, 0xffffffd0
call fcn.1400037f8
mov ecx, 0xffffffdf
mov rbx, rax
call fcn.1400037f8
mov ecx, 0x13
mov rdi, rax
call fcn.1400037f8
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000193f
mov ecx, 0xffffffe3
jmp 0x14000378d
cmp dword [rbp - 4], r14d
je 0x14000183b
mov rcx, rbx
call fcn.140007a54
test rax, rax
je 0x14000183b
mov rdx, rdi
mov rcx, rbx
call fcn.14000772c
mov ecx, 0xffffffe4
jmp 0x14000378d
lea r13, [0x140078e20]
movsxd rdx, dword [r13 + rdx*4]
mov rcx, r12
call fcn.140007ab4
jmp 0x140003799
movsxd rdx, dword [rbp - 4]
lea r13, [0x140078e20]
mov ecx, dword [r13 + rdx*4]
mov eax, ecx
and eax, dword [rbp]
mov dword [r13 + rdx*4], eax
neg ecx
sbb rax, rax
not rax
and rax, 4
mov eax, dword [rbp + rax - 0xc]
jmp 0x1400037a2
lea r13, [0x140078e20]
cmp dword [rbp - 4], r14d
jg 0x140001a05
jge 0x1400019d7
movsxd rax, dword [rbp - 0xc]
mov eax, dword [r13 + rax*4]
mov dword [0x1400211b0], eax
jmp 0x1400019ea
movsxd rcx, dword [rbp - 0xc]
lea rdx, [0x140078de0]
mov eax, dword [r13 + rcx*4]
mov dword [rdx + rcx*4], eax
mov ecx, 1
call fcn.1400037d4
mov rcx, rax
movsxd rax, dword [rbp - 0xc]
mov dword [r13 + rax*4], ecx
jmp 0x140003799
lea rdx, [0x140078de0]
movsxd rcx, dword [rbp - 0xc]
mov eax, dword [rdx + rcx*4]
mov dword [r13 + rcx*4], eax
cmp dword [rbp], r14d
jge 0x140003799
mov eax, dword [0x1400211b0]
mov dword [r13 + rcx*4], eax
jmp 0x140003799
xor ecx, ecx
call fcn.1400037f8
mov rcx, rax
call fcn.140007a54
test rax, rax
jmp 0x140001fd9
mov ecx, 0xfffffff0
call fcn.1400037f8
mov rcx, rax
mov rdi, rax
call fcn.1400081c0
mov rbx, rax
mov esi, 1
test rax, rax
je 0x140001ad3
mov edx, 0x5c
mov rcx, rbx
call fcn.140007a84
mov rbx, rax
movzx r12d, word [rax]
mov word [rax], r14w
test r12w, r12w
jne 0x140001aa2
cmp dword [rbp - 4], r14d
je 0x140001aa2
call fcn.140007938
test eax, eax
je 0x140001aa2
mov rcx, rdi
call fcn.140007238
jmp 0x140001aaa
mov rcx, rdi
call fcn.140007214
test eax, eax
je 0x140001ac5
cmp eax, 0xb7
jne 0x140001ac2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x140001ac5
add r15d, esi
mov word [rbx], r12w
add rbx, 2
test r12w, r12w
jne 0x140001a6b
lea rdx, [0x1400111b0]
cmp dword [rbp - 8], r14d
je 0x140001b12
mov ecx, 0xffffffe6
call fcn.1400070d8
mov rdx, rdi
lea rcx, [0x1400d2000]
call fcn.140008170
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x140003799
add r15d, esi
jmp 0x140003799
mov ecx, 0xfffffff5
jmp 0x140003794
or rcx, 0xffffffffffffffff
call fcn.1400037f8
lea rcx, [rbp + 0x10]
mov r9d, 0x2000
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 0x140003799
mov r15d, 1
mov word [r12], r14w
jmp 0x140003799
cmp ebx, 0x1c
jg 0x140001f90
je 0x140001f3f
sub ebx, 0x13
je 0x140001f22
sub ebx, 2
je 0x140001d04
sub ebx, 1
je 0x140001ced
sub ebx, 1
je 0x140001cb6
sub ebx, 1
je 0x140001caf
sub ebx, 1
je 0x140001c95
sub ebx, 1
je 0x140001bf1
cmp ebx, 1
jne 0x140003799
lea ecx, [rbx + 0x1f]
call fcn.1400037f8
mov ecx, 0x31
mov rbx, rax
call fcn.1400037f8
mov rdx, rax
mov rcx, rbx
cmp dword [rbp + 4], r14d
jne 0x140001bdb
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x140001be1
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140002342
mov eax, dword [rbp - 4]
jmp 0x1400037a2
mov edx, dword [rbp - 4]
xor ecx, ecx
call fcn.1400072a4
mov rcx, rax
mov rbx, rax
call fcn.14000824c
movzx ebx, word [rbx]
mov ecx, 3
mov rdi, rax
call fcn.1400037d4
mov ecx, 1
mov r13, rax
call fcn.1400037f8
mov rcx, rax
mov rsi, rax
call sub.KERNEL32.dll_lstrlenW
test bx, bx
mov word [r12], r14w
cmove edi, eax
test edi, edi
je 0x140003799
test r13d, r13d
lea ecx, [rax + r13]
cmovns ecx, r13d
test ecx, ecx
js 0x140003799
cmp ecx, eax
cmovg ecx, eax
movsxd rax, ecx
mov rcx, r12
lea rdx, [rsi + rax*2]
call fcn.140008170
test edi, edi
jns 0x140001c76
mov rcx, r12
call sub.KERNEL32.dll_lstrlenW
add edi, eax
test edi, edi
mov eax, r14d
cmovns eax, edi
cmp eax, 0x2000
jge 0x140003799
cdqe
mov word [r12 + rax*2], r14w
jmp 0x140003799
mov ecx, 1
call fcn.1400037f8
mov rcx, rax
call sub.KERNEL32.dll_lstrlenW
movsxd rdx, eax
jmp 0x14000197b
mov ecx, 0xfffffff0
jmp 0x140001cef
mov ecx, 0x31
call fcn.1400037f8
mov edx, dword [rbp - 0xc]
mov rcx, rax
call fcn.1400080ec
test eax, eax
je 0x14000183b
cmp eax, dword [rbp - 4]
je 0x140002342
cmp eax, dword [rbp + 4]
jne 0x140003799
mov eax, dword [rbp + 8]
jmp 0x1400037a2
xor ecx, ecx
call fcn.1400037f8
mov edx, dword [rbp - 8]
mov rcx, rax
call fcn.140007bfc
jmp 0x140003799
mov ecx, 0x31
call fcn.1400037f8
mov r12d, dword [rbp - 0xc]
mov rcx, rax
and r12d, 7
mov qword [rsp + 0x50], rax
mov rbx, rax
call fcn.140008484
lea rdi, [0x14000d1b0]
mov rcx, rdi
test eax, eax
je 0x140001d3e
mov rdx, rbx
call fcn.140008170
jmp 0x140001d5d
lea rdx, [0x1400d2000]
call fcn.140008170
mov rcx, rax
call fcn.1400079ac
mov rcx, rax
mov rdx, rbx
call sub.KERNEL32.dll_lstrcatW
mov rcx, rdi
call fcn.140008370
mov esi, 1
or rbx, 0xffffffffffffffff
lea r13d, [rsi + 3]
cmp r12d, 3
jl 0x140001daa
mov rcx, rdi
call fcn.140007a54
mov ecx, r14d
test rax, rax
je 0x140001d98
lea rcx, [rax + 0x14]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
lea eax, [r12 - 3]
mov r12d, r14d
bts eax, 0x1f
test ecx, eax
sete r12b
test r12d, r12d
jne 0x140001db7
mov rcx, rdi
call fcn.140008188
mov r8d, r14d
cmp r12d, esi
mov edx, 0x40000000
mov rcx, rdi
setne r8b
add r8d, esi
call fcn.140007ebc
mov qword [rsp + 0x60], rax
cmp rax, rbx
jne 0x140001e7d
test r12d, r12d
jne 0x140001e61
lea rdx, [section..ndata]
lea rcx, [0x1400151b0]
call fcn.140008170
mov rdx, rdi
lea rcx, [section..ndata]
call fcn.140008170
mov edx, dword [rbp + 8]
lea rcx, [0x1400111b0]
call fcn.1400072a4
lea rdx, [0x1400151b0]
lea rcx, [section..ndata]
call fcn.140008170
mov edx, dword [rbp - 0xc]
lea rcx, [0x1400111b0]
sar edx, 3
call fcn.1400080ec
mov ecx, eax
sub ecx, r13d
je 0x140001d72
cmp ecx, esi
je 0x140001e56
mov rdx, rdi
lea ecx, [r12 - 6]
jmp 0x140001806
add dword [0x140078e28], esi
jmp 0x1400037a0
mov rdx, qword [rsp + 0x50]
mov ecx, 0xffffffe2
call fcn.1400070d8
cmp r12d, 2
sete r15b
jmp 0x140003799
mov rbx, qword [rsp + 0x50]
mov ecx, 0xffffffea
mov rdx, rbx
call fcn.1400070d8
mov r12, qword [rsp + 0x60]
xor r9d, r9d
mov ecx, dword [rbp - 4]
mov rdx, r12
add dword [0x140078e54], esi
xor r8d, r8d
call fcn.140003b08
sub dword [0x140078e54], esi
mov r13d, eax
or eax, 0xffffffff
cmp dword [rbp], eax
jne 0x140001ec1
cmp dword [rbp + 4], eax
je 0x140001ed5
lea r9, [rbp]
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
jns 0x140003799
mov rcx, rdi
cmp r13d, 0xfffffffe
jne 0x140001f06
lea edx, [r13 - 0x15]
call fcn.1400072a4
mov rdx, rbx
mov rcx, rdi
call sub.KERNEL32.dll_lstrcatW
jmp 0x140001f10
mov edx, 0xffffffee
call fcn.1400072a4
mov rcx, rdi
mov edx, 0x200010
call fcn.1400080ec
jmp 0x14000180b
mov ecx, 0xffffffef
call fcn.1400037f8
mov rdx, rax
mov rcx, r12
call fcn.140008054
test rax, rax
jmp 0x140001835
mov esi, 1
mov ecx, esi
call fcn.1400037f8
mov r8d, 0x2000
mov rdx, r12
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140001f7a
cmp dword [rbp - 4], r14d
je 0x140001f82
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140001f82
mov r15d, esi
mov word [r12], r14w
mov word [r12 + 0x3ffe], r14w
jmp 0x140003799
sub ebx, 0x1d
je 0x1400022eb
sub ebx, 1
je 0x1400021fb
sub ebx, 1
je 0x1400021c0
sub ebx, 1
je 0x1400020ec
sub ebx, 1
je 0x140001fe7
sub ebx, 1
je 0x140001fe7
cmp ebx, 1
jne 0x140003799
xor ecx, ecx
call fcn.1400037d4
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140001be9
mov eax, dword [rbp - 8]
jmp 0x1400037a2
mov ecx, 3
call fcn.1400037d4
mov ecx, 4
mov qword [rsp + 0x58], rax
mov rbx, rax
call fcn.1400037d4
mov rdi, rax
mov esi, 1
mov eax, dword [rbp + 8]
test sil, al
je 0x140002026
lea ecx, [rsi + 0x32]
call fcn.1400037f8
mov rbx, rax
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 8]
test al, 2
je 0x140002037
mov ecx, 0x44
call fcn.1400037f8
mov rdi, rax
cmp dword [rbp - 0x10], 0x22
mov ecx, esi
jne 0x14000209a
call fcn.1400037d4
mov ecx, 2
mov rsi, rax
call fcn.1400037d4
mov ecx, dword [rbp + 8]
mov r9, rdi
sar ecx, 2
mov r8, rbx
test ecx, ecx
je 0x14000208d
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rdx
mov edx, eax
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
mov rax, qword [rsp + 0x50]
sete r15b
jmp 0x1400020da
mov edx, eax
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400020d5
call fcn.1400037f8
mov ecx, 0x12
mov rbx, rax
call fcn.1400037f8
mov rcx, rax
mov rdx, rdi
movzx eax, word [rax]
neg ax
movzx eax, word [rbx]
sbb r9, r9
and r9, rcx
mov rcx, qword [rsp + 0x58]
neg ax
sbb r8, r8
and r8, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [rsp + 0x50], rax
cmp dword [rbp - 0xc], r14d
jl 0x140003799
mov rdx, rax
jmp 0x14000197b
mov eax, dword [rbp - 4]
mov rbx, qword [0x14000d1a0]
test eax, eax
je 0x140002160
mov esi, 1
sub eax, esi
test rbx, rbx
je 0x14000214c
mov rbx, qword [rbx]
test eax, eax
jne 0x1400020ff
test rbx, rbx
je 0x14000214c
lea rdi, [0x14000d1b0]
mov rcx, rdi
lea rdx, [rbx + 8]
call fcn.140008170
mov rdx, qword [0x14000d1a0]
lea rcx, [rbx + 8]
add rdx, 8
call fcn.140008170
mov rcx, qword [0x14000d1a0]
mov rdx, rdi
add rcx, 8
jmp 0x1400030f9
mov edx, 0xffffffe8
xor ecx, ecx
call fcn.1400072a4
mov rcx, rax
jmp 0x140001f13
test ecx, ecx
je 0x14000218b
test rbx, rbx
je 0x14000183b
lea rdx, [rbx + 8]
mov rcx, r12
call fcn.140008170
mov rax, qword [rbx]
mov rcx, rbx
mov qword [0x14000d1a0], rax
jmp 0x1400024b9
mov edx, 0x4008
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [rbp - 0xc]
mov rbx, rax
lea rcx, [rax + 8]
call fcn.1400072a4
mov rax, qword [0x14000d1a0]
mov qword [rbx], rax
mov qword [0x14000d1a0], rbx
jmp 0x140003799
mov ecx, 1
call fcn.1400037f8
mov ecx, 2
mov rbx, rax
call fcn.1400037d4
cmp dword [rbp], r14d
mov ecx, r14d
mov r8d, eax
mov rdx, rbx
setne cl
test ecx, ecx
mov rcx, r12
cmovne r8, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140003799
mov esi, 1
mov ecx, esi
call fcn.1400037d4
lea ecx, [rsi + 1]
mov rbx, rax
call fcn.1400037d4
mov ecx, dword [rbp]
mov r8, rax
cmp ecx, 7
jg 0x14000228d
je 0x140002282
test ecx, ecx
je 0x14000227d
sub ecx, esi
je 0x140002278
sub ecx, esi
je 0x140002272
sub ecx, esi
je 0x140002257
sub ecx, esi
je 0x14000224f
sub ecx, esi
je 0x140002247
cmp ecx, esi
jne 0x1400022e3
xor ebx, r8d
jmp 0x1400022e3
and ebx, r8d
jmp 0x1400022e3
or ebx, r8d
jmp 0x1400022e3
test r8d, r8d
je 0x140002266
mov eax, ebx
cdq
idiv r8d
mov ebx, eax
jmp 0x140002269
mov ebx, r14d
test r8d, r8d
sete r15b
jmp 0x1400022e3
imul ebx, r8d
jmp 0x1400022e3
sub ebx, r8d
jmp 0x1400022e3
add ebx, r8d
jmp 0x1400022e3
test ebx, ebx
sete r14b
mov ebx, r14d
jmp 0x1400022e3
sub ecx, 8
je 0x1400022d5
sub ecx, esi
je 0x1400022ca
sub ecx, esi
je 0x1400022bb
sub ecx, esi
je 0x1400022b4
sub ecx, esi
je 0x1400022ad
cmp ecx, esi
jne 0x1400022e3
mov ecx, r8d
shr ebx, cl
jmp 0x1400022e3
mov ecx, r8d
sar ebx, cl
jmp 0x1400022e3
mov ecx, r8d
shl ebx, cl
jmp 0x1400022e3
test r8d, r8d
je 0x140002266
mov eax, ebx
cdq
idiv r8d
mov ebx, edx
jmp 0x140002269
test ebx, ebx
je 0x140002288
test r8d, r8d
jne 0x1400022e1
jmp 0x140002288
test ebx, ebx
jne 0x1400022e1
mov ebx, r14d
test r8d, r8d
je 0x1400022e3
mov ebx, esi
movsxd rdx, ebx
jmp 0x14000197b
cmp word [rbp + 8], r14w
movzx ebx, byte [rbp + 8]
setl r15b
xor ecx, ecx
call fcn.1400037d4
mov ecx, 1
mov rdi, rax
call fcn.1400037d4
test ebx, ebx
jne 0x140002326
test r15d, r15d
je 0x14000231a
cmp rdi, rax
jmp 0x14000231c
cmp edi, eax
jl 0x140002342
jle 0x140001be9
jmp 0x140002336
test r15d, r15d
je 0x14000233e
cmp rdi, rax
jb 0x140002342
jbe 0x140001be9
mov eax, dword [rbp + 4]
jmp 0x1400037a2
cmp edi, eax
jae 0x140002330
mov eax, dword [rbp]
jmp 0x1400037a2
mov ecx, 2
call fcn.1400037d4
mov ecx, 1
mov rbx, rax
call fcn.1400037d4
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x1400020e4
cmp ebx, 0x35
jg 0x140002f18
je 0x140002e77
cmp ebx, 0x2d
jg 0x140002902
je 0x1400027f4
sub ebx, 0x25
je 0x1400027cd
sub ebx, 1
je 0x1400026e5
sub ebx, 1
je 0x14000263c
sub ebx, 1
je 0x14000260e
sub ebx, 1
je 0x14000255d
sub ebx, 1
je 0x1400024ff
sub ebx, 1
je 0x1400024c4
cmp ebx, 1
jne 0x140003799
lea ecx, [rbx - 0x13]
call fcn.1400037f8
mov ecx, 7
mov qword [rsp + 0x60], rax
mov rbx, rax
call fcn.140007e50
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [0x14000a5a0]
mov word [r12], r14w
mov r15d, 1
mov r13d, eax
mov word [rdi], r14w
test eax, eax
je 0x140003799
mov edx, r13d
lea ecx, [r15 + 0x3f]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140003799
lea ecx, [r15 + 7]
call fcn.140007e50
lea ecx, [r15 + 8]
mov rbx, rax
call fcn.140007e50
mov rcx, qword [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x70], rax
mov r8d, r13d
mov rax, rbx
xor edx, edx
call qword [0x14000a5a0]
test eax, eax
je 0x1400024b6
mov rax, qword [rsp + 0x70]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov rcx, rsi
lea rdx, [0x14000a610]
call qword [0x14000a5a0]
test eax, eax
je 0x1400024b6
movsxd rcx, dword [rbp]
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + rcx*4 + 8]
mov rcx, r12
call fcn.140007ab4
movsxd rcx, dword [rbp]
mov rax, qword [rsp + 0x50]
mov edx, dword [rax + rcx*4 + 0xc]
mov rcx, rdi
call fcn.140007ab4
mov r15d, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140003799
mov ecx, 2
call fcn.1400037f8
mov rcx, rax
call fcn.140007a54
mov rbx, rax
test rax, rax
je 0x1400024f1
mov edx, dword [rax + 0x14]
mov rcx, rdi
call fcn.140007ab4
mov edx, dword [rbx + 0x18]
jmp 0x14000197b
mov word [r12], r14w
mov word [rdi], r14w
jmp 0x14000183b
xor ecx, ecx
call fcn.1400037f8
mov rdx, rax
mov ecx, 0xffffffeb
mov rbx, rax
call fcn.1400070d8
mov rcx, rbx
call fcn.140007b90
mov rbx, rax
test rax, rax
je 0x14000183b
cmp dword [rbp - 4], r14d
je 0x140002555
mov rcx, rax
call fcn.140007968
cmp dword [rbp - 8], r14d
jl 0x14000254a
mov edx, eax
mov rcx, rdi
call fcn.140007ab4
jmp 0x140002555
test eax, eax
mov esi, 1
cmovne r15d, esi
mov rcx, rbx
jmp 0x140002603
xor ecx, ecx
call fcn.1400037f8
mov ecx, 0x31
mov rsi, rax
call fcn.1400037f8
mov ecx, 0x22
mov rbx, rax
call fcn.1400037f8
mov ecx, 0x15
mov rdi, rax
call fcn.1400037f8
lea rdx, [0x1400111b0]
mov ecx, 0xffffffec
call fcn.1400070d8
mov eax, dword [rbp + 4]
lea r8, [0x1400d2000]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp]
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.140007fe8
test eax, eax
je 0x14000183b
test byte [rbp - 0x7c], 0x40
je 0x140003799
mov rcx, qword [rbp - 0x18]
call fcn.140007968
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003799
xor ecx, ecx
call fcn.1400037d4
mov ecx, 1
mov rbx, rax
call fcn.1400037d4
mov edx, eax
mov rcx, rbx
cmp dword [rbp], r14d
je 0x14000177f
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140003799
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.1400037d4
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 [0x1400211c0], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 3
call fcn.1400037d4
mov cl, byte [rbp + 4]
mov esi, 1
mov edx, dword [rbp - 8]
mov dword [0x1400211d0], eax
mov al, cl
and al, sil
mov byte [0x1400211d7], sil
mov byte [0x1400211d4], al
mov al, cl
and cl, 4
and al, 2
mov byte [0x1400211d6], cl
lea rcx, [0x1400211dc]
mov byte [0x1400211d5], al
call fcn.1400072a4
lea rcx, [0x1400211c0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x1400020e4
test dword [rbp], 0x100
je 0x1400026fa
mov ecx, 2
call fcn.1400037d4
jmp 0x140002706
mov edx, dword [rbp - 4]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x50], rax
mov eax, dword [rbp]
mov edi, eax
shr edi, 0x1e
mov ebx, eax
mov ecx, eax
mov r13d, eax
and ecx, 4
shr r13d, 0x1f
and edi, 1
mov dword [rsp + 0x40], ecx
and ebx, 3
bt eax, 0x10
jae 0x14000273d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.1400037f8
jmp 0x140002741
movzx eax, word [rbp - 8]
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x58], rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rbp]
mov r8d, ebx
mov eax, dword [rbp + 0x1c]
and edx, 0xfef0
mov r9d, dword [rbp + 0x18]
imul eax, edi
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x58]
imul r9d, r13d
neg dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
sbb rcx, rcx
and rcx, qword [0x140070d18]
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rsp + 0x50]
mov edx, 0x172
mov r9, rax
mov r8d, ebx
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400027bb
test ebx, ebx
jne 0x1400027bb
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [rbp - 0xc], r14d
jl 0x140003799
mov rdx, rdi
jmp 0x14000197b
mov rbx, qword [0x140078d9c]
xor ecx, ecx
add rbx, rdx
call fcn.1400037d4
mov rcx, rax
mov r8, rbx
mov edx, 0xffffffeb
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
jmp 0x140003799
cmp dword [0x140078dc0], r14d
mov esi, 1
mov r15d, esi
jl 0x1400028f8
lea ecx, [rsi - 0x11]
call fcn.1400037f8
mov ecx, esi
mov rdi, rax
call fcn.1400037f8
mov r12, rax
cmp dword [rbp + 4], r14d
je 0x140002835
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x140002850
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1400028ee
mov rdx, r12
mov rcx, rbx
call fcn.140007748
mov rdi, rax
test rax, rax
je 0x1400028b9
mov ecx, dword [rbp - 4]
mov r15d, r14d
test ecx, ecx
je 0x14000288c
lea rdx, [0x1400111b0]
call fcn.1400070d8
mov rax, rdi
call qword [0x14000a5a0]
test rax, rax
je 0x1400028c6
mov r15d, esi
jmp 0x1400028c6
lea rax, section..data
mov edx, 0x2000
mov qword [rsp + 0x20], rax
lea r9, [0x14000d1a0]
mov rax, rdi
lea r8, [section..ndata]
mov rcx, r13
call qword [0x14000a5a0]
jmp 0x1400028c6
mov rdx, r12
mov ecx, 0xfffffff7
call fcn.1400070d8
cmp dword [rbp], r14d
jne 0x140003799
mov rcx, rbx
call fcn.1400048e4
test eax, eax
je 0x140003799
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140003799
mov ecx, 0xfffffff6
jmp 0x14000378d
mov ecx, 0xffffffe7
jmp 0x14000378d
sub ebx, 0x2e
je 0x140002c76
sub ebx, 1
je 0x140002bd7
sub ebx, 1
je 0x140002bba
sub ebx, 1
je 0x140002b59
sub ebx, 1
je 0x140002af8
sub ebx, 1
je 0x140002a40
cmp ebx, 1
jne 0x140003799
movsxd rbx, dword [rbp - 0xc]
mov ecx, 2
mov r12d, dword [rbp + 4]
call fcn.1400037f8
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov qword [rsp + 0x70], rax
call fcn.1400037f8
mov esi, 1
mov rdx, rax
mov r15d, esi
mov rcx, rbx
test ebx, ebx
js 0x140002984
movsxd rax, dword [0x140078e24]
add rax, 0xffffffff80000001
add rcx, rax
lea r9, [rsp + 0x60]
mov r8d, 0x100022
call fcn.1400077ac
mov rdi, qword [rsp + 0x60]
test eax, eax
cmovne rdi, r14
test rdi, rdi
je 0x140003799
lea rbx, [0x1400151b0]
cmp r12d, esi
jne 0x1400029d0
mov ecx, 0x23
call fcn.1400037f8
mov rcx, rbx
call sub.KERNEL32.dll_lstrlenW
lea r13d, [rax*2 + 2]
jmp 0x140002a0b
mov r13d, 4
cmp r12d, r13d
jne 0x1400029ec
lea ecx, [r13 - 1]
call fcn.1400037d4
mov dword [0x1400151b0], eax
jmp 0x140002a0b
mov r13d, r14d
cmp r12d, 3
jne 0x140002a0b
mov ecx, dword [rbp]
mov r9d, 0xc000
mov r8, rbx
xor edx, edx
call fcn.140003b08
mov r13d, eax
mov r9d, dword [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
mov dword [rsp + 0x28], r13d
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 0x140003799
mov esi, 1
cmp dword [rbp + 4], r14d
jne 0x140002a80
lea ecx, [rsi + 1]
call fcn.140003854
mov rbx, rax
test rax, rax
je 0x140002aed
lea ecx, [rsi + 0x32]
call fcn.1400037f8
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 0x140002aed
mov ecx, 0x22
call fcn.1400037f8
mov ecx, dword [rbp + 4]
mov rbx, rax
sar ecx, 1
cmp word [rax], r14w
jne 0x140002a9f
mov esi, 0x3eb
jmp 0x140002aed
movsxd rax, dword [rsp + 0x68]
or ecx, 0x100020
mov dword [rsp + 0x40], ecx
mov rcx, rax
test eax, eax
js 0x140002ac5
movsxd rax, dword [0x140078e24]
add rax, 0xffffffff80000001
add rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400075ec
test rax, rax
je 0x140002ae8
mov r8d, dword [rsp + 0x40]
mov rdx, rbx
mov rcx, rax
call fcn.1400014fc
mov esi, eax
jmp 0x140002aed
mov esi, 6
test esi, esi
setne r15b
jmp 0x140003799
mov r13d, 0xa
mov dword [rsp + 0x40], r13d
lea esi, [r13 - 9]
mov ecx, esi
call fcn.1400037f8
lea ecx, [rsi + 0x11]
mov rdi, rax
call fcn.1400037f8
lea ecx, [rsi - 0x24]
mov rbx, rax
call fcn.1400037f8
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
mov eax, 0x1fff
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 0x140003799
mov r15d, esi
jmp 0x140001b55
mov rbx, r14
mov rdi, r14
mov rsi, r14
cmp dword [rbp - 0xc], r14d
je 0x140002b75
xor ecx, ecx
call fcn.1400037f8
mov ecx, dword [rbp - 8]
mov rbx, rax
test ecx, ecx
je 0x140002b86
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.1400037f8
mov rdi, rax
cmp dword [rbp + 4], r14d
je 0x140002b99
mov ecx, 0x22
call fcn.1400037f8
mov rsi, rax
mov ecx, 0xffffffcd
call fcn.1400037f8
mov r9, rax
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x140001833
cmp dword [rbp - 0xc], 0xbadf00d
jne 0x14000214c
mov esi, 1
add dword [0x140078e34], esi
jmp 0x140003799
xor ecx, ecx
call fcn.1400037f8
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rax
call fcn.1400037f8
mov ecx, 0x23
mov rdi, rax
call fcn.1400037f8
mov rcx, rbx
mov rsi, rax
call fcn.140007a54
test rax, rax
jne 0x140002c17
xor edx, edx
lea ecx, [rdx - 7]
call fcn.1400070d8
jmp 0x14000183b
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 [rbp - 4]
mov word [rbp - 0x60], ax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x50], rsi
call fcn.1400070d8
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x140003799
jmp 0x140002c08
mov ecx, 0xfffffff0
call fcn.1400037f8
mov ecx, 0xffffffdf
mov qword [rbp + 0x10], rax
call fcn.1400037f8
mov ecx, 2
mov qword [rsp + 0x60], rax
mov rsi, rax
call fcn.1400037f8
mov ecx, 0xffffffcd
mov qword [rsp + 0x70], rax
call fcn.1400037f8
mov ecx, 0x45
mov rdi, rax
call fcn.1400037f8
mov r12d, dword [rbp + 4]
mov rcx, rsi
mov qword [rsp + 0x68], rax
mov ebx, r12d
mov eax, r12d
sar ebx, 0xc
and eax, 0xfff
mov r13d, r12d
mov dword [rsp + 0x40], eax
and r13d, 0x8000
and ebx, 7
sar r12d, 0x10
call fcn.140008484
test eax, eax
jne 0x140002cfc
lea ecx, [rax + 0x21]
call fcn.1400037f8
lea rax, [rsp + 0x58]
mov esi, 1
mov r8d, esi
mov qword [rsp + 0x20], rax
lea r9, [0x14000adc0]
xor edx, edx
lea rcx, [0x14000ade0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15d, eax
test eax, eax
js 0x140002e56
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x50]
lea rdx, [0x14000add0]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x14000a5a0]
mov r15d, eax
test eax, eax
js 0x140002e44
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
call qword [0x14000a5a0]
mov r15d, eax
test r13d, r13d
jne 0x140002d92
mov rcx, qword [rsp + 0x58]
lea rdx, [0x1400d2000]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x14000a5a0]
test ebx, ebx
je 0x140002daa
mov rcx, qword [rsp + 0x58]
mov edx, ebx
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
call qword [0x14000a5a0]
mov rcx, qword [rsp + 0x58]
movzx edx, r12w
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [0x14000a5a0]
cmp word [rdi], r14w
je 0x140002de3
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
mov r8d, dword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x88]
call qword [0x14000a5a0]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [0x14000a5a0]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x14000a5a0]
test r15d, r15d
js 0x140002e32
mov rcx, qword [rsp + 0x50]
mov r8d, esi
mov rdx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x14000a5a0]
mov r15d, eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000a5a0]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000a5a0]
mov ecx, r15d
lea rdx, [0x1400111b0]
sar ecx, 0x1f
and ecx, 0xfffffffc
sub ecx, 0xc
call fcn.1400070d8
shr r15d, 0x1f
jmp 0x140003799
mov ecx, 0x20019
call fcn.140003854
mov ecx, 0x33
mov rbx, rax
call fcn.1400037f8
mov word [r12], r14w
test rbx, rbx
je 0x14000183b
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x4000
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x68]
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 0x140002f08
mov eax, dword [rsp + 0x68]
lea r13d, [rsi + 3]
cmp eax, r13d
je 0x140002ef2
dec eax
cmp eax, esi
ja 0x140002f08
mov r15d, dword [rbp + 4]
mov word [r12 + 0x3ffe], r14w
jmp 0x140002f10
cmp dword [rbp + 4], r14d
mov rcx, r12
mov edx, dword [r12]
sete r15b
call fcn.140007ab4
jmp 0x140002f10
mov word [r12], r14w
mov r15d, esi
mov rcx, rbx
jmp 0x140002a35
cmp ebx, 0x3e
jg 0x140003103
je 0x1400030be
mov ecx, ebx
sub ecx, 0x36
je 0x140003042
sub ecx, 1
je 0x140003029
sub ecx, 1
je 0x140002ff9
sub ecx, 1
je 0x140003356
sub ecx, 1
je 0x140003144
sub ecx, 1
je 0x140002fb3
sub ecx, 1
je 0x140002f94
cmp ecx, 1
jne 0x140003799
mov rcx, rdi
call fcn.14000824c
test rax, rax
je 0x140001b4f
lea rdx, [rbp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140001b4f
jmp 0x1400030f2
mov rcx, r12
call fcn.14000824c
test rax, rax
je 0x140003799
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140003799
cmp word [r12], r14w
je 0x140003799
mov ecx, 2
call fcn.1400037d4
mov rcx, r12
mov rbx, rax
call fcn.14000824c
mov r9d, dword [rbp]
mov rcx, rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [rbp - 8], r14d
jl 0x140003799
mov edx, eax
mov rcx, rdi
jmp 0x14000197e
mov ecx, 0xffffffed
call fcn.1400037f8
mov r8d, dword [rbp - 4]
mov rcx, rax
mov edx, dword [rbp - 8]
call fcn.140007ebc
or rbx, 0xffffffffffffffff
cmp rax, rbx
jne 0x1400020e4
mov word [r12], r14w
jmp 0x14000183b
mov rcx, r12
call fcn.14000824c
test rax, rax
je 0x140003799
mov rcx, rax
jmp 0x140002603
mov ecx, 0x20019
call fcn.140003854
mov ecx, 3
mov rbx, rax
call fcn.1400037d4
mov word [r12], r14w
mov rcx, rax
test rbx, rbx
je 0x14000183b
mov eax, 0x1fff
mov edx, ecx
mov r8, r12
mov dword [rsp + 0x40], eax
mov rcx, rbx
cmp dword [rbp + 4], r14d
je 0x14000308f
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x140002ee7
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x40]
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 0x140002ee7
mov ecx, 2
call fcn.1400037f8
lea rdx, [rbp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
or rbx, 0xffffffffffffffff
cmp rax, rbx
jne 0x1400030e7
mov word [rdi], r14w
jmp 0x14000301f
mov rdx, rax
mov rcx, rdi
call fcn.140007ab4
lea rdx, [rbp + 0x4c]
mov rcx, r12
call fcn.140008170
jmp 0x140003799
mov ecx, ebx
sub ecx, 0x3f
je 0x14000363e
sub ecx, 1
je 0x1400035aa
sub ecx, 1
je 0x140003533
sub ecx, 1
je 0x140003464
sub ecx, 2
je 0x140003429
sub ecx, 1
je 0x140003356
cmp ecx, 1
jne 0x140003799
mov ebx, 2
mov r13d, r14d
mov ecx, ebx
call fcn.1400037d4
lea esi, [rbx - 1]
mov rcx, rax
cmp eax, esi
jl 0x140003799
mov eax, 0x1fff
cmp ecx, eax
cmovg ecx, eax
mov qword [rsp + 0x60], rcx
cmp word [r12], r14w
je 0x1400032fe
mov rcx, r12
call fcn.14000824c
mov rcx, rax
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x60]
test rax, rax
je 0x1400032fe
mov edx, dword [rbp]
lea r15d, [rbx + 8]
mov rax, r14
mov qword [rsp + 0x70], rax
movzx r12d, ax
cmp dword [rbp - 0x10], 0x3a
jne 0x140003285
mov r8d, 2
mov qword [rsp + 0x20], r14
sub r8d, edx
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400032fe
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x1400032fe
movzx ecx, byte [rsp + 0x68]
mov word [rsp + 0x48], cx
cmp dword [rbp], r14d
jne 0x140003346
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400032b2
mov eax, ebx
neg eax
add dword [rsp + 0x40], 0xffffffff
mov ecx, 0xfffd
mov word [rsp + 0x48], cx
je 0x1400032b7
mov rcx, qword [rsp + 0x50]
add eax, esi
mov edx, eax
mov dword [rsp + 0x58], eax
mov r9d, esi
xor r8d, r8d
sub ebx, esi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x68]
mov edx, 8
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov eax, dword [rsp + 0x58]
je 0x14000322a
jmp 0x1400032b2
test edx, edx
jne 0x14000329e
test rax, rax
jne 0x14000329e
xor edx, edx
call fcn.140007890
test eax, eax
js 0x1400032fe
mov rcx, qword [rsp + 0x50]
mov r8d, 2
lea rdx, [rsp + 0x48]
call fcn.140007f10
test eax, eax
je 0x1400032fe
movzx ecx, word [rsp + 0x48]
mov edx, dword [rbp]
test edx, edx
jne 0x140003346
cmp r12w, 0xd
je 0x140003311
cmp r12w, r15w
je 0x140003311
mov rax, qword [rsp + 0x70]
add r13d, esi
movzx r12d, cx
mov word [rdi + rax*2], cx
add rax, rsi
mov qword [rsp + 0x70], rax
test cx, cx
je 0x1400032fe
mov ecx, dword [rsp + 0x60]
cmp rax, rcx
mov rcx, qword [rsp + 0x50]
jl 0x1400031ab
movsxd rax, r13d
mov r15d, r14d
test r13d, r13d
mov word [rdi + rax*2], r14w
jmp 0x140001e74
cmp r12w, cx
je 0x14000332f
cmp cx, 0xd
je 0x140003323
cmp cx, r15w
jne 0x14000332f
movsxd rax, r13d
add r13d, esi
mov word [rdi + rax*2], cx
jmp 0x1400032fe
mov rcx, qword [rsp + 0x50]
neg ebx
mov edx, ebx
mov r9d, esi
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1400032fe
movzx edx, cx
mov rcx, rdi
call fcn.140007ab4
jmp 0x1400037a0
mov eax, dword [rbp - 4]
cmp ebx, 0x39
mov r13d, r14d
mov dword [rsp + 0x58], eax
sete r13b
mov esi, 1
test eax, eax
je 0x14000338c
mov ecx, esi
call fcn.1400037d4
cmp ebx, 0x39
mov word [0x1400111b0], ax
mov edi, r14d
setne dil
add edi, esi
jmp 0x1400033d9
cmp ebx, 0x39
jne 0x1400033c3
lea ecx, [rbx - 0x18]
call fcn.1400037f8
mov r8d, 0x2000
lea rdx, [0x1400111b0]
lea rcx, [0x1400151b0]
call fcn.140007860
lea rcx, [0x1400111b0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
jmp 0x1400033d9
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call fcn.1400037f8
mov rcx, rax
call sub.KERNEL32.dll_lstrlenW
mov edi, eax
add edi, edi
cmp word [r12], r14w
je 0x140003421
mov rcx, r12
call fcn.14000824c
or r13d, dword [rsp + 0x58]
mov rbx, rax
jne 0x140003407
cmp dword [rbp], r14d
je 0x140003407
mov rdx, rax
mov rcx, rax
call fcn.140007890
test eax, eax
js 0x140003421
mov r8d, edi
lea rdx, [0x1400111b0]
mov rcx, rbx
call fcn.140007ffc
test eax, eax
jne 0x140003799
mov r15d, esi
jmp 0x140003799
movsxd r8, dword [0x14003ee40]
xor r9d, r9d
movsxd rax, dword [rbp - 0xc]
mov rcx, r13
and r8, rax
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp - 0xc], r14d
je 0x140003799
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140003799
mov ecx, dword [rbp]
test ecx, ecx
je 0x1400034be
cmp ecx, 1
jne 0x140003799
mov ecx, 2
call fcn.1400037d4
mov ecx, 4
mov rbx, rax
call fcn.1400037d4
movzx r8d, al
lea r13, [0x140078e20]
shr eax, 0x18
lea rcx, [rsp + 0x60]
test rbx, rbx
mov edx, eax
mov qword [rsp + 0x60], r14
cmovne r13, rbx
add rdx, r13
call fcn.14000982c
mov rdx, qword [rsp + 0x60]
jmp 0x140002ff1
mov ecx, 2
call fcn.140007e50
mov ecx, 0x22
mov rbx, rax
call fcn.1400037f8
test rbx, rbx
je 0x140003524
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHCLSIDFromString]
test eax, eax
js 0x140003524
mov edx, dword [rbp]
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rbp + 0x10]
mov rax, rbx
call qword [0x14000a5a0]
test eax, eax
js 0x140003524
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.140008170
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140003799
mov r15d, 1
mov word [rdi], r14w
jmp 0x140003799
xor ecx, ecx
call fcn.1400037d4
cmp eax, 0x20
jae 0x14000183b
cmp dword [rbp], r14d
je 0x140003570
cmp dword [rbp - 4], r14d
je 0x140003564
mov ecx, eax
call fcn.1400012f8
xor edx, edx
xor ecx, ecx
call fcn.140001348
jmp 0x140003799
xor ecx, ecx
call fcn.1400011dc
jmp 0x140002fef
movsxd rdx, eax
cmp dword [rbp - 4], r14d
je 0x14000358f
mov rcx, qword [0x140078d50]
mov eax, dword [rbp - 8]
mov dword [rcx + rdx*4 + 0xb4], eax
jmp 0x140003799
mov rax, qword [0x140078d50]
mov rcx, rdi
mov edx, dword [rax + rdx*4 + 0xb4]
call fcn.1400072a4
jmp 0x140003799
xor ecx, ecx
call fcn.1400037d4
cmp eax, dword [0x140078d74]
mov r12, rax
jae 0x14000183b
movsxd rcx, r12d
imul rbx, rcx, 0x4018
movsxd rcx, dword [rbp - 4]
add rbx, qword [0x140078d6c]
test ecx, ecx
js 0x1400035ef
movsxd rdx, dword [rbx + rcx*4]
mov rcx, rdi
jne 0x14000197e
lea rdx, [rbx + 0x18]
jmp 0x1400030f9
or rax, 0xffffffffffffffff
sub eax, ecx
mov dword [rbp - 4], eax
je 0x14000360c
mov ecx, 1
call fcn.1400037d4
mov rcx, rax
mov dword [rbp - 8], eax
jmp 0x140003620
mov edx, dword [rbp + 4]
lea rcx, [rbx + 0x18]
call fcn.1400072a4
bts dword [rbx + 8], 8
mov ecx, dword [rbp - 8]
movsxd rax, dword [rbp - 4]
mov dword [rbx + rax*4], ecx
cmp dword [rbp], r14d
je 0x140003799
mov ecx, r12d
call fcn.140001274
jmp 0x140003799
mov ecx, 0xfffffff0
mov edi, 0xfffffd66
call fcn.1400037f8
mov rcx, rax
mov r12, rax
call fcn.140008484
test eax, eax
jne 0x140003664
lea ecx, [rax - 0x13]
call fcn.1400037f8
mov rcx, r12
call fcn.140008188
mov edx, 0x40000000
mov r8d, 2
mov rcx, r12
call fcn.140007ebc
or rbx, 0xffffffffffffffff
mov r13, rax
cmp rax, rbx
je 0x140003770
mov eax, dword [rbp - 8]
mov dword [rsp + 0x40], eax
cmp dword [rbp - 4], r14d
je 0x140003755
movsxd rdi, dword [0x140078d48]
lea ecx, [rbx + 0x41]
mov rdx, rdi
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140003751
xor ecx, ecx
call fcn.1400038dc
mov edx, edi
mov rcx, rsi
call fcn.1400038c8
movsxd rdx, dword [rbp - 4]
lea ecx, [rbx + 0x41]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x10], rax
mov rdi, rax
test rax, rax
je 0x140003734
mov r9d, dword [rbp - 4]
mov r8, rax
mov ecx, dword [rbp - 8]
xor edx, edx
call fcn.140003b08
cmp byte [rdi], r14b
je 0x14000372a
mov rcx, qword [rdi]
add rdi, 8
mov ebx, ecx
mov rdx, rdi
shr rcx, 0x20
mov r8d, ebx
add rcx, rsi
call fcn.14000982c
add rdi, rbx
cmp byte [rdi], r14b
jne 0x140003703
or rbx, 0xffffffffffffffff
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r8d, dword [rsp + 0x58]
mov rdx, rsi
mov rcx, r13
call fcn.140007ffc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
jmp 0x140003755
mov eax, dword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov ecx, eax
call fcn.140003b08
mov rcx, r13
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0xfffffff3
test edi, edi
jns 0x14000378b
mov rcx, r12
mov ebx, 0xffffffef
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r15d, [rbx + 0x12]
mov ecx, ebx
lea rdx, [0x1400111b0]
call fcn.1400070d8
add dword [0x140078e28], r15d
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400098e0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret