Function at 0x406b50
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 0x43f390
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x44900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x449b68]
mov edx, 0x449034
push 0x126
mov ecx, str.No_Recoil_by_alyx
mov dword [ebp - 0x320], 0
or dword [eax + 0x1c84], 3
mov dword [eax + 0x1ca4], 0x44160000
mov dword [eax + 0x1ca8], 0x43c80000
mov dword [eax + 0x1c8c], 4
mov dword [eax + 0x1c94], 0
mov dword [eax + 0x1c98], 0
mov dword [eax + 0x1c9c], 0
mov dword [eax + 0x1ca0], 0
mov dword [eax + 0x1c88], 1
call fcn.00413f70
add esp, 4
test al, al
je 0x408172
call fcn.00438ff0
test al, al
je 0x408172
push ecx
mov ecx, str.Recoil
call fcn.0043a720
add esp, 4
test al, al
je 0x407162
mov edx, 0x449a40
mov ecx, str.Master_Switch
call fcn.00431c80
movss xmm1, dword [0x445148]
xorps xmm0, xmm0
call fcn.00417370
mov edx, 0x449a41
mov ecx, str.ADS_Check
call fcn.00431c80
mov edi, dword [0x449b68]
xor edx, edx
mov dword [ebp - 0x310], 0x438e8000
mov dword [ebp - 0x30c], 0x435c0000
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1ba8]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.Vertical
call fcn.0040b5a0
mov esi, eax
add esp, 4
cmp dword [edi + 0x1be0], esi
jne 0x406cc3
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x406cd2
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], esi
jne 0x406cef
push ecx
push str.Vertical
mov edx, 0xb
mov ecx, esi
call fcn.0041d190
add esp, 8
push 0
push ecx
lea eax, [ebp - 0x310]
mov edx, esi
push eax
mov ecx, str.Vertical
call fcn.004117a0
add esp, 0xc
push str.Vertical
call fcn.004301d0
mov ecx, dword [0x449b68]
add esp, 4
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x40800000
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x406da9
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x310]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, dword [0x4450cc]
movaps xmm3, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm3, dword [0x44500c]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [0x445148]
movss dword [ebp - 0x54], xmm3
call fcn.00417060
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.00417190
add esp, 8
push ecx
push 0x4407c0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x64
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x449028
mov ecx, str.Strengthv
call fcn.00432de0
mov ecx, dword [0x449b68]
add esp, 0x14
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x40800000
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x406e6b
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x310]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, dword [0x4450cc]
movaps xmm3, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm3, dword [0x44500c]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [0x445148]
movss dword [ebp - 0x54], xmm3
call fcn.00417060
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.00417190
add esp, 8
push ecx
push str._.2fms
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x64
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push 0x449030
mov ecx, str.Sleepv
call fcn.00432de0
add esp, 0x14
call fcn.00411990
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movss xmm1, dword [0x445148]
call fcn.00417370
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x435c0000
call fcn.00430cb0
movss xmm1, dword [0x445148]
add esp, 4
xorps xmm0, xmm0
call fcn.00417370
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov edi, dword [0x449b68]
mov dword [ebp - 0x310], 0x438e8000
mov dword [ebp - 0x30c], 0x435c0000
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1ba8]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.Horizontal
call fcn.0040b5a0
mov esi, eax
add esp, 4
cmp dword [edi + 0x1be0], esi
jne 0x406f4b
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x406f5a
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], esi
jne 0x406f77
push ecx
push str.Horizontal
mov edx, 0xb
mov ecx, esi
call fcn.0041d190
add esp, 8
push 0
push ecx
lea eax, [ebp - 0x310]
mov edx, esi
push eax
mov ecx, str.Horizontal
call fcn.004117a0
add esp, 0xc
push str.Horizontal
call fcn.004301d0
mov ecx, dword [0x449b68]
add esp, 4
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x40800000
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x407031
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x310]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, dword [0x4450cc]
movaps xmm3, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm3, dword [0x44500c]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [0x445148]
movss dword [ebp - 0x54], xmm3
call fcn.00417060
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.00417190
add esp, 8
push ecx
push 0x4407c0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x32
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xffffffce
push eax
push 0x449a44
mov ecx, str.Strengthh
call fcn.00432de0
mov ecx, dword [0x449b68]
add esp, 0x14
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x40800000
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x4070f3
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x310]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, dword [0x4450cc]
movaps xmm3, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm3, dword [0x44500c]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [0x445148]
movss dword [ebp - 0x54], xmm3
call fcn.00417060
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.00417190
add esp, 8
push ecx
push str._.2fms
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x64
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push 0x44902c
mov ecx, str.Sleeph
call fcn.00432de0
add esp, 0x14
call fcn.00411990
mov edx, dword [0x449b68]
mov eax, dword [edx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x407162
mov esi, dword [edx + 0x1fac]
test esi, esi
je 0x407162
movsx eax, word [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
test byte [eax + ecx*8 + 4], 8
jne 0x407162
mov eax, dword [edx + 0x1ba8]
dec dword [eax + 0xc4]
push ecx
mov ecx, str.Theme
call fcn.0043a720
add esp, 4
test al, al
je 0x4071bd
push 0x440810
call fcn.004301d0
mov edx, dword [0x449b68]
add esp, 4
mov eax, dword [edx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x4071bd
mov esi, dword [edx + 0x1fac]
test esi, esi
je 0x4071bd
movsx eax, word [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
test byte [eax + ecx*8 + 4], 8
jne 0x4071bd
mov eax, dword [edx + 0x1ba8]
dec dword [eax + 0xc4]
push ecx
mov ecx, str.Config
call fcn.0043a720
add esp, 4
test al, al
je 0x40816d
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x449b90]
cmp eax, dword [ecx + 4]
jle 0x407218
push 0x449b90
call fcn.0043dcc8
add esp, 4
cmp dword [0x449b90], 0xffffffff
jne 0x407218
push 0x43fa60
call fcn.0043dc2c
add esp, 4
push 0x449b90
call fcn.0043dc77
add esp, 4
mov esi, dword [0x449b68]
xor edx, edx
mov dword [ebp - 0x310], 0x438e8000
mov dword [ebp - 0x30c], 0x435c0000
mov eax, dword [esi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [esi + 0x1ba8]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, 0x44081c
call fcn.0040b5a0
mov edi, eax
add esp, 4
cmp dword [esi + 0x1be0], edi
jne 0x407274
mov dword [esi + 0x1be4], edi
cmp dword [esi + 0x1c1c], edi
jne 0x407283
mov byte [esi + 0x1c20], 1
cmp dword [esi + 0x1bc8], edi
jne 0x4072a0
push ecx
push 0x44081c
mov edx, 0xb
mov ecx, edi
call fcn.0041d190
add esp, 8
push 0
push ecx
lea eax, [ebp - 0x310]
mov edx, edi
push eax
mov ecx, 0x44081c
call fcn.004117a0
add esp, 0xc
mov dword [ebp - 0x310], 0
lea eax, [ebp - 0x310]
mov dword [ebp - 0x30c], 0
xor edx, edx
mov ecx, 0x4406eb
push 0
push 0
push 0
push eax
push 0x80
push 0x449ad8
call fcn.00435070
movss xmm1, dword [0x445148]
xorps xmm0, xmm0
call fcn.00417370
add esp, 0x14
mov dword [ebp - 0x310], 0
lea edx, [ebp - 0x310]
mov dword [ebp - 0x30c], 0
mov ecx, str.Create
call fcn.00430980
add esp, 4
test al, al
je 0x407440
mov ecx, 0x449ad8
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407350
sub ecx, edx
push ecx
push 0x449ad8
lea ecx, [ebp - 0x34]
call fcn.00404d40
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
mov eax, esi
sub eax, edx
cmp eax, 4
jb 0x407398
cmp esi, 0x10
lea eax, [edx + 4]
mov dword [ebp - 0x24], eax
cmovae ecx, dword [ebp - 0x34]
mov eax, dword [str..cfg]
mov dword [ecx + edx], eax
lea eax, [ebp - 0x34]
mov byte [ecx + edx + 4], 0
jmp 0x4073ac
push 4
push str..cfg
push dword [ebp - 0x30c]
push 4
call fcn.004042b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
movq qword [ebp - 0x3c], xmm0
cmp ecx, 0x10
jb 0x407404
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4073fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4073fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401240
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x407440
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407436
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40762b
push ecx
push edx
call fcn.0043dc46
add esp, 8
mov ecx, dword [0x449b68]
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x40800000
mov eax, dword [ecx + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x4074d4
movss xmm0, dword [eax + 0xd4]
lea ecx, [ebp - 0x310]
movss xmm2, dword [eax + 0xd0]
movaps xmm1, xmm0
addss xmm1, dword [0x4450cc]
movaps xmm3, xmm2
movss dword [ebp - 0x5c], xmm2
addss xmm3, dword [0x44500c]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [0x445148]
movss dword [ebp - 0x54], xmm3
call fcn.00417060
push 0
push 0
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.00417190
add esp, 8
cmp dword [0x449040], 0xffffffff
je 0x407959
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov ecx, str.Load
mov dword [ebp - 0x30c], 0
call fcn.00430980
add esp, 4
test al, al
je 0x407585
mov esi, dword [0x449040]
test esi, esi
js 0x407585
mov ecx, dword [0x449acc]
mov eax, 0x2aaaaaab
mov edi, dword [0x449ac8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x407585
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408c90
lea ecx, [ebp - 0x4c]
call fcn.00401880
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x407585
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40757b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40762b
push ecx
push edx
call fcn.0043dc46
add esp, 8
movss xmm1, dword [0x445148]
xorps xmm0, xmm0
call fcn.00417370
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov ecx, str.Save
mov dword [ebp - 0x30c], 0
call fcn.00430980
add esp, 4
test al, al
je 0x40763b
mov esi, dword [0x449040]
test esi, esi
js 0x40763b
mov ecx, dword [0x449acc]
mov eax, 0x2aaaaaab
mov edi, dword [0x449ac8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x40763b
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408c90
lea ecx, [ebp - 0x4c]
call fcn.00401240
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x40763b
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407631
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407631
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
movss xmm1, dword [0x445148]
xorps xmm0, xmm0
call fcn.00417370
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov ecx, str.Delete
mov dword [ebp - 0x30c], 0
call fcn.00430980
add esp, 4
test al, al
je 0x4078e5
mov esi, dword [0x449040]
test esi, esi
js 0x4078e5
mov ecx, dword [0x449acc]
mov eax, 0x2aaaaaab
mov edi, dword [0x449ac8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4078e5
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408c90
push ecx
lea ecx, [ebp - 0x64]
call fcn.00403a70
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.004033b0
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x407743
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407739
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407739
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x40786d
mov eax, dword [0x449040]
mov edx, dword [0x449ac8]
mov esi, dword [0x449acc]
mov dword [ebp - 0x18], esi
lea ecx, [eax + eax*2]
lea eax, [edx + 0x18]
lea eax, [eax + ecx*8]
cmp eax, esi
je 0x407816
lea esi, [edx + 0x14]
lea esi, [esi + ecx*8]
nop dword [eax + eax]
lea ecx, [esi + 4]
lea eax, [esi - 0x14]
cmp eax, ecx
je 0x407805
mov edx, dword [esi]
cmp edx, 0x10
jb 0x4077d2
mov eax, dword [esi - 0x14]
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x4077c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d5
mov eax, edx
push ecx
push eax
call fcn.0043dc46
add esp, 8
lea ecx, [esi + 4]
mov dword [esi - 4], 0
mov dword [esi], 0xf
mov byte [esi - 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi - 0x14], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi - 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [ecx], 0
add esi, 0x18
lea eax, [esi + 4]
cmp eax, dword [ebp - 0x18]
jne 0x407790
mov esi, dword [0x449acc]
mov ecx, dword [esi - 4]
cmp ecx, 0x10
jb 0x40784a
mov eax, dword [esi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x407840
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d5
mov eax, edx
push ecx
push eax
call fcn.0043dc46
add esp, 8
mov dword [esi - 8], 0
mov dword [esi - 4], 0xf
mov byte [esi - 0x18], 0
sub dword [0x449acc], 0x18
mov dword [0x449040], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x40789d
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407893
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4078d5
push ecx
push edx
call fcn.0043dc46
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0x10
jb 0x4078e5
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4078db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4078db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
movss xmm1, dword [0x445148]
xorps xmm0, xmm0
call fcn.00417370
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov ecx, str.Reset
mov dword [ebp - 0x30c], 0
call fcn.00430980
add esp, 4
test al, al
je 0x407966
mov byte [0x449a40], 0
mov byte [0x449a41], 0
mov dword [0x449a44], 0
mov dword [0x449028], 1
mov dword [0x44902c], 0x14
mov dword [0x449030], 0x14
jmp 0x407966
push str.No_Config_Selected
call fcn.004301d0
add esp, 4
call fcn.00411990
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movss xmm1, dword [0x445148]
call fcn.00417370
push ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0x435c0000
call fcn.00430cb0
movss xmm1, dword [0x445148]
add esp, 4
xorps xmm0, xmm0
call fcn.00417370
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov edi, dword [0x449b68]
mov dword [ebp - 0x310], 0x438e8000
mov dword [ebp - 0x30c], 0x435c0000
mov eax, dword [edi + 0x1ba8]
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1ba8]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.List
call fcn.0040b5a0
mov esi, eax
add esp, 4
cmp dword [edi + 0x1be0], esi
jne 0x407a18
mov dword [edi + 0x1be4], esi
cmp dword [edi + 0x1c1c], esi
jne 0x407a27
mov byte [edi + 0x1c20], 1
cmp dword [edi + 0x1bc8], esi
jne 0x407a44
push ecx
push str.List
mov edx, 0xb
mov ecx, esi
call fcn.0041d190
add esp, 8
push 0
push ecx
lea eax, [ebp - 0x310]
mov edx, esi
push eax
mov ecx, str.List
call fcn.004117a0
mov ecx, dword [0x449ac8]
add esp, 0xc
mov edx, dword [0x449acc]
cmp ecx, edx
je 0x407a80
push ecx
call fcn.00409020
mov eax, dword [0x449ac8]
add esp, 4
mov dword [0x449acc], eax
cmp dword [0x449060], 0x10
mov eax, 0x44904c
push dword [0x44905c]
cmovae eax, dword [0x44904c]
push eax
call fcn.0043d3e8
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.00404e30
add esp, 8
lea eax, [ebp - 0x4c]
xor esi, esi
lea ecx, [ebp - 0x308]
xor edi, edi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x324], edi
push esi
push eax
call fcn.00406190
cmp byte [ebp - 0x9c], 0
je 0x407b0f
push 0x50
call fcn.0043d9c0
mov esi, eax
lea eax, [ebp - 0x308]
push eax
mov dword [ebp - 0x31c], esi
lea edi, [esi + 0x10]
mov dword [esi + 4], 1
mov ecx, edi
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov dword [ebp - 0x324], edi
call fcn.00406460
push dword [ebp - 0x2f0]
mov esi, dword [ebp - 0x98]
call fcn.0043d5dc
mov ecx, dword [ebp - 0x2f4]
cmp ecx, 8
jb 0x407b62
mov edx, dword [ebp - 0x308]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407b58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407b58
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
test esi, esi
jne 0x408190
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x407ba6
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407b9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407b9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043dc46
add esp, 8
mov esi, dword [ebp - 0x31c]
test esi, esi
je 0x407bb4
lock inc dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x318], ecx
test esi, esi
je 0x407bc4
lock inc dword [esi + 4]
mov dword [ebp - 0x68], 0
test esi, esi
je 0x407c00
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x407c00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x407bf0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x318]
nop word [eax + eax]
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x40804b
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x58], 0
cmp al, 3
jne 0x407c2a
push edi
mov dword [ebp - 0x50], 0
push 0
jmp 0x407c5f
shr ecx, 1
test cl, 1
je 0x407c36
mov ecx, dword [edi + 0x10]
jmp 0x407c39
or ecx, 0xffffffff
cmp dword [edi + 0x34], 8
lea eax, [edi + 0x20]
jb 0x407c44
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0x90]
push ecx
push eax
call fcn.0043d633
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x50], eax
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00406070
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
test edx, edx
je 0x407c7f
cmp eax, 1
je 0x407c7f
cmp eax, 9
jne 0x4081a0
cmp eax, 2
jne 0x407d55
push 4
push str..cfg
call fcn.0043d3e8
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.00404e30
mov eax, dword [ebp - 0x320]
lea ecx, [edi + 0x20]
or eax, 3
add esp, 8
cmp dword [edi + 0x34], 8
mov dword [ebp - 0x320], eax
jb 0x407cbc
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00405090
push 0x3a
mov edi, eax
push esi
push edi
call fcn.0043d8e0
mov edx, eax
cmp edi, edx
je 0x407d0d
lea ecx, [edx - 2]
cmp edi, ecx
je 0x407d0d
cmp word [ecx], 0x2e
jne 0x407cf7
lea eax, [ecx - 2]
cmp edi, eax
jne 0x407d0f
cmp word [ecx - 2], 0x2e
jne 0x407d0f
jmp 0x407d0d
sub ecx, 2
cmp edi, ecx
je 0x407d0d
nop
cmp word [ecx], 0x2e
je 0x407d0f
sub ecx, 2
cmp edi, ecx
jne 0x407d00
mov ecx, edx
sub edx, ecx
mov dword [ebp - 0x330], ecx
push ecx
lea eax, [ebp - 0x330]
sar edx, 1
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x32c], edx
call fcn.00408e50
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmp esi, 8
lea ecx, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00405340
test eax, eax
jne 0x407d58
mov byte [ebp - 0x311], 1
jmp 0x407d5f
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x311], 0
mov eax, dword [ebp - 0x320]
test al, 2
je 0x407dc9
mov ecx, dword [ebp - 0x38]
and eax, 0xfffffffd
mov dword [ebp - 0x320], eax
cmp ecx, 8
jb 0x407db5
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407da2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073f4
push ecx
push edx
call fcn.0043dc46
mov esi, dword [ebp - 0x20]
add esp, 8
mov eax, dword [ebp - 0x320]
xor ecx, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
test al, 1
je 0x407e0d
and eax, 0xfffffffe
mov dword [ebp - 0x320], eax
cmp esi, 8
jb 0x407e0d
mov ecx, dword [ebp - 0x34]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x407e03
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073f4
push esi
push ecx
call fcn.0043dc46
add esp, 8
cmp byte [ebp - 0x311], 0
mov edi, dword [ebp - 0x324]
je 0x407fa0
cmp dword [edi + 0x34], 8
lea ecx, [edi + 0x20]
jb 0x407e2c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00405090
sub esi, eax
mov dword [ebp - 0x6c], eax
push ecx
lea eax, [ebp - 0x6c]
sar esi, 1
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x68], esi
call fcn.00408e50
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov esi, dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
call fcn.0043d3e8
xor ecx, ecx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x24], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0xf
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x34], cl
test esi, esi
je 0x407ee2
cmp esi, 0x7fffffff
ja 0x4081b5
push ecx
push ecx
push esi
push dword [ebp - 0x1c]
push eax
call fcn.0043d43a
mov dword [ebp - 0x328], eax
test edx, edx
jne 0x4081ae
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00408d90
push dword [ebp - 0x328]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x30c]
call fcn.0043d43a
test edx, edx
jne 0x4081ae
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x407f1f
mov edx, dword [ebp - 0x4c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407f12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073f4
push ecx
push edx
call fcn.0043dc46
mov ecx, dword [ebp - 0x24]
add esp, 8
lea edx, [ecx - 4]
cmp ecx, edx
jb 0x4081ba
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
mov byte [eax + edx], 0
mov eax, dword [0x449acc]
cmp eax, dword [0x449ad0]
je 0x407f5d
mov ecx, eax
call fcn.00408c90
add dword [0x449acc], 0x18
jmp 0x407f63
push eax
call fcn.004095e0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x407fa0
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407f8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073f4
push ecx
push edx
call fcn.0043dc46
add esp, 8
nop word [eax + eax]
lea eax, [ebp - 0x2e8]
push eax
push dword [edi + 0x38]
call fcn.0043d5bb
cmp eax, 0x12
je 0x407ff5
test eax, eax
jne 0x4081bf
cmp word [ebp - 0x2bc], 0x2e
jne 0x407fe2
mov ax, word [ebp - 0x2ba]
test ax, ax
je 0x407fa0
cmp ax, 0x2e
jne 0x407fe2
cmp word [ebp - 0x2b8], 0
je 0x407fa0
lea eax, [ebp - 0x2e8]
mov ecx, edi
push eax
call fcn.00406320
jmp 0x407bf0
mov edx, dword [ebp - 0x18]
xor edi, edi
mov esi, dword [ebp - 0x318]
xor ecx, ecx
mov dword [ebp - 0x324], edi
mov dword [ebp - 0x318], ecx
test edx, edx
je 0x407c00
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x407c00
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x18]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
mov ecx, edi
jne 0x407c00
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, edi
jmp 0x407c00
or edi, 0xffffffff
test ecx, ecx
je 0x408073
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x408073
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x318]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x408073
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x31c]
test esi, esi
je 0x40809b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40809b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40809b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x449acc]
mov eax, 0x2aaaaaab
mov edi, dword [0x449ac8]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40812c
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x31c], eax
nop dword [eax]
cmp dword [0x449040], esi
lea ecx, [eax + edi]
sete dl
cmp dword [ecx + 0x14], 0x10
jb 0x4080e4
mov ecx, dword [ecx]
lea eax, [ebp - 0x6c]
push eax
push ecx
call fcn.00438a10
add esp, 8
test al, al
je 0x4080fb
mov dword [0x449040], esi
mov ecx, dword [0x449acc]
mov eax, 0x2aaaaaab
mov edi, dword [0x449ac8]
inc esi
add dword [ebp - 0x31c], 0x18
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
mov eax, dword [ebp - 0x31c]
jb 0x4080d0
call fcn.00411990
mov edx, dword [0x449b68]
mov eax, dword [edx + 0x1ba8]
cmp byte [eax + 0x8f], 0
jne 0x40816d
mov esi, dword [edx + 0x1fac]
test esi, esi
je 0x40816d
movsx eax, word [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
test byte [eax + ecx*8 + 4], 8
jne 0x40816d
mov eax, dword [edx + 0x1ba8]
dec dword [eax + 0xc4]
call fcn.00439470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043d9b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x4c]
mov edx, esi
push eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.00405fe0
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00405fe0
mov ecx, edx
call fcn.00404cc0
call fcn.00404a30
call fcn.00403960
mov edx, eax
call fcn.00405e90
int3