Function at 0x402f2b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x158]
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
call fcn.00403d04
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x90]
push eax
push str.HSTools
call fcn.00416107
mov eax, dword [ebp + 8]
xor edi, edi
inc edi
and eax, edi
mov dword [ebp - 0xc], eax
je 0x4030f5
call fcn.0040947f
push eax
push 0
lea ecx, [ebp - 0x90]
call fcn.00416334
push dword [esi + 0x58]
lea ecx, [ebp - 0x90]
push str.NoBeep
call fcn.00416247
push dword [esi + 0x374]
lea ecx, [ebp - 0x90]
push str.ListGet
call fcn.00416247
push dword [esi + 0x378]
lea ecx, [ebp - 0x90]
push str.ListGetMSec
call fcn.00416247
push dword [esi + 0x37c]
lea ecx, [ebp - 0x90]
push str.RetryMSec2
call fcn.00416247
push dword [esi + 0x380]
lea ecx, [ebp - 0x90]
push str.RetryMax
call fcn.00416247
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
call ebx
cmp al, 4
jb 0x40300b
call ebx
cmp eax, 0x80000000
mov eax, str.RecvMaxNT
jb 0x403010
mov eax, str.RecvMax95
push dword [esi + 0x384]
lea ecx, [ebp - 0x90]
push eax
call fcn.00416247
push dword [esi + 0x54]
lea ecx, [ebp - 0x90]
push str.NoErase
call fcn.00416247
push dword [esi + 0x7f4]
lea ecx, [ebp - 0x90]
push str.Debug
call fcn.00416247
push dword [esi + 0x4c]
lea ecx, [ebp - 0x90]
push str.NoPopup
call fcn.00416247
push dword [esi + 0x50]
lea ecx, [ebp - 0x90]
push str.OpenCheck
call fcn.00416247
push dword [esi + 0x2ec]
lea ecx, [ebp - 0x90]
push str.AllowSendList
call fcn.00416247
push dword [esi + 0x2f0]
lea ecx, [ebp - 0x90]
push str.FileTransOpt
call fcn.00416247
push dword [esi + 0x2f4]
lea ecx, [ebp - 0x90]
push str.ResolveOpt
call fcn.00416247
push dword [esi + 0x2f8]
lea ecx, [ebp - 0x90]
push str.ViewMax
call fcn.00416247
push dword [esi + 0x2fc]
lea ecx, [ebp - 0x90]
push str.TransMax
call fcn.00416247
push dword [esi + 0x300]
lea ecx, [ebp - 0x90]
push str.TcpbufMax
call fcn.00416247
test byte [ebp + 8], 2
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
je 0x403205
push dword [esi + 0x270]
lea ecx, [ebp - 0x90]
push str.AbsenceSave
call fcn.00416247
push dword [esi + 0x274]
lea ecx, [ebp - 0x90]
push str.AbsenceCheck
call fcn.00416247
push dword [esi + 0x278]
lea ecx, [ebp - 0x90]
push str.AbsenceMax
call fcn.00416247
push edi
push str.AbsenceStr
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x4031fa
xor eax, eax
cmp dword [esi + 0x278], eax
mov dword [ebp - 4], eax
jle 0x4031fa
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 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 - 0x10]
lea ecx, [ebp - 0x90]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416334
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 - 0x90]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416334
inc dword [ebp - 4]
add dword [ebp - 0x10], 0x104
mov eax, dword [ebp - 4]
add dword [ebp - 8], 0x32
cmp eax, dword [esi + 0x278]
jl 0x40317c
xor edi, edi
inc edi
lea ecx, [ebp - 0x90]
call fcn.00416209
cmp dword [ebp - 0xc], 0
je 0x403546
lea eax, [esi + 0x94c]
lea ecx, [ebp - 0x90]
push eax
push str.PasswordStr
call fcn.00416334
push dword [esi + 0x980]
lea ecx, [ebp - 0x90]
push str.PasswdLogCheck
call fcn.00416247
push dword [esi + 0x60]
lea ecx, [ebp - 0x90]
push str.DelayTime
call fcn.00416247
push dword [esi + 0x2bc]
lea ecx, [ebp - 0x90]
push str.SelectCheck
call fcn.00416247
push dword [esi + 0x2c0]
lea ecx, [ebp - 0x90]
push str.QuoteCheck
call fcn.00416247
push dword [esi + 0x2c4]
lea ecx, [ebp - 0x90]
push str.SecretCheck
call fcn.00416247
push dword [esi + 0x2c8]
lea ecx, [ebp - 0x90]
push str.IPAddrCheck
call fcn.00416247
push dword [esi + 0x5c]
lea ecx, [ebp - 0x90]
push str.OneClickPopup
call fcn.00416247
push dword [esi + 0x36c]
lea ecx, [ebp - 0x90]
push str.AbnormalButton
call fcn.00416247
push dword [esi + 0x990]
lea ecx, [ebp - 0x90]
push str.DialUpCheck
call fcn.00416247
push dword [esi + 0x304]
lea ecx, [ebp - 0x90]
push str.NickNameCheck
call fcn.00416247
push dword [esi + 0x370]
lea ecx, [ebp - 0x90]
push str.AbsenceNonPopup
call fcn.00416247
lea eax, [esi + 0x308]
lea ecx, [ebp - 0x90]
push eax
push str.NickNameStr
call fcn.00416334
lea eax, [esi + 0x33a]
lea ecx, [ebp - 0x90]
push eax
push str.GroupNameStr
call fcn.00416334
lea eax, [esi + 0x388]
lea ecx, [ebp - 0x90]
push eax
push str.Lang
call fcn.00416334
push dword [esi + 0x7a4]
lea ecx, [ebp - 0x90]
push str.Sort
call fcn.004162bd
push dword [esi + 0x7a8]
lea ecx, [ebp - 0x90]
push str.UpdateTime
call fcn.00416247
push dword [esi + 0x7ac]
lea ecx, [ebp - 0x90]
push str.KeepHostTime
call fcn.00416247
push dword [esi + 0x7b0]
lea ecx, [ebp - 0x90]
push str.MsgMinimize
call fcn.00416247
push dword [esi + 0x7bc]
push str.ExtendEntry
lea ecx, [ebp - 0x90]
call fcn.00416247
push dword [esi + 0x2e0]
lea ecx, [ebp - 0x90]
push str.ControlIME
call fcn.00416247
push dword [esi + 0x2e4]
lea ecx, [ebp - 0x90]
push str.GlidLine
call fcn.00416247
push dword [esi + 0x2e8]
lea ecx, [ebp - 0x90]
push str.ColumnItems
call fcn.00416247
lea eax, [esi + 0x7c0]
lea ecx, [ebp - 0x90]
push eax
push str.QuoteStr
call fcn.00416334
push edi
push str.HotKey
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x4034ac
push dword [esi + 0x2cc]
lea ecx, [ebp - 0x90]
push str.HotKeyCheck
call fcn.00416247
push dword [esi + 0x2d0]
lea ecx, [ebp - 0x90]
push str.HotKeyModify
call fcn.00416247
push dword [esi + 0x2d4]
lea ecx, [ebp - 0x90]
push str.HotKeySend
call fcn.00416247
push dword [esi + 0x2d8]
lea ecx, [ebp - 0x90]
push str.HotKeyRecv
call fcn.00416247
push dword [esi + 0x2dc]
lea ecx, [ebp - 0x90]
push str.HotKeyMisc
call fcn.00416247
lea ecx, [ebp - 0x90]
call fcn.00416209
push dword [esi + 0x64]
lea ecx, [ebp - 0x90]
push str.LogCheck
call fcn.00416247
lea eax, [esi + 0x68]
lea ecx, [ebp - 0x90]
push eax
push str.LogFile
call fcn.00416334
lea eax, [esi + 0x16c]
lea ecx, [ebp - 0x90]
push eax
push str.SoundFile
call fcn.00416334
lea eax, [esi + 0x392]
lea ecx, [ebp - 0x90]
push eax
push str.Icon
call fcn.00416334
lea eax, [esi + 0x496]
lea ecx, [ebp - 0x90]
push eax
push str.RevIcon
call fcn.00416334
lea eax, [esi + 0x69e]
lea ecx, [ebp - 0x90]
push eax
push str.lastOpen
call fcn.00416334
lea eax, [esi + 0x59a]
lea ecx, [ebp - 0x90]
push eax
push str.lastSave
call fcn.00416334
test byte [ebp + 8], 4
je 0x403761
push edi
push str.WindowSize
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x403761
push dword [esi + 0x7f8]
lea ecx, [ebp - 0x90]
push str.SendNickName
call fcn.00416247
push dword [esi + 0x80c]
lea ecx, [ebp - 0x90]
push str.SendUserName
call fcn.00416247
push dword [esi + 0x7fc]
lea ecx, [ebp - 0x90]
push str.SendAbsence
call fcn.00416247
push dword [esi + 0x810]
lea ecx, [ebp - 0x90]
push str.SendPriority
call fcn.00416247
push dword [esi + 0x800]
lea ecx, [ebp - 0x90]
push str.SendGroupName
call fcn.00416247
push dword [esi + 0x804]
lea ecx, [ebp - 0x90]
push str.SendHostName
call fcn.00416247
push dword [esi + 0x808]
lea ecx, [ebp - 0x90]
push str.SendIPAddr
call fcn.00416247
push edi
push str.SendOrder
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x403664
and dword [ebp - 4], 0
lea edi, [esi + 0x814]
push dword [ebp - 4]
lea eax, [ebp - 0x158]
push 0x4205c0
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x158]
push dword [edi]
lea ecx, [ebp - 0x90]
push eax
call fcn.00416247
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 7
jl 0x403622
lea ecx, [ebp - 0x90]
call fcn.00416209
xor edi, edi
inc edi
push dword [esi + 0x830]
lea ecx, [ebp - 0x90]
push str.SendXdiff
call fcn.00416247
push dword [esi + 0x834]
lea ecx, [ebp - 0x90]
push str.SendYdiff
call fcn.00416247
push dword [esi + 0x838]
lea ecx, [ebp - 0x90]
push str.SendMidYdiff
call fcn.00416247
push dword [esi + 0x83c]
lea ecx, [ebp - 0x90]
push str.SendSavePos
call fcn.00416247
push dword [esi + 0x840]
lea ecx, [ebp - 0x90]
push str.SendXpos
call fcn.00416247
push dword [esi + 0x844]
lea ecx, [ebp - 0x90]
push str.SendYpos
call fcn.00416247
push dword [esi + 0x848]
lea ecx, [ebp - 0x90]
push str.RecvXdiff
call fcn.00416247
push dword [esi + 0x84c]
lea ecx, [ebp - 0x90]
push str.RecvYdiff
call fcn.00416247
push dword [esi + 0x850]
lea ecx, [ebp - 0x90]
push str.RecvSavePos
call fcn.00416247
push dword [esi + 0x854]
lea ecx, [ebp - 0x90]
push str.RecvXpos
call fcn.00416247
push dword [esi + 0x858]
lea ecx, [ebp - 0x90]
push str.RecvYpos
call fcn.00416247
lea ecx, [ebp - 0x90]
call fcn.00416209
test byte [ebp + 8], 8
je 0x4037f3
push edi
push str.Fonts
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x4037f3
lea eax, [esi + 0x85c]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push str.SendEdit
push eax
call fcn.00403bf3
lea eax, [esi + 0x898]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push str.SendListView
push eax
call fcn.00403bf3
lea eax, [esi + 0x8d4]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push str.RecvHead
push eax
call fcn.00403bf3
lea eax, [esi + 0x910]
mov ecx, esi
push eax
lea eax, [ebp - 0x90]
push str.RecvEdit
push eax
call fcn.00403bf3
lea ecx, [ebp - 0x90]
call fcn.00416209
test byte [ebp + 8], 0x10
je 0x4038ca
push edi
push str.BroadCast
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x4038ca
and dword [ebp - 4], 0
lea edi, [esi + 0x9a0]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
jmp 0x403863
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x4205c0
push eax
call ebx
mov eax, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 0x90]
push dword [eax + 8]
lea eax, [ebp - 0x158]
push eax
call fcn.00416334
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
test eax, eax
mov dword [ebp - 8], eax
jne 0x403829
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x4205c0
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x90]
push 0xc8
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004162e1
cmp eax, 1
jne 0x4038bc
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x90]
push eax
call fcn.0041637e
cmp eax, 1
je 0x40386a
lea ecx, [ebp - 0x90]
call fcn.00416209
xor edi, edi
inc edi
test byte [ebp + 8], 0x20
je 0x403960
push dword [esi + 0x7b4]
lea ecx, [ebp - 0x90]
push str.DefaultUrl
call fcn.00416247
push dword [esi + 0x7b8]
lea ecx, [ebp - 0x90]
push str.ShellExec
call fcn.00416247
push edi
push str.ClickableUrl
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x403960
lea edi, [esi + 0x984]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x403952
jmp 0x40392e
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x3a]
add eax, 8
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00416334
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
test eax, eax
mov dword [ebp - 8], eax
jne 0x40392b
lea ecx, [ebp - 0x90]
call fcn.00416209
xor edi, edi
inc edi
test byte [ebp + 8], 0x40
je 0x4039ac
push edi
push str.Priority
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x4039ac
push dword [esi + 0x38]
lea ecx, [ebp - 0x90]
push str.PriorityMax
call fcn.00416247
push dword [esi + 0x3c]
lea ecx, [ebp - 0x90]
push str.PriorityReject
call fcn.00416247
lea ecx, [ebp - 0x90]
call fcn.00416209
test byte [ebp + 9], 0x10
je 0x403b3a
push edi
push str.HostInfo
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x403b3a
call fcn.0040bd0a
test byte [ebp + 9], 0x20
mov dword [ebp - 0xc], eax
je 0x4039ea
push 0
lea ecx, [ebp - 0x90]
call fcn.004163ea
and dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jle 0x403b2f
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 + 0x7ac]
add esp, 0x10
add eax, dword [edi + 0xd4]
cmp eax, dword [ebp - 0xc]
jl 0x403b05
cmp dword [edi + 0xd8], 0xa
je 0x403b05
lea eax, [ebp - 0x158]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, 1
jne 0x403b1d
push edi
push str.UserName
lea ecx, [ebp - 0x90]
call fcn.00416334
lea eax, [edi + 0x32]
lea ecx, [ebp - 0x90]
push eax
push str.HostName
call fcn.00416334
push dword [edi + 0x64]
lea ecx, [ebp - 0x90]
push str.IPAddr
call fcn.004162bd
push dword [edi + 0x68]
lea ecx, [ebp - 0x90]
push str.PortNo
call fcn.00416247
lea eax, [edi + 0x6c]
lea ecx, [ebp - 0x90]
push eax
push str.NickName
call fcn.00416334
lea eax, [edi + 0x9e]
lea ecx, [ebp - 0x90]
push eax
push str.GroupName
call fcn.00416334
push dword [edi + 0xd8]
lea ecx, [ebp - 0x90]
push str.Priority
call fcn.00416247
push dword [edi + 0xd4]
lea ecx, [ebp - 0x90]
push str.UpdateTime
call fcn.004162bd
lea ecx, [ebp - 0x90]
call fcn.00416209
jmp 0x403b1d
test byte [ebp + 9], 0x40
je 0x403b1d
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x90]
push eax
call fcn.004163ea
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xc]
jl 0x4039f8
xor edi, edi
inc edi
lea ecx, [ebp - 0x90]
call fcn.00416209
test byte [ebp + 8], 0x80
je 0x403bdf
push edi
push str.FindStr
lea ecx, [ebp - 0x90]
call fcn.004161a4
cmp eax, edi
jne 0x403bdf
push dword [esi + 0x288]
lea ecx, [ebp - 0x90]
push str.FindMax2
call fcn.00416247
push dword [esi + 0x290]
lea ecx, [ebp - 0x90]
push str.FindAll
call fcn.00416247
xor edi, edi
cmp dword [esi + 0x288], edi
jle 0x403bd1
mov dword [ebp + 8], edi
push edi
lea eax, [ebp - 0x25c]
push 0x4205c0
push eax
call ebx
mov eax, dword [esi + 0x28c]
add esp, 0xc
add eax, dword [ebp + 8]
lea ecx, [ebp - 0x90]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00416334
add dword [ebp + 8], 0x32
inc edi
cmp edi, dword [esi + 0x288]
jl 0x403b96
lea ecx, [ebp - 0x90]
call fcn.00416209
xor edi, edi
inc edi
lea ecx, [ebp - 0x90]
call fcn.00416121
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4