Function at 0x51c530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58bc9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x64]
mov edx, dword [ebp + 0x60]
push esi
push esi
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x64], ebp
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
call sub.MFC42.DLL_COleDateTime::SetDateTime
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x6c]
push 0x3b
push 0x3b
push 0x17
push eax
push ecx
push edx
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea eax, [esp + 0x94]
mov dword [esp + 0x14], esi
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.MFC42.DLL_COleDateTime::GetTickCount
push esi
push esi
push esi
lea ecx, [esp + 0xa0]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0xa8]
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x24]
mov dword [esp + 0xb8], esi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 2
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x2c], 0x5942ec
mov dword [esp + 0x30], esi
push 0x32
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 4
mov dword [esp + 0x44], 0x32
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
call sub.MFC42.DLL_CStringArray::SetSize
mov ecx, dword [ebp + 0x78]
mov eax, dword [ecx + 0xd38]
neg eax
sbb eax, eax
cmp eax, esi
mov dword [esp + 0x44], eax
je 0x51c8a0
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, dword [ebp + 0x78]
add ecx, 0xd2c
call sub.MFC42.DLL_CMapStringToString::GetNextAssoc
mov edx, dword [esp + 0x20]
cmp dword [edx - 8], 8
jne 0x51c89a
push 4
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x50]
mov esi, eax
call sub.MFC42.DLL_CString::CString
push 2
lea ecx, [esp + 0x4c]
push 4
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x48]
mov edi, eax
call sub.MFC42.DLL_CString::CString
push 2
lea edx, [esp + 0x44]
push 6
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x40]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
push 0
push 0
push 0
push ebp
push edi
push esi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_COleDateTime::SetDateTime
fld qword [esp + 0x14]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
jne 0x51c896
fld qword [esp + 0x14]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
je 0x51c896
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x51c83d
mov edx, dword [esp + 0x30]
fld qword [edx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x51c7a4
inc esi
add edx, 8
cmp esi, ecx
jl 0x51c78a
jmp 0x51c83d
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jl 0x51c7c9
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.0044e610
jmp 0x51c809
mov edi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.0044e610
mov eax, dword [esp + 0x30]
mov ecx, esi
shl ecx, 0x1d
sub ecx, esi
lea edx, [eax + esi*8]
add ecx, edi
lea eax, [eax + esi*8 + 8]
shl ecx, 3
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
xor edx, edx
lea eax, [ecx + esi*8]
mov dword [eax], edx
mov dword [eax + 4], edx
xor ecx, ecx
lea eax, [esi*8]
fld qword [esp + 0x5c]
mov edx, dword [esp + 0x30]
add eax, 8
fstp qword [eax + edx - 8]
mov edx, ecx
dec ecx
test edx, edx
jne 0x51c812
lea eax, [esp + 0x24]
push 1
push eax
push esi
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CStringArray::InsertAt
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jne 0x51c882
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.0044e610
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
fstp qword [ecx + esi*8]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x74]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
jne 0x51c6a1
jmp 0x51c8a4
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
jmp 0x51c886
mov ecx, dword [esp + 0x34]
mov ebx, 0x19
cmp ecx, ebx
jle 0x51c8af
mov ebx, ecx
lea edi, [ebp + 0x4b8]
push ebx
push 2
mov ecx, edi
call fcn.004bd230
test ebx, ebx
jle 0x51c9a4
cmp esi, dword [esp + 0x34]
jl 0x51c90c
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 0
mov ecx, edi
call fcn.004bd700
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 1
mov ecx, edi
call fcn.004bd700
jmp 0x51c99b
mov ecx, dword [esp + 0x30]
fld qword [ecx + esi*8]
lea ecx, [esp + 0x14]
fstp qword [esp + 0x14]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea edx, [esp + 0x34]
push str._04d__02d__02d
push edx
call sub.MFC42.DLL_CString::Format
fld qword [esp + 0x28]
fcomp qword [esp + 0xa8]
add esp, 0x14
fnstsw ax
test ah, 1
jne 0x51c960
mov ebp, 0xff0000
jmp 0x51c962
xor ebp, ebp
mov eax, dword [esp + 0x28]
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 0
mov ecx, edi
call fcn.004bd700
mov ecx, dword [esp + 0x74]
push 0
push 0
push ebp
mov eax, dword [ecx + esi*4]
push 0xffffff
push eax
push esi
push 1
mov ecx, edi
call fcn.004bd700
mov ebp, dword [esp + 0x4c]
inc esi
cmp esi, ebx
jl 0x51c8c7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
call fcn.0044e610
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CStringArray::SetSize
mov edx, dword [ebp + 0x78]
mov eax, dword [edx + 0xd54]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x44], eax
je 0x51cb5f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [ebp + 0x78]
lea edx, [esp + 0x4c]
push edx
add ecx, 0xd48
call sub.MFC42.DLL_CMapStringToString::GetNextAssoc
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], 0x12
jne 0x51cb4d
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp + 0x78]
call fcn.00449e30
fst qword [esp + 0x14]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 1
jne 0x51cb4d
fld qword [esp + 0x14]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
je 0x51cb4d
mov ecx, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
jle 0x51cb0c
mov edx, dword [esp + 0x30]
fld qword [edx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x51ca73
inc esi
add edx, 8
cmp esi, ecx
jl 0x51ca59
jmp 0x51cb0c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp esi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
jl 0x51ca98
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.0044e610
jmp 0x51cad8
mov edi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.0044e610
mov eax, dword [esp + 0x30]
mov ecx, esi
shl ecx, 0x1d
sub ecx, esi
lea edx, [eax + esi*8]
add ecx, edi
lea eax, [eax + esi*8 + 8]
shl ecx, 3
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
xor edx, edx
lea eax, [ecx + esi*8]
mov dword [eax], edx
mov dword [eax + 4], edx
xor ecx, ecx
lea eax, [esi*8]
fld qword [esp + 0x5c]
mov edx, dword [esp + 0x30]
add eax, 8
fstp qword [eax + edx - 8]
mov edx, ecx
dec ecx
test edx, edx
jne 0x51cae1
lea eax, [esp + 0x24]
push 1
push eax
push esi
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CStringArray::InsertAt
mov ecx, dword [esp + 0x34]
cmp esi, ecx
jne 0x51cb51
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.0044e610
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x24]
push edx
fstp qword [ecx + esi*8]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x74]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x51c9d7
jmp 0x51cb63
mov ecx, dword [esp + 0x34]
mov ebx, 0x19
cmp ecx, ebx
mov dword [esp + 0x48], ebx
jle 0x51cb76
mov dword [esp + 0x48], ecx
mov ebx, ecx
lea edi, [ebp + 0x664]
push ebx
push 5
mov ecx, edi
call fcn.004bd230
xor esi, esi
test ebx, ebx
jle 0x51ce73
mov bl, 7
cmp esi, dword [esp + 0x34]
jl 0x51cc32
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 0
mov ecx, edi
call fcn.004bd700
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 1
mov ecx, edi
call fcn.004bd700
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 2
mov ecx, edi
call fcn.004bd700
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 3
mov ecx, edi
call fcn.004bd700
push 0
push 0
push 0xff0000
push 0xffffff
push 0x5e34fc
push esi
push 4
mov ecx, edi
call fcn.004bd700
jmp 0x51ce66
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 5
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 6
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x50]
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0xb4]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
push esi
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], bl
call fcn.00436520
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp + 0x78]
call fcn.004497c0
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x51ccb7
mov ebp, 0xff
jmp 0x51ccc8
xor ecx, ecx
cmp eax, 2
setne cl
dec ecx
and ecx, 0xff0000
mov ebp, ecx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
fld qword [edx + esi*8]
fstp qword [esp + 0x14]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea eax, [esp + 0x34]
push str._04d__02d__02d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x3c]
add esp, 0x14
push 0
push 0
push ebp
push 0xffffff
push ecx
push esi
push 0
mov ecx, edi
call fcn.004bd700
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_COleDateTime::GetSecond
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea edx, [esp + 0x34]
push str._02d:_02d:_02d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x3c]
add esp, 0x14
mov ecx, edi
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 1
call fcn.004bd700
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x51cd7f
push 0
push 0
push ebp
push 0xffffff
push 0x5e4518
jmp 0x51cd9a
push 0
push 0
cmp eax, 2
push ebp
push 0xffffff
jne 0x51cd95
push 0x5e4510
jmp 0x51cd9a
push 0x5e4508
push esi
push 2
mov ecx, edi
call fcn.004bd700
mov ecx, dword [esp + 0x40]
push 0
push 0
push ebp
push 0xffffff
push ecx
push esi
push 3
mov ecx, edi
call fcn.004bd700
lea edx, [esp + 0x54]
push 0x5e34fc
lea eax, [esp + 0x70]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x58]
lea edx, [esp + 0x84]
push ecx
push eax
push edx
mov byte [esp + 0xc4], 8
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push 0
push ebp
push 0xffffff
push eax
push esi
push 4
mov ecx, edi
mov byte [esp + 0xd4], 9
call fcn.004bd700
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 4
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x51cb92
mov eax, dword [ebp + 0x4d8]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
call esi
mov ecx, dword [ebp + 0x684]
push 1
push 0
push ecx
call esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x5942ec
test eax, eax
je 0x51ceac
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], 0x5916e0
mov byte [esp + 0xb8], 2
call fcn.00572f3a
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret