Function at 0x401040
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402fa0
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call sub.MFC42.DLL_AfxWinInit
test eax, eax
jne 0x4010ab
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push str.Fatal_Error:_MFC_initialization_failed
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ebx, 1
add esp, 0xc
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret
lea ecx, [esp + 0x30]
call fcn.00401400
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [esp + 0x68], ebx
push ecx
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push str.Check_Check_Generate_begin.
push edx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.CMD:_1._Checksum_Generate.exe
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._____2._Checksum_Generate.exe__Load_Path_
push ecx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._____3._Checksum_Generate.exe__Load_Path___Ini_Path_
push edx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [esp + 0xa8]
add esp, 0x38
cmp eax, 1
jne 0x4011b1
lea eax, [esp + 0x70]
lea ecx, [esp + 0x30]
push eax
call fcn.004016c0
mov ecx, dword [esp + 0x74]
mov eax, dword [eax]
push eax
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, dword [ecx]
push 0x40511c
push edx
push eax
mov byte [esp + 0x78], 1
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push ecx
lea ecx, [esp + 0x38]
call fcn.004016c0
lea ecx, [esp + 0x34]
call fcn.00401700
push ecx
lea ecx, [esp + 0x34]
mov edx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.004016c0
jmp 0x40127e
cmp eax, 2
jne 0x40120a
mov edi, dword [esp + 0x74]
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push 0x40511c
push ecx
push edx
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [edi + 4]
add esp, 8
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00402d4c
lea ecx, [esp + 0x34]
call fcn.00401700
mov edx, dword [edi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
jmp 0x401279
cmp eax, 3
jne 0x401389
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push eax
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40511c
push ecx
push 0x40511c
push edx
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [edi + 4]
add esp, 8
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00402d4c
lea ecx, [esp + 0x34]
call fcn.00401700
mov eax, dword [edi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00402d4c
lea ecx, [esp + 0x34]
call fcn.00401770
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call fcn.004016e0
mov eax, dword [eax]
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push str._Bin_File_____is_From_Path:
push edx
mov byte [esp + 0x74], 2
call esi
add esp, 8
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0xc
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x74]
lea ecx, [esp + 0x30]
push eax
call fcn.00401750
mov eax, dword [eax]
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push str._CheckSum.ini_is_write_to_:
push ecx
mov byte [esp + 0x74], 3
call esi
add esp, 8
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0xc
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.00401c90
lea ecx, [esp + 0xc]
call fcn.004023d0
push ecx
lea ecx, [esp + 0x34]
mov eax, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00401750
lea ecx, [esp + 0x34]
call fcn.004017c0
lea ecx, [esp + 0x30]
call fcn.00401ee0
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.Check_Sum_Write_to_ini_File_Finished.
push ecx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.00401600
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret
mov edx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.Error_CMD:_1._Checksum_Generate.exe_
push edx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.___________2._Checksum_Generate.exe__Load_Path_
push eax
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.___________3._Checksum_Generate.exe__Load_Path___Ini_Path_
push ecx
call esi
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
add esp, 0x28
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.00401600
mov ecx, dword [esp + 0x60]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret