Function at 0x405ef0
Capabilities:
Create process on windows
Delete file
Enumerate files on windows
Parse pe header
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb58
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0x3e9
mov dword [ebp - 0x4c], edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov esi, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], esi
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push eax
push 0x40d6cc
push ecx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x3e8
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebx, eax
push 0
push 0xa
push 0x402
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x5c], ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push ecx
push 0x40d6b8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [ebx + 0x20]
push 0
push 0x1e
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x1088]
lea esi, [edi + 0x1088]
test eax, eax
jne 0x405fd4
push 0x80004003
call fcn.004096c7
mov ebx, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0xdc]
test eax, eax
jge 0x405ff3
push 0x40d320
push ebx
push eax
call fcn.004096d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406024
cmp dword [esi], 0
jne 0x406009
push 0x80004003
call fcn.004096c7
mov ebx, dword [esi]
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x80]
test eax, eax
jge 0x406024
push 0x40d320
push ebx
push eax
call fcn.004096d5
mov edi, dword [edi + 0x1084]
mov word [ebp - 0x34], 9
mov dword [ebp - 0x2c], edi
push edi
mov edx, dword [edi]
mov byte [ebp - 4], 2
call dword [edx + 4]
push str.Select__from_auto_config_where_itemIsUpdate
mov byte [ebp - 4], 3
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x40606b
mov eax, str.Select__from_auto_config_where_itemIsUpdate
test eax, eax
je 0x40606b
push 0x8007000e
call fcn.004096c7
mov eax, dword [esi]
mov byte [ebp - 4], 4
test eax, eax
jne 0x40607f
push 0x80004003
call fcn.004096c7
mov eax, dword [ebp - 0x34]
push 1
push 3
push 3
sub esp, 0x10
mov ebx, dword [esi]
mov edx, esp
sub esp, 0x10
mov ecx, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x44]
mov edx, esp
push ebx
mov dword [edx], eax
mov eax, dword [ebp - 0x40]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xc], eax
call dword [ecx + 0xa0]
mov edi, eax
test edi, edi
jge 0x4060dc
push 0x40d320
push ebx
push edi
call fcn.004096d5
test edi, edi
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 3
setl byte [ebp - 0x21]
call ebx
test eax, eax
jge 0x4060fa
push eax
call fcn.004096c7
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 2
push edx
call ebx
test eax, eax
jge 0x40610e
push eax
call fcn.004096c7
mov al, byte [ebp - 0x21]
test al, al
je 0x406137
cmp dword [esi], 0
jne 0x406124
push 0x80004003
call fcn.004096c7
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi], 0
jmp 0x4061fd
mov eax, dword [esi]
mov dword [ebp - 4], 1
test eax, eax
jne 0x40614e
push 0x80004003
call fcn.004096c7
mov edi, dword [esi]
lea eax, [ebp - 0x22]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x50]
test eax, eax
jge 0x40616a
push 0x40d320
push edi
push eax
call fcn.004096d5
cmp word [ebp - 0x22], 0
jne 0x40630b
push str.value
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x40619f
mov ecx, str.value
test ecx, ecx
je 0x40619f
push 0x8007000e
call fcn.004096c7
mov eax, dword [esi]
mov byte [ebp - 4], 7
test eax, eax
jne 0x4061b3
push 0x80004003
call fcn.004096c7
mov esi, dword [esi]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x84]
push edx
push eax
mov ecx, esi
call fcn.00409000
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
push ecx
call ebx
test eax, eax
jge 0x4061db
push eax
call fcn.004096c7
mov eax, dword [ebp - 0x84]
cmp ax, 1
jne 0x40622d
lea edx, [ebp - 0x84]
mov byte [ebp - 4], al
push edx
call ebx
test eax, eax
jge 0x4061fd
push eax
call fcn.004096c7
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0040916a
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040916a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ax, 8
mov dword [ebp - 0x14], 0
jne 0x406248
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
jmp 0x406287
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x34]
push edx
push 8
mov byte [ebp - 4], 0xa
call fcn.00408a80
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
push ecx
call ebx
test eax, eax
jge 0x406287
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x406299
call fcn.00408a50
jmp 0x40629b
xor eax, eax
mov esi, 0x40d2e0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4062c8
test cl, cl
je 0x4062c4
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4062c8
add eax, 2
add esi, 2
test cl, cl
jne 0x4062a0
xor eax, eax
jmp 0x4062cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x14]
sete bl
call fcn.00408970
test bl, bl
mov byte [ebp - 4], 1
je 0x4062f4
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4061f3
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x40630b
push eax
call fcn.004096c7
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edx
push 0x40d6a4
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push ecx
mov ecx, dword [ebp - 0x64]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [ebp - 0x5c]
push 0
push 0x32
push 0x402
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x4c]
mov eax, dword [edi + 0x1088]
lea ebx, [edi + 0x1088]
test eax, eax
jne 0x40635f
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea edx, [ebp - 0x1c]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0xdc]
test eax, eax
jge 0x40637e
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4063af
cmp dword [ebx], 0
jne 0x406394
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov eax, dword [esi]
call dword [eax + 0x80]
test eax, eax
jge 0x4063af
push 0x40d320
push esi
push eax
call fcn.004096d5
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push str.Select__from_auto_config_where_itemUpdatePath_u
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 0x1084]
add esp, 0xc
mov word [ebp - 0x34], 9
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xc
push eax
mov esi, eax
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x406403
test esi, esi
je 0x406403
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0xd
test eax, eax
jne 0x406417
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebp - 0x34]
push 1
push 3
push 3
sub esp, 0x10
mov esi, dword [ebx]
mov eax, esp
sub esp, 0x10
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xc], ecx
call dword [edx + 0xa0]
mov edi, eax
test edi, edi
jge 0x406474
push 0x40d320
push esi
push edi
call fcn.004096d5
test edi, edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 0xc
setl byte [ebp - 0x21]
call edi
test eax, eax
jge 0x406492
push eax
call fcn.004096c7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
call edi
test eax, eax
jge 0x4064a6
push eax
call fcn.004096c7
mov al, byte [ebp - 0x21]
test al, al
mov eax, dword [ebx]
je 0x4064d0
test eax, eax
jne 0x4064bd
push 0x80004003
call fcn.004096c7
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebx], 0
jmp 0x4061fd
test eax, eax
jne 0x4064de
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea eax, [ebp - 0x22]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x50]
test eax, eax
jge 0x4064fa
push 0x40d320
push esi
push eax
call fcn.004096d5
cmp word [ebp - 0x22], 0
jne 0x406664
push str.value
mov word [ebp - 0x34], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x2c], eax
jne 0x40652f
mov ecx, str.value
test ecx, ecx
je 0x40652f
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0xe
test eax, eax
jne 0x406543
push 0x80004003
call fcn.004096c7
mov ebx, dword [ebx]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x44]
push edx
push eax
mov ecx, ebx
call fcn.00409000
lea ecx, [ebp - 0x34]
mov bl, 0x10
push ecx
mov byte [ebp - 4], bl
call edi
test eax, eax
jge 0x406569
push eax
call fcn.004096c7
mov eax, dword [ebp - 0x44]
cmp ax, 1
je 0x406650
cmp ax, 8
mov dword [ebp - 0x14], 0
jne 0x406591
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push edx
call fcn.00408890
jmp 0x4065cc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
push ecx
push 8
lea ecx, [ebp - 0x74]
call fcn.00408a80
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push edx
call fcn.00408890
lea eax, [ebp - 0x74]
mov byte [ebp - 4], bl
push eax
call edi
test eax, eax
jge 0x4065cc
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4065de
call fcn.00408a50
jmp 0x4065e0
xor eax, eax
mov edi, dword [ebp - 0x4c]
push eax
lea esi, [edi + 0x78]
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00408970
lea ecx, [ebp - 0x1c]
push 1
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x40d298
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne bl
call fcn.0040916a
test bl, bl
je 0x406634
push 0x40d298
mov ecx, esi
call sub.MFC42.DLL_CString::operator
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push esi
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.00404740
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
push edx
call edi
test eax, eax
jge 0x406664
push eax
call fcn.004096c7
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push esi
push 0x40d658
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push ecx
mov ecx, dword [ebp - 0x64]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [ebp - 0x5c]
push 0
push 0x46
push 0x402
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [ebp - 0x48]
push str.Select__from_auto_config_where_itemINI_u
push ecx
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::Format
mov edi, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x1088]
lea ebx, [edi + 0x1088]
test eax, eax
jne 0x4066d6
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea eax, [ebp - 0x1c]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0xdc]
test eax, eax
jge 0x4066f5
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406726
cmp dword [ebx], 0
jne 0x40670b
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0x406726
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [edi + 0x1084]
mov word [ebp - 0x34], 9
mov dword [ebp - 0x2c], eax
push eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x14
push eax
mov esi, eax
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x406765
test esi, esi
je 0x406765
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x15
test eax, eax
jne 0x406779
push 0x80004003
call fcn.004096c7
mov edx, dword [ebp - 0x34]
push 1
push 3
push 3
sub esp, 0x10
mov esi, dword [ebx]
mov ecx, esp
sub esp, 0x10
mov eax, dword [esi]
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x44]
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [ebp - 0x40]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0xc], edx
call dword [eax + 0xa0]
mov edi, eax
test edi, edi
jge 0x4067d6
push 0x40d320
push esi
push edi
call fcn.004096d5
test edi, edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x14
setl byte [ebp - 0x21]
call esi
test eax, eax
jge 0x4067f4
push eax
call fcn.004096c7
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
push ecx
call esi
test eax, eax
jge 0x406808
push eax
call fcn.004096c7
mov al, byte [ebp - 0x21]
test al, al
je 0x40683d
cmp dword [ebx], 0
jne 0x40681e
push 0x80004003
call fcn.004096c7
mov eax, dword [ebx]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebx], 0
mov byte [ebp - 4], 1
call fcn.0040916a
jmp 0x4061fd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x108]
push eax
call esi
lea ecx, [ebp - 0xa4]
push ecx
call esi
lea edx, [ebp - 0xb4]
push edx
call esi
lea eax, [ebp - 0x94]
push eax
call esi
lea ecx, [ebp - 0x12c]
push ecx
call esi
mov byte [ebp - 4], 0x1a
cmp dword [ebx], 0
jne 0x406883
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea eax, [ebp - 0x22]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x50]
test eax, eax
jge 0x40689f
push 0x40d320
push esi
push eax
call fcn.004096d5
cmp word [ebp - 0x22], 0
jne 0x4073c1
push str.value
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x4068d4
mov ecx, str.value
test ecx, ecx
je 0x4068d4
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x1b
test eax, eax
jne 0x4068e8
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x214]
push edx
push eax
call fcn.00409000
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea ecx, [ebp - 0x108]
push eax
push ecx
mov byte [ebp - 4], 0x1c
call esi
test eax, eax
jge 0x406918
push eax
call fcn.004096c7
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x214]
push edx
mov byte [ebp - 4], 0x1b
call edi
test eax, eax
jge 0x406935
push eax
call fcn.004096c7
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1a
push eax
call edi
test eax, eax
jge 0x406949
push eax
call fcn.004096c7
cmp word [ebp - 0x108], 1
jne 0x406996
lea ecx, [ebp - 0x108]
push ecx
call edi
test eax, eax
jge 0x406966
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x108], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x100], eax
jne 0x406996
mov edx, 0x40d7e4
test edx, edx
je 0x406996
push 0x8007000e
call fcn.004096c7
cmp word [ebp - 0x108], 8
mov dword [ebp - 0x14], 0
jne 0x4069b8
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
jmp 0x4069f7
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x34]
push edx
push 8
mov byte [ebp - 4], 0x1d
call fcn.00408a80
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
push ecx
call edi
test eax, eax
jge 0x4069f7
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1e
test ecx, ecx
je 0x406a09
call fcn.00408a50
jmp 0x406a0b
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x18]
add eax, 0x7c
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call fcn.00409296
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1a
call fcn.0040916a
push str.ApplicationName
mov word [ebp - 0x74], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x6c], eax
jne 0x406a77
mov edx, str.ApplicationName
test edx, edx
je 0x406a77
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x20
test eax, eax
jne 0x406a8b
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x224]
push eax
push edx
call fcn.00409000
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0x21
call esi
test eax, eax
jge 0x406ab5
push eax
call fcn.004096c7
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x20
push ecx
call edi
test eax, eax
jge 0x406acc
push eax
call fcn.004096c7
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0x1a
push edx
call edi
test eax, eax
jge 0x406ae0
push eax
call fcn.004096c7
cmp word [ebp - 0xa4], 1
jne 0x406b2d
lea eax, [ebp - 0xa4]
push eax
call edi
test eax, eax
jge 0x406afd
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0xa4], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x9c], eax
jne 0x406b2d
mov ecx, 0x40d7e4
test ecx, ecx
je 0x406b2d
push 0x8007000e
call fcn.004096c7
push str.KeyName
mov word [ebp - 0x84], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x7c], eax
jne 0x406b5a
mov edx, str.KeyName
test edx, edx
je 0x406b5a
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x22
test eax, eax
jne 0x406b6e
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0x84]
lea edx, [ebp - 0x150]
push eax
push edx
call fcn.00409000
push eax
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 0x23
call esi
test eax, eax
jge 0x406b9b
push eax
call fcn.004096c7
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x22
push ecx
call edi
test eax, eax
jge 0x406bb2
push eax
call fcn.004096c7
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 0x1a
push edx
call edi
test eax, eax
jge 0x406bc9
push eax
call fcn.004096c7
cmp word [ebp - 0xb4], 1
jne 0x406c16
lea eax, [ebp - 0xb4]
push eax
call edi
test eax, eax
jge 0x406be6
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0xb4], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xac], eax
jne 0x406c16
mov ecx, 0x40d7e4
test ecx, ecx
je 0x406c16
push 0x8007000e
call fcn.004096c7
push str.ValueString
mov word [ebp - 0x170], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x168], eax
jne 0x406c46
mov edx, str.ValueString
test edx, edx
je 0x406c46
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x24
test eax, eax
jne 0x406c5a
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x160]
push eax
push edx
call fcn.00409000
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x25
call esi
test eax, eax
jge 0x406c87
push eax
call fcn.004096c7
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x24
push ecx
call edi
test eax, eax
jge 0x406c9e
push eax
call fcn.004096c7
lea edx, [ebp - 0x170]
mov byte [ebp - 4], 0x1a
push edx
call edi
test eax, eax
jge 0x406cb5
push eax
call fcn.004096c7
cmp word [ebp - 0x94], 1
jne 0x406d02
lea eax, [ebp - 0x94]
push eax
call edi
test eax, eax
jge 0x406cd2
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x94], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x8c], eax
jne 0x406d02
mov ecx, 0x40d7e4
test ecx, ecx
je 0x406d02
push 0x8007000e
call fcn.004096c7
push str.flag
mov word [ebp - 0x1c0], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x1b8], eax
jne 0x406d32
mov edx, str.flag
test edx, edx
je 0x406d32
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x26
test eax, eax
jne 0x406d46
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0x1c0]
lea edx, [ebp - 0x11c]
push eax
push edx
call fcn.00409000
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 0x27
call esi
test eax, eax
jge 0x406d73
push eax
call fcn.004096c7
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x26
push ecx
call edi
test eax, eax
jge 0x406d8a
push eax
call fcn.004096c7
lea edx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x1a
push edx
call edi
test eax, eax
jge 0x406da1
push eax
call fcn.004096c7
cmp word [ebp - 0x12c], 1
jne 0x406dd6
lea eax, [ebp - 0x12c]
push eax
call edi
test eax, eax
jge 0x406dbe
push eax
call fcn.004096c7
mov word [ebp - 0x12c], 3
mov dword [ebp - 0x124], 0
jmp 0x407380
cmp word [ebp - 0x124], 0
je 0x407380
cmp word [ebp - 0xb4], 8
mov dword [ebp - 0x14], 0
jne 0x406e0c
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408890
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
jmp 0x406e59
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x1b0]
push edx
call ebx
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x1b0]
push eax
push 8
mov byte [ebp - 4], 0x28
call fcn.00408a80
mov ecx, dword [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408890
lea edx, [ebp - 0x1b0]
mov byte [ebp - 4], 0x1a
push edx
call edi
test eax, eax
jge 0x406e59
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x29
test ecx, ecx
je 0x406e6d
call fcn.00408a50
mov esi, eax
jmp 0x406e6f
xor esi, esi
cmp word [ebp - 0xa4], 8
mov dword [ebp - 0x50], 0
jne 0x406e91
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00408890
jmp 0x406ed8
lea ecx, [ebp - 0x180]
push ecx
call ebx
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x180]
push edx
push 8
mov byte [ebp - 4], 0x2a
call fcn.00408a80
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x50]
push eax
call fcn.00408890
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x29
push ecx
call edi
test eax, eax
jge 0x406ed8
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 0x2b
test ecx, ecx
je 0x406eea
call fcn.00408a50
jmp 0x406eec
xor eax, eax
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x764]
push edx
push 0x400
push ecx
push str.DefaultErr
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x50]
call fcn.00408970
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
cmp word [ebp - 0x94], 8
mov dword [ebp - 0x14], 0
jne 0x406f3f
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
push edx
call fcn.00408890
jmp 0x406f86
lea eax, [ebp - 0x1a0]
push eax
call ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2c
push ecx
push 8
lea ecx, [ebp - 0x1a0]
call fcn.00408a80
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x14]
push edx
call fcn.00408890
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0x1a
push eax
call edi
test eax, eax
jge 0x406f86
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x2d
test ecx, ecx
je 0x406f98
call fcn.00408a50
jmp 0x406f9a
xor eax, eax
mov esi, eax
mov eax, str.NEEDDELETE
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x406fc5
test cl, cl
je 0x406fc1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x406fc5
add eax, 2
add esi, 2
test cl, cl
jne 0x406fa1
xor esi, esi
jmp 0x406fca
sbb esi, esi
sbb esi, 0xffffffff
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
test esi, esi
je 0x407103
cmp word [ebp - 0xb4], 8
mov dword [ebp - 0x14], 0
jne 0x407000
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
jmp 0x407047
lea ecx, [ebp - 0x190]
push ecx
call ebx
lea edx, [ebp - 0xb4]
lea ecx, [ebp - 0x190]
push edx
push 8
mov byte [ebp - 4], 0x2e
call fcn.00408a80
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x1a
push ecx
call edi
test eax, eax
jge 0x407047
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x2f
test ecx, ecx
je 0x40705b
call fcn.00408a50
mov esi, eax
jmp 0x40705d
xor esi, esi
cmp word [ebp - 0xa4], 8
mov dword [ebp - 0x54], 0
jne 0x40707f
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x54]
push edx
call fcn.00408890
jmp 0x4070c6
lea eax, [ebp - 0x140]
push eax
call ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x30
push ecx
push 8
lea ecx, [ebp - 0x140]
call fcn.00408a80
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x54]
push edx
call fcn.00408890
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x2f
push eax
call edi
test eax, eax
jge 0x4070c6
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x31
test ecx, ecx
je 0x4070d8
call fcn.00408a50
jmp 0x4070da
xor eax, eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x54]
call fcn.00408970
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x68], 1
cmp word [ebp - 0x94], 8
mov dword [ebp - 0x14], 0
jne 0x407125
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
jmp 0x40716c
lea ecx, [ebp - 0xc8]
push ecx
call ebx
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xc8]
push edx
push 8
mov byte [ebp - 4], 0x32
call fcn.00408a80
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x1a
push ecx
call edi
test eax, eax
jge 0x40716c
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x33
test ecx, ecx
je 0x40717e
call fcn.00408a50
jmp 0x407180
xor eax, eax
mov esi, eax
lea eax, [ebp - 0x764]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4071b0
test cl, cl
je 0x4071ac
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4071b0
add eax, 2
add esi, 2
test cl, cl
jne 0x407188
xor esi, esi
jmp 0x4071b5
sbb esi, esi
sbb esi, 0xffffffff
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
test esi, esi
je 0x407380
cmp word [ebp - 0x94], 8
mov dword [ebp - 0x14], 0
jne 0x4071eb
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
jmp 0x407236
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xd8]
push edx
push 8
mov byte [ebp - 4], 0x34
call fcn.00408a80
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x14]
push eax
call fcn.00408890
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x1a
push ecx
call edi
test eax, eax
jge 0x407236
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x35
test ecx, ecx
je 0x40724a
call fcn.00408a50
mov ebx, eax
jmp 0x40724c
xor ebx, ebx
cmp word [ebp - 0xb4], 8
mov dword [ebp - 0x1c], 0
jne 0x40726e
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00408890
jmp 0x4072b9
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x36
push ecx
push 8
lea ecx, [ebp - 0xf8]
call fcn.00408a80
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00408890
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x35
push eax
call edi
test eax, eax
jge 0x4072b9
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x37
test ecx, ecx
je 0x4072cd
call fcn.00408a50
mov esi, eax
jmp 0x4072cf
xor esi, esi
cmp word [ebp - 0xa4], 8
mov dword [ebp - 0x58], 0
jne 0x4072f1
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00408890
jmp 0x40733c
lea edx, [ebp - 0xe8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xe8]
push eax
push 8
mov byte [ebp - 4], 0x38
call fcn.00408a80
mov ecx, dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00408890
lea edx, [ebp - 0xe8]
mov byte [ebp - 4], 0x37
push edx
call edi
test eax, eax
jge 0x40733c
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0x39
test ecx, ecx
je 0x40734e
call fcn.00408a50
jmp 0x407350
xor eax, eax
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x58]
call fcn.00408970
lea ecx, [ebp - 0x1c]
call fcn.00408970
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1a
call fcn.00408970
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x68], 1
mov eax, dword [ebp - 0x4c]
lea ebx, [eax + 0x1088]
mov eax, dword [eax + 0x1088]
test eax, eax
jne 0x40739d
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x90]
test eax, eax
jge 0x406874
push 0x40d320
push esi
push eax
call fcn.004096d5
jmp 0x406874
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x20]
push esi
push 0x40d610
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
add esp, 0xc
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [ebp - 0x5c]
push 0
push 0x5a
push 0x402
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea eax, [ebp - 0x48]
push str.Select__from_auto_config_where_itemEXE_u_order_by_id
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x40741a
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea edx, [ebp - 0x60]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0xdc]
test eax, eax
jge 0x407439
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x40746a
cmp dword [ebx], 0
jne 0x40744f
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov eax, dword [esi]
call dword [eax + 0x80]
test eax, eax
jge 0x40746a
push 0x40d320
push esi
push eax
call fcn.004096d5
mov ecx, dword [ebp - 0x4c]
mov word [ebp - 0x34], 9
mov eax, dword [ecx + 0x1084]
mov dword [ebp - 0x2c], eax
push eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x3a
push eax
mov esi, eax
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x4074ac
test esi, esi
je 0x4074ac
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x3b
test eax, eax
jne 0x4074c0
push 0x80004003
call fcn.004096c7
mov edx, dword [ebp - 0x34]
push 1
push 3
push 3
sub esp, 0x10
mov esi, dword [ebx]
mov ecx, esp
sub esp, 0x10
mov eax, dword [esi]
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x44]
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [ebp - 0x40]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0xc], edx
call dword [eax + 0xa0]
mov edi, eax
test edi, edi
jge 0x40751b
push 0x40d320
push esi
push edi
call fcn.004096d5
xor esi, esi
lea eax, [ebp - 0x44]
cmp edi, esi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
mov byte [ebp - 4], 0x3a
setl byte [ebp - 0x21]
call edi
cmp eax, esi
jge 0x40753d
push eax
call fcn.004096c7
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
push ecx
call edi
cmp eax, esi
jge 0x407551
push eax
call fcn.004096c7
mov al, byte [ebp - 0x21]
test al, al
je 0x407575
cmp dword [ebx], esi
jne 0x407566
push 0x80004003
call fcn.004096c7
mov eax, dword [ebx]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebx], esi
jmp 0x407bdf
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x34]
push eax
call edi
lea ecx, [ebp - 0x44]
push ecx
call edi
lea edx, [ebp - 0x74]
push edx
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x3e
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x3f
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x40
mov dword [ebp - 0x204], 0x44
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x1fc], esi
mov dword [ebp - 0x1f8], esi
mov dword [ebp - 0x1d8], 1
mov word [ebp - 0x1d4], 5
mov word [ebp - 0x1d2], si
mov dword [ebp - 0x1d0], esi
cmp dword [ebx], 0
jne 0x4075f4
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea ecx, [ebp - 0x22]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x50]
test eax, eax
jge 0x407610
push 0x40d320
push esi
push eax
call fcn.004096d5
cmp word [ebp - 0x22], 0
jne 0x407b5b
push str.Value
mov word [ebp - 0xe8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xe0], eax
jne 0x40764b
mov edx, str.Value
test edx, edx
je 0x40764b
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x41
test eax, eax
jne 0x40765f
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0xe8]
lea edx, [ebp - 0x11c]
push eax
push edx
call fcn.00409000
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x42
push eax
call edi
test eax, eax
jge 0x40768f
push eax
call fcn.004096c7
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x11c]
push ecx
mov byte [ebp - 4], 0x41
call esi
test eax, eax
jge 0x4076ac
push eax
call fcn.004096c7
lea edx, [ebp - 0xe8]
mov byte [ebp - 4], 0x40
push edx
call esi
test eax, eax
jge 0x4076c3
push eax
call fcn.004096c7
cmp word [ebp - 0x34], 1
jne 0x407704
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jge 0x4076da
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x34], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x2c], eax
jne 0x407704
mov ecx, 0x40d7e4
test ecx, ecx
je 0x407704
push 0x8007000e
call fcn.004096c7
push str.flag
mov word [ebp - 0xf8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xf0], eax
jne 0x407734
mov edx, str.flag
test edx, edx
je 0x407734
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x43
test eax, eax
jne 0x407748
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea eax, [ebp - 0xf8]
lea edx, [ebp - 0x160]
push eax
push edx
call fcn.00409000
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x44
call edi
test eax, eax
jge 0x407772
push eax
call fcn.004096c7
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x43
push ecx
call esi
test eax, eax
jge 0x407789
push eax
call fcn.004096c7
lea edx, [ebp - 0xf8]
mov byte [ebp - 4], 0x40
push edx
call esi
test eax, eax
jge 0x4077a0
push eax
call fcn.004096c7
cmp word [ebp - 0x44], 1
jne 0x4077c4
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jge 0x4077b7
push eax
call fcn.004096c7
mov word [ebp - 0x44], 3
mov dword [ebp - 0x3c], 0
push 0x40d0d4
mov word [ebp - 0xd8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xd0], eax
jne 0x4077f4
mov ecx, 0x40d0d4
test ecx, ecx
je 0x4077f4
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x45
test eax, eax
jne 0x407808
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.00409000
lea ecx, [ebp - 0x74]
push eax
push ecx
mov byte [ebp - 4], 0x46
call edi
test eax, eax
jge 0x407832
push eax
call fcn.004096c7
lea edx, [ebp - 0x150]
mov byte [ebp - 4], 0x45
push edx
call esi
xor edi, edi
cmp eax, edi
jge 0x40784b
push eax
call fcn.004096c7
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x40
push eax
call esi
cmp eax, edi
jge 0x407862
push eax
call fcn.004096c7
cmp word [ebp - 0x74], 1
jne 0x4078a3
lea ecx, [ebp - 0x74]
push ecx
call esi
cmp eax, edi
jge 0x407879
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x74], 8
call fcn.00409582
cmp eax, edi
mov dword [ebp - 0x6c], eax
jne 0x4078a3
mov edx, 0x40d7e4
test edx, edx
je 0x4078a3
push 0x8007000e
call fcn.004096c7
cmp word [ebp - 0x74], 8
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edi
jne 0x4078be
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00408890
jmp 0x407906
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xc8]
push edx
push 8
mov byte [ebp - 4], 0x47
call fcn.00408a80
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00408890
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x40
push ecx
call esi
cmp eax, edi
jge 0x407906
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x48
cmp ecx, edi
je 0x407918
call fcn.00408a50
jmp 0x40791a
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x40
call fcn.00408970
cmp word [ebp - 0x34], 8
mov dword [ebp - 0x1c], edi
jne 0x407947
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00408890
jmp 0x40798f
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x49
push ecx
push 8
lea ecx, [ebp - 0x140]
call fcn.00408a80
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00408890
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x40
push eax
call esi
cmp eax, edi
jge 0x40798f
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x4a
cmp ecx, edi
je 0x4079a1
call fcn.00408a50
jmp 0x4079a3
xor eax, eax
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x40
call fcn.00408970
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
lea esi, [ecx + 0x7c]
push esi
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x4b
call fcn.00409296
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x40
call fcn.0040916a
push str.runexdel.log
lea ecx, [ebp - 0x58]
push esi
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x4c
call fcn.00409296
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x40
call fcn.0040916a
cmp ebx, 2
jne 0x407a3e
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x204]
mov ecx, dword [ebp - 0x18]
push edx
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407b03
jmp 0x407ace
cmp ebx, 1
jne 0x407b1a
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0xb64]
push 0x400
push edx
push str.DefaultErr
push eax
push str.RUNEXE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0xb64]
mov esi, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407a9e
test cl, cl
je 0x407a9a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407a9e
add eax, 2
add esi, 2
test cl, cl
jne 0x407a76
xor eax, eax
jmp 0x407aa3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407b1a
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x204]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407b03
mov edx, dword [ebp - 0x80]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x84]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x54]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x84]
push eax
call esi
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push eax
push str.RUNEXE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x1088]
lea ebx, [ecx + 0x1088]
test eax, eax
jne 0x407b37
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov edx, dword [esi]
call dword [edx + 0x90]
test eax, eax
jge 0x4075e5
push 0x40d320
push esi
push eax
call fcn.004096d5
jmp 0x4075e5
cmp dword [ebx], 0
jne 0x407b6a
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov eax, dword [esi]
call dword [eax + 0x80]
test eax, eax
jge 0x407b85
push 0x40d320
push esi
push eax
call fcn.004096d5
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x3f
call fcn.0040916a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x3e
call fcn.0040916a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x74]
push ecx
mov byte [ebp - 4], 0x3d
call esi
test eax, eax
jge 0x407bb7
push eax
call fcn.004096c7
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x3c
push edx
call esi
test eax, eax
jge 0x407bcb
push eax
call fcn.004096c7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
push eax
call esi
test eax, eax
jge 0x407bdf
push eax
call fcn.004096c7
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
push 0x40d5bc
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
add esp, 0xc
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebp - 0x5c]
push 0
push 0x64
push 0x402
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
lea edx, [ebp - 0x48]
push str.Select__from_auto_config_where_itemDEL_u
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx]
add esp, 0xc
test eax, eax
jne 0x407c38
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea ecx, [ebp + 8]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0xdc]
test eax, eax
jge 0x407c57
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [ebp + 8]
test eax, eax
je 0x407c88
cmp dword [ebx], 0
jne 0x407c6d
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
push esi
mov edx, dword [esi]
call dword [edx + 0x80]
test eax, eax
jge 0x407c88
push 0x40d320
push esi
push eax
call fcn.004096d5
mov eax, dword [ebp - 0x4c]
mov word [ebp - 0x34], 9
mov eax, dword [eax + 0x1084]
mov dword [ebp - 0x2c], eax
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x4d
push eax
mov esi, eax
mov word [ebp - 0x44], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x407cca
test esi, esi
je 0x407cca
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x4e
test eax, eax
jne 0x407cde
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebp - 0x34]
push 1
push 3
push 3
sub esp, 0x10
mov esi, dword [ebx]
mov eax, esp
sub esp, 0x10
mov edx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xc], ecx
call dword [edx + 0xa0]
mov edi, eax
test edi, edi
jge 0x407d3b
push 0x40d320
push esi
push edi
call fcn.004096d5
test edi, edi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 0x4d
setl byte [ebp + 0xb]
call esi
test eax, eax
jge 0x407d59
push eax
call fcn.004096c7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x1a
push eax
call esi
test eax, eax
jge 0x407d6d
push eax
call fcn.004096c7
mov al, byte [ebp + 0xb]
test al, al
je 0x407d9c
cmp dword [ebx], 0
jne 0x407d83
push 0x80004003
call fcn.004096c7
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebx], 0
jmp 0x408408
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x74]
push edx
call esi
lea eax, [ebp - 0x34]
push eax
call esi
lea ecx, [ebp - 0x44]
push ecx
call esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x51
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x52
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x53
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x54
cmp dword [ebx], 0
jne 0x407deb
push 0x80004003
call fcn.004096c7
mov esi, dword [ebx]
lea eax, [ebp + 0xa]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x50]
test eax, eax
jge 0x407e07
push 0x40d320
push esi
push eax
call fcn.004096d5
cmp word [ebp + 0xa], 0
jne 0x4083a2
push str.value
mov word [ebp - 0xe8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xe0], eax
jne 0x407e42
mov ecx, str.value
test ecx, ecx
je 0x407e42
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x55
test eax, eax
jne 0x407e56
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0x11c]
push edx
push eax
call fcn.00409000
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
lea ecx, [ebp - 0x74]
push eax
push ecx
mov byte [ebp - 4], 0x56
call edi
test eax, eax
jge 0x407e86
push eax
call fcn.004096c7
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x11c]
push edx
mov byte [ebp - 4], 0x55
call esi
test eax, eax
jge 0x407ea3
push eax
call fcn.004096c7
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x54
push eax
call esi
test eax, eax
jge 0x407eba
push eax
call fcn.004096c7
cmp word [ebp - 0x74], 1
jne 0x407efb
lea ecx, [ebp - 0x74]
push ecx
call esi
test eax, eax
jge 0x407ed1
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x74], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x6c], eax
jne 0x407efb
mov edx, 0x40d7e4
test edx, edx
je 0x407efb
push 0x8007000e
call fcn.004096c7
push 0x40d0d4
mov word [ebp - 0xf8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xf0], eax
jne 0x407f2b
mov eax, 0x40d0d4
test eax, eax
je 0x407f2b
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x57
test eax, eax
jne 0x407f3f
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x160]
push edx
push eax
call fcn.00409000
lea ecx, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 0x58
call edi
test eax, eax
jge 0x407f69
push eax
call fcn.004096c7
lea edx, [ebp - 0x160]
mov byte [ebp - 4], 0x57
push edx
call esi
test eax, eax
jge 0x407f80
push eax
call fcn.004096c7
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x54
push eax
call esi
test eax, eax
jge 0x407f97
push eax
call fcn.004096c7
cmp word [ebp - 0x34], 1
jne 0x407fd8
lea ecx, [ebp - 0x34]
push ecx
call esi
test eax, eax
jge 0x407fae
push eax
call fcn.004096c7
push 0x40d7e4
mov word [ebp - 0x34], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0x2c], eax
jne 0x407fd8
mov edx, 0x40d7e4
test edx, edx
je 0x407fd8
push 0x8007000e
call fcn.004096c7
push str.flag
mov word [ebp - 0xd8], 8
call fcn.00409582
test eax, eax
mov dword [ebp - 0xd0], eax
jne 0x408008
mov eax, str.flag
test eax, eax
je 0x408008
push 0x8007000e
call fcn.004096c7
mov eax, dword [ebx]
mov byte [ebp - 4], 0x59
test eax, eax
jne 0x40801c
push 0x80004003
call fcn.004096c7
mov ecx, dword [ebx]
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.00409000
lea ecx, [ebp - 0x44]
push eax
push ecx
mov byte [ebp - 4], 0x5a
call edi
test eax, eax
jge 0x408046
push eax
call fcn.004096c7
lea edx, [ebp - 0x150]
mov byte [ebp - 4], 0x59
push edx
call esi
test eax, eax
jge 0x40805d
push eax
call fcn.004096c7
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x54
push eax
call esi
test eax, eax
jge 0x408074
push eax
call fcn.004096c7
cmp word [ebp - 0x44], 1
jne 0x408098
lea ecx, [ebp - 0x44]
push ecx
call esi
test eax, eax
jge 0x40808b
push eax
call fcn.004096c7
mov word [ebp - 0x44], 3
mov dword [ebp - 0x3c], 0
cmp word [ebp - 0x34], 8
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], 0
jne 0x4080b7
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push edx
call fcn.00408890
jmp 0x408103
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x5b
push ecx
push 8
lea ecx, [ebp - 0xc8]
call fcn.00408a80
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x5c]
push edx
call fcn.00408890
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x54
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x408103
push eax
call fcn.004096c7
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x5c
test ecx, ecx
je 0x408115
call fcn.00408a50
jmp 0x408117
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x54
call fcn.00408970
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00408ae0
mov ecx, dword [eax]
mov byte [ebp - 4], 0x5d
test ecx, ecx
je 0x408149
call fcn.00408a50
jmp 0x40814b
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x54
call fcn.00408970
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
lea esi, [edx + 0x7c]
push esi
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x5e
call fcn.00409296
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x54
call fcn.0040916a
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.00409296
push str.runexdel.log
lea eax, [ebp - 0x50]
push esi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x5f
call fcn.00409296
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x54
call fcn.0040916a
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x764]
push 0x400
push edx
push str.DefaultErr
push eax
push str.RUNDEL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp edi, 2
je 0x408231
cmp edi, 1
jne 0x408386
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x764]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x408224
test cl, cl
je 0x408220
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x408224
add eax, 2
add esi, 2
test cl, cl
jne 0x4081fc
xor eax, eax
jmp 0x408229
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408386
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x364]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40836f
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x60
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [ebp - 0x10c]
push eax
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Left
push 0x5c
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x61
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x62
call fcn.00409296
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x61
call fcn.0040916a
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0x60
call fcn.0040916a
lea ecx, [ebp - 0x338]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x130]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x63
call fcn.00409296
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x60
call fcn.0040916a
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ecx
call edi
mov edx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call ebx
lea eax, [ebp - 0x364]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408363
lea ecx, [ebp - 0x338]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0xb8]
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x64
call fcn.00409296
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x60
call fcn.0040916a
mov ecx, dword [ebp - 0x18]
push 0x80
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
call ebx
lea eax, [ebp - 0x364]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40830d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x54
call fcn.0040916a
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
push ecx
push edx
push eax
push str.RUNDEL
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x4c]
lea ebx, [ecx + 0x1088]
mov ecx, ebx
call fcn.004086a0
mov ecx, eax
call fcn.00408fd0
jmp 0x407ddc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x53
call fcn.0040916a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x52
call fcn.0040916a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x51
call fcn.0040916a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 0x50
call esi
test eax, eax
jge 0x4083e0
push eax
call fcn.004096c7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x4f
push eax
call esi
test eax, eax
jge 0x4083f4
push eax
call fcn.004096c7
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1a
push ecx
call esi
test eax, eax
jge 0x408408
push eax
call fcn.004096c7
lea edx, [ebp - 0x12c]
mov byte [ebp - 4], 0x19
push edx
call esi
test eax, eax
jge 0x40841f
push eax
call fcn.004096c7
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x18
push eax
call esi
test eax, eax
jge 0x408436
push eax
call fcn.004096c7
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x17
push ecx
call esi
test eax, eax
jge 0x40844d
push eax
call fcn.004096c7
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 0x16
push edx
call esi
test eax, eax
jge 0x408464
push eax
call fcn.004096c7
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x13
push eax
call esi
test eax, eax
jge 0x40847b
push eax
call fcn.004096c7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040916a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0040916a
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040916a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4