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

Disassembly:
push 0xffffffffffffffff
push 0x4ff065
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x4c]
push ebx
mov dword [esp + 0x110], ebx
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 1
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 2
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x110], 3
call fcn.0044e9a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x10c], 4
call fcn.0044a000
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString_4
push ebx
lea ecx, [esp + 0x118]
mov byte [esp + 0x110], 6
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
mov al, byte [esp + 0x17]
or ebp, 0xffffffff
mov byte [esp + 0x2c], al
mov edi, edx
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x4c]
push 1
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x118], 7
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x10c], 6
mov esi, eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4cf370
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4cf367
cmp al, 0xff
je 0x4cf367
dec al
mov byte [ecx], al
jmp 0x4cf370
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebp
lea ecx, [esp + 0x118]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebx
jne 0x4cf41a
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x110], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x10c], 8
cmp eax, ebx
je 0x4cf3ec
lea ecx, [esp + 0x9c]
call fcn.0042c1b0
cmp dword [esp + 0xc8], ebx
jne 0x4cf3d7
mov eax, dword [esp + 0x98]
mov byte [esp + 0x10c], 4
cmp eax, ebx
je 0x4cf4d0
lea ecx, [esp + 0x6c]
call fcn.0042c120
cmp dword [esp + 0x98], ebx
jne 0x4cf403
jmp 0x4cf4d0
push str.info
lea ecx, [esp + 0x50]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x1c]
call fcn.0044f040
lea ecx, [esp + 0x18]
call fcn.0044f140
cmp eax, 6
je 0x4cf52e
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 0xd
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x110], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x10c], 0xb
cmp eax, ebx
je 0x4cf4ab
lea ecx, [esp + 0x9c]
call fcn.0042c1b0
cmp dword [esp + 0xc8], ebx
jne 0x4cf496
mov eax, dword [esp + 0x98]
mov byte [esp + 0x10c], 4
cmp eax, ebx
je 0x4cf4d0
lea ecx, [esp + 0x6c]
call fcn.0042c120
cmp dword [esp + 0x98], ebx
jne 0x4cf4be
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10c], 3
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 2
call fcn.0044eec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 1
call fcn.0044eec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x10c], 0
call fcn.0044eec0
lea ecx, [esp + 0x114]
mov dword [esp + 0x10c], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4cf74d
lea ecx, [esp + 0x18]
call fcn.0044fc80
test eax, eax
jbe 0x4cf603
mov eax, dword [esp + 0x118]
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
lea edi, [eax + 0x6ec]
push ebx
lea ecx, [esp + 0x1c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x40]
call fcn.0044f040
push 0x5260a4
lea ecx, [esp + 0x40]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
xor esi, esi
mov ecx, edi
cmp dword [ecx], 0
je 0x4cf58b
cmp dword [ecx + 8], eax
je 0x4cf596
inc esi
add ecx, 0x3c
cmp esi, 3
jl 0x4cf581
jmp 0x4cf5ec
push str.nick
lea ecx, [esp + 0x40]
call fcn.0044fea0
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*2]
push 0x13
push edx
lea eax, [eax + eax*4]
lea ecx, [edi + eax*4 + 0x28]
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
inc ebx
call fcn.0044fc80
cmp ebx, eax
jb 0x4cf552
or ebp, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x10c], 5
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 0x11
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x110], 0x10
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x10c], 0xf
cmp eax, ebx
je 0x4cf6a6
mov eax, dword [esp + 0xa8]
push ebx
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xac], eax
call fcn.0042c6f0
mov eax, dword [esp + 0xc8]
dec eax
mov dword [esp + 0xc8], eax
je 0x4cf691
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
cmp edx, eax
jne 0x4cf69d
lea ecx, [esp + 0x9c]
call fcn.0042c550
cmp dword [esp + 0xc8], ebx
jne 0x4cf655
mov eax, dword [esp + 0x98]
mov byte [esp + 0x10c], 4
cmp eax, ebx
je 0x4cf6f1
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x98]
add ecx, 4
dec eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], eax
je 0x4cf6df
mov eax, ecx
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jne 0x4cf6e8
lea ecx, [esp + 0x6c]
call fcn.0042c550
cmp dword [esp + 0x98], ebx
jne 0x4cf6b9
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10c], 3
call fcn.0044eec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 2
call fcn.0044eec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10c], 1
call fcn.0044eec0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x10c], 0
call fcn.0044eec0
lea ecx, [esp + 0x114]
mov dword [esp + 0x10c], ebp
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x100
ret 8