Function at 0x402a20
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408222
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push ebx
push esi
mov esi, ecx
push edi
push str.BqqLiveUpdate.xml
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x14], esi
call sub.MFC42.DLL_CString::CString_1
mov edi, eax
lea eax, [esi + 0x64]
push 0x40b138
push eax
lea eax, [ebp - 0xbc]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_operator
push edi
lea ecx, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
call fcn.004075fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004075fc
mov dl, byte [0x40b4ec]
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0xeb]
mov byte [ebp - 0xec], dl
mov byte [ebp - 4], 6
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push eax
call fcn.004047f0
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.004075fc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.00405bd0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.004075fc
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x1f0]
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2fc], ebx
mov byte [ebp - 4], 0xa
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x2f4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x2f4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
lea edx, [ebp - 0x2fc]
push edx
call fcn.00404830
add esp, 0x10
test eax, eax
je 0x402b82
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.00401aa0
mov byte [ebp - 4], 0xb
jmp 0x40312e
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CStringArray::CStringArray
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0x18]
push ecx
push edx
mov byte [ebp - 4], 0x11
call fcn.00404aa0
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
sete bl
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x402c45
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040762c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.0040762c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0040762c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
call fcn.00401aa0
mov byte [ebp - 4], 0x12
jmp 0x40312e
lea ecx, [ebp - 0x1f0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x44]
mov ecx, esi
push edx
call fcn.00403800
mov eax, dword [ebp - 0xac]
xor edi, edi
xor ebx, ebx
cmp eax, edi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x20], ebx
jle 0x402d7d
lea eax, [ebp - 0x48]
push ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.004027b0
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 0x16
call fcn.00404950
add esp, 8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.00402920
add esp, 8
test eax, eax
jle 0x402d5d
mov ecx, dword [ebp - 0x98]
lea edi, [ecx - 1]
test edi, edi
jl 0x402d1e
lea edx, [ebp - 0x1c]
push edi
push edx
lea ecx, [ebp - 0xa0]
call fcn.004027b0
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x19
call fcn.00404950
lea ecx, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 0x1a
call fcn.00402920
add esp, 0x10
lea ecx, [ebp - 0x30]
test eax, eax
setg bl
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x402d1b
dec edi
jns 0x402cc8
mov ebx, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
push ebx
push edx
lea ecx, [ebp - 0xb4]
call fcn.004027b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
push eax
call fcn.004047f0
add esp, 4
lea ecx, [ebp - 0x10]
inc edi
push 1
push ecx
push edi
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CStringArray::InsertAt
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xac]
inc ebx
cmp ebx, eax
mov dword [ebp - 0x20], ebx
jl 0x402c76
xor edi, edi
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2fc], edi
cmp eax, edi
mov dword [ebp - 0x2f8], edi
je 0x402dda
dec eax
lea edx, [ebp - 0x30]
push eax
push edx
lea ecx, [ebp - 0xa0]
call fcn.004027b0
push eax
lea eax, [ebp - 0x1c]
mov bl, 0x1c
push eax
mov byte [ebp - 4], bl
call fcn.00404950
add esp, 8
lea ecx, [esi + 0x9c]
push eax
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
jmp 0x402dfe
push str.0.0.00.00
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9c]
push eax
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], edi
cmp eax, edi
mov dword [ebp - 0x20], edi
jle 0x402f56
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.004027b0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1f
test eax, eax
mov ebx, eax
jne 0x402e3b
xor edi, edi
jmp 0x402e68
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004078e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push edi
push 0
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x402ec3
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004027b0
mov edx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x20
lea eax, [edx + 0x64]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CString::CString
mov edi, dword [ebp - 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.00404830
add esp, 4
test eax, eax
jne 0x403047
lea edx, [ebp - 0x1f0]
lea ecx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::CString_1
push eax
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x98]
inc eax
cmp eax, ecx
mov dword [ebp - 0x20], eax
jl 0x402e17
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x84]
dec eax
test eax, eax
mov dword [ebp - 0x20], eax
jl 0x403408
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x60]
call fcn.00405e10
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.004027b0
mov eax, dword [eax]
lea ecx, [ebp - 0x78]
push ecx
push eax
mov byte [ebp - 4], 0x23
call fcn.00404eb0
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
sete bl
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4033ed
lea ecx, [ebp - 0x10]
call fcn.004075fc
mov eax, dword [ebp - 0x6c]
xor edi, edi
test eax, eax
mov byte [ebp - 4], 0x24
jle 0x403191
lea edx, [ebp - 0x30]
push edi
push edx
lea ecx, [ebp - 0x74]
call fcn.004027b0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x25
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Remove
push str.0.0.0
lea ecx, [ebp - 0xc4]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
mov eax, dword [ebp - 0x10]
push eax
call ebx
add esp, 8
test eax, eax
je 0x403170
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
sete al
test al, al
jne 0x403170
xor bl, bl
jmp 0x403172
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
xor esi, esi
test eax, eax
jle 0x40308d
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
push esi
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004027b0
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
inc esi
cmp esi, eax
jl 0x403065
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040762c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.0040762c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0040762c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x3c
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x409490
mov dword [ebp - 0x24], edx
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x3d
test esi, esi
je 0x403123
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], esi
test eax, eax
je 0x40311a
lea edi, [eax]
mov bl, 0x3e
lea ecx, [esi + 4]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [ebp - 4], 0x3d
call sub.MFC42.DLL_CString::CString
add esi, 8
dec edi
mov dword [ebp - 0x30], esi
jne 0x4030f8
mov esi, dword [ebp - 0x5c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x60], 0x40947c
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x74]
call fcn.0040762c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x403721
mov bl, 1
lea ecx, [ebp - 0xc4]
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x403286
mov eax, dword [ebp - 0x6c]
inc edi
cmp edi, eax
jl 0x402fcc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4033fc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x4033de
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.00405bf0
push str.___n_t_
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::TrimLeft
push 0x40b118
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::TrimRight
push str.___n_t_
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::TrimLeft
push 0x40b118
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x403292
mov eax, dword [ebx + 0x90]
xor esi, esi
test eax, eax
jle 0x40325c
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x38]
lea edx, [ebp - 0xb8]
push esi
push edx
lea ecx, [eax + 0x88]
call fcn.004027b0
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [ebp - 0xb8]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x403259
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ecx + 0x90]
jl 0x403213
mov ebx, dword [ebp - 0x14]
cmp esi, dword [ebx + 0x90]
jne 0x4033b4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
lea ecx, [edx + 0x88]
lea edx, [ebp - 0x38]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
jmp 0x4033b4
mov dword [ebp - 0x48], 1
jmp 0x40319c
mov eax, dword [ebx + 0x7c]
xor edi, edi
test eax, eax
jle 0x4032f5
mov eax, dword [ebp - 0x14]
add eax, 0x74
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0xcc]
push edi
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00405bf0
mov eax, dword [eax + 4]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
sete bl
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x27
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x4032f5
mov edx, dword [ebp - 0x14]
inc edi
cmp edi, dword [edx + 0x7c]
jl 0x4032a4
mov esi, dword [ebp - 0x14]
cmp edi, dword [esi + 0x7c]
jne 0x4033b4
lea eax, [ebp - 0x3c]
push eax
call fcn.004047f0
mov eax, dword [ebp - 0x3c]
add esp, 4
test eax, eax
mov ebx, eax
jne 0x40331a
xor edi, edi
jmp 0x40334a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004078e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x14]
push 0
push edi
push 0
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x403382
lea ecx, [ebp - 0x3c]
lea eax, [esi + 0x64]
push ecx
lea edx, [ebp - 0x24]
push eax
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x28
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x26
call sub.MFC42.DLL_CString::CString
sub esp, 8
lea eax, [ebp - 0x3c]
mov edi, esp
mov dword [ebp - 0x40], esp
push eax
mov ecx, edi
mov dword [ebp - 0x40], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x29
push ecx
lea ecx, [edi + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x26
call fcn.00405cd0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, ecx
mov dword [ebp - 0x18], eax
jl 0x4031ae
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
jns 0x402f68
jmp 0x403408
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
xor edi, edi
test eax, eax
jle 0x403440
lea edx, [ebp - 0x24]
push edi
push edx
lea ecx, [ebp - 0x8c]
call fcn.004027b0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x84]
inc edi
cmp edi, eax
jl 0x403414
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4034e6
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4034e6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040762c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.0040762c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0040762c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x2d
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x409490
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x4034d6
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x4034cd
mov ecx, esi
call fcn.00401d50
add esi, 8
dec edi
jne 0x4034bd
mov esi, dword [ebp - 0x5c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x60], 0x40947c
mov byte [ebp - 4], 0x2b
jmp 0x40312e
lea ecx, [esi + 0x6c]
push str.LiveUpdate.ini
lea edx, [ebp - 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xec]
push eax
push 0x20
push ecx
push 0x40b4ec
push str.FailLiveUpdateVersion
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x28]
push edx
call sub.MFC42.DLL_CString::operator
push 0x20
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::Remove
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40362e
lea eax, [esi + 0x9c]
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.00402920
add esp, 8
test eax, eax
jg 0x40362e
mov edx, dword [ebp - 0x2c]
push edx
push 0
push str.FailLiveUpdateVersion
push str.Common
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040762c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.0040762c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0040762c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x32
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x409490
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x5c]
mov bl, 0x33
test edi, edi
mov byte [ebp - 4], bl
je 0x40361e
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x24], edi
test esi, esi
je 0x403615
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x34
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
add edi, 8
dec esi
mov dword [ebp - 0x24], edi
jne 0x4035f3
mov edi, dword [ebp - 0x5c]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x60], 0x40947c
mov byte [ebp - 4], 0x30
jmp 0x40312e
mov eax, dword [esi + 0x7c]
lea ecx, [ebp - 0x44]
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], 1
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040762c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.0040762c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0040762c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x37
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x409490
mov dword [ebp - 0x40], ecx
mov edi, dword [ebp - 0x5c]
mov bl, 0x38
test edi, edi
mov byte [ebp - 4], bl
je 0x4036d6
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], edi
test eax, eax
je 0x4036cd
lea esi, [eax]
lea ecx, [edi + 4]
mov byte [ebp - 4], 0x39
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
add edi, 8
dec esi
mov dword [ebp - 0x24], edi
jne 0x4036ab
mov edi, dword [ebp - 0x5c]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0x40947c
mov byte [ebp - 4], 0x35
call fcn.0040762c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x308]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret