Function at 0x4dfc40
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x500ff9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
lea esi, [edi + 0x1110]
mov ecx, esi
call fcn.0048e370
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], eax
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x98], ebx
call sub.MFC42.DLL_CString::CString_4
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
push 5
lea eax, [esp + 0x60]
push 4
push eax
mov byte [esp + 0xac], 1
call fcn.004e9c7e
mov ebp, dword [esp + 0xa0]
mov ecx, dword [edi + 0x1798]
cmp ecx, ebx
mov byte [esp + 0x98], 2
mov dword [esp + 0x30], ebx
lea eax, [ebp - 0x90]
jne 0x4dfcdc
push eax
mov ecx, esi
call fcn.00495d00
mov ecx, dword [edi + 0x1af8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push ecx
call esi
cmp eax, 9
je 0x4dfd39
mov edx, dword [edi + 0x1af8]
push ebx
push ebx
push 0x1009
push edx
call esi
xor esi, esi
add edi, 0x1ad8
push ebx
push ebx
push ebx
push ebx
push 0x5307a8
push esi
push 1
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertItem
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
push esi
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItem
inc esi
cmp esi, 9
jl 0x4dfd0f
add ebp, 0x304
mov dword [esp + 0x24], 6
mov dword [esp + 0x2c], ebp
push 0x52fd44
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0x2c]
test eax, eax
je 0x4dfe11
cmp dword [esi], 0
je 0x4dfe11
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x30]
add eax, 0x30
add ebx, ecx
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esi - 0x2c]
mov edi, dword [esp + 0x1c]
mov eax, dword [edx + 0x48]
lea ecx, [edi + 0x1110]
push eax
call fcn.004908f0
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x60]
push ecx
push 0x5231b8
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jl 0x4dfe01
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x28], esi
call fcn.004e7260
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4dfe6c
push 0x526d6c
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_3
jmp 0x4dfe6c
mov eax, dword [esi - 0x20]
test eax, eax
jne 0x4dfe43
push 0x52fd38
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4dfe2f
jmp 0x4dfe6c
push 0x52fd30
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4dfe5a
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], 0
xor esi, esi
lea ebx, [esp + 0x54]
lea ebp, [edx + 0x1ad8]
mov eax, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x38]
lea edi, [eax - 6]
push edi
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [ebx]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x4dfed4
mov eax, dword [ebx]
mov ecx, ebp
push eax
push esi
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov dword [esp + 0x28], 1
inc esi
add ebx, 4
cmp esi, 5
jl 0x4dfe84
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4dff1b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
add edx, 0x1288
add eax, 0xffffff70
cmp eax, edx
jne 0x4dff1b
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 6]
mov ecx, ebp
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push eax
call sub.MFC42.DLL_CListCtrl::SetItem
push 0x52fd28
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::operator_3
mov edi, dword [esp + 0x2c]
mov eax, dword [edi - 0x18]
test eax, eax
jle 0x4dffec
mov edx, dword [esp + 0x1c]
push 0
push eax
lea ebx, [edx + 0x1110]
mov ecx, ebx
call fcn.00494380
mov esi, eax
test esi, esi
je 0x4dffec
mov eax, dword [edi + 4]
test eax, eax
je 0x4dffec
lea eax, [esi + 0x30]
lea ecx, [esp + 0x58]
push eax
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, ebx
call fcn.004908f0
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x60]
push edx
push 0x5231b8
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
jl 0x4dffdc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x28], eax
call fcn.004e7260
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4e0047
push 0x526d6c
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_3
jmp 0x4e0047
mov eax, dword [edi - 0x18]
test eax, eax
jne 0x4e001e
push 0x52fd38
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4e000a
jmp 0x4e0047
push 0x52fd30
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4e0035
xor esi, esi
lea edi, [esp + 0x54]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x24]
push esi
add eax, 0xfffffffd
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4e00a2
mov edx, dword [esp + 0x24]
mov eax, dword [edi]
push eax
push esi
lea ecx, [edx - 3]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov dword [esp + 0x28], 1
inc esi
add edi, 4
cmp esi, 5
jl 0x4e0051
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e00ed
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xa0]
lea ecx, [eax + 0x1288]
lea eax, [edx - 0x90]
cmp eax, ecx
jne 0x4e00ed
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 3]
add ecx, 0xfffffffa
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItem
push 0x52c2c8
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::operator_3
mov edi, dword [esp + 0x2c]
mov eax, dword [edi - 0x10]
test eax, eax
jle 0x4e01be
push 0
push eax
mov eax, dword [esp + 0x24]
lea ebx, [eax + 0x1110]
mov ecx, ebx
call fcn.00494380
mov esi, eax
test esi, esi
je 0x4e01be
mov eax, dword [edi + 8]
test eax, eax
je 0x4e01be
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esi + 0x48]
mov ecx, ebx
push edx
call fcn.004908f0
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x60]
push eax
push 0x5231b8
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 8]
add esp, 0xc
test eax, eax
jl 0x4e01ae
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004e7260
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4e0219
push 0x526d6c
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::operator_3
jmp 0x4e0219
mov eax, dword [edi - 0x10]
test eax, eax
jne 0x4e01f0
push 0x52fd38
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4e01dc
jmp 0x4e0219
push 0x52fd30
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [esp + 0x5c]
mov edi, 3
push 0x5307a8
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
add esi, 4
dec edi
jne 0x4e0207
xor esi, esi
lea edi, [esp + 0x54]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x24]
push esi
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4e0270
mov eax, dword [edi]
mov ebx, dword [esp + 0x24]
push eax
push esi
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov dword [esp + 0x28], 1
jmp 0x4e0274
mov ebx, dword [esp + 0x24]
inc esi
add edi, 4
cmp esi, 5
jl 0x4e0223
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e02b8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xa0]
lea ecx, [eax + 0x1288]
lea eax, [edx - 0x90]
cmp eax, ecx
jne 0x4e02b8
push ebx
push 0
push 0
push 0
push 0
push 4
lea eax, [ebx - 6]
push 0
push eax
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItem
mov edx, dword [esp + 0x2c]
add edx, 0x44
inc ebx
mov dword [esp + 0x24], ebx
add ebx, 0xfffffffa
cmp ebx, 3
mov dword [esp + 0x2c], edx
jl 0x4dfd4b
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov ecx, dword [ebp + 0x1a78]
push 0x1004
push ecx
call esi
cmp eax, 1
je 0x4e0323
mov edx, dword [ebp + 0x1a78]
push 0
push 0
push 0x1009
push edx
call esi
push 0
push 0
push 0
push 0
push 0x523c48
push 0
push 1
lea ecx, [ebp + 0x1a58]
call sub.MFC42.DLL_CListCtrl::InsertItem
mov esi, dword [esp + 0xa0]
lea edi, [ebp + 0x1110]
push 1
mov ecx, edi
lea ebx, [esi - 0x90]
push ebx
call fcn.00494610
fst qword [esp + 0x48]
fcomp qword [0x5056a8]
fnstsw ax
test ah, 0x41
jne 0x4e03c3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4e03c3
mov ecx, dword [esi + 0x3b4]
test ecx, ecx
jle 0x4e03c3
mov eax, 0x88888889
mov dword [esp + 0x20], ecx
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 + 0x24]
push str.:_
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0xb4]
add esp, 0x14
jmp 0x4e03d1
push 0x52fcf8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x18]
lea ecx, [ebp + 0x1a58]
push eax
push 1
push 0
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [ebx + 0x78]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, edi
call fcn.00494430
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4e041e
fld qword [esp + 0x48]
fcomp qword [0x5056a8]
fnstsw ax
test ah, 0x41
jne 0x4e041e
fld qword [esp + 0x48]
fmul qword [0x507de0]
fstp qword [esp + 0x48]
jmp 0x4e042e
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x52fcd8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edi, [ebp + 0x19d8]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push ecx
push edx
call ebx
add esp, 8
test eax, eax
je 0x4e0481
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
fld qword [esp + 0x80]
fmul qword [0x507de0]
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
push 0x52fcb8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edi, [ebp + 0x1998]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4e04d7
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edi
xor ebx, ebx
mov eax, dword [esi + 0x3c0]
test eax, eax
je 0x4e05df
mov edx, dword [esi + 0x3c4]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x4e05df
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x3c0]
mov esi, dword [ecx + ebx*4]
cmp dword [esi], 0
je 0x4e05ca
lea edi, [ebp + 0x1110]
push esi
mov ecx, edi
call fcn.004951d0
test eax, eax
jle 0x4e05ca
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x50]
inc edx
cmp eax, 1
mov dword [esp + 0x2c], edx
jne 0x4e0585
mov eax, dword [esp + 0x28]
push esi
inc eax
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.00495230
test eax, eax
jle 0x4e05ca
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
inc eax
inc ebx
mov dword [esp + 0x24], eax
jmp 0x4e04f1
cmp eax, 2
jne 0x4e05bd
mov eax, dword [esp + 0x34]
push esi
inc eax
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.00495230
test eax, eax
jle 0x4e05ca
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
inc eax
inc ebx
mov dword [esp + 0x38], eax
jmp 0x4e04f1
cmp eax, 3
jne 0x4e05ca
push esi
mov ecx, edi
call fcn.00495230
mov esi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
inc ebx
jmp 0x4e04f1
mov eax, dword [esp + 0x30]
mov dword [esi + 0x3b8], edi
test eax, eax
jle 0x4e0711
mov eax, dword [esi + 0x164]
dec eax
cmp eax, 3
ja case.default.0x4e0601
jmp dword [eax*4 + 0x4e0c3c]
mov eax, dword [esi + 0x144]
mov edx, dword [esp + 0x24]
cmp edx, eax
jbe 0x4e0620
push 0x52fcac
jmp 0x4e06bd
cmp edx, ecx
jge 0x4e062e
push 0x52fc9c
jmp 0x4e06bd
cmp ecx, eax
jae 0x4e063c
push 0x52fc8c
jmp 0x4e06bd
push 0x52fc78
jmp 0x4e06bd
mov eax, dword [esi + 0x154]
test eax, eax
jl 0x4e0675
mov eax, dword [esi + 0x150]
test eax, eax
jl 0x4e0675
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x140]
cmp edx, eax
jae 0x4e066e
push 0x52fc60
jmp 0x4e06bd
push 0x52fc48
jmp 0x4e06bd
mov eax, dword [esi + 0x140]
test eax, eax
jne 0x4e0686
push 0x52fc3c
jmp 0x4e06bd
push 0x52fc28
jmp 0x4e06bd
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp edx, eax
jge 0x4e06a0
push 0x52fc18
jmp 0x4e06bd
add eax, ecx
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jae 0x4e06b1
push 0x52fc08
jmp 0x4e06bd
push 0x52fbf0
jmp 0x4e06bd
push 0x52fbe4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x164]
cmp eax, 4
je 0x4e070a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
push 0x52fbd0
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4e071f
push 0x52fbb8
jmp 0x4e0716
push 0x52fb9c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_3
lea esi, [ebp + 0x1a18]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4e0754
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebp + 0x1b38]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x4e07c7
mov ecx, dword [ebp + 0x1b38]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
test edi, edi
jle 0x4e07c7
lea ebx, [ebp + 0x1b18]
lea edi, [esi + 1]
lea edx, [esp + 0x54]
push edi
push 0x5231b8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x60]
add esp, 0xc
mov ecx, ebx
push 0
push 0
push 0
push 0
push eax
push esi
push 1
call sub.MFC42.DLL_CListCtrl::InsertItem
mov eax, dword [esp + 0x2c]
mov esi, edi
cmp esi, eax
jl 0x4e0790
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
mov eax, dword [ecx + 0x3c0]
test eax, eax
je 0x4e09d2
mov edx, ecx
mov ecx, dword [edx + 0x3c4]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x4e09d2
mov eax, dword [edx + 0x3c0]
mov esi, dword [eax + ebx*4]
mov dword [esp + 0x40], esi
cmp dword [esi], 0
je 0x4e09cc
lea edi, [ebp + 0x1110]
push esi
mov ecx, edi
call fcn.004951d0
test eax, eax
jle 0x4e09cc
lea eax, [esi + 0x54]
lea ecx, [esp + 0x58]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4e0841
push eax
jmp 0x4e0846
push 0x5307a8
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
push esi
mov ecx, edi
call fcn.004952b0
fmul qword [0x505090]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fcom qword [0x505090]
add esp, 8
fnstsw ax
test ah, 1
jne 0x4e088b
push str.100_
lea ecx, [esp + 0x64]
fstp st(0)
call sub.MFC42.DLL_CString::operator_3
jmp 0x4e08c8
fcom qword [0x5056a8]
fnstsw ax
test ah, 0x41
je 0x4e08aa
push 0x52fb3c
lea ecx, [esp + 0x64]
fstp st(0)
call sub.MFC42.DLL_CString::operator_3
jmp 0x4e08c8
fmul qword [0x506468]
sub esp, 8
lea ecx, [esp + 0x68]
fstp qword [esp]
push str._.1f__
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push esi
mov ecx, edi
call fcn.004951d0
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, ebp
call fcn.004e7260
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x38], 0
mov esi, 1
add ebp, 0x1b18
lea edi, [esp + 0x58]
mov ecx, dword [esp + 0x24]
push esi
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4e096a
mov eax, dword [edi]
mov ecx, ebp
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call sub.MFC42.DLL_CListCtrl::SetItemText
mov dword [esp + 0x38], 1
inc esi
add edi, 4
cmp esi, 5
jl 0x4e091f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e09b3
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
add ecx, 0x1288
lea eax, [edx - 0x90]
cmp eax, ecx
jne 0x4e09b3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItem
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4e09d2
mov ebx, dword [esp + 0x28]
inc ebx
jmp 0x4e07cd
mov edx, dword [esp + 0xa0]
mov eax, dword [ebp + 0x1ab8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ebx, dword [edx + 0xf8]
push 0
push 0x1004
push eax
mov dword [esp + 0x50], ebx
call esi
cmp ebx, eax
je 0x4e0a66
mov ecx, dword [ebp + 0x1ab8]
push 0
push 0
push 0x1009
push ecx
call esi
xor esi, esi
test ebx, ebx
jle 0x4e0a66
add ebp, 0x1a98
lea edi, [esi + 1]
lea edx, [esp + 0x54]
push edi
push 0x5231b8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x60]
add esp, 0xc
mov ecx, ebp
push 0
push 0
push 0
push 0
push eax
push esi
push 1
call sub.MFC42.DLL_CListCtrl::InsertItem
push 0
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItem
mov esi, edi
cmp esi, ebx
jl 0x4e0a1d
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 0x100]
test eax, eax
je 0x4e0bde
mov edx, dword [edx + 0x104]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x4e0bde
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x100]
mov esi, dword [eax + ecx*4]
cmp dword [esi], 0
je 0x4e0bce
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push esi
push 0
push 0
push 0
push 0
push 4
lea ebp, [edi + 0x1a98]
push 0
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItem
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e0af0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4e0ae8
add eax, 0x30
push eax
jmp 0x4e0af5
mov eax, 0x5307a8
push eax
jmp 0x4e0af5
push 0x5307a8
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::operator_3
lea edx, [esi + 0x6c]
lea ecx, [esp + 0x58]
push edx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
mov ecx, dword [esp + 0x50]
sub eax, edx
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4e0b5a
lea eax, [esp + 0x20]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, edi
call fcn.004e7260
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4e0b68
push 0x5307a8
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::operator_3
mov esi, 1
lea edi, [esp + 0x58]
mov edx, dword [esp + 0x28]
push esi
lea eax, [esp + 0x48]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4e0bb4
mov eax, dword [edi]
mov ecx, dword [esp + 0x28]
push eax
push esi
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
inc esi
add edi, 4
cmp esi, 4
jl 0x4e0b71
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4e0bde
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x4e0a70
push sub.MFC42.DLL_CString::CString
push 5
lea edx, [esp + 0x5c]
push 4
push edx
mov byte [esp + 0xa8], 1
call fcn.004e9b8a
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4