Function at 0x4110af
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423cf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab8
push edi
mov dword [ebp - 0xabc], ecx
mov dword [ebp - 0xaa4], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0xaa0], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xa9f]
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
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 - 0x218], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x734], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x733]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x99c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x99b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x838], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x837]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x898], 0
mov ecx, 0xb
xor eax, eax
lea edi, [ebp - 0x897]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x868], 0
mov ecx, 0xb
xor eax, eax
lea edi, [ebp - 0x867]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x630], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x114]
call fcn.004226f2
mov dword [ebp - 4], 0
lea eax, [ebp - 0xab4]
push eax
mov ecx, dword [ebp - 0xabc]
call fcn.00417ff3
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xac0]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x433be4
lea ecx, [ebp - 0x99c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0xab4]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x99c]
push edx
push 0x104
lea eax, [ebp - 0xaa0]
push eax
push 0
push str.MySelft
push 0x433bf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4112a4
push 0
push str.UpdateMySelf:GetPrivateProfileString_MySelf_File_Name_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
lea ecx, [ebp - 0xaa0]
test ecx, ecx
jne 0x4112c2
push 0
push str.UpdateMySelf:GetPrivateProfileString_MySelf_File_Return_NULL.
call fcn.00410257
add esp, 8
jmp 0x41169a
mov ecx, dword [ebp - 0xabc]
call fcn.0041022f
test eax, eax
je 0x411410
lea edx, [ebp - 0xaa0]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xabc]
call fcn.00410fa9
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x411312
push 0
push str.UpdateMySelf:BackupFile_Current_Update_File_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
push 0
lea edx, [ebp - 0xaa0]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0xabc]
call fcn.00410b8b
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x411351
push 0
push str.UpdateMySelf:DownLoadFile_Update_File_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
lea edx, [ebp - 0xaa0]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x433ce8
lea ecx, [ebp - 0x838]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0xaa8], 0
lea edx, [ebp - 0xaa8]
push edx
lea eax, [ebp - 0x838]
push eax
call fcn.00406092
add esp, 8
mov ecx, dword [ebp - 0xaa8]
push ecx
push 0x433cf0
lea edx, [ebp - 0x898]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x99c]
push eax
push 0x30
lea ecx, [ebp - 0x868]
push ecx
push 0
push 0x433cf4
lea edx, [ebp - 0xaa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x898]
push eax
lea ecx, [ebp - 0x868]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x411410
push 0
push str.CRC_My_Self_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
push str.ReUpdate.exe
mov edx, dword [ebp + 8]
push edx
push 0x433d1c
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0xaa0]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x433d24
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0xaa0]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0x433d2c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x104
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0x324]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4114db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xab0], eax
lea ecx, [ebp - 0xaac]
call fcn.004226f2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xab0]
push eax
push str.GetShortPathName_Error_Code:_d
lea ecx, [ebp - 0xaac]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xaac]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x21c], 0
jne 0x4114f8
push 0
push str.UpdateMySelf:Get_CurUpdateExePath_ShortPathName_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
push 0x104
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x411534
push 0
push str.UpdateMySelf:Get_UpdateUpdateExePath_ShortPathName_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
lea ecx, [ebp - 0x734]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0x433dc8
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push str.__a
lea ecx, [ebp - 0x630]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
call fcn.0040aa80
cmp dword [eax + 0x74], 0
je 0x4115d5
call fcn.0040aa80
mov edx, dword [eax + 0x74]
push edx
lea ecx, [ebp - 0x114]
call fcn.0042274c
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::TrimRight
push 0x439a10
lea eax, [ebp - 0x114]
push eax
call fcn.00408310
and eax, 0xff
test eax, eax
je 0x4115d5
lea ecx, [ebp - 0x114]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x630]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
mov edx, 1
test edx, edx
je 0x4115ea
mov dword [ebp - 0xac4], 0
jmp 0x4115ff
lea eax, [ebp - 0x630]
push eax
call fcn.00418860
add esp, 4
mov dword [ebp - 0xac4], eax
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp - 0xabc]
call fcn.0041390e
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x411638
push 0
push str.UpdateMySelf:Shell_Execute_ReUpdate_Failed.
call fcn.00410257
add esp, 8
jmp 0x41169a
mov dword [0x4397a4], 1
push 1
push 4
mov ecx, dword [ebp - 0xabc]
call fcn.004130cc
call fcn.00412468
test eax, eax
je 0x411688
call fcn.00418870
mov ecx, eax
call fcn.00401640
test eax, eax
je 0x41167e
push 0
push 0
push 0x10
call fcn.00418870
mov ecx, eax
call fcn.0040ce60
jmp 0x411686
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x411690
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [ebp - 0xaa4], 1
cmp dword [ebp - 0xaa4], 0
je 0x4116b4
push 0
push str.Call_Update_My_Self_Success.
call fcn.00410257
add esp, 8
jmp 0x4116c3
push 0
push str.Call_Update_My_Self_Failed.
call fcn.00410257
add esp, 8
mov eax, dword [ebp - 0xaa4]
mov dword [ebp - 0xab8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xab8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10