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

Disassembly:
push 0xffffffffffffffff
push 0x500f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
mov eax, dword [ebx + 0x2160]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x1004
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x24], esi
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x60]
mov dword [esp + 0xf0], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0xd74]
mov byte [esp + 0xf0], 1
mov dword [esp + 0x3c], esi
call fcn.004d3560
lea ecx, [esp + 0x70]
mov dword [esp + 0x5c], eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf0], 4
call sub.MFC42.DLL_CString::CString_4
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
push 6
lea ecx, [esp + 0xc4]
push 4
push ecx
mov byte [esp + 0x104], 5
call fcn.004e9c7e
push 0x52fb80
lea ecx, [esp + 0x74]
mov byte [esp + 0xf4], 6
mov dword [esp + 0x6c], esi
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0xf8]
xor ecx, ecx
mov eax, dword [esi + 4]
mov edx, eax
test eax, eax
je 0x4df632
mov ebp, dword [esi + 8]
sub ebp, eax
sar ebp, 2
cmp ecx, ebp
jae 0x4df632
mov ebp, dword [edx]
cmp dword [ebp + 8], 0
je 0x4df62c
inc dword [esp + 0x14]
inc ecx
add edx, 4
jmp 0x4df610
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp eax, edx
je 0x4df66e
mov eax, dword [ebx + 0x2160]
push 0
push 0
push 0x1004
push eax
call edi
test eax, eax
je 0x4df666
mov ecx, dword [ebx + 0x2160]
push 0
push 0
push 0x1009
push ecx
call edi
mov dword [esp + 0x3c], 1
mov ecx, dword [esi + 4]
xor ebp, ebp
test ecx, ecx
jne 0x4df67d
mov dword [esp + 0x34], ecx
jmp 0x4df689
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jbe 0x4dfb87
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4dfb76
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x10]
push edx
push 0x5231b8
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x48]
add esp, 0xc
test eax, eax
lea edi, [ebx + 0x2140]
push 0
je 0x4df6f3
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push ecx
push ebp
push 1
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertItem
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
jmp 0x4df73a
lea edx, [esp + 0x68]
push ebp
push edx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x64]
test eax, eax
setne byte [esp + 0x1f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1f]
test al, al
je 0x4df73a
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 0
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
lea ecx, [ebx + 0xd74]
mov dword [esp + 0x3c], ecx
call fcn.004671e0
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4df762
lea edx, [esp + 0x68]
mov dword [esp + 0x20], edx
mov eax, edx
add eax, 8
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
push 1
lea eax, [esp + 0x44]
push ebp
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4df7ac
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 1
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x20]
cmp dword [edx], 0
je 0x4df7de
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4df7de
mov ebx, dword [ecx + 0xc]
test ebx, ebx
je 0x4df7d7
lea eax, [edx + eax*4 + 0x4c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
jmp 0x4df7ec
push 0x525fe0
jmp 0x4df7e3
push 0x526d6c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
push 2
lea ecx, [esp + 0x58]
push ebp
push ecx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x54]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4df829
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 2
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], 0
cmp dword [ecx], 0
je 0x4df91a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x4df856
mov edx, dword [esp + 0xf8]
mov edx, dword [edx + 0x108]
mov eax, dword [ecx + 0x18]
mov esi, dword [esp + 0x38]
add eax, edx
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.00481b40
test eax, eax
je 0x4df898
mov eax, dword [esp + 0xf8]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov eax, dword [eax + 0x108]
mov dword [ecx], eax
lea ecx, [esp + 0x28]
call fcn.004342d0
mov dword [esp + 0x28], 1
jmp 0x4df8b1
mov ecx, esi
call fcn.004d3560
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
lea ecx, [esp + 0x28]
call fcn.004342d0
mov ecx, dword [esp + 0x24]
test ecx, ecx
jge 0x4df8bf
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
mov esi, edx
imul ecx
add edx, ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi + esi*2]
lea eax, [eax + eax*4]
shl eax, 2
sub ecx, eax
lea eax, [edx + edx*2]
push ecx
lea ecx, [eax + eax*4]
shl ecx, 2
sub esi, ecx
push esi
push edx
lea edx, [esp + 0x1c]
push 0x528120
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x14
jmp 0x4df928
push 0x526d6c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
push 3
lea eax, [esp + 0x50]
push ebp
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4df965
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 3
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
je 0x4dfa60
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x2c], 6
je 0x4dfa60
mov ecx, dword [edx + 0x1c]
test ecx, ecx
jne 0x4df994
mov ecx, dword [esp + 0xf8]
mov ecx, dword [ecx + 0x108]
mov eax, dword [eax + 0x1c]
mov esi, dword [edx + 0x14]
sub eax, esi
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4df9cf
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0x5c]
push ecx
mov esi, dword [edx + 0x108]
mov ecx, esp
sub eax, esi
mov dword [esp + 0x34], esp
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
call fcn.004dfc30
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebx, dword [eax]
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 8]
push 0
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x38]
push edx
add eax, 0x76c
push ecx
push esi
push eax
lea edx, [esp + 0x28]
push str._d__02d__02d__02d:_02d:_02d
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x20
jmp 0x4dfa6e
push 0x526d6c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
push 4
lea eax, [esp + 0x48]
push ebp
push eax
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4dfaab
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 4
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x34]
push ecx
push eax
lea ecx, [esp + 0x18]
push 0x524590
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x48]
mov ecx, edi
push 5
push ebp
push edx
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4dfb0a
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
push 5
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
mov eax, 0x526d94
test ecx, ecx
jne 0x4dfb1f
mov eax, 0x526d90
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_3
push 6
lea ecx, [esp + 0x54]
push ebp
push ecx
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
call esi
add esp, 8
lea ecx, [esp + 0x50]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4dfb66
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
push 6
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xf8]
inc ebp
mov eax, dword [esp + 0x34]
inc ecx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jb 0x4df69b
push sub.MFC42.DLL_CString::CString
push 6
lea ecx, [esp + 0xc0]
push 4
push ecx
mov byte [esp + 0x100], 0xa
call fcn.004e9b8a
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0xf0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0xf0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 4