Function at 0x418110
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b54e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x318
push esi
xor esi, esi
mov ecx, str.Config
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call fcn.00463c90
call fcn.00440420
mov ecx, 0x47eea2
call fcn.00463c90
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push 0x80
push 0x66b238
xor edx, edx
mov dword [ebp - 0x18], esi
mov ecx, str.New_Config_Name
call fcn.00468550
add esp, 0x14
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov ecx, str.Create_Config
call fcn.00461aa0
add esp, 4
test al, al
je 0x4182f6
mov ecx, 0x66b238
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4181c0
sub ecx, edx
push ecx
push 0x66b238
lea ecx, [ebp - 0x3c]
call fcn.00414e60
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push 7
push 0x483b3c
cmp eax, 7
jb 0x41821b
cmp edx, 0xf
lea esi, [ebp - 0x3c]
lea eax, [ecx + 7]
cmova esi, dword [ebp - 0x3c]
add esi, ecx
mov dword [ebp - 0x2c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 7], 0
lea eax, [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
add esp, 0xc
jmp 0x418228
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push 7
call fcn.00415200
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
or esi, 0x800
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x41829f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418295
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0041b670
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x4182f6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4182ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4182ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
mov ecx, 0x47eea3
call fcn.00463c90
push ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push 0x104
push dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
or esi, 0x400
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x3c], xmm0
push 0x104
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x20], esi
call fcn.0041ac80
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
cmova eax, dword [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x18], ecx
call fcn.004792d2
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x60], ecx
cmp edi, ecx
ja 0x41838a
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
mov ecx, edi
jbe 0x418382
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov word [eax + ecx*2], si
jmp 0x4183f0
mov eax, dword [ebp - 0x28]
mov edx, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x4183df
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
cmova eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0x88], eax
test edx, edx
je 0x4183d1
mov edi, dword [ebp - 0x88]
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + edx]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4183ed
push ecx
push edx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0041ac80
mov edx, dword [ebp - 0x80]
cmp edi, dword [ebp - 0x18]
jae 0x418344
mov esi, dword [ebp - 0x14]
and esi, 0xfffffbff
mov dword [ebp - 4], 3
or esi, 0x200
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0x669ffc
mov dword [ebp - 0x20], esi
test edx, edx
jne 0x41920a
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00416710
and esi, 0xfffffdff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x418479
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41846f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41846f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x28], 7
mov ecx, dword [eax]
mov eax, dword [0x66c6fc]
cmp eax, dword [ecx + 4]
jle 0x4184d2
push 0x66c6fc
call fcn.00479767
add esp, 4
cmp dword [0x66c6fc], 0xffffffff
jne 0x4184d2
push 0x47d020
call fcn.00479a37
add esp, 4
push 0x66c6fc
call fcn.00479716
add esp, 4
mov ecx, dword [0x66b2b8]
mov edx, dword [0x66b2bc]
cmp ecx, edx
je 0x4184f5
push ecx
call fcn.0041a800
mov eax, dword [0x66b2b8]
add esp, 4
mov dword [0x66b2bc], eax
cmp dword [ebp - 0xa4], 0xf
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmova eax, dword [ebp - 0xb8]
push eax
call fcn.004790e6
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.004161a0
or esi, 0x180
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
add esp, 4
mov byte [ebp - 4], 8
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0041a660
add esp, 4
test eax, eax
jne 0x419212
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x418593
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418589
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418589
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x41859e
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x4185af
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
test ecx, ecx
je 0x41860f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41860f
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, dword [ebp - 0x40]
call esi
mov ecx, dword [ebp - 0x40]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x41860c
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, dword [ebp - 0x40]
call esi
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x418a2e
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0xa0], 0
cmp al, 3
jne 0x418640
push edi
mov dword [ebp - 0x98], 0
push 0
jmp 0x418676
test cl, 2
je 0x41864a
mov ecx, dword [edi + 0x10]
jmp 0x41864d
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe 0x418658
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xd8]
push ecx
push eax
call fcn.00479300
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x98], eax
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.00417450
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
test edx, edx
je 0x41869f
cmp eax, 1
je 0x41869f
cmp eax, 9
jne 0x419222
cmp eax, 2
jne 0x418776
push 7
push str..config
call fcn.004790e6
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.004161a0
add esp, 8
or esi, 0x60
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x20]
or esi, 1
cmp dword [edi + 0x34], 7
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
jbe 0x4186dd
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.004163e0
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x18], eax
push esi
call fcn.00479620
cmp esi, eax
je 0x41872d
lea ecx, [eax - 2]
cmp esi, ecx
je 0x41872d
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x418718
cmp esi, edx
jne 0x41872f
cmp word [edx], 0x2e
jne 0x41872f
jmp 0x41872d
mov ecx, edx
cmp esi, ecx
je 0x41872d
nop
cmp word [ecx], 0x2e
je 0x41872f
sub ecx, 2
cmp esi, ecx
jne 0x418720
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0x8c], ecx
sar eax, 1
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041a450
or dword [ebp - 0x14], 0x12
lea eax, [ebp - 0x7c]
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x6c]
cmp esi, 7
cmova eax, dword [ebp - 0x7c]
push eax
call fcn.00416810
test eax, eax
jne 0x418779
mov byte [ebp - 0x21], 1
jmp 0x41877d
mov esi, dword [ebp - 0x68]
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x14]
test al, 2
je 0x4187de
mov ecx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 7
jbe 0x4187ca
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4187ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41828f
push ecx
push edx
call fcn.00479a51
mov esi, dword [ebp - 0x68]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], cx
mov dword [ebp - 4], 0xc
test al, 1
je 0x418826
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp esi, 7
jbe 0x418826
mov ecx, dword [ebp - 0x7c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x41881c
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41828f
push esi
push ecx
call fcn.00479a51
add esp, 8
cmp byte [ebp - 0x21], 0
je 0x418971
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x41883c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.004163e0
sub esi, eax
mov dword [ebp - 0x84], eax
push ecx
lea eax, [ebp - 0x84]
sar esi, 1
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x80], esi
call fcn.0041a450
mov esi, dword [ebp - 0x14]
or esi, 8
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xd0]
call fcn.00416710
mov byte [ebp - 4], 0xf
mov ecx, dword [0x66b2bc]
cmp ecx, dword [0x66b2c0]
je 0x4188d5
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [0x66b2bc], 0x18
jmp 0x4188e1
push eax
push ecx
mov ecx, 0x66b2b8
call fcn.0041b1e0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x418919
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41890f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41828f
push ecx
push edx
call fcn.00479a51
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 7
jbe 0x418974
mov edx, dword [ebp - 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418965
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41828f
push ecx
push edx
call fcn.00479a51
add esp, 8
jmp 0x418974
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x328]
push eax
push dword [edi + 0x38]
call fcn.0047925a
cmp eax, 0x12
je 0x4189c9
test eax, eax
jne 0x419230
cmp word [ebp - 0x2fc], 0x2e
jne 0x4189b6
mov ax, word [ebp - 0x2fa]
test ax, ax
je 0x418974
cmp ax, 0x2e
jne 0x4189b6
cmp word [ebp - 0x2f8], 0
je 0x418974
lea eax, [ebp - 0x328]
mov ecx, edi
push eax
call fcn.004176f0
jmp 0x418613
mov ecx, dword [ebp - 0x60]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x60], edx
test ecx, ecx
je 0x418613
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x418613
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
mov esi, dword [ebp - 0x14]
jne 0x418613
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0x14]
jmp 0x418613
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x418a6d
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x418a6d
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x47e5c0]
mov edi, dword [ebp - 0x60]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x418a6d
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, edi
call esi
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x418aad
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x418aad
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x418aad
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x47e5c0]
mov ecx, edi
call esi
mov ecx, dword [0x66b2bc]
mov eax, 0x2aaaaaab
sub ecx, dword [0x66b2b8]
xor edi, edi
mov esi, dword [0x669fe8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x418b3d
xor ecx, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ecx
nop
cmp esi, edi
sete dl
add ecx, dword [0x66b2b8]
cmp dword [ecx + 0x14], 0xf
jbe 0x418af3
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.004706c0
add esp, 8
test al, al
je 0x418b0e
mov esi, edi
mov dword [0x669fe8], esi
jmp 0x418b14
mov esi, dword [0x669fe8]
mov ecx, dword [0x66b2bc]
mov eax, 0x2aaaaaab
sub ecx, dword [0x66b2b8]
inc edi
add dword [ebp - 0x20], 0x18
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x418ae0
cmp esi, 0xffffffff
je 0x418b65
mov ecx, dword [0x66b2b8]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x418b57
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.00461050
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Load_Selected
mov dword [ebp - 0x18], 0
call fcn.00461aa0
add esp, 4
test al, al
je 0x418c01
mov esi, dword [0x669fe8]
test esi, esi
js 0x418c01
mov ecx, dword [0x66b2bc]
mov eax, 0x2aaaaaab
mov edi, dword [0x66b2b8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418c01
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00413740
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x418c01
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418bf7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191e7
push ecx
push edx
call fcn.00479a51
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Save_Selected
mov dword [ebp - 0x18], 0
call fcn.00461aa0
add esp, 4
test al, al
je 0x418cc0
mov esi, dword [0x669fe8]
test esi, esi
js 0x418cc0
mov ecx, dword [0x66b2bc]
mov eax, 0x2aaaaaab
mov edi, dword [0x66b2b8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418cc0
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00413740
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.0041b670
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x418cae
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418ca4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418ca4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov ecx, dword [0x66aec0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x418d14
mov ecx, 0x47eeab
mov esi, ecx
cmp esi, 0xffffffff
jae 0x418d06
nop
mov dl, byte [ecx]
test dl, dl
je 0x418d06
cmp dl, 0x23
jne 0x418d00
cmp byte [ecx + 1], dl
je 0x418d06
inc ecx
cmp ecx, 0xffffffff
jb 0x418cf0
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.004638b0
add esp, 4
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Delete_Selected
mov dword [ebp - 0x18], 0
call fcn.00461aa0
add esp, 4
test al, al
je 0x418fb4
mov esi, dword [0x669fe8]
test esi, esi
js 0x418fb4
mov ecx, dword [0x66b2bc]
mov eax, 0x2aaaaaab
mov edi, dword [0x66b2b8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418fb4
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00413740
mov byte [ebp - 4], 0x11
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xa8]
sub eax, ecx
cmp eax, 1
jb 0x419237
cmp dword [ebp - 0xa4], 0xf
lea eax, [ebp - 0xb8]
push 1
cmova eax, dword [ebp - 0xb8]
push 0x483b90
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0xd0]
call fcn.00413620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0x7c]
call fcn.004145f0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x418e1e
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418e14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418e14
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
cmp dword [ebp - 0x68], 0xf
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x418f38
mov eax, dword [0x669fe8]
lea ecx, [eax + eax*2]
mov eax, dword [0x66b2b8]
lea esi, [eax + ecx*8]
mov eax, dword [0x66b2bc]
lea edi, [esi + 0x18]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x418ede
nop
cmp esi, edi
je 0x418ecc
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x418e9a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x418e8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418fa4
mov eax, edx
push ecx
push eax
call fcn.00479a51
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
add edi, 0x18
add esi, 0x18
cmp edi, eax
jne 0x418e60
mov eax, dword [0x66b2bc]
mov dword [ebp - 0x20], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x418f15
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x418f08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418fa4
mov eax, edx
push ecx
push eax
call fcn.00479a51
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [eax - 8], 0
mov dword [eax - 4], 0xf
mov byte [eax - 0x18], 0
sub dword [0x66b2bc], 0x18
mov dword [0x669fe8], 0xffffffff
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x418f68
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418f5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418fa4
push ecx
push edx
call fcn.00479a51
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x418fb4
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418faa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418faa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Reset_to_Default
mov dword [ebp - 0x18], 0
call fcn.00461aa0
add esp, 4
test al, al
je 0x4190f1
movaps xmm0, xmmword [0x4a66a0]
movups xmmword [0x66a060], xmm0
mov byte [0x66b07c], 1
movaps xmm0, xmmword [0x4a66a0]
movups xmmword [0x66a020], xmm0
mov byte [0x66b08d], 1
movaps xmm0, xmmword [0x4a6690]
movups xmmword [0x66a010], xmm0
mov byte [0x66b067], 1
movaps xmm0, xmmword [0x4a6660]
movups xmmword [0x66a050], xmm0
mov byte [0x66b06f], 1
movaps xmm0, xmmword [0x4a66a0]
movups xmmword [0x66a030], xmm0
mov byte [0x66b085], 1
movaps xmm0, xmmword [0x4a6670]
movups xmmword [0x66a090], xmm0
mov byte [0x66b071], 1
movaps xmm0, xmmword [0x4a6680]
movups xmmword [0x66a080], xmm0
mov byte [0x66b08f], 1
movaps xmm0, xmmword [0x4a65d0]
movups xmmword [0x66a0a0], xmm0
mov dword [0x66b098], 0
movaps xmm0, xmmword [0x4a6620]
mov dword [0x66b088], 0
mov dword [0x66b078], 0
mov byte [0x669eb8], 1
mov byte [0x66b076], 1
mov byte [0x66b066], 1
mov byte [0x66b077], 1
mov byte [0x66b06b], 1
mov byte [0x66b0a4], 0
mov dword [0x669f4c], 0x42700000
mov byte [0x66b072], 1
mov byte [0x66b084], 1
movups xmmword [0x66a070], xmm0
mov byte [0x669ff0], 1
mov ecx, dword [0x66aec0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x419144
mov eax, 0x47eeb3
mov esi, eax
cmp esi, 0xffffffff
jae 0x419136
nop
mov dl, byte [eax]
test dl, dl
je 0x419136
cmp dl, 0x23
jne 0x419130
cmp byte [eax + 1], dl
je 0x419136
inc eax
cmp eax, 0xffffffff
jb 0x419120
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.004638b0
add esp, 4
mov esi, dword [0x66aec0]
mov edx, dword [esi + 0x46a0]
dec dword [esi + 0x4788]
dec word [esi + 0x5a04]
mov ecx, dword [esi + 0x4788]
mov eax, dword [esi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x46a0], eax
test dl, 1
je 0x41918b
test al, 4
jne 0x41918b
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x4191bb
mov esi, dword [esi + 0x4a50]
test esi, esi
je 0x4191bb
movsx eax, word [esi + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [esi + 8]
test byte [ecx + eax + 4], 8
jne 0x4191bb
dec dword [edx + 0xe4]
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x4191f7
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4191ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4191ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00479a51
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea edx, [ebp - 0x1c]
call fcn.004173e0
lea ecx, [ebp - 0x5c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00417360
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00417360
mov edx, eax
call fcn.00417240
call fcn.004026a0
int3