Function at 0x4013a0
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40c96c
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x48], edi
jne 0x4013cf
xor eax, eax
jmp 0x40206f
lea ecx, [esp + 0xac]
call fcn.0040bea2
lea ecx, [esp + 0x98]
mov dword [esp + 0x1ec], edi
call fcn.0040bea2
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0xac]
push eax
add ecx, 0x10
mov byte [esp + 0x1f0], 1
call fcn.00404cf0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], edi
cmp eax, edi
jle 0x40203f
lea ecx, [esp + 0x3c]
push edi
push ecx
lea ecx, [esp + 0xb4]
call fcn.00403540
mov edx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x413078
push edx
mov byte [esp + 0x1f4], 2
call ebp
add esp, 8
test eax, eax
jne 0x40145e
mov ecx, esi
call fcn.00403a30
test eax, eax
je 0x40201a
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_CStringArray::SetSize
lea eax, [esp + 0x98]
lea edx, [esp + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x48]
add ecx, 0x10
call fcn.00404e10
mov ecx, dword [esp + 0xa0]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x6c], eax
jle 0x40201a
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa0]
call fcn.00403540
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ec], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 7
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x1f4], 9
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x14]
push eax
add ecx, 0x10
call fcn.00405060
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 0xa
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x74]
push eax
add ecx, 0x10
call fcn.00404f70
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f0], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x3c]
push 0x413078
push edx
call ebp
add esp, 8
test eax, eax
jne 0x401b1c
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x4015da
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CStringArray::SetSize
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x413068
call fcn.0040bf38
push ecx
mov byte [esp + 0x1f4], 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x413078
call fcn.0040bf38
mov ecx, dword [0x4136d0]
lea eax, [esp + 0x1c]
push eax
add ecx, 0x10
mov byte [esp + 0x1f8], 0xa
call fcn.00404b20
lea edx, [esp + 0x14]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x1f0], 0xd
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ec], 0xe
call sub.MFC42.DLL_CString::CString_2
push 0x104
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xf
call sub.MFC42.DLL_CString::GetBuffer
push 0x5c
lea ecx, [esp + 0x18]
mov ebx, eax
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
lea eax, [esp + 0x60]
push edi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
inc edi
lea ecx, [esp + 0x8c]
push edi
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x10
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
push 0x3a
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
dec eax
lea edx, [esp + 0x90]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
lea ebp, [esi + 4]
push eax
mov ecx, ebp
mov byte [esp + 0x1f0], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x90]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 0x3a
mov edi, dword [eax - 8]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
sub edi, eax
lea ecx, [esp + 0x80]
dec edi
push edi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
lea edi, [esi + 8]
push eax
mov ecx, edi
mov byte [esp + 0x1f0], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x80]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
push 0x20
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
inc eax
lea edx, [esp + 0x7c]
push eax
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Mid
push eax
mov ecx, edi
mov byte [esp + 0x1f0], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
mov ebp, dword [ebp]
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push ebp
push 0x80000002
mov dword [esp + 0x64], 0x104
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4017e7
mov edi, dword [edi]
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
push ecx
push ebx
push edx
push eax
push edi
push ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402088
mov eax, dword [esp + 0x50]
xor edi, edi
cmp eax, 2
jbe 0x401841
lea ebp, [esi + 0xc]
lea eax, [edi + ebx]
lea ecx, [esp + 0x54]
push eax
call fcn.0040bf38
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x1f0], 0x1a
mov eax, dword [ecx - 8]
mov ecx, ebp
lea edi, [edi + eax + 1]
mov eax, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x50]
sub eax, edi
cmp eax, 2
ja 0x4017f5
mov eax, dword [esi + 0x14]
test eax, eax
jle 0x401a30
lea ecx, [esp + 0x4c]
push 0
push ecx
lea ecx, [esi + 0xc]
call fcn.00403540
push str..sys
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 0x1b
call sub.MFC42.DLL_CString::Find_2
add eax, 4
lea edx, [esp + 0x48]
push eax
push edx
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Left
lea eax, [esp + 0xe0]
push 0x104
push eax
mov byte [esp + 0x1f4], 0x1c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0x3f
jne 0x4018cd
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x4c]
push edx
push 0
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x48]
push eax
push 0
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esi + 0x48]
push edx
mov dword [esp + 0x70], 0
call fcn.00409e50
lea eax, [esp + 0x48]
lea ecx, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x48]
push edx
call fcn.0040a210
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x84]
mov byte [esp + 0x1ec], 0x1c
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
lea edi, [esi + 0x2c]
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
mov ebp, edx
je 0x40197c
mov ebx, dword [eax + ebp*4]
test ebx, ebx
je 0x40197c
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x401978
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40195a
jmp 0x40197c
test ebx, ebx
jne 0x4019b7
mov eax, dword [edi + 4]
test eax, eax
jne 0x401990
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.004043a0
mov ecx, edi
call fcn.00404410
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [ebx + 8]
mov dword [ebx + 4], ebp
call sub.MFC42.DLL_CString::operator
mov ecx, dword [edi + 4]
mov edx, dword [ecx + ebp*4]
mov dword [ebx], edx
mov eax, dword [edi + 4]
mov dword [eax + ebp*4], ebx
lea ecx, [esp + 0x20]
lea edi, [ebx + 0xc]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x24]
lea ecx, [edi + 4]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x28]
lea ecx, [edi + 8]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x30]
lea ecx, [edi + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x34]
lea ecx, [edi + 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x1ec], 0x1b
mov dword [edi + 0x18], ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ec], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x44]
test eax, eax
je 0x401a47
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ec], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ec], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x44]
test eax, eax
je 0x401a78
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ec], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ec], 2
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x401ffe
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x48]
call fcn.00409290
test eax, eax
jne 0x401ba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 0x27
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0x26
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x24
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1ec], 0x23
jmp 0x401fd3
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x8c]
push eax
call fcn.00409aa0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x28
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x88]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
push 1
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x41305c
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x94]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x401c56
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x78]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x29
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x401c88
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x401c7a
call edi
cmp eax, 3
jne 0x401c88
push 0x41303c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x64]
mov dword [esp + 0x64], 0
push edx
push eax
call fcn.00409e50
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc4]
call fcn.0040bef0
mov edx, dword [esp + 0x28]
push 0
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1f4], 0x2a
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x401d51
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 0x2f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0x2e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 0x2d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x2c
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1ec], 0x2b
jmp 0x401fd3
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esi + 0x48]
call fcn.0040a210
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 0x30
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ec], 0x2a
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x48], eax
mov ebx, eax
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esi + 0x34]
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x18], edx
je 0x401dcb
mov edi, dword [eax + edx*4]
test edi, edi
je 0x401dcb
mov eax, dword [edi + 8]
push ebx
push eax
call ebp
add esp, 8
test eax, eax
je 0x401dc3
mov edi, dword [edi]
test edi, edi
jne 0x401dad
jmp 0x401dcb
test edi, edi
jne 0x401f0b
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x401dff
mov ebx, dword [esi + 0x34]
lea ebp, [ebx*4]
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x30], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x401e33
mov eax, dword [esi + 0x44]
push 0x28
lea ecx, [esi + 0x40]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x44]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x24]
jl 0x401e33
inc ecx
mov edx, dword [esi + 0x3c]
mov dword [eax], edx
mov dword [esi + 0x3c], eax
sub eax, 0x28
dec ecx
jne 0x401e25
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
inc edi
push 1
mov eax, dword [ebx]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
lea eax, [ebx + 8]
push eax
call sub.MFC42.DLL_ConstructElements
lea ebp, [ebx + 0xc]
mov ecx, 7
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], ebp
xor edi, edi
mov dword [esp + 0xc0], ebp
test ebp, ebp
mov byte [esp + 0x1ec], 0x31
je 0x401ecb
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 4]
mov byte [esp + 0x1ec], 0x32
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 8]
mov byte [esp + 0x1ec], 0x33
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1ec], 0x34
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 0x10]
mov byte [esp + 0x1ec], 0x35
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 0x14]
mov byte [esp + 0x1ec], 0x36
call sub.MFC42.DLL_CString::CString_2
add ebp, 0x1c
mov ecx, edi
dec edi
mov byte [esp + 0x1ec], 0x2a
test ecx, ecx
mov dword [esp + 0x1c], ebp
jne 0x401e61
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x18]
push edx
lea ecx, [ebx + 8]
mov edi, ebx
mov dword [ebx + 4], ebp
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + ebp*4]
mov dword [ebx], ecx
mov edx, dword [esi + 0x30]
mov dword [edx + ebp*4], ebx
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
add edi, 0xc
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x28]
lea ecx, [edi + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x2c]
lea ecx, [edi + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x34]
lea ecx, [edi + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc4]
mov dword [edi + 0x18], eax
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 0x3b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0x3a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 0x39
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x38
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1ec], 0x37
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ec], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x4014a7
mov edi, dword [esp + 0x5c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xb4]
inc edi
cmp edi, eax
mov dword [esp + 0x5c], edi
jl 0x40141c
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ec], 0
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xac]
mov dword [esp + 0x1ec], 0xffffffff
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, 1
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e0
ret
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ec], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ec], 0xe
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x4020b5
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ec], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ec], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1ec], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ec], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ec], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ec], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1ec], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x1ec], 0
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xac]
mov dword [esp + 0x1ec], 0xffffffff
call sub.MFC42.DLL_CStringArray::CStringArray
xor eax, eax
jmp 0x40206f