Function at 0x417b30
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 0x470c5e
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.004599c0
call fcn.00436150
mov ecx, 0x473e13
call fcn.004599c0
push esi
push esi
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push 0x80
push 0x5d7af0
xor edx, edx
mov dword [ebp - 0x14], esi
mov ecx, str.New_Config_Name
call fcn.0045e290
add esp, 0x14
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], esi
mov ecx, str.Create_Config
call fcn.004577d0
add esp, 4
test al, al
je 0x417d16
mov ecx, 0x5d7af0
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 0x417be0
sub ecx, edx
push ecx
push 0x5d7af0
lea ecx, [ebp - 0x3c]
call fcn.0041a660
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push 7
push 0x478900
cmp eax, 7
jb 0x417c3b
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 0x417c48
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push 7
call fcn.00414bb0
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 0x417cbf
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417cb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417cb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0041b120
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x417d16
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417d0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417d0c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
add esp, 8
mov ecx, 0x473e1b
call fcn.004599c0
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.0041a730
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.0046ea52
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 0x417daa
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
mov ecx, edi
jbe 0x417da2
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov word [eax + ecx*2], si
jmp 0x417e10
mov eax, dword [ebp - 0x28]
mov edx, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x417dff
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 0x417df1
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 0x417e0d
push ecx
push edx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0041a730
mov edx, dword [ebp - 0x80]
cmp edi, dword [ebp - 0x14]
jae 0x417d64
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], 0x5d68dc
mov dword [ebp - 0x20], esi
test edx, edx
jne 0x418c4a
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004160c0
and esi, 0xffffdfff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x417e99
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417e8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417e8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
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 [0x5d8fb4]
cmp eax, dword [ecx + 4]
jle 0x417ef2
push 0x5d8fb4
call fcn.0046eee7
add esp, 4
cmp dword [0x5d8fb4], 0xffffffff
jne 0x417ef2
push 0x472470
call fcn.0046f1b7
add esp, 4
push 0x5d8fb4
call fcn.0046ee96
add esp, 4
mov ecx, dword [0x5d7b70]
mov edx, dword [0x5d7b74]
cmp ecx, edx
je 0x417f15
push ecx
call fcn.0041a0f0
mov eax, dword [0x5d7b70]
add esp, 4
mov dword [0x5d7b74], eax
cmp dword [ebp - 0xbc], 0xf
lea eax, [ebp - 0xd0]
push dword [ebp - 0xc0]
cmova eax, dword [ebp - 0xd0]
push eax
call fcn.0046e866
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00415b50
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.00419f50
add esp, 4
test eax, eax
jne 0x418c52
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x417fb3
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417fa9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417fa9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
add esp, 8
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x417fbe
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x417fcf
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 0x41802f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x41802f
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473588]
mov ecx, dword [ebp - 0x58]
call esi
mov ecx, dword [ebp - 0x58]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x41802c
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473588]
mov ecx, dword [ebp - 0x58]
call esi
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x41846a
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x94], 0
cmp al, 3
jne 0x418060
push edi
mov dword [ebp - 0x8c], 0
push 0
jmp 0x418096
test cl, 2
je 0x41806a
mov ecx, dword [edi + 0x10]
jmp 0x41806d
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe 0x418078
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.0046ea80
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00416e00
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
test edx, edx
je 0x4180bf
cmp eax, 1
je 0x4180bf
cmp eax, 9
jne 0x418c62
cmp eax, 2
jne 0x4181a0
push 7
push str..config
call fcn.0046e866
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.00415b50
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 0x418100
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00415d90
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x14], eax
push esi
call fcn.0046eda0
cmp esi, eax
je 0x41814e
lea ecx, [eax - 2]
cmp esi, ecx
je 0x41814e
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x41813b
cmp esi, edx
jne 0x418150
cmp word [edx], 0x2e
jne 0x418150
jmp 0x41814e
mov ecx, edx
cmp esi, ecx
je 0x41814e
cmp word [ecx], 0x2e
je 0x418150
sub ecx, 2
cmp esi, ecx
jne 0x418141
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.0041a450
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.004161c0
test eax, eax
jne 0x4181a3
mov byte [ebp - 0x21], 1
jmp 0x4181a7
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x418208
mov ecx, dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
cmp ecx, 7
jbe 0x4181f4
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4181e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417caf
push ecx
push edx
call fcn.0046f1d1
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 0x418250
and eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
cmp esi, 7
jbe 0x418250
mov edx, dword [ebp - 0x54]
lea ecx, [esi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418246
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417caf
push ecx
push edx
call fcn.0046f1d1
add esp, 8
cmp byte [ebp - 0x21], 0
je 0x4183aa
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x418266
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00415d90
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.0041a450
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.004160c0
mov byte [ebp - 4], 0xf
mov ecx, dword [0x5d7b74]
cmp ecx, dword [0x5d7b78]
je 0x418305
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 [0x5d7b74], 0x18
jmp 0x418311
push eax
push ecx
mov ecx, 0x5d7b70
call fcn.0041ac90
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x41834f
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418345
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417caf
push ecx
push edx
call fcn.0046f1d1
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 0x4183b0
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41839e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417caf
push ecx
push edx
call fcn.0046f1d1
add esp, 8
jmp 0x4183b0
mov esi, dword [ebp - 0x1c]
nop dword [eax]
lea eax, [ebp - 0x320]
push eax
push dword [edi + 0x38]
call fcn.0046e9da
cmp eax, 0x12
je 0x418405
test eax, eax
jne 0x418c70
cmp word [ebp - 0x2f4], 0x2e
jne 0x4183f2
mov ax, word [ebp - 0x2f2]
test ax, ax
je 0x4183b0
cmp ax, 0x2e
jne 0x4183f2
cmp word [ebp - 0x2f0], 0
je 0x4183b0
lea eax, [ebp - 0x320]
mov ecx, edi
push eax
call fcn.004170e0
jmp 0x418033
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 0x418033
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x418033
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473588]
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 0x418033
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473588]
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0x1c]
jmp 0x418033
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x4184a9
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x4184a9
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473588]
mov edi, dword [ebp - 0x60]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4184a9
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473588]
mov ecx, edi
call esi
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x4184e9
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4184e9
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473588]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4184e9
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473588]
mov ecx, edi
call esi
mov ecx, dword [0x5d7b74]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5d7b70]
xor edi, edi
mov esi, dword [0x5d68c8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41857d
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 [0x5d7b70]
cmp dword [ecx + 0x14], 0xf
jbe 0x418533
mov ecx, dword [ecx]
lea eax, [ebp - 0x18]
push eax
push ecx
call fcn.00466400
add esp, 8
test al, al
je 0x41854e
mov esi, edi
mov dword [0x5d68c8], esi
jmp 0x418554
mov esi, dword [0x5d68c8]
mov ecx, dword [0x5d7b74]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5d7b70]
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 0x418520
cmp esi, 0xffffffff
je 0x4185a5
mov ecx, dword [0x5d7b70]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x418597
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.00456d80
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.004577d0
add esp, 4
test al, al
je 0x418645
mov esi, dword [0x5d68c8]
test esi, esi
js 0x418645
mov ecx, dword [0x5d7b74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d7b70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418645
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004131c0
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x418645
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41863b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418c27
push ecx
push edx
call fcn.0046f1d1
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.004577d0
add esp, 4
test al, al
je 0x418704
mov esi, dword [0x5d68c8]
test esi, esi
js 0x418704
mov ecx, dword [0x5d7b74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d7b70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x418704
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x54]
call fcn.004131c0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.0041b120
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x4186f2
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4186e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4186e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov ecx, dword [0x5d77a0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x418756
mov ecx, 0x473e22
mov esi, ecx
cmp esi, 0xffffffff
jae 0x418748
mov dl, byte [ecx]
test dl, dl
je 0x418748
cmp dl, 0x23
jne 0x418742
cmp byte [ecx + 1], dl
je 0x418748
inc ecx
cmp ecx, 0xffffffff
jb 0x418732
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.004595e0
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.004577d0
add esp, 4
test al, al
je 0x4189f4
mov esi, dword [0x5d68c8]
test esi, esi
js 0x4189f4
mov ecx, dword [0x5d7b74]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d7b70]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4189f4
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004131c0
mov byte [ebp - 4], 0x11
mov eax, SysReAllocString
mov ecx, dword [ebp - 0xc0]
sub eax, ecx
cmp eax, 1
jb 0x418c77
cmp dword [ebp - 0xbc], 0xf
lea eax, [ebp - 0xd0]
push 1
cmova eax, dword [ebp - 0xd0]
push 0x478954
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
call fcn.004130a0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x54]
call fcn.00414070
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x418860
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418856
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418856
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
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 0x418978
mov eax, dword [0x5d68c8]
lea ecx, [eax + eax*2]
mov eax, dword [0x5d7b70]
lea esi, [eax + ecx*8]
mov eax, dword [0x5d7b74]
lea edi, [esi + 0x18]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x41891e
cmp esi, edi
je 0x41890c
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x4188da
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4188cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4189e4
mov eax, edx
push ecx
push eax
call fcn.0046f1d1
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 0x4188a0
mov eax, dword [0x5d7b74]
mov dword [ebp - 0x20], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x418955
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x418948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4189e4
mov eax, edx
push ecx
push eax
call fcn.0046f1d1
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 [0x5d7b74], 0x18
mov dword [0x5d68c8], 0xffffffff
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x4189a8
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41899e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4189e4
push ecx
push edx
call fcn.0046f1d1
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 0x4189f4
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4189ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4189ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
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.004577d0
add esp, 4
test al, al
je 0x418b31
movaps xmm0, xmmword [0x54e630]
movups xmmword [0x5d693c], xmm0
mov byte [0x5d7934], 1
movaps xmm0, xmmword [0x54e630]
movups xmmword [0x5d68fc], xmm0
mov byte [0x5d7945], 1
movaps xmm0, xmmword [0x54e620]
movups xmmword [0x5d68ec], xmm0
mov byte [0x5d791f], 1
movaps xmm0, xmmword [0x54e5f0]
movups xmmword [0x5d692c], xmm0
mov byte [0x5d7927], 1
movaps xmm0, xmmword [0x54e630]
movups xmmword [0x5d690c], xmm0
mov byte [0x5d793d], 1
movaps xmm0, xmmword [0x54e600]
movups xmmword [0x5d696c], xmm0
mov byte [0x5d7929], 1
movaps xmm0, xmmword [0x54e610]
movups xmmword [0x5d695c], xmm0
mov byte [0x5d7947], 1
movaps xmm0, xmmword [0x54e560]
movups xmmword [0x5d697c], xmm0
mov dword [0x5d7950], 0
movaps xmm0, xmmword [0x54e5b0]
mov dword [0x5d7940], 0
mov dword [0x5d7930], 0
mov byte [0x5d6798], 1
mov byte [0x5d792e], 1
mov byte [0x5d791e], 1
mov byte [0x5d792f], 1
mov byte [0x5d7923], 1
mov byte [0x5d795c], 0
mov dword [0x5d682c], 0x42700000
mov byte [0x5d792a], 1
mov byte [0x5d793c], 1
movups xmmword [0x5d694c], xmm0
mov byte [0x5d68d0], 1
mov ecx, dword [0x5d77a0]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x418b84
mov eax, 0x473e23
mov esi, eax
cmp esi, 0xffffffff
jae 0x418b76
nop
mov dl, byte [eax]
test dl, dl
je 0x418b76
cmp dl, 0x23
jne 0x418b70
cmp byte [eax + 1], dl
je 0x418b76
inc eax
cmp eax, 0xffffffff
jb 0x418b60
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.004595e0
add esp, 4
mov esi, dword [0x5d77a0]
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 0x418bcb
test al, 4
jne 0x418bcb
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x418bfb
mov esi, dword [esi + 0x4a50]
test esi, esi
je 0x418bfb
movsx eax, word [esi + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [esi + 8]
test byte [ecx + eax + 4], 8
jne 0x418bfb
dec dword [edx + 0xe4]
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x418c37
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418c2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418c2d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f1d1
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.00416d90
lea ecx, [ebp - 0x54]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00416d10
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00416d10
mov edx, eax
call fcn.00416bf0
call fcn.004025e0
int3