Function at 0x418040
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 0x471c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x310
push esi
xor esi, esi
mov ecx, str.Config
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call fcn.0045a960
call fcn.004370e0
mov ecx, 0x474e62
call fcn.0045a960
push esi
push esi
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push 0x80
push 0x5cbaf0
xor edx, edx
mov dword [ebp - 0x14], esi
mov ecx, str.New_Config_Name
call fcn.0045f220
add esp, 0x14
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov ecx, str.Create_Config
call fcn.00458770
add esp, 4
test al, al
je 0x418226
mov ecx, 0x5cbaf0
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 0x4180f0
sub ecx, edx
push ecx
push 0x5cbaf0
lea ecx, [ebp - 0x3c]
call fcn.00414d10
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push 7
push 0x479ad8
cmp eax, 7
jb 0x41814b
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 - 0x1c]
add esp, 0xc
jmp 0x418158
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push 7
call fcn.004150b0
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
or esi, 0x8000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], 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 0x4181cf
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4181c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4181c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0041b520
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418226
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41821c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41821c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
mov ecx, 0x474e63
call fcn.0045a960
push ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push 0x104
push dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
or esi, 0x4000
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x1c], esi
movups xmmword [ebp - 0x3c], xmm0
push 0x104
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x20], esi
call fcn.0041ab30
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 - 0x14], ecx
call fcn.0046fa22
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x60], ecx
cmp edi, ecx
ja 0x4182ba
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
mov ecx, edi
jbe 0x4182b2
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov word [eax + ecx*2], si
jmp 0x418320
mov eax, dword [ebp - 0x28]
mov edx, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x41830f
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
cmova eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0x98], eax
test edx, edx
je 0x418301
mov edi, dword [ebp - 0x98]
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 - 0x84]
mov ecx, dword [ebp - 0x60]
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x41831d
push ecx
push edx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0041ab30
mov edx, dword [ebp - 0x80]
cmp edi, dword [ebp - 0x14]
jae 0x418274
mov esi, dword [ebp - 0x1c]
and esi, 0xffffbfff
mov dword [ebp - 4], 3
or esi, 0x2000
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0x5ca8dc
mov dword [ebp - 0x20], esi
test edx, edx
jne 0x41915a
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004165c0
and esi, 0xffffdfff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x4183a9
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41839f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41839f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
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 [0x5ccfb4]
cmp eax, dword [ecx + 4]
jle 0x418402
push 0x5ccfb4
call fcn.0046feb7
add esp, 4
cmp dword [0x5ccfb4], 0xffffffff
jne 0x418402
push 0x4734a0
call fcn.00470188
add esp, 4
push 0x5ccfb4
call fcn.0046fe66
add esp, 4
mov ecx, dword [0x5cbb70]
mov edx, dword [0x5cbb74]
cmp ecx, edx
je 0x418425
push ecx
call fcn.0041a5c0
mov eax, dword [0x5cbb70]
add esp, 4
mov dword [0x5cbb74], eax
cmp dword [ebp - 0xbc], 0xf
lea eax, [ebp - 0xd0]
push dword [ebp - 0xc0]
cmova eax, dword [ebp - 0xd0]
push eax
call fcn.0046f836
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00416050
or esi, 0x1800
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
add esp, 4
mov byte [ebp - 4], 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x5c]
call fcn.0041a420
add esp, 4
test eax, eax
jne 0x419162
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x4184c3
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4184b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4184b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4184ce
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x4184df
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
test ecx, ecx
je 0x41853f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41853f
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4745ac]
mov ecx, dword [ebp - 0x58]
call esi
mov ecx, dword [ebp - 0x58]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x41853c
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4745ac]
mov ecx, dword [ebp - 0x58]
call esi
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x41897a
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x94], 0
cmp al, 3
jne 0x418570
push edi
mov dword [ebp - 0x8c], 0
push 0
jmp 0x4185a6
test cl, 2
je 0x41857a
mov ecx, dword [edi + 0x10]
jmp 0x41857d
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe 0x418588
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.0046fa50
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00417300
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
test edx, edx
je 0x4185cf
cmp eax, 1
je 0x4185cf
cmp eax, 9
jne 0x419172
cmp eax, 2
jne 0x4186b0
push 7
push str..config
call fcn.0046f836
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00416050
add esp, 8
or esi, 0x600
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x20]
or esi, 1
cmp dword [edi + 0x34], 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
jbe 0x418610
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00416290
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x14], eax
push esi
call fcn.0046fd70
cmp esi, eax
je 0x41865e
lea ecx, [eax - 2]
cmp esi, ecx
je 0x41865e
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x41864b
cmp esi, edx
jne 0x418660
cmp word [edx], 0x2e
jne 0x418660
jmp 0x41865e
mov ecx, edx
cmp esi, ecx
je 0x41865e
cmp word [ecx], 0x2e
je 0x418660
sub ecx, 2
cmp esi, ecx
jne 0x418651
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0x18], ecx
sar eax, 1
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
call fcn.0041a920
or dword [ebp - 0x1c], 0x1c2
lea eax, [ebp - 0x54]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x44]
cmp esi, 7
cmova eax, dword [ebp - 0x54]
push eax
call fcn.004166c0
test eax, eax
jne 0x4186b3
mov byte [ebp - 0x21], 1
jmp 0x4186b7
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x418718
mov ecx, dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp ecx, 7
jbe 0x418704
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4186f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181bf
push ecx
push edx
call fcn.004701a2
mov esi, dword [ebp - 0x40]
add esp, 8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], cx
mov dword [ebp - 4], 0xc
test al, 1
je 0x418760
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
cmp esi, 7
jbe 0x418760
mov edx, dword [ebp - 0x54]
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418756
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181bf
push ecx
push edx
call fcn.004701a2
add esp, 8
cmp byte [ebp - 0x21], 0
je 0x4188ba
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x418776
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00416290
sub esi, eax
mov dword [ebp - 0x18], eax
sar esi, 1
lea ecx, [ebp - 0x7c]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push eax
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
call fcn.0041a920
mov esi, dword [ebp - 0x1c]
or esi, 0x38
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x7c]
call fcn.004165c0
mov byte [ebp - 4], 0xf
mov ecx, dword [0x5cbb74]
cmp ecx, dword [0x5cbb78]
je 0x418815
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 [0x5cbb74], 0x18
jmp 0x418821
push eax
push ecx
mov ecx, 0x5cbb70
call fcn.0041b090
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x41885f
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418855
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181bf
push ecx
push edx
call fcn.004701a2
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp ecx, 7
jbe 0x4188c0
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4188ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4181bf
push ecx
push edx
call fcn.004701a2
add esp, 8
jmp 0x4188c0
mov esi, dword [ebp - 0x1c]
nop dword [eax]
lea eax, [ebp - 0x320]
push eax
push dword [edi + 0x38]
call fcn.0046f9aa
cmp eax, 0x12
je 0x418915
test eax, eax
jne 0x419180
cmp word [ebp - 0x2f4], 0x2e
jne 0x418902
mov ax, word [ebp - 0x2f2]
test ax, ax
je 0x4188c0
cmp ax, 0x2e
jne 0x418902
cmp word [ebp - 0x2f0], 0
je 0x4188c0
lea eax, [ebp - 0x320]
mov ecx, edi
push eax
call fcn.004175d0
jmp 0x418543
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 0x418543
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x418543
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4745ac]
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 - 0x1c]
jne 0x418543
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4745ac]
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0x1c]
jmp 0x418543
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x4189b9
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4189b9
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4745ac]
mov edi, dword [ebp - 0x60]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4189b9
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4745ac]
mov ecx, edi
call esi
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x4189f9
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4189f9
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4745ac]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4189f9
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4745ac]
mov ecx, edi
call esi
mov ecx, dword [0x5cbb74]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5cbb70]
xor edi, edi
mov esi, dword [0x5ca8c8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x418a8d
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
nop dword [eax + eax]
cmp esi, edi
sete dl
add ecx, dword [0x5cbb70]
cmp dword [ecx + 0x14], 0xf
jbe 0x418a43
mov ecx, dword [ecx]
lea eax, [ebp - 0x18]
push eax
push ecx
call fcn.00467390
add esp, 8
test al, al
je 0x418a5e
mov esi, edi
mov dword [0x5ca8c8], esi
jmp 0x418a64
mov esi, dword [0x5ca8c8]
mov ecx, dword [0x5cbb74]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5cbb70]
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 0x418a30
cmp esi, 0xffffffff
je 0x418ab5
mov ecx, dword [0x5cbb70]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x418aa7
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.00457d20
add esp, 8
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Load_Selected
mov dword [ebp - 0x14], 0
call fcn.00458770
add esp, 4
test al, al
je 0x418b55
mov esi, dword [0x5ca8c8]
test esi, esi
js 0x418b55
mov ecx, dword [0x5cbb74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5cbb70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418b55
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004135f0
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x418b55
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419137
push ecx
push edx
call fcn.004701a2
add esp, 8
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Save_Selected
mov dword [ebp - 0x14], 0
call fcn.00458770
add esp, 4
test al, al
je 0x418c14
mov esi, dword [0x5ca8c8]
test esi, esi
js 0x418c14
mov ecx, dword [0x5cbb74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5cbb70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418c14
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x54]
call fcn.004135f0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.0041b520
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418c02
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418bf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418bf8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov ecx, dword [0x5cb7a0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x418c66
mov ecx, 0x474e6b
mov esi, ecx
cmp esi, 0xffffffff
jae 0x418c58
mov dl, byte [ecx]
test dl, dl
je 0x418c58
cmp dl, 0x23
jne 0x418c52
cmp byte [ecx + 1], dl
je 0x418c58
inc ecx
cmp ecx, 0xffffffff
jb 0x418c42
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.0045a580
add esp, 4
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Delete_Selected
mov dword [ebp - 0x14], 0
call fcn.00458770
add esp, 4
test al, al
je 0x418f04
mov esi, dword [0x5ca8c8]
test esi, esi
js 0x418f04
mov ecx, dword [0x5cbb74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5cbb70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418f04
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004135f0
mov byte [ebp - 4], 0x11
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xc0]
sub eax, ecx
cmp eax, 1
jb 0x419187
cmp dword [ebp - 0xbc], 0xf
lea eax, [ebp - 0xd0]
push 1
cmova eax, dword [ebp - 0xd0]
push 0x479b2c
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
call fcn.004134d0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x54]
call fcn.004144a0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x418d70
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418d66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418d66
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
cmova eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x418e88
mov eax, dword [0x5ca8c8]
lea ecx, [eax + eax*2]
mov eax, dword [0x5cbb70]
lea esi, [eax + ecx*8]
mov eax, dword [0x5cbb74]
lea edi, [esi + 0x18]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x418e2e
cmp esi, edi
je 0x418e1c
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x418dea
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x418ddd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ef4
mov eax, edx
push ecx
push eax
call fcn.004701a2
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 0x418db0
mov eax, dword [0x5cbb74]
mov dword [ebp - 0x20], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x418e65
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x418e58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ef4
mov eax, edx
push ecx
push eax
call fcn.004701a2
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 [0x5cbb74], 0x18
mov dword [0x5ca8c8], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x418eb8
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418eae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418ef4
push ecx
push edx
call fcn.004701a2
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp ecx, 0xf
jbe 0x418f04
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418efa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
add esp, 8
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Reset_to_Default
mov dword [ebp - 0x14], 0
call fcn.00458770
add esp, 4
test al, al
je 0x419041
movaps xmm0, xmmword [0x5424a0]
movups xmmword [0x5ca93c], xmm0
mov byte [0x5cb934], 1
movaps xmm0, xmmword [0x5424a0]
movups xmmword [0x5ca8fc], xmm0
mov byte [0x5cb945], 1
movaps xmm0, xmmword [0x542490]
movups xmmword [0x5ca8ec], xmm0
mov byte [0x5cb91f], 1
movaps xmm0, xmmword [0x542460]
movups xmmword [0x5ca92c], xmm0
mov byte [0x5cb927], 1
movaps xmm0, xmmword [0x5424a0]
movups xmmword [0x5ca90c], xmm0
mov byte [0x5cb93d], 1
movaps xmm0, xmmword [0x542470]
movups xmmword [0x5ca96c], xmm0
mov byte [0x5cb929], 1
movaps xmm0, xmmword [0x542480]
movups xmmword [0x5ca95c], xmm0
mov byte [0x5cb947], 1
movaps xmm0, xmmword [0x5423d0]
movups xmmword [0x5ca97c], xmm0
mov dword [0x5cb950], 0
movaps xmm0, xmmword [0x542420]
mov dword [0x5cb940], 0
mov dword [0x5cb930], 0
mov byte [0x5ca798], 1
mov byte [0x5cb92e], 1
mov byte [0x5cb91e], 1
mov byte [0x5cb92f], 1
mov byte [0x5cb923], 1
mov byte [0x5cb95c], 0
mov dword [0x5ca82c], 0x42700000
mov byte [0x5cb92a], 1
mov byte [0x5cb93c], 1
movups xmmword [0x5ca94c], xmm0
mov byte [0x5ca8d0], 1
mov ecx, dword [0x5cb7a0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x419094
mov eax, 0x474e73
mov esi, eax
cmp esi, 0xffffffff
jae 0x419086
nop
mov dl, byte [eax]
test dl, dl
je 0x419086
cmp dl, 0x23
jne 0x419080
cmp byte [eax + 1], dl
je 0x419086
inc eax
cmp eax, 0xffffffff
jb 0x419070
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.0045a580
add esp, 4
mov esi, dword [0x5cb7a0]
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 0x4190db
test al, 4
jne 0x4190db
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x41910b
mov esi, dword [esi + 0x4a50]
test esi, esi
je 0x41910b
movsx eax, word [esi + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [esi + 8]
test byte [ecx + eax + 4], 8
jne 0x41910b
dec dword [edx + 0xe4]
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x419147
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41913d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41913d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004701a2
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 - 0x18]
call fcn.00417290
lea ecx, [ebp - 0x54]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00417210
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00417210
mov edx, eax
call fcn.004170f0
call fcn.004025e0
int3