Function at 0x418620
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 0x470a7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x328
push esi
xor esi, esi
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
mov ecx, dword [0x5d672c]
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4186b4
mov ecx, str.Config
mov edi, ecx
cmp edi, 0xffffffff
jae 0x4186a6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x4186a6
cmp dl, 0x23
jne 0x4186a0
cmp byte [ecx + 1], dl
je 0x4186a6
inc ecx
cmp ecx, 0xffffffff
jb 0x418690
push ecx
movaps xmm3, xmm0
mov edx, edi
call fcn.00459910
add esp, 4
call fcn.00436470
mov ecx, dword [0x5d672c]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x41870b
mov ecx, 0x473d8b
mov edi, ecx
cmp edi, 0xffffffff
jae 0x4186fd
mov dl, byte [ecx]
test dl, dl
je 0x4186fd
cmp dl, 0x23
jne 0x4186f7
cmp byte [ecx + 1], dl
je 0x4186fd
inc ecx
cmp ecx, 0xffffffff
jb 0x4186e7
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00459910
add esp, 4
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push 0x80
push 0x5d6a58
xor edx, edx
mov dword [ebp - 0x18], esi
mov ecx, str.New_Config_Name
call fcn.0045e550
add esp, 0x14
mov dword [ebp - 0x1c], esi
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov ecx, str.Create_Config
call fcn.00457b00
add esp, 4
test al, al
je 0x4188af
mov ecx, 0x5d6a58
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], esi
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418767
sub ecx, edx
push ecx
push 0x5d6a58
lea ecx, [ebp - 0x3c]
call fcn.0041b450
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push 7
push 0x478288
cmp eax, 7
jb 0x4187c2
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 - 0x14]
add esp, 0xc
jmp 0x4187cf
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push 7
call fcn.00415c40
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
or esi, 0x800
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], 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 0x418846
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41883c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41883c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0041bf10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x41889d
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418893
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418893
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov ecx, dword [0x5d672c]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x418907
mov eax, 0x473d91
mov edi, eax
cmp edi, 0xffffffff
jae 0x4188f9
nop dword [eax]
mov dl, byte [eax]
test dl, dl
je 0x4188f9
lea ecx, [eax + 1]
cmp dl, 0x23
jne 0x4188f2
cmp byte [ecx], dl
je 0x4188f9
mov eax, ecx
cmp eax, 0xffffffff
jb 0x4188e0
push eax
xorps xmm3, xmm3
mov edx, edi
call fcn.00459910
add esp, 4
push ecx
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x3c]
push 0x104
push dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
or esi, 0x400
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x3c], xmm0
push 0x104
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x20], esi
call fcn.0041b520
nop dword [eax + eax]
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 - 0x18], ecx
call fcn.0046ed02
mov ecx, dword [ebp - 0x2c]
mov edi, eax
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x60], ecx
cmp edi, ecx
ja 0x418999
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
mov ecx, edi
jbe 0x418991
mov eax, dword [ebp - 0x3c]
xor esi, esi
mov word [eax + ecx*2], si
jmp 0x418a02
mov eax, dword [ebp - 0x28]
mov edx, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x4189ee
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], edi
cmova eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0xa0], eax
test edx, edx
je 0x4189e0
mov edi, dword [ebp - 0xa0]
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 - 0xa8]
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + edx]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4189fc
push ecx
push edx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push edx
call fcn.0041b520
mov edx, dword [ebp - 0x98]
cmp edi, dword [ebp - 0x18]
jae 0x418950
mov esi, dword [ebp - 0x14]
and esi, 0xfffffbff
mov dword [ebp - 4], 3
or esi, 0x200
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0x5d58a0
mov dword [ebp - 0x20], esi
test edx, edx
jne 0x419812
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00416e80
and esi, 0xfffffdff
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x418a8b
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418a81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418a81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
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 [0x5d7f1c]
cmp eax, dword [ecx + 4]
jle 0x418ae4
push 0x5d7f1c
call fcn.0046f197
add esp, 4
cmp dword [0x5d7f1c], 0xffffffff
jne 0x418ae4
push 0x472130
call fcn.0046f467
add esp, 4
push 0x5d7f1c
call fcn.0046f146
add esp, 4
mov ecx, dword [0x5d6ad8]
mov edx, dword [0x5d6adc]
cmp ecx, edx
je 0x418b07
push ecx
call fcn.0041afd0
mov eax, dword [0x5d6ad8]
add esp, 4
mov dword [0x5d6adc], eax
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
push dword [ebp - 0xb4]
cmova eax, dword [ebp - 0xc4]
push eax
call fcn.0046eb16
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00416910
or esi, 0x180
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
add esp, 4
mov byte [ebp - 4], 8
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0041ae30
add esp, 4
test eax, eax
jne 0x41981a
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x418ba5
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418b9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b9b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x418bb0
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x418bc1
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xac], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
test ecx, ecx
je 0x418c21
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x418c21
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473524]
mov ecx, dword [ebp - 0x40]
call esi
mov ecx, dword [ebp - 0x40]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x418c1e
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473524]
mov ecx, dword [ebp - 0x40]
call esi
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
test edi, edi
je 0x41903b
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 3
mov dword [ebp - 0x70], 0
cmp al, 3
jne 0x418c4c
push edi
mov dword [ebp - 0x68], 0
push 0
jmp 0x418c7f
test cl, 2
je 0x418c56
mov ecx, dword [edi + 0x10]
jmp 0x418c59
or ecx, 0xffffffff
cmp dword [edi + 0x34], 7
lea eax, [edi + 0x20]
jbe 0x418c64
mov eax, dword [eax]
push ecx
push 3
lea ecx, [ebp - 0xe8]
push ecx
push eax
call fcn.0046ed30
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x68], eax
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00417bc0
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
test edx, edx
je 0x418c9f
cmp eax, 1
je 0x418c9f
cmp eax, 9
jne 0x41982a
cmp eax, 2
jne 0x418d80
push 7
push str..config
call fcn.0046eb16
mov edx, eax
lea ecx, [ebp - 0x94]
call fcn.00416910
add esp, 8
or esi, 0x60
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x20]
or esi, 1
cmp dword [edi + 0x34], 7
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
jbe 0x418ce0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00416b50
push 0x3a
push esi
mov esi, eax
mov dword [ebp - 0x18], eax
push esi
call fcn.0046f050
cmp esi, eax
je 0x418d2e
lea ecx, [eax - 2]
cmp esi, ecx
je 0x418d2e
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x418d1b
cmp esi, edx
jne 0x418d30
cmp word [edx], 0x2e
jne 0x418d30
jmp 0x418d2e
mov ecx, edx
cmp esi, ecx
je 0x418d2e
cmp word [ecx], 0x2e
je 0x418d30
sub ecx, 2
cmp esi, ecx
jne 0x418d21
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0xa4], ecx
sar eax, 1
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041ac20
or dword [ebp - 0x14], 0x12
lea eax, [ebp - 0x94]
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x84]
cmp esi, 7
cmova eax, dword [ebp - 0x94]
push eax
call fcn.00416f80
test eax, eax
jne 0x418d83
mov byte [ebp - 0x21], 1
jmp 0x418d87
mov esi, dword [ebp - 0x80]
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x14]
test al, 2
je 0x418de8
mov ecx, dword [ebp - 0x48]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 7
jbe 0x418dd4
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418dc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418836
push ecx
push edx
call fcn.0046f481
mov esi, dword [ebp - 0x80]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], cx
mov dword [ebp - 4], 0xc
test al, 1
je 0x418e33
and eax, 0xfffffffe
mov dword [ebp - 0x14], eax
cmp esi, 7
jbe 0x418e33
mov ecx, dword [ebp - 0x94]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x418e29
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418836
push esi
push ecx
call fcn.0046f481
add esp, 8
cmp byte [ebp - 0x21], 0
je 0x418f7e
cmp dword [edi + 0x34], 7
lea ecx, [edi + 0x20]
jbe 0x418e49
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00416b50
sub esi, eax
mov dword [ebp - 0x9c], eax
push ecx
lea eax, [ebp - 0x9c]
sar esi, 1
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], esi
call fcn.0041ac20
mov esi, dword [ebp - 0x14]
or esi, 8
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x94]
call fcn.00416e80
mov byte [ebp - 4], 0xf
mov ecx, dword [0x5d6adc]
cmp ecx, dword [0x5d6ae0]
je 0x418ee5
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 [0x5d6adc], 0x18
jmp 0x418ef1
push eax
push ecx
mov ecx, 0x5d6ad8
call fcn.0041ba80
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x418f29
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418f1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418836
push ecx
push edx
call fcn.0046f481
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 7
jbe 0x418f81
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418f72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418836
push ecx
push edx
call fcn.0046f481
add esp, 8
jmp 0x418f81
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x338]
push eax
push dword [edi + 0x38]
call fcn.0046ec8a
cmp eax, 0x12
je 0x418fd6
test eax, eax
jne 0x419838
cmp word [ebp - 0x30c], 0x2e
jne 0x418fc3
mov ax, word [ebp - 0x30a]
test ax, ax
je 0x418f81
cmp ax, 0x2e
jne 0x418fc3
cmp word [ebp - 0x308], 0
je 0x418f81
lea eax, [ebp - 0x338]
mov ecx, edi
push eax
call fcn.00417e60
jmp 0x418c25
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 0x418c25
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x418c25
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473524]
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 - 0x14]
jne 0x418c25
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473524]
mov ecx, dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0x14]
jmp 0x418c25
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x41907a
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x41907a
mov eax, dword [edx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473524]
mov edi, dword [ebp - 0x60]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41907a
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473524]
mov ecx, edi
call esi
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x4190ba
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4190ba
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x473524]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4190ba
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x473524]
mov ecx, edi
call esi
mov ecx, dword [0x5d6adc]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5d6ad8]
xor edi, edi
mov esi, dword [0x5d5890]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41914d
xor ecx, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ecx
nop dword [eax]
cmp esi, edi
sete dl
add ecx, dword [0x5d6ad8]
cmp dword [ecx + 0x14], 0xf
jbe 0x419103
mov ecx, dword [ecx]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.004666c0
add esp, 8
test al, al
je 0x41911e
mov esi, edi
mov dword [0x5d5890], esi
jmp 0x419124
mov esi, dword [0x5d5890]
mov ecx, dword [0x5d6adc]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5d6ad8]
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 0x4190f0
cmp esi, 0xffffffff
je 0x419175
mov ecx, dword [0x5d6ad8]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea eax, [ecx + eax*8]
jbe 0x419167
mov eax, dword [eax]
push eax
push str.Selected_Config:__s
call fcn.004570b0
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Load_Selected
mov dword [ebp - 0x18], 0
call fcn.00457b00
add esp, 4
test al, al
je 0x419208
mov esi, dword [0x5d5890]
test esi, esi
js 0x419208
mov ecx, dword [0x5d6adc]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d6ad8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x419208
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041aa00
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x419208
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4191fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4197ef
push ecx
push edx
call fcn.0046f481
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Save_Selected
mov dword [ebp - 0x18], 0
call fcn.00457b00
add esp, 4
test al, al
je 0x4192c7
mov esi, dword [0x5d5890]
test esi, esi
js 0x4192c7
mov ecx, dword [0x5d6adc]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d6ad8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4192c7
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041aa00
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.0041bf10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4192b5
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4192ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4192ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov ecx, dword [0x5d672c]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x419319
mov ecx, 0x473d92
mov esi, ecx
cmp esi, 0xffffffff
jae 0x41930b
mov dl, byte [ecx]
test dl, dl
je 0x41930b
cmp dl, 0x23
jne 0x419305
cmp byte [ecx + 1], dl
je 0x41930b
inc ecx
cmp ecx, 0xffffffff
jb 0x4192f5
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00459910
add esp, 4
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Delete_Selected
mov dword [ebp - 0x18], 0
call fcn.00457b00
add esp, 4
test al, al
je 0x4195bd
mov esi, dword [0x5d5890]
test esi, esi
js 0x4195bd
mov ecx, dword [0x5d6adc]
mov eax, 0x2aaaaaab
mov edi, dword [0x5d6ad8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4195bd
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041aa00
mov byte [ebp - 4], 0x11
mov eax, Ordinal_2
mov ecx, dword [ebp - 0xb4]
sub eax, ecx
cmp eax, 1
jb 0x41983f
cmp dword [ebp - 0xb0], 0xf
lea eax, [ebp - 0xc4]
push 1
cmova eax, dword [ebp - 0xc4]
push 0x4782dc
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x5c]
call fcn.00414d40
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x94]
call fcn.004156d0
mov byte [ebp - 4], 0x11
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x41941a
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419410
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x419410
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
cmp dword [ebp - 0x80], 0xf
lea eax, [ebp - 0x94]
cmova eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
test eax, eax
jne 0x419538
mov eax, dword [0x5d5890]
lea ecx, [eax + eax*2]
mov eax, dword [0x5d6ad8]
lea esi, [eax + ecx*8]
mov eax, dword [0x5d6adc]
lea edi, [esi + 0x18]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x4194de
cmp esi, edi
je 0x4194cc
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x41949a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x41948d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ad
mov eax, edx
push ecx
push eax
call fcn.0046f481
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 0x419460
mov eax, dword [0x5d6adc]
mov dword [ebp - 0x20], eax
mov ecx, dword [eax - 4]
cmp ecx, 0xf
jbe 0x419515
mov eax, dword [eax - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x419508
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ad
mov eax, edx
push ecx
push eax
call fcn.0046f481
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 [0x5d6adc], 0x18
mov dword [0x5d5890], 0xffffffff
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x41956b
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419561
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ad
push ecx
push edx
call fcn.0046f481
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x4195bd
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4195b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4195b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
add esp, 8
push ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, str.Reset_to_Default
mov dword [ebp - 0x18], 0
call fcn.00457b00
add esp, 4
test al, al
je 0x4196fa
movaps xmm0, xmmword [0x54d6e0]
movups xmmword [0x5d5900], xmm0
mov byte [0x5d68a0], 1
movaps xmm0, xmmword [0x54d6e0]
movups xmmword [0x5d58c0], xmm0
mov byte [0x5d68b1], 1
movaps xmm0, xmmword [0x54d6d0]
movups xmmword [0x5d58b0], xmm0
mov byte [0x5d688b], 1
movaps xmm0, xmmword [0x54d6a0]
movups xmmword [0x5d58f0], xmm0
mov byte [0x5d6893], 1
movaps xmm0, xmmword [0x54d6e0]
movups xmmword [0x5d58d0], xmm0
mov byte [0x5d68a9], 1
movaps xmm0, xmmword [0x54d6b0]
movups xmmword [0x5d5930], xmm0
mov byte [0x5d6895], 1
movaps xmm0, xmmword [0x54d6c0]
movups xmmword [0x5d5920], xmm0
mov byte [0x5d68b3], 1
movaps xmm0, xmmword [0x54d610]
movups xmmword [0x5d5940], xmm0
mov dword [0x5d68bc], 0
movaps xmm0, xmmword [0x54d660]
mov dword [0x5d68ac], 0
mov dword [0x5d689c], 0
mov byte [0x5d5764], 1
mov byte [0x5d689a], 1
mov byte [0x5d688a], 1
mov byte [0x5d689b], 1
mov byte [0x5d688f], 1
mov byte [0x5d68c8], 0
mov dword [0x5d57f4], 0x42700000
mov byte [0x5d6896], 1
mov byte [0x5d68a8], 1
movups xmmword [0x5d5910], xmm0
mov byte [0x5d5894], 1
mov ecx, dword [0x5d672c]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x41974c
mov eax, 0x473d93
mov esi, eax
cmp esi, 0xffffffff
jae 0x41973e
mov dl, byte [eax]
test dl, dl
je 0x41973e
cmp dl, 0x23
jne 0x419738
cmp byte [eax + 1], dl
je 0x41973e
inc eax
cmp eax, 0xffffffff
jb 0x419728
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.00459910
add esp, 4
mov esi, dword [0x5d672c]
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 0x419793
test al, 4
jne 0x419793
mov eax, dword [esi + 0x5a00]
mov dword [esi + 0x3788], eax
mov edx, dword [esi + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x4197c3
mov esi, dword [esi + 0x4a50]
test esi, esi
je 0x4197c3
movsx eax, word [esi + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [esi + 8]
test byte [ecx + eax + 4], 8
jne 0x4197c3
dec dword [edx + 0xe4]
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x4197ff
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4197f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4197f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046f481
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 - 0x1c]
call fcn.00417b50
lea ecx, [ebp - 0x5c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00417ad0
lea eax, [edi + 0x20]
mov ecx, str.directory_entry::status
push eax
call fcn.00417ad0
mov edx, eax
call fcn.004179b0
call fcn.004025b0
int3