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

Disassembly:
push 0xffffffffffffffff
push 0x4f159e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
xor ebx, ebx
xor ebp, ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x24]
mov dword [esp + 0x158], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x88]
mov byte [esp + 0x158], 2
call fcn.0044a000
push ebx
lea ecx, [esp + 0x124]
mov byte [esp + 0x15c], 3
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x15c], 4
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15c], 5
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x134]
mov byte [esp + 0x15c], 6
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x144]
mov byte [esp + 0x15c], 7
call fcn.0044e9a0
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x15c], 8
call fcn.0044e9a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 9
call sub.MFC42.DLL_CString::CString_4
mov al, byte [esp + 0x1b]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edi, dword [sym.imp.MSVCRT.dll_rand]
mov byte [esp + 0x158], 0xb
mov dword [esp + 0x44], ebx
call edi
and eax, 0xffff
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp qword [esp + 0x48]
call edi
and eax, 0xffff
mov ecx, dword [esi + 0xfc]
mov dword [esp + 0x14], eax
sub esp, 8
fild dword [esp + 0x1c]
fmul qword [esp + 0x50]
fmul qword [0x504730]
fstp qword [esp]
push ecx
lea edx, [esp + 0x4c]
push str.http:__appbase.qzone.qq.com_cgi_bin_freegift_freegift_get_frds_appid353uin_ucb1r_.16lf
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x5307a8
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x178], 0xc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x536d10]
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x178], 0xb
lea ecx, [edx + 0x17c]
call fcn.00410fa0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x15c], 0xd
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0xb
call sub.MFC42.DLL_CString::CString
push 0x52693c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_1
push 0x29
lea ecx, [esp + 0x28]
mov esi, eax
call sub.MFC42.DLL_CString::ReverseFind
cmp esi, ebx
jl 0x427b2e
cmp eax, ebx
jl 0x427b2e
sub eax, esi
lea ecx, [esp + 0x24]
dec eax
inc esi
push eax
lea eax, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x15c], 0xe
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0xb
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [esp + 0x1b]
mov edx, eax
mov byte [esp + 0x48], cl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x50]
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 edx, [esp + 0x120]
push 1
lea eax, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x164], 0xf
call fcn.0044a090
and eax, 0xff
mov byte [esp + 0x158], 0xb
mov esi, eax
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x3c], esi
je 0x427743
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x42773a
cmp al, 0xff
je 0x42773a
dec al
mov byte [ecx], al
jmp 0x427743
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp esi, ebx
je 0x42786f
push str.friends
lea ecx, [esp + 0x124]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x7c]
call fcn.0044f040
push str.gpnames
lea ecx, [esp + 0x124]
call fcn.0044fea0
push eax
lea ecx, [esp + 0x5c]
call fcn.0044f040
lea ecx, [esp + 0x78]
call fcn.0044f140
cmp eax, 6
jne 0x42786b
lea ecx, [esp + 0x58]
call fcn.0044f140
cmp eax, 6
jne 0x42786b
xor esi, esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x20], esi
call fcn.0044fc80
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
test eax, eax
jbe 0x4279e0
push esi
lea ecx, [esp + 0x7c]
call fcn.0044fd30
push eax
lea ecx, [esp + 0x6c]
call fcn.0044f040
lea ecx, [esp + 0x68]
call fcn.0044f140
cmp eax, 7
jne 0x4279c6
push str.groupid
lea ecx, [esp + 0x6c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
lea ecx, [esp + 0x1c]
mov edi, eax
push 0x52696c
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x58]
xor esi, esi
call fcn.0044fc80
test eax, eax
jbe 0x42790e
push str.gpid
push esi
lea ecx, [esp + 0x60]
call fcn.0044fd30
mov ecx, eax
call fcn.0044fea0
push eax
call fcn.0040c7d0
add esp, 4
cmp eax, edi
je 0x4278c7
lea ecx, [esp + 0x58]
inc esi
call fcn.0044fc80
cmp esi, eax
jb 0x427835
jmp 0x42790e
mov dword [esp + 0x3c], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x164]
cmp eax, ecx
jae 0x427899
mov ecx, dword [esp + 0x160]
lea edi, [ecx + eax*4]
mov ecx, dword [esp + 0x164]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
xor esi, esi
cmp edx, ebx
je 0x427b24
mov eax, dword [esp + 0x30]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x427b24
mov edx, dword [edx + esi*4]
push edx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
add esp, 4
inc esi
jmp 0x42789b
push str.gpname
push esi
lea ecx, [esp + 0x60]
call fcn.0044fd30
mov ecx, eax
call fcn.0044fea0
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040c8b0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x15c], 0x10
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 0xb
call sub.MFC42.DLL_CString::CString
push 0x526278
lea ecx, [esp + 0x6c]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edx, dword [0x536d10]
add esp, 4
mov esi, eax
push 1
push esi
lea ecx, [edx + 0x17c]
call fcn.0041e6f0
test eax, eax
je 0x4279c6
push 0x90
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x24
xor eax, eax
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push 0x3f
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add eax, 0x50
push edx
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x68]
push str.name
call fcn.0044fea0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0040c8b0
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push 0x3f
add edx, 0x10
push eax
push edx
call ebp
add esp, 0x14
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.0047f0e0
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x78]
inc esi
mov dword [esp + 0x20], esi
call fcn.0044fc80
cmp esi, eax
jb 0x4277d5
push 0x526950
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [0x536d10]
mov eax, dword [edx + 0x210]
cmp eax, ebx
je 0x42786f
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
jmp 0x427a17
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edi, dword [esi + 0x24]
cmp edi, ebx
je 0x427b15
mov eax, dword [0x536d10]
cmp edi, dword [eax + 0x278]
je 0x427b15
cmp edx, ebx
jne 0x427a44
xor eax, eax
jmp 0x427a4d
mov eax, dword [esp + 0x30]
sub eax, edx
sar eax, 2
xor ecx, ecx
cmp eax, ebx
jle 0x427a6c
mov ebp, dword [edx]
cmp dword [ebp], edi
je 0x427a62
inc ecx
add edx, 4
cmp ecx, eax
jl 0x427a53
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
mov edx, dword [esp + 0x2c]
cmp ecx, eax
jne 0x427b15
push 0x90
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x24
xor eax, eax
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x24]
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [esp + 0x44]
add edx, 4
inc ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x164]
cmp ecx, edx
mov dword [esp + 0x44], ecx
jae 0x42786f
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0x3f
add eax, 0x50
push edx
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0x14]
push 0x3f
add ecx, 0x10
push esi
push ecx
call ebp
mov eax, dword [esp + 0x48]
add esp, 0x18
lea edx, [esp + 0x10]
lea ecx, [esp + 0x28]
push edx
push 1
push eax
call fcn.0047f0e0
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x14], ebx
jne 0x427a13
jmp 0x427873
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
jmp 0x427b32
mov edx, dword [esp + 0x2c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x158], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x158], 8
call fcn.0044eec0
lea ecx, [esp + 0x140]
mov byte [esp + 0x158], 7
call fcn.0044eec0
lea ecx, [esp + 0x130]
mov byte [esp + 0x158], 6
call fcn.0044eec0
lea ecx, [esp + 0x68]
mov byte [esp + 0x158], 5
call fcn.0044eec0
lea ecx, [esp + 0x78]
mov byte [esp + 0x158], 4
call fcn.0044eec0
lea ecx, [esp + 0x120]
mov byte [esp + 0x158], 3
call fcn.0044eec0
mov eax, dword [esp + 0x110]
mov byte [esp + 0x158], 0x11
cmp eax, ebx
je 0x427bf7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x427bee
cmp al, 0xff
je 0x427bee
dec al
mov byte [ecx], al
jmp 0x427bf7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xec]
mov dword [esp + 0x110], ebx
cmp eax, ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
je 0x427c34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x427c2b
cmp al, 0xff
je 0x427c2b
dec al
mov byte [ecx], al
jmp 0x427c34
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xec], ebx
cmp eax, ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
je 0x427d50
mov ecx, dword [esp + 0xc4]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xc8], ecx
lea ecx, [eax + 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 + 0xe4]
dec eax
mov dword [esp + 0xe4], eax
je 0x427c9d
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
cmp eax, ecx
jne 0x427d43
mov eax, dword [esp + 0xc8]
mov ecx, eax
add eax, 4
mov dword [esp + 0xc8], eax
mov ecx, dword [ecx]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xe8]
add esp, 4
cmp eax, ebx
jne 0x427d18
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0xdc]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x427d43
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xc0], edx
cmp dword [esp + 0xe4], ebx
jne 0x427c58
cmp dword [esp + 0xb4], ebx
je 0x427e43
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xb4]
add ecx, 4
dec eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0xb4], eax
je 0x427d90
mov eax, dword [esp + 0x90]
mov edx, ecx
cmp edx, eax
jne 0x427e36
mov ecx, dword [esp + 0x98]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x98], ecx
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0xb8]
add esp, 4
cmp eax, ebx
jne 0x427e0b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xac]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x427e36
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x90], edx
cmp dword [esp + 0xb4], ebx
jne 0x427d5d
lea ecx, [esp + 0x38]
mov byte [esp + 0x158], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x158], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x150]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 8