Function at 0x408bf0
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 0x4463fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x320
push esi
xor esi, esi
mov ecx, str.Config
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x80], esi
call fcn.0043b470
call fcn.0041af00
mov edi, 0x4486fa
mov ecx, edi
call fcn.0043b470
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
push 0x80
push 0x88a0f8
xor edx, edx
mov dword [ebp - 0x28], esi
mov ecx, str.New_Config_Name
call fcn.0043de00
add esp, 0x14
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], esi
mov ecx, str.Create_Config
call fcn.00439e90
add esp, 4
test al, al
je 0x408dd6
mov ecx, 0x88a0f8
mov dword [ebp - 0x64], esi
xorps xmm0, xmm0
mov dword [ebp - 0x60], esi
movups xmmword [ebp - 0x74], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408ca0
sub ecx, edx
push ecx
push 0x88a0f8
lea ecx, [ebp - 0x74]
call fcn.0040b0e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x60]
mov eax, edx
mov ecx, dword [ebp - 0x64]
sub eax, ecx
push 7
push str..config
cmp eax, 7
jb 0x408cfb
cmp edx, 0xf
lea esi, [ebp - 0x74]
lea eax, [ecx + 7]
cmova esi, dword [ebp - 0x74]
add esi, ecx
mov dword [ebp - 0x64], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 7], 0
lea eax, [ebp - 0x74]
mov esi, dword [ebp - 0x14]
add esp, 0xc
jmp 0x408d08
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
push 7
call fcn.004062f0
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
or esi, 0x200
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x408d7f
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408d75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408d75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.0040b960
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x408dd6
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408dcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408dcc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov ecx, edi
call fcn.0043b470
lea ecx, [ebp - 0xe0]
call fcn.004085a0
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00407400
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x408e43
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408e39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xe0], ax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xcc], 7
mov ecx, dword [eax]
mov eax, dword [0x88b53c]
cmp eax, dword [ecx + 4]
jle 0x408ea5
push 0x88b53c
call fcn.00444bef
add esp, 4
cmp dword [0x88b53c], 0xffffffff
jne 0x408ea5
push 0x446ef0
call fcn.00444ebf
add esp, 4
push 0x88b53c
call fcn.00444b9e
add esp, 4
mov ecx, dword [0x88a0ec]
mov edx, dword [0x88a0f0]
cmp ecx, edx
je 0x408ec8
push ecx
call fcn.0040ac70
mov eax, dword [0x88a0ec]
add esp, 4
mov dword [0x88a0f0], eax
cmp dword [ebp - 0x84], 0xf
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmova eax, dword [ebp - 0x98]
push eax
call fcn.0044457f
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00406e90
or esi, 0x180
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
add esp, 4
mov byte [ebp - 4], 7
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0040aae0
add esp, 4
test eax, eax
jne 0x409ae0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x408f66
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408f5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408f5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x408f71
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x408f82
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
test ecx, ecx
je 0x408fc5
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x408fc5
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x408fc5
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
jmp 0x408fce
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x4093a8
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x68], 0
cmp al, 3
jne 0x408ff5
push edi
mov dword [ebp - 0x60], 0
push 0
jmp 0x409028
test cl, 2
je 0x408fff
mov ecx, dword [edi + 0x10]
jmp 0x409002
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe 0x40900d
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.00444799
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x60], eax
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00408140
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
test edx, edx
je 0x409048
cmp eax, 1
je 0x409048
cmp eax, 9
jne 0x409af0
cmp eax, 2
jne 0x40911d
push 7
push str..config
call fcn.0044457f
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00406e90
add esp, 8
or esi, 0x60
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x20]
or esi, 1
cmp dword [edi + 0x34], 7
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x80], esi
jbe 0x409086
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.004070d0
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x24], eax
push esi
call fcn.00444ac0
cmp esi, eax
je 0x4090d4
lea ecx, [eax - 2]
cmp esi, ecx
je 0x4090d4
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x4090c1
cmp esi, edx
jne 0x4090d6
cmp word [edx], 0x2e
jne 0x4090d6
jmp 0x4090d4
mov ecx, edx
cmp esi, ecx
je 0x4090d4
cmp word [ecx], 0x2e
je 0x4090d6
sub ecx, 2
cmp esi, ecx
jne 0x4090c7
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0xc8], ecx
sar eax, 1
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a8d0
or dword [ebp - 0x14], 0x12
lea eax, [ebp - 0x5c]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x4c]
cmp esi, 7
cmova eax, dword [ebp - 0x5c]
push eax
call fcn.00407500
test eax, eax
jne 0x409120
mov byte [ebp - 0x15], 1
jmp 0x409124
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x14]
test al, 2
je 0x409185
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 7
jbe 0x409171
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409161
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6f
push ecx
push edx
call fcn.00444ed9
mov esi, dword [ebp - 0x48]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov dword [ebp - 4], 0xb
test al, 1
je 0x4091cd
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp esi, 7
jbe 0x4091cd
mov ecx, dword [ebp - 0x5c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x4091c3
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6f
push esi
push ecx
call fcn.00444ed9
add esp, 8
cmp byte [ebp - 0x15], 0
je 0x40930d
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x4091e3
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.004070d0
sub esi, eax
mov dword [ebp - 0x20], eax
push ecx
lea eax, [ebp - 0x20]
sar esi, 1
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x1c], esi
call fcn.0040a8d0
mov esi, dword [ebp - 0x14]
or esi, 8
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xb0]
call fcn.00407400
mov byte [ebp - 4], 0xe
mov ecx, dword [0x88a0f0]
cmp ecx, dword [0x88a0f4]
je 0x409276
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 [0x88a0f0], 0x18
jmp 0x40927d
push eax
push ecx
call fcn.0040b4f0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4092b5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4092ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6f
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 7
jbe 0x409310
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409301
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6f
push ecx
push edx
call fcn.00444ed9
add esp, 8
jmp 0x409310
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x330]
push eax
push dword [edi + 0x38]
call fcn.004446f3
cmp eax, 0x12
je 0x409365
test eax, eax
jne 0x409afe
cmp word [ebp - 0x304], 0x2e
jne 0x409352
mov ax, word [ebp - 0x302]
test ax, ax
je 0x409310
cmp ax, 0x2e
jne 0x409352
cmp word [ebp - 0x300], 0
je 0x409310
lea eax, [ebp - 0x330]
mov ecx, edi
push eax
call fcn.004083e0
jmp 0x408fce
mov esi, dword [ebp - 0x78]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ecx
test esi, esi
je 0x408fcb
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x408fcb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x408fcb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x408fcb
mov ecx, dword [ebp - 0x78]
or edi, 0xffffffff
test ecx, ecx
je 0x4093d0
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4093d0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x4093d0
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4093f9
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4093f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4093f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x88a0f0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x88a0ec]
xor edi, edi
mov esi, dword [0x889260]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40948d
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ecx
nop dword [eax + eax]
cmp esi, edi
sete dl
add ecx, dword [0x88a0ec]
cmp dword [ecx + 0x14], 0xf
jbe 0x409443
mov ecx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.004414a0
add esp, 8
test al, al
je 0x40945e
mov esi, edi
mov dword [0x889260], esi
jmp 0x409464
mov esi, dword [0x889260]
mov ecx, dword [0x88a0f0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x88a0ec]
inc edi
add dword [ebp - 0x14], 0x18
imul ecx
mov ecx, dword [ebp - 0x14]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x409430
cmp esi, 0xffffffff
je 0x4094b5
mov ecx, dword [0x88a0ec]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x4094a7
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.00439410
add esp, 8
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Load_Selected
mov dword [ebp - 0x1c], 0
call fcn.00439e90
add esp, 4
test al, al
je 0x409551
mov esi, dword [0x889260]
test esi, esi
js 0x409551
mov ecx, dword [0x88a0f0]
mov eax, 0x2aaaaaab
mov edi, dword [0x88a0ec]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x409551
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040a730
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x409551
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409547
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409abd
push ecx
push edx
call fcn.00444ed9
add esp, 8
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Save_Selected
mov dword [ebp - 0x1c], 0
call fcn.00439e90
add esp, 4
test al, al
je 0x409610
mov esi, dword [0x889260]
test esi, esi
js 0x409610
mov ecx, dword [0x88a0f0]
mov eax, 0x2aaaaaab
mov edi, dword [0x88a0ec]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x409610
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a730
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.0040b960
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4095fe
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4095f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4095f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, dword [0x889ebc]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x409669
mov ecx, 0x4486fa
mov eax, ecx
cmp eax, 0xffffffff
jae 0x40965b
nop
mov dl, byte [ecx]
test dl, dl
je 0x409656
cmp dl, 0x23
jne 0x409650
cmp byte [ecx + 1], dl
je 0x409656
inc ecx
cmp ecx, 0xffffffff
jb 0x409640
mov eax, 0x4486fa
push ecx
xorps xmm3, xmm3
mov edx, eax
call fcn.0043b090
add esp, 4
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Delete_Selected
mov dword [ebp - 0x1c], 0
call fcn.00439e90
add esp, 4
test al, al
je 0x409904
mov esi, dword [0x889260]
test esi, esi
js 0x409904
mov ecx, dword [0x88a0f0]
mov eax, 0x2aaaaaab
mov edi, dword [0x88a0ec]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x409904
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a730
mov byte [ebp - 4], 0x10
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x88]
sub eax, ecx
cmp eax, 1
jb 0x409b05
cmp dword [ebp - 0x84], 0xf
lea eax, [ebp - 0x98]
push 1
cmova eax, dword [ebp - 0x98]
push 0x800458
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xb0]
call fcn.00405440
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x5c]
call fcn.00405de0
mov byte [ebp - 4], 0x10
add esp, 4
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x409773
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409769
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409769
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x409888
mov eax, dword [0x889260]
lea ecx, [eax + eax*2]
mov eax, dword [0x88a0ec]
lea esi, [eax + ecx*8]
mov eax, dword [0x88a0f0]
lea edi, [esi + 0x18]
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x40982e
nop
cmp esi, edi
je 0x40981c
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x4097ea
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4097dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098f4
mov eax, edx
push ecx
push eax
call fcn.00444ed9
mov eax, dword [ebp - 0x14]
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 0x4097b0
mov eax, dword [0x88a0f0]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x409865
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x409858
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098f4
mov eax, edx
push ecx
push eax
call fcn.00444ed9
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [eax - 8], 0
mov dword [eax - 4], 0xf
mov byte [eax - 0x18], 0
sub dword [0x88a0f0], 0x18
mov dword [0x889260], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4098b8
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4098ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4098f4
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x409904
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4098fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4098fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.Reset_to_Default
mov dword [ebp - 0x1c], 0
call fcn.00439e90
add esp, 4
test al, al
je 0x4099be
movaps xmm0, xmmword [0x802310]
movups xmmword [0x8892e4], xmm0
mov byte [0x8080dc], 1
movaps xmm0, xmmword [0x802310]
movups xmmword [0x889284], xmm0
mov byte [0x889f58], 1
movaps xmm0, xmmword [0x802300]
movups xmmword [0x889274], xmm0
mov byte [0x889254], 1
movaps xmm0, xmmword [0x8022d0]
movups xmmword [0x8892d4], xmm0
movaps xmm0, xmmword [0x802310]
movups xmmword [0x8892a4], xmm0
movaps xmm0, xmmword [0x8022e0]
movups xmmword [0x889294], xmm0
movaps xmm0, xmmword [0x8022f0]
movups xmmword [0x8892c4], xmm0
movaps xmm0, xmmword [0x802270]
movups xmmword [0x889304], xmm0
movaps xmm0, xmmword [0x8022a0]
movups xmmword [0x8892f4], xmm0
mov ecx, dword [0x889ebc]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x409a14
mov eax, 0x4486fa
mov esi, eax
cmp esi, 0xffffffff
jae 0x409a06
nop dword [eax]
mov dl, byte [eax]
test dl, dl
je 0x409a06
cmp dl, 0x23
jne 0x409a00
cmp byte [eax + 1], dl
je 0x409a06
inc eax
cmp eax, 0xffffffff
jb 0x4099f0
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.0043b090
add esp, 4
mov esi, dword [0x889ebc]
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 0x409a5b
test al, 4
jne 0x409a5b
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x409a91
mov edx, dword [esi + 0x4a50]
test edx, edx
je 0x409a91
movsx eax, word [edx + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [edx + 8]
test byte [ecx + eax + 4], 8
jne 0x409a91
mov eax, dword [esi + 0x3e48]
dec dword [eax + 0xe4]
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x409acd
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409ac3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409ac3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
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 ecx, [ebp - 0x44]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00408050
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00408050
mov edx, eax
call fcn.00407f30
call fcn.00401950
int3