Function at 0x403066
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x158]
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
call fcn.00403ed6
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
push str.HSTools
call fcn.004165e2
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0x8c], eax
je 0x403246
call fcn.0040987c
push eax
push 0
lea ecx, [ebp - 0x88]
call fcn.00416820
push dword [esi + 0x58]
lea ecx, [ebp - 0x88]
push str.NoBeep
call fcn.00416726
push dword [esi + 0x390]
lea ecx, [ebp - 0x88]
push str.ListGet
call fcn.00416726
push dword [esi + 0x394]
lea ecx, [ebp - 0x88]
push str.ListGetMSec
call fcn.00416726
push dword [esi + 0x398]
lea ecx, [ebp - 0x88]
push str.RetryMSec2
call fcn.00416726
push dword [esi + 0x39c]
lea ecx, [ebp - 0x88]
push str.RetryMax
call fcn.00416726
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
call edi
cmp al, 4
jb 0x403146
call edi
cmp eax, 0x80000000
mov eax, str.RecvMaxNT
jb 0x40314b
mov eax, str.RecvMax95
push dword [esi + 0x3a0]
lea ecx, [ebp - 0x88]
push eax
call fcn.00416726
push dword [esi + 0x54]
lea ecx, [ebp - 0x88]
push str.NoErase
call fcn.00416726
push dword [esi + 0x810]
lea ecx, [ebp - 0x88]
push str.Debug
call fcn.00416726
push dword [esi + 0x4c]
lea ecx, [ebp - 0x88]
push str.NoPopup
call fcn.00416726
push dword [esi + 0x50]
lea ecx, [ebp - 0x88]
push str.OpenCheck
call fcn.00416726
push dword [esi + 0x304]
lea ecx, [ebp - 0x88]
push str.AllowSendList
call fcn.00416726
push dword [esi + 0x308]
lea ecx, [ebp - 0x88]
push str.FileTransOpt
call fcn.00416726
push dword [esi + 0x30c]
lea ecx, [ebp - 0x88]
push str.ResolveOpt
call fcn.00416726
push dword [esi + 0x310]
lea ecx, [ebp - 0x88]
push str.EncryptNum
call fcn.00416726
push dword [esi + 0x314]
lea ecx, [ebp - 0x88]
push str.ViewMax
call fcn.00416726
push dword [esi + 0x318]
lea ecx, [ebp - 0x88]
push str.TransMax
call fcn.00416726
push dword [esi + 0x31c]
lea ecx, [ebp - 0x88]
push str.TcpbufMax
call fcn.00416726
test byte [ebp + 8], 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
je 0x403362
push dword [esi + 0x270]
lea ecx, [ebp - 0x88]
push str.AbsenceSave
call fcn.00416726
push dword [esi + 0x274]
lea ecx, [ebp - 0x88]
push str.AbsenceCheck
call fcn.00416726
push dword [esi + 0x278]
lea ecx, [ebp - 0x88]
push str.AbsenceMax
call fcn.00416726
push 1
push str.AbsenceStr
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403357
xor eax, eax
cmp dword [esi + 0x278], eax
mov dword [ebp - 4], eax
jle 0x403357
mov dword [ebp - 8], eax
mov dword [ebp - 0x90], eax
mov edi, str._s_d
push dword [ebp - 4]
lea eax, [ebp - 0x25c]
push str.AbsenceStr
push edi
push eax
call ebx
mov eax, dword [esi + 0x280]
add esp, 0x10
add eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416820
push dword [ebp - 4]
lea eax, [ebp - 0x25c]
push str.AbsenceHead
push edi
push eax
call ebx
mov eax, dword [esi + 0x284]
add esp, 0x10
add eax, dword [ebp - 8]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416820
inc dword [ebp - 4]
add dword [ebp - 0x90], 0x104
mov eax, dword [ebp - 4]
add dword [ebp - 8], 0x32
cmp eax, dword [esi + 0x278]
jl 0x4032d2
lea ecx, [ebp - 0x88]
call fcn.004166e8
cmp dword [ebp - 0x8c], 0
je 0x403691
lea eax, [esi + 0x968]
lea ecx, [ebp - 0x88]
push eax
push str.PasswordStr
call fcn.00416820
push dword [esi + 0x99c]
lea ecx, [ebp - 0x88]
push str.PasswdLogCheck
call fcn.00416726
push dword [esi + 0x60]
lea ecx, [ebp - 0x88]
push str.DelayTime
call fcn.00416726
push dword [esi + 0x2d8]
lea ecx, [ebp - 0x88]
push str.QuoteCheck
call fcn.00416726
push dword [esi + 0x2dc]
lea ecx, [ebp - 0x88]
push str.SecretCheck
call fcn.00416726
push dword [esi + 0x2e0]
lea ecx, [ebp - 0x88]
push str.IPAddrCheck
call fcn.00416726
push dword [esi + 0x5c]
lea ecx, [ebp - 0x88]
push str.OneClickPopup
call fcn.00416726
push dword [esi + 0x388]
lea ecx, [ebp - 0x88]
push str.AbnormalButton
call fcn.00416726
push dword [esi + 0x9ac]
lea ecx, [ebp - 0x88]
push str.DialUpCheck
call fcn.00416726
push dword [esi + 0x320]
lea ecx, [ebp - 0x88]
push str.NickNameCheck
call fcn.00416726
push dword [esi + 0x38c]
lea ecx, [ebp - 0x88]
push str.AbsenceNonPopup
call fcn.00416726
lea eax, [esi + 0x324]
lea ecx, [ebp - 0x88]
push eax
push str.NickNameStr
call fcn.00416820
lea eax, [esi + 0x356]
lea ecx, [ebp - 0x88]
push eax
push str.GroupNameStr
call fcn.00416820
lea eax, [esi + 0x3a4]
lea ecx, [ebp - 0x88]
push eax
push str.Lang
call fcn.00416820
push dword [esi + 0x7c0]
lea ecx, [ebp - 0x88]
push str.Sort
call fcn.004167a7
push dword [esi + 0x7c4]
lea ecx, [ebp - 0x88]
push str.UpdateTime
call fcn.00416726
push dword [esi + 0x7c8]
lea ecx, [ebp - 0x88]
push str.KeepHostTime
call fcn.00416726
push dword [esi + 0x7cc]
lea ecx, [ebp - 0x88]
push str.MsgMinimize
call fcn.00416726
push dword [esi + 0x7d8]
lea ecx, [ebp - 0x88]
push str.ExtendEntry
call fcn.00416726
push dword [esi + 0x2f8]
push str.ControlIME
lea ecx, [ebp - 0x88]
call fcn.00416726
push dword [esi + 0x2fc]
lea ecx, [ebp - 0x88]
push str.GlidLine
call fcn.00416726
push dword [esi + 0x300]
lea ecx, [ebp - 0x88]
push str.ColumnItems
call fcn.00416726
lea eax, [esi + 0x7dc]
lea ecx, [ebp - 0x88]
push eax
push str.QuoteStr
call fcn.00416820
push 1
push str.HotKey
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x4035f7
push dword [esi + 0x2e4]
lea ecx, [ebp - 0x88]
push str.HotKeyCheck
call fcn.00416726
push dword [esi + 0x2e8]
lea ecx, [ebp - 0x88]
push str.HotKeyModify
call fcn.00416726
push dword [esi + 0x2ec]
lea ecx, [ebp - 0x88]
push str.HotKeySend
call fcn.00416726
push dword [esi + 0x2f0]
lea ecx, [ebp - 0x88]
push str.HotKeyRecv
call fcn.00416726
push dword [esi + 0x2f4]
lea ecx, [ebp - 0x88]
push str.HotKeyMisc
call fcn.00416726
lea ecx, [ebp - 0x88]
call fcn.004166e8
push dword [esi + 0x64]
lea ecx, [ebp - 0x88]
push str.LogCheck
call fcn.00416726
lea eax, [esi + 0x68]
lea ecx, [ebp - 0x88]
push eax
push str.LogFile
call fcn.00416820
lea eax, [esi + 0x16c]
lea ecx, [ebp - 0x88]
push eax
push str.SoundFile
call fcn.00416820
lea eax, [esi + 0x3ae]
lea ecx, [ebp - 0x88]
push eax
push str.Icon
call fcn.00416820
lea eax, [esi + 0x4b2]
lea ecx, [ebp - 0x88]
push eax
push str.RevIcon
call fcn.00416820
lea eax, [esi + 0x6ba]
lea ecx, [ebp - 0x88]
push eax
push str.lastOpen
call fcn.00416820
lea eax, [esi + 0x5b6]
lea ecx, [ebp - 0x88]
push eax
push str.lastSave
call fcn.00416820
test byte [ebp + 8], 4
je 0x4038ab
push 1
push str.WindowSize
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x4038ab
push dword [esi + 0x814]
lea ecx, [ebp - 0x88]
push str.SendNickName
call fcn.00416726
push dword [esi + 0x828]
lea ecx, [ebp - 0x88]
push str.SendUserName
call fcn.00416726
push dword [esi + 0x818]
lea ecx, [ebp - 0x88]
push str.SendAbsence
call fcn.00416726
push dword [esi + 0x82c]
lea ecx, [ebp - 0x88]
push str.SendPriority
call fcn.00416726
push dword [esi + 0x81c]
lea ecx, [ebp - 0x88]
push str.SendGroupName
call fcn.00416726
push dword [esi + 0x820]
lea ecx, [ebp - 0x88]
push str.SendHostName
call fcn.00416726
push dword [esi + 0x824]
lea ecx, [ebp - 0x88]
push str.SendIPAddr
call fcn.00416726
push 1
push str.SendOrder
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x4037ae
and dword [ebp - 4], 0
lea edi, [esi + 0x830]
push dword [ebp - 4]
lea eax, [ebp - 0x158]
push 0x42058c
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x158]
push dword [edi]
lea ecx, [ebp - 0x88]
push eax
call fcn.00416726
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 7
jl 0x40376f
lea ecx, [ebp - 0x88]
call fcn.004166e8
push dword [esi + 0x84c]
lea ecx, [ebp - 0x88]
push str.SendXdiff
call fcn.00416726
push dword [esi + 0x850]
lea ecx, [ebp - 0x88]
push str.SendYdiff
call fcn.00416726
push dword [esi + 0x854]
lea ecx, [ebp - 0x88]
push str.SendMidYdiff
call fcn.00416726
push dword [esi + 0x858]
lea ecx, [ebp - 0x88]
push str.SendSavePos
call fcn.00416726
push dword [esi + 0x85c]
lea ecx, [ebp - 0x88]
push str.SendXpos
call fcn.00416726
push dword [esi + 0x860]
lea ecx, [ebp - 0x88]
push str.SendYpos
call fcn.00416726
push dword [esi + 0x864]
lea ecx, [ebp - 0x88]
push str.RecvXdiff
call fcn.00416726
push dword [esi + 0x868]
lea ecx, [ebp - 0x88]
push str.RecvYdiff
call fcn.00416726
push dword [esi + 0x86c]
lea ecx, [ebp - 0x88]
push str.RecvSavePos
call fcn.00416726
push dword [esi + 0x870]
lea ecx, [ebp - 0x88]
push str.RecvXpos
call fcn.00416726
push dword [esi + 0x874]
lea ecx, [ebp - 0x88]
push str.RecvYpos
call fcn.00416726
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 8], 8
je 0x40393e
push 1
push str.Fonts
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x40393e
lea eax, [esi + 0x878]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.SendEdit
push eax
call fcn.00403dc6
lea eax, [esi + 0x8b4]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.SendListView
push eax
call fcn.00403dc6
lea eax, [esi + 0x8f0]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.RecvHead
push eax
call fcn.00403dc6
lea eax, [esi + 0x92c]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.RecvEdit
push eax
call fcn.00403dc6
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 8], 0x10
je 0x403a17
push 1
push str.BroadCast
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403a17
mov eax, dword [esi + 0x9bc]
and dword [ebp - 4], 0
lea edi, [esi + 0x9bc]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x4039ba
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x42058c
push eax
call ebx
mov eax, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 0x88]
push dword [eax + 8]
lea eax, [ebp - 0x158]
push eax
call fcn.00416820
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
jmp 0x403977
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x42058c
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x88]
push 0xc8
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004167cb
cmp eax, 1
jne 0x403a0c
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
call fcn.004168bf
cmp eax, 1
je 0x4039ba
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 8], 0x20
je 0x403aaf
push dword [esi + 0x7d0]
lea ecx, [ebp - 0x88]
push str.DefaultUrl
call fcn.00416726
push dword [esi + 0x7d4]
lea ecx, [ebp - 0x88]
push str.ShellExec
call fcn.00416726
push 1
push str.ClickableUrl
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403aaf
mov eax, dword [esi + 0x9a0]
lea edi, [esi + 0x9a0]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x403aa4
jmp 0x403a80
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x3a]
add eax, 8
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00416820
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
test eax, eax
mov dword [ebp - 8], eax
jne 0x403a7d
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 8], 0x40
je 0x403afc
push 1
push str.Priority
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403afc
push dword [esi + 0x38]
lea ecx, [ebp - 0x88]
push str.PriorityMax
call fcn.00416726
push dword [esi + 0x3c]
lea ecx, [ebp - 0x88]
push str.PriorityReject
call fcn.00416726
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 9], 0x10
je 0x403c8d
push 1
push str.HostInfo
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403c8d
call fcn.0040c060
test byte [ebp + 9], 0x20
mov dword [ebp - 0x8c], eax
je 0x403b3e
push 0
lea ecx, [ebp - 0x88]
call fcn.0041692b
and dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jle 0x403c82
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 4]
mov edi, dword [eax + ecx*4]
lea eax, [edi + 0x32]
push eax
push edi
lea eax, [ebp - 0x158]
push str._s:_s
push eax
call ebx
mov eax, dword [esi + 0x7c8]
add esp, 0x10
add eax, dword [edi + 0xd4]
cmp eax, dword [ebp - 0x8c]
jl 0x403c5b
cmp dword [edi + 0xd8], 0xa
je 0x403c5b
lea eax, [ebp - 0x158]
push 1
push eax
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403c73
push edi
push str.UserName
lea ecx, [ebp - 0x88]
call fcn.00416820
lea eax, [edi + 0x32]
lea ecx, [ebp - 0x88]
push eax
push str.HostName
call fcn.00416820
push dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push str.IPAddr
call fcn.004167a7
push dword [edi + 0x68]
lea ecx, [ebp - 0x88]
push str.PortNo
call fcn.00416726
lea eax, [edi + 0x6c]
lea ecx, [ebp - 0x88]
push eax
push str.NickName
call fcn.00416820
lea eax, [edi + 0x9e]
lea ecx, [ebp - 0x88]
push eax
push str.GroupName
call fcn.00416820
push dword [edi + 0xd8]
lea ecx, [ebp - 0x88]
push str.Priority
call fcn.00416726
push dword [edi + 0xd4]
lea ecx, [ebp - 0x88]
push str.UpdateTime
call fcn.004167a7
lea ecx, [ebp - 0x88]
call fcn.004166e8
jmp 0x403c73
test byte [ebp + 9], 0x40
je 0x403c73
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041692b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xc]
jl 0x403b4c
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 8], 0x80
je 0x403d2c
push 1
push str.FindStr
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403d2c
push dword [esi + 0x288]
lea ecx, [ebp - 0x88]
push str.FindMax2
call fcn.00416726
push dword [esi + 0x290]
lea ecx, [ebp - 0x88]
push str.FindAll
call fcn.00416726
xor edi, edi
cmp dword [esi + 0x288], edi
jle 0x403d21
and dword [ebp - 8], edi
push edi
lea eax, [ebp - 0x25c]
push 0x42058c
push eax
call ebx
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, dword [esi + 0x28c]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416820
add dword [ebp - 8], 0x32
inc edi
cmp edi, dword [esi + 0x288]
jl 0x403ce6
lea ecx, [ebp - 0x88]
call fcn.004166e8
test byte [ebp + 9], 0x80
pop ebx
je 0x403db2
cmp dword [esi + 0x2c0], 0
lea edi, [esi + 0x2c0]
je 0x403db2
push 1
push str.Crypt
lea ecx, [ebp - 0x88]
call fcn.0041667f
test eax, eax
je 0x403db2
push dword [esi + 0x2c4]
lea ecx, [ebp - 0x88]
push dword [edi]
push str.PrivBlob
call fcn.00416881
mov eax, dword [esi + 0x2cc]
test eax, eax
je 0x403d91
push dword [esi + 0x2d0]
lea ecx, [ebp - 0x88]
push eax
push str.PrivEncryptSeed
call fcn.00416881
push dword [esi + 0x2c8]
lea ecx, [ebp - 0x88]
push str.PrivEncryptType
call fcn.00416726
lea ecx, [ebp - 0x88]
call fcn.004166e8
lea ecx, [ebp - 0x88]
call fcn.004165fc
push 1
pop eax
pop edi
pop esi
leave
ret 4