Function at 0x40a850
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b8f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.00435540
mov ecx, eax
call fcn.00435a50
mov ecx, dword [ebp + 8]
fsubr qword [ecx + 0x10]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fcomp qword [0x46b898]
fnstsw ax
test ah, 5
jp 0x40a89f
fld qword [ebp - 0x14]
fchs
fstp qword [ebp - 0x14]
push 0xf
push 0
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.00435400
push eax
fld qword [ebp - 0x14]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x48]
call fcn.004353d0
mov ecx, eax
call fcn.00435430
movzx edx, al
test edx, edx
je 0x40a8f8
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x10]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x60]
call fcn.00435590
mov ecx, eax
call fcn.00435630
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x68]
add eax, 0x9c
push eax
push 0x4659fc
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x14
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov eax, dword [ebp - 0x68]
add eax, 0x9c
push eax
call sub.MSVCR71.dll_memcmp
add esp, 0xc
test eax, eax
je 0x40aa90
push 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x68]
add edx, 0x9c
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0x9c]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xc4], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0x9d]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xc8], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0x9e]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0x9f]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xc0], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0xa0]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xb4], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0xa1]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xb8], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0xa2]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xcc], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0xa3]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xb0], ecx
mov eax, dword [ebp - 0x68]
movsx ecx, byte [eax + 0xa4]
sub ecx, 0x30
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xd0], ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0x2c
push eax
push str.update_tsystem_set_sTransferFlag_.20s
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00402790
push 1
push 1
mov ecx, dword [ebp - 0x68]
call fcn.00406230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [0x47cbd8]
je 0x40aace
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
jle 0x40aace
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0xffff
jge 0x40aace
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [0x47cbd8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00402b90
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call sub.MSVCR71.dll_strlen
add esp, 4
cmp eax, 7
jbe 0x40ab82
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
push 0x47cc34
call fcn.00435fd0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ab21
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
mov ecx, 0x47cc34
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [0x47cc3c]
cmp ecx, dword [eax + 0x50]
je 0x40ab41
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x50]
mov dword [0x47cc3c], eax
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [0x47cc38]
cmp edx, dword [ecx + 0x54]
je 0x40ab62
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov dword [0x47cc38], ecx
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp + 8]
mov eax, dword [0x47cc40]
cmp eax, dword [edx + 0x58]
je 0x40ab82
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov dword [0x47cc40], edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
add eax, 0x5c
push eax
call sub.MSVCR71.dll_strlen
add esp, 4
cmp eax, 7
jbe 0x40ac2f
mov ecx, dword [ebp + 8]
add ecx, 0x5c
push ecx
push 0x47cc44
call fcn.00435fd0
add esp, 8
movzx edx, al
test edx, edx
je 0x40abce
mov eax, dword [ebp + 8]
add eax, 0x5c
push eax
mov ecx, 0x47cc44
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [0x47cc48]
cmp edx, dword [ecx + 0x6c]
je 0x40abef
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov dword [0x47cc48], ecx
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp + 8]
mov eax, dword [0x47cc4c]
cmp eax, dword [edx + 0x70]
je 0x40ac0f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
mov dword [0x47cc4c], edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [0x47cc50]
cmp ecx, dword [eax + 0x74]
je 0x40ac2f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov dword [0x47cc50], eax
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x40ac87
push 0x20
push 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x4c
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
push 0x20
mov ecx, 0x47cc44
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov edx, dword [ebp - 0x68]
add edx, 0x4c
push edx
call dword [sym.imp.MSVCR71.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov ecx, dword [0x47cc48]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [0x47cc4c]
mov dword [edx + 0x70], eax
mov ecx, 0x47cbd0
call fcn.0043a320
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4