Function at 0x406b60
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 _exit
mov eax, dword fs:[0]
push eax
mov dword fs:[_set_fmode], 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.0043b4e0
call fcn.0041a500
mov edi, 0x4486ce
mov ecx, edi
call fcn.0043b4e0
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
push eax
push 0x80
push 0x889fa8
xor edx, edx
mov dword [ebp - 0x28], esi
mov ecx, str.New_Config_Name
call fcn.0043de80
add esp, 0x14
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], esi
mov ecx, str.Create_Config
call fcn.00439b50
add esp, 4
test al, al
je 0x406d46
mov ecx, 0x889fa8
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 0x406c10
sub ecx, edx
push ecx
push _controlfp_s
lea ecx, [ebp - 0x74]
call fcn.0040a090
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 0x406c6b
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 0x406c78
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
push 7
call fcn.00404130
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 0x406cef
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406ce5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ce5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.0040aa60
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x406d46
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406d3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406d3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov ecx, edi
call fcn.0043b4e0
lea ecx, [ebp - 0xe0]
call fcn.00406510
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.00405370
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x406db3
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406da9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406da9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
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 [0x88b3f4]
cmp eax, dword [ecx + 4]
jle 0x406e15
push 0x88b3f4
call fcn.004455a5
add esp, 4
cmp dword [0x88b3f4], 0xffffffff
jne 0x406e15
push GetFileInformationByHandleEx
call fcn.00445875
add esp, 4
push 0x88b3f4
call fcn.00445554
add esp, 4
mov ecx, dword [0x889f94]
mov edx, dword [0x889f98]
cmp ecx, edx
je 0x406e38
push ecx
call fcn.00409c20
mov eax, dword [0x889f94]
add esp, 4
mov dword [0x889f98], eax
cmp dword [ebp - 0x84], 0xf
lea eax, [ebp - 0x98]
push dword [ebp - 0x88]
cmova eax, dword [ebp - 0x98]
push eax
call fcn.00444eb5
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00404e00
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.004099a0
add esp, 4
test eax, eax
jne 0x407a50
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x406ed6
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406ecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406ecc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x406ee1
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x406ef2
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - SetUnhandledExceptionFilterxc0], 0
mov dword [ebp - 0xbc], 0
test ecx, ecx
je 0x406f35
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x406f35
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x28]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x406f35
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - GetCurrentThreadId], 0xb
jmp 0x406f3e
mov esi, dword [ebp - 0x14]
test edi, edi
je 0x407318
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - GetSystemTimeAsFileTimex68], 0
cmp al, 3
jne 0x406f65
push edi
mov dword [ebp - 0x60], 0
push 0
jmp 0x406f98
test cl, 2
je InitializeSListHead
mov ecx, dword [edi + 0x10]
jmp 0x406f72
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe GetCurrentProcess
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xb8]
push ecx
push eax
call fcn.004450cf
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x60], eax
push ecx
push eax
lea ecx, [ebp - 0x68]
call reloc.MSVCP140.dll___Xruntime_error_std__YAXPBD_Z
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
test edx, edx
je 0x406fb8
cmp eax, 1
je 0x406fb8
cmp eax, 9
jne 0x407a60
cmp eax, 2
jne 0x40708d
push 7
push str..config
call fcn.00444eb5
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00404e00
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 0x406ff6
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00405040
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x24], eax
push esi
call fcn.00445470
cmp esi, eax
je 0x407044
lea ecx, [eax - 2]
cmp esi, ecx
je 0x407044
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x407031
cmp esi, edx
jne 0x407046
cmp word [edx], 0x2e
jne 0x407046
jmp 0x407044
mov ecx, edx
cmp esi, ecx
je 0x407044
cmp word [ecx], 0x2e
je 0x407046
sub ecx, 2
cmp esi, ecx
jne 0x407037
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.00409790
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.00405470
test eax, eax
jne 0x407090
mov byte [ebp - 0x15], 1
jmp 0x407094
mov esi, dword [ebp - 0x48]
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x14]
test al, 2
je 0x4070f5
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 7
jbe 0x4070e1
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4070d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.0044588f
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 0x40713d
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp esi, 7
jbe 0x40713d
mov ecx, dword [ebp - 0x5c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x407133
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push esi
push ecx
call fcn.0044588f
add esp, 8
cmp byte [ebp - 0x15], 0
je 0x40727d
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x407153
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00405040
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.00409790
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.00405370
mov byte [ebp - 4], 0xe
mov ecx, dword [0x889f98]
cmp ecx, dword [0x889f9c]
je 0x4071e6
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 [0x889f98], 0x18
jmp 0x4071ed
push eax
push ecx
call fcn.0040a5e0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x407225
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40721b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.0044588f
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 0x407280
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cdf
push ecx
push edx
call fcn.0044588f
add esp, 8
jmp 0x407280
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x330]
push eax
push dword [edi + 0x38]
call fcn.00445029
cmp eax, 0x12
je 0x4072d5
test eax, eax
jne 0x407a6e
cmp word [ebp - 0x304], 0x2e
jne 0x4072c2
mov ax, word [ebp - 0x302]
test ax, ax
je 0x407280
cmp ax, 0x2e
jne 0x4072c2
cmp word [ebp - 0x300], 0
je 0x407280
lea eax, [ebp - 0x330]
mov ecx, edi
push eax
call fcn.00406350
jmp 0x406f3e
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 0x406f3b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x406f3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x406f3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x406f3b
mov ecx, dword [ebp - 0x78]
or edi, 0xffffffff
test ecx, ecx
je 0x407340
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x407340
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x407340
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x407369
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x407369
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x407369
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x889f98]
mov eax, 0x2aaaaaab
sub ecx, dword [0x889f94]
xor edi, edi
mov esi, dword [0x889228]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4073fd
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 [0x889f94]
cmp dword [ecx + 0x14], 0xf
jbe 0x4073b3
mov ecx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.00441e80
add esp, 8
test al, al
je 0x4073ce
mov esi, edi
mov dword [0x889228], esi
jmp 0x4073d4
mov esi, dword [0x889228]
mov ecx, dword [0x889f98]
mov eax, 0x2aaaaaab
sub ecx, dword [0x889f94]
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 0x4073a0
cmp esi, 0xffffffff
je 0x407425
mov ecx, dword [0x889f94]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x407417
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.004390d0
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.00439b50
add esp, 4
test al, al
je 0x4074c1
mov esi, dword [0x889228]
test esi, esi
js 0x4074c1
mov ecx, dword [0x889f98]
mov eax, 0x2aaaaaab
mov edi, dword [0x889f94]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4074c1
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004092c0
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x4074c1
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4074b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407a2d
push ecx
push edx
call fcn.0044588f
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.00439b50
add esp, 4
test al, al
je 0x407580
mov esi, dword [0x889228]
test esi, esi
js 0x407580
mov ecx, dword [0x889f98]
mov eax, 0x2aaaaaab
mov edi, dword [0x889f94]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x407580
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004092c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.0040aa60
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x40756e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407564
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407564
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, dword [0x889efc]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4075d9
mov ecx, 0x4486ce
mov eax, ecx
cmp eax, 0xffffffff
jae 0x4075cb
nop
mov dl, byte [ecx]
test dl, dl
je 0x4075c6
cmp dl, 0x23
jne 0x4075c0
cmp byte [ecx + 1], dl
je 0x4075c6
inc ecx
cmp ecx, 0xffffffff
jb 0x4075b0
mov eax, 0x4486ce
push ecx
xorps xmm3, xmm3
mov edx, eax
call fcn.0043b100
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.00439b50
add esp, 4
test al, al
je 0x407874
mov esi, dword [0x889228]
test esi, esi
js 0x407874
mov ecx, dword [0x889f98]
mov eax, 0x2aaaaaab
mov edi, dword [0x889f94]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x407874
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004092c0
mov byte [ebp - 4], 0x10
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x88]
sub eax, ecx
cmp eax, 1
jb 0x407a75
cmp dword [ebp - 0x84], 0xf
lea eax, [ebp - 0x98]
push 1
cmova eax, dword [ebp - 0x98]
push 0x800160
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xb0]
call fcn.00403870
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x5c]
call fcn.00403e40
mov byte [ebp - 4], 0x10
add esp, 4
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x4076e3
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4076d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4076d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
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 0x4077f8
mov eax, dword [0x889228]
lea ecx, [eax + eax*2]
mov eax, dword [0x889f94]
lea esi, [eax + ecx*8]
mov eax, dword [0x889f98]
lea edi, [esi + 0x18]
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x40779e
nop
cmp esi, edi
je 0x40778c
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40775a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40774d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407864
mov eax, edx
push ecx
push eax
call fcn.0044588f
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 0x407720
mov eax, dword [0x889f98]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x4077d5
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x4077c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407864
mov eax, edx
push ecx
push eax
call fcn.0044588f
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 [0x889f98], 0x18
mov dword [0x889228], 0xffffffff
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x407828
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40781e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407864
push ecx
push edx
call fcn.0044588f
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 0x407874
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40786a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40786a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
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.00439b50
add esp, 4
test al, al
je 0x40792e
movaps xmm0, xmmword [0x802290]
movups xmmword [0x8892ac], xmm0
mov byte [0x8080a3], 1
movaps xmm0, xmmword [0x802290]
movups xmmword [0x88924c], xmm0
mov byte [0x889d10], 1
movaps xmm0, xmmword [0x802280]
movups xmmword [0x88923c], xmm0
mov byte [0x88921c], 1
movaps xmm0, xmmword [0x802250]
movups xmmword [0x88929c], xmm0
movaps xmm0, xmmword [0x802290]
movups xmmword [0x88926c], xmm0
movaps xmm0, xmmword [0x802260]
movups xmmword [0x88925c], xmm0
movaps xmm0, xmmword [0x802270]
movups xmmword [0x88928c], xmm0
movaps xmm0, xmmword [0x8021f0]
movups xmmword [0x8892cc], xmm0
movaps xmm0, xmmword [0x802220]
movups xmmword [0x8892bc], xmm0
mov ecx, dword [0x889efc]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x407984
mov eax, 0x4486ce
mov esi, eax
cmp esi, 0xffffffff
jae 0x407976
nop dword [eax]
mov dl, byte [eax]
test dl, dl
je 0x407976
cmp dl, 0x23
jne 0x407970
cmp byte [eax + 1], dl
je 0x407976
inc eax
cmp eax, 0xffffffff
jb 0x407960
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.0043b100
add esp, 4
mov esi, dword [0x889efc]
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 0x4079cb
test al, 4
jne 0x4079cb
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x407a01
mov edx, dword [esi + 0x4a50]
test edx, edx
je 0x407a01
movsx eax, word [edx + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [edx + 8]
test byte [ecx + eax + 4], 8
jne 0x407a01
mov eax, dword [esi + 0x3e48]
dec dword [eax + 0xe4]
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x407a3d
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407a33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407a33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
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.00405fc0
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00405fc0
mov edx, eax
call fcn.00405ea0
call fcn.00401950
int3