Function at 0x402e35
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x41f688
mov eax, dword [esi + 0x44]
cmp eax, 0x979
je 0x402e57
mov ecx, str._s_d
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push 0x41f674
lea eax, [ebp - 0x154]
push ecx
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x8c]
push eax
push 0x41f668
call fcn.00415b57
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0xc], eax
je 0x402fd6
call fcn.00408fdb
push eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.00415d95
push dword [esi + 0x54]
lea ecx, [ebp - 0x8c]
push str.NoBeep
call fcn.00415c9b
push dword [esi + 0x360]
lea ecx, [ebp - 0x8c]
push str.ListGet
call fcn.00415c9b
push dword [esi + 0x364]
lea ecx, [ebp - 0x8c]
push str.ListGetMSec
call fcn.00415c9b
push dword [esi + 0x368]
lea ecx, [ebp - 0x8c]
push str.RetryMSec2
call fcn.00415c9b
push dword [esi + 0x36c]
lea ecx, [ebp - 0x8c]
push str.RetryMax
call fcn.00415c9b
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
call edi
cmp al, 4
jb 0x402f2e
call edi
cmp eax, 0x80000000
mov eax, str.RecvMaxNT
jb 0x402f33
mov eax, str.RecvMax95
push dword [esi + 0x370]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00415c9b
push dword [esi + 0x50]
lea ecx, [ebp - 0x8c]
push str.NoErase
call fcn.00415c9b
push dword [esi + 0x7e0]
lea ecx, [ebp - 0x8c]
push str.Debug
call fcn.00415c9b
push dword [esi + 0x48]
lea ecx, [ebp - 0x8c]
push str.NoPopup
call fcn.00415c9b
push dword [esi + 0x4c]
lea ecx, [ebp - 0x8c]
push str.OpenCheck
call fcn.00415c9b
push dword [esi + 0x2e4]
lea ecx, [ebp - 0x8c]
push str.AllowSendList
call fcn.00415c9b
push dword [esi + 0x2e8]
lea ecx, [ebp - 0x8c]
push str.FileTransOpt
call fcn.00415c9b
push dword [esi + 0x2ec]
lea ecx, [ebp - 0x8c]
push str.ResolveOpt
call fcn.00415c9b
test byte [ebp + 8], 2
je 0x4030d6
push dword [esi + 0x26c]
lea ecx, [ebp - 0x8c]
push str.AbsenceSave
call fcn.00415c9b
push dword [esi + 0x270]
lea ecx, [ebp - 0x8c]
push str.AbsenceCheck
call fcn.00415c9b
push dword [esi + 0x274]
lea ecx, [ebp - 0x8c]
push str.AbsenceMax
call fcn.00415c9b
push 1
push str.AbsenceStr
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x4030cb
xor edi, edi
cmp dword [esi + 0x274], edi
jle 0x4030cb
and dword [ebp - 8], edi
and dword [ebp - 4], edi
push edi
push str.AbsenceStr
lea eax, [ebp - 0x258]
push str._s_d
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x10
add eax, dword [esi + 0x27c]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00415d95
push edi
push str.AbsenceHead
lea eax, [ebp - 0x258]
push str._s_d
push eax
call ebx
mov eax, dword [ebp - 8]
add esp, 0x10
add eax, dword [esi + 0x280]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00415d95
add dword [ebp - 4], 0x104
add dword [ebp - 8], 0x32
inc edi
cmp edi, dword [esi + 0x274]
jl 0x403051
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
cmp dword [ebp - 0xc], 0
je 0x403403
lea eax, [esi + 0x938]
lea ecx, [ebp - 0x8c]
push eax
push str.PasswordStr
call fcn.00415d95
push dword [esi + 0x96c]
lea ecx, [ebp - 0x8c]
push str.PasswdLogCheck
call fcn.00415c9b
push dword [esi + 0x5c]
lea ecx, [ebp - 0x8c]
push str.DelayTime
call fcn.00415c9b
push dword [esi + 0x2b8]
lea ecx, [ebp - 0x8c]
push str.QuoteCheck
call fcn.00415c9b
push dword [esi + 0x2bc]
lea ecx, [ebp - 0x8c]
push str.SecretCheck
call fcn.00415c9b
push dword [esi + 0x2c0]
lea ecx, [ebp - 0x8c]
push str.IPAddrCheck
call fcn.00415c9b
push dword [esi + 0x58]
lea ecx, [ebp - 0x8c]
push str.OneClickPopup
call fcn.00415c9b
push dword [esi + 0x358]
lea ecx, [ebp - 0x8c]
push str.AbnormalButton
call fcn.00415c9b
push dword [esi + 0x97c]
lea ecx, [ebp - 0x8c]
push str.DialUpCheck
call fcn.00415c9b
push dword [esi + 0x2f0]
lea ecx, [ebp - 0x8c]
push str.NickNameCheck
call fcn.00415c9b
push dword [esi + 0x35c]
lea ecx, [ebp - 0x8c]
push str.AbsenceNonPopup
call fcn.00415c9b
lea eax, [esi + 0x2f4]
lea ecx, [ebp - 0x8c]
push eax
push str.NickNameStr
call fcn.00415d95
lea eax, [esi + 0x326]
lea ecx, [ebp - 0x8c]
push eax
push str.GroupNameStr
call fcn.00415d95
lea eax, [esi + 0x374]
lea ecx, [ebp - 0x8c]
push eax
push str.Lang
call fcn.00415d95
push dword [esi + 0x790]
lea ecx, [ebp - 0x8c]
push str.Sort
call fcn.00415d1c
push dword [esi + 0x794]
lea ecx, [ebp - 0x8c]
push str.UpdateTime
call fcn.00415c9b
push dword [esi + 0x798]
lea ecx, [ebp - 0x8c]
push str.KeepHostTime
call fcn.00415c9b
push dword [esi + 0x79c]
lea ecx, [ebp - 0x8c]
push str.MsgMinimize
call fcn.00415c9b
push dword [esi + 0x7a8]
lea ecx, [ebp - 0x8c]
push str.ExtendEntry
call fcn.00415c9b
push dword [esi + 0x2d8]
push str.ControlIME
lea ecx, [ebp - 0x8c]
call fcn.00415c9b
push dword [esi + 0x2dc]
lea ecx, [ebp - 0x8c]
push str.GlidLine
call fcn.00415c9b
push dword [esi + 0x2e0]
lea ecx, [ebp - 0x8c]
push str.ColumnItems
call fcn.00415c9b
lea eax, [esi + 0x7ac]
lea ecx, [ebp - 0x8c]
push eax
push str.QuoteStr
call fcn.00415d95
push 1
push str.HotKey
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403369
push dword [esi + 0x2c4]
lea ecx, [ebp - 0x8c]
push str.HotKeyCheck
call fcn.00415c9b
push dword [esi + 0x2c8]
lea ecx, [ebp - 0x8c]
push str.HotKeyModify
call fcn.00415c9b
push dword [esi + 0x2cc]
lea ecx, [ebp - 0x8c]
push str.HotKeySend
call fcn.00415c9b
push dword [esi + 0x2d0]
lea ecx, [ebp - 0x8c]
push str.HotKeyRecv
call fcn.00415c9b
push dword [esi + 0x2d4]
lea ecx, [ebp - 0x8c]
push str.HotKeyMisc
call fcn.00415c9b
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
push dword [esi + 0x60]
lea ecx, [ebp - 0x8c]
push str.LogCheck
call fcn.00415c9b
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x8c]
push eax
push str.LogFile
call fcn.00415d95
lea eax, [esi + 0x168]
lea ecx, [ebp - 0x8c]
push eax
push str.SoundFile
call fcn.00415d95
lea eax, [esi + 0x37e]
lea ecx, [ebp - 0x8c]
push eax
push str.Icon
call fcn.00415d95
lea eax, [esi + 0x482]
lea ecx, [ebp - 0x8c]
push eax
push str.RevIcon
call fcn.00415d95
lea eax, [esi + 0x68a]
lea ecx, [ebp - 0x8c]
push eax
push str.lastOpen
call fcn.00415d95
lea eax, [esi + 0x586]
lea ecx, [ebp - 0x8c]
push eax
push str.lastSave
call fcn.00415d95
test byte [ebp + 8], 4
je 0x40367c
push 1
push str.WindowSize
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x40367c
push dword [esi + 0x7e4]
lea ecx, [ebp - 0x8c]
push str.SendNickName
call fcn.00415c9b
push dword [esi + 0x7f8]
lea ecx, [ebp - 0x8c]
push str.SendUserName
call fcn.00415c9b
push dword [esi + 0x7e8]
lea ecx, [ebp - 0x8c]
push str.SendAbsence
call fcn.00415c9b
push dword [esi + 0x7fc]
lea ecx, [ebp - 0x8c]
push str.SendPriority
call fcn.00415c9b
push dword [esi + 0x7ec]
lea ecx, [ebp - 0x8c]
push str.SendGroupName
call fcn.00415c9b
push dword [esi + 0x7f0]
lea ecx, [ebp - 0x8c]
push str.SendHostName
call fcn.00415c9b
push dword [esi + 0x7f4]
lea ecx, [ebp - 0x8c]
push str.SendIPAddr
call fcn.00415c9b
xor ecx, ecx
lea edx, [esi + 0x800]
mov eax, dword [edx]
cmp eax, 7
jge 0x403504
test eax, eax
jl 0x403504
lea eax, [ecx + 1]
cmp ecx, 6
mov dword [ebp - 4], eax
jge 0x4034f5
lea eax, [edx + 4]
mov edi, dword [edx]
cmp edi, dword [eax]
je 0x4034f5
inc dword [ebp - 4]
add eax, 4
cmp dword [ebp - 4], 7
jl 0x4034e3
cmp dword [ebp - 4], 7
jne 0x403504
inc ecx
add edx, 4
cmp ecx, 7
jl 0x4034ca
cmp ecx, 7
je 0x40351f
push 0
push 0x421080
push 0x41f730
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40357f
push 1
push str.SendOrder
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x40357f
and dword [ebp - 4], 0
lea edi, [esi + 0x800]
push dword [ebp - 4]
lea eax, [ebp - 0x154]
push 0x41f558
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x154]
push dword [edi]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00415c9b
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 7
jl 0x403540
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
push dword [esi + 0x81c]
lea ecx, [ebp - 0x8c]
push str.SendXdiff
call fcn.00415c9b
push dword [esi + 0x820]
lea ecx, [ebp - 0x8c]
push str.SendYdiff
call fcn.00415c9b
push dword [esi + 0x824]
lea ecx, [ebp - 0x8c]
push str.SendMidYdiff
call fcn.00415c9b
push dword [esi + 0x828]
lea ecx, [ebp - 0x8c]
push str.SendSavePos
call fcn.00415c9b
push dword [esi + 0x82c]
lea ecx, [ebp - 0x8c]
push str.SendXpos
call fcn.00415c9b
push dword [esi + 0x830]
lea ecx, [ebp - 0x8c]
push str.SendYpos
call fcn.00415c9b
push dword [esi + 0x834]
lea ecx, [ebp - 0x8c]
push str.RecvXdiff
call fcn.00415c9b
push dword [esi + 0x838]
lea ecx, [ebp - 0x8c]
push str.RecvYdiff
call fcn.00415c9b
push dword [esi + 0x83c]
lea ecx, [ebp - 0x8c]
push str.RecvSavePos
call fcn.00415c9b
push dword [esi + 0x840]
lea ecx, [ebp - 0x8c]
push str.RecvXpos
call fcn.00415c9b
push dword [esi + 0x844]
lea ecx, [ebp - 0x8c]
push str.RecvYpos
call fcn.00415c9b
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 8], 8
je 0x403710
push 1
push str.Fonts
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403710
lea eax, [esi + 0x848]
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push str.SendEdit
push eax
call fcn.00403b13
lea eax, [esi + 0x884]
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push str.SendListView
push eax
call fcn.00403b13
lea eax, [esi + 0x8c0]
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push str.RecvHead
push eax
call fcn.00403b13
lea eax, [esi + 0x8fc]
mov ecx, esi
push eax
lea eax, [ebp - 0x8c]
push str.RecvEdit
push eax
call fcn.00403b13
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 8], 0x10
je 0x4037ea
push 1
push str.BroadCast
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x4037ea
mov eax, dword [esi + 0x98c]
and dword [ebp - 4], 0
lea edi, [esi + 0x98c]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x40378d
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x154]
push 0x41f558
push eax
call ebx
mov eax, dword [ebp - 8]
add esp, 0xc
lea ecx, [ebp - 0x8c]
push dword [eax + 8]
lea eax, [ebp - 0x154]
push eax
call fcn.00415d95
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
jmp 0x40374a
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x154]
push 0x41f558
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x320]
lea ecx, [ebp - 0x8c]
push 0xc8
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00415d40
cmp eax, 1
jne 0x4037df
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00415ddf
cmp eax, 1
je 0x40378d
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 8], 0x20
je 0x403883
push dword [esi + 0x7a0]
lea ecx, [ebp - 0x8c]
push str.DefaultUrl
call fcn.00415c9b
push dword [esi + 0x7a4]
lea ecx, [ebp - 0x8c]
push str.ShellExec
call fcn.00415c9b
push 1
push str.ClickableUrl
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403883
mov eax, dword [esi + 0x970]
lea edi, [esi + 0x970]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x403878
jmp 0x403854
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x3a]
add eax, 8
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00415d95
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
test eax, eax
mov dword [ebp - 8], eax
jne 0x403851
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 8], 0x40
je 0x4038d1
push 1
push str.Priority
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x4038d1
push dword [esi + 0x38]
lea ecx, [ebp - 0x8c]
push str.PriorityMax
call fcn.00415c9b
push dword [esi + 0x3c]
lea ecx, [ebp - 0x8c]
push str.PriorityReject
call fcn.00415c9b
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 9], 0x10
je 0x403a5e
push 1
push str.HostInfo
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403a5e
call fcn.0040b783
test byte [ebp + 9], 0x20
mov dword [ebp - 0xc], eax
je 0x403911
push 0
lea ecx, [ebp - 0x8c]
call fcn.00415e4b
and dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jle 0x403a53
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 - 0x154]
push str._s:_s
push eax
call ebx
mov eax, dword [edi + 0xd4]
add esp, 0x10
add eax, dword [esi + 0x798]
cmp eax, dword [ebp - 0xc]
jl 0x403a2c
cmp dword [edi + 0xd8], 0xa
je 0x403a2c
lea eax, [ebp - 0x154]
push 1
push eax
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403a44
push edi
push str.UserName
lea ecx, [ebp - 0x8c]
call fcn.00415d95
lea eax, [edi + 0x32]
lea ecx, [ebp - 0x8c]
push eax
push str.HostName
call fcn.00415d95
push dword [edi + 0x64]
lea ecx, [ebp - 0x8c]
push str.IPAddr
call fcn.00415d1c
push dword [edi + 0x68]
lea ecx, [ebp - 0x8c]
push str.PortNo
call fcn.00415c9b
lea eax, [edi + 0x6c]
lea ecx, [ebp - 0x8c]
push eax
push str.NickName
call fcn.00415d95
lea eax, [edi + 0x9e]
lea ecx, [ebp - 0x8c]
push eax
push str.GroupName
call fcn.00415d95
push dword [edi + 0xd8]
lea ecx, [ebp - 0x8c]
push str.Priority
call fcn.00415c9b
push dword [edi + 0xd4]
lea ecx, [ebp - 0x8c]
push str.UpdateTime
call fcn.00415d1c
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
jmp 0x403a44
test byte [ebp + 9], 0x40
je 0x403a44
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00415e4b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xc]
jl 0x40391f
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
test byte [ebp + 8], 0x80
je 0x403afe
push 1
push str.FindStr
lea ecx, [ebp - 0x8c]
call fcn.00415bf4
cmp eax, 1
jne 0x403afe
push dword [esi + 0x284]
lea ecx, [ebp - 0x8c]
push str.FindMax2
call fcn.00415c9b
push dword [esi + 0x28c]
lea ecx, [ebp - 0x8c]
push str.FindAll
call fcn.00415c9b
xor edi, edi
cmp dword [esi + 0x284], edi
jle 0x403af3
and dword [ebp + 8], edi
push edi
lea eax, [ebp - 0x258]
push 0x41f558
push eax
call ebx
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, dword [esi + 0x288]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00415d95
add dword [ebp + 8], 0x32
inc edi
cmp edi, dword [esi + 0x284]
jl 0x403ab8
lea ecx, [ebp - 0x8c]
call fcn.00415c5d
lea ecx, [ebp - 0x8c]
call fcn.00415b71
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4