Function at 0x410d23
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
push edi
mov dword [ebp - 0x538], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x530], 0
mov byte [ebp - 0x52c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x52b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x220], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x21f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x324], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x323]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x428], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
jne 0x410db3
jmp 0x410f73
cmp dword [ebp + 0xc], 0
jne 0x410dbe
jmp 0x410f73
lea eax, [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x538]
call fcn.00417ff3
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x433af4
lea ecx, [ebp - 0x324]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x534]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x324]
push edx
push 0x104
lea eax, [ebp - 0x52c]
push eax
push 0
push 0x433afc
push 0x433b04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410e36
jmp 0x410f73
lea ecx, [ebp - 0x52c]
push ecx
mov ecx, dword [ebp - 0x538]
add ecx, 0x20
call fcn.0042274c
push 0x433b14
mov edx, dword [ebp + 8]
push edx
push 0x433b24
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x410e8e
push 0
push str.Not_Find_ReUpdate_File__Ignore_Update_Myself.
call fcn.00410257
add esp, 8
jmp 0x410f73
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x324]
push edx
mov ecx, dword [ebp - 0x538]
call fcn.00411d4d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410edf
push 0
push str.Cant_Get_File_Info_from_Update_Ini_File.
call fcn.00410257
add esp, 8
jmp 0x410f73
mov dword [0x4397a0], 1
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x538]
call fcn.004141db
mov dword [ebp - 4], eax
mov dword [0x4397a0], 0
cmp dword [ebp - 4], 0
jne 0x410f26
push 0
push str.Cant_Get_Cur_MySelt_File_Info.
call fcn.00410257
add esp, 8
jmp 0x410f73
lea edx, [ebp - 0xb6]
push edx
lea eax, [ebp - 0x2a]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x410f4c
mov dword [ebp - 0x530], 1
cmp dword [ebp - 4], 0
jne 0x410f73
lea ecx, [ebp - 0xca]
push ecx
lea edx, [ebp - 0x3e]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x410f73
mov dword [ebp - 0x530], 1
cmp dword [ebp - 0x530], 0
je 0x410f8d
push 0
push str.Need_Update_Myself.
call fcn.00410257
add esp, 8
jmp 0x410f9c
push 0
push str.No_Need_Update_Myself.
call fcn.00410257
add esp, 8
mov eax, dword [ebp - 0x530]
pop edi
mov esp, ebp
pop ebp
ret 8