Function at 0x40e3c3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
push esi
mov eax, dword [ecx + 0x44]
push edi
mov esi, ecx
push eax
push str.IPMsgEng
cmp eax, 0x979
mov eax, 0x41d8d8
je 0x40e3eb
mov eax, str._s_d
push eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x84]
push eax
push str.HSTools
call fcn.00409773
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 4], eax
je 0x40e54e
call fcn.0041791a
push eax
lea ecx, [ebp - 0x84]
push 0
call fcn.004099f1
push dword [esi + 0x54]
push str.NoBeep
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x35c]
push str.ListGet
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x360]
push str.ListGetMSec
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x364]
push str.RetryMSec2
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x368]
push str.RetryMax
lea ecx, [ebp - 0x84]
call fcn.004098e6
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40e4bc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
mov eax, str.RecvMaxNT
jb 0x40e4c1
mov eax, str.RecvMax95
push dword [esi + 0x36c]
push eax
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x50]
push str.NoErase
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7dc]
push str.Debug
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x48]
push str.NoPopup
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x4c]
push str.OpenCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2e4]
push str.AllowSendList
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2e8]
push str.FileTransOpt
lea ecx, [ebp - 0x84]
call fcn.004098e6
test byte [ebp + 8], 2
je 0x40e666
push dword [esi + 0x26c]
push str.AbsenceSave
lea ecx, [ebp - 0x84]
lea edi, [esi + 0x274]
call fcn.004098e6
push dword [esi + 0x270]
push str.AbsenceCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [edi]
push str.AbsenceMax
lea ecx, [ebp - 0x84]
call fcn.004098e6
push 1
lea ecx, [ebp - 0x84]
push str.AbsenceStr
call fcn.0040981f
cmp eax, 1
jne 0x40e65b
xor ebx, ebx
cmp dword [edi], ebx
jle 0x40e65b
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x154], ebx
push ebx
lea eax, [ebp - 0x358]
push str.AbsenceStr
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x27c]
add eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x358]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.004099f1
push ebx
lea ecx, [ebp - 0x358]
push str.AbsenceHead
inc ebx
push str._s_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x358]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.004099f1
add dword [ebp - 0x88], 0x32
add dword [ebp - 0x154], 0x104
cmp dword [edi], ebx
jg 0x40e5cd
lea ecx, [ebp - 0x84]
call fcn.00409899
cmp dword [ebp - 4], 0
je 0x40e993
lea eax, [esi + 0x934]
lea ecx, [ebp - 0x84]
push eax
push str.PasswordStr
call fcn.004099f1
push dword [esi + 0x968]
push str.PasswdLogCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x5c]
push str.DelayTime
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2b8]
push str.QuoteCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2bc]
push str.SecretCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2c0]
push str.IPAddrCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x58]
push str.OneClickPopup
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x354]
push str.AbnormalButton
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x984]
push str.DialUpCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2ec]
push str.NickNameCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x358]
push str.AbsenceNonPopup
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea eax, [esi + 0x2f0]
lea ecx, [ebp - 0x84]
push eax
push str.NickNameStr
call fcn.004099f1
lea eax, [esi + 0x322]
lea ecx, [ebp - 0x84]
push eax
push str.GroupNameStr
call fcn.004099f1
lea eax, [esi + 0x370]
lea ecx, [ebp - 0x84]
push eax
push str.Lang
call fcn.004099f1
push dword [esi + 0x78c]
push str.Sort
lea ecx, [ebp - 0x84]
call fcn.00409970
push dword [esi + 0x790]
push str.UpdateTime
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x794]
push str.KeepHostTime
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x798]
push str.MsgMinimize
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7a4]
push str.ExtendEntry
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2d8]
push str.ControlIME
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2dc]
push str.GlidLine
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2e0]
push str.ColumnItems
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea eax, [esi + 0x7a8]
lea ecx, [ebp - 0x84]
push eax
push 0x41e42c
call fcn.004099f1
push 1
lea ecx, [ebp - 0x84]
push str.HotKey
call fcn.0040981f
cmp eax, 1
jne 0x40e8f9
push dword [esi + 0x2c4]
push str.HotKeyCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2c8]
push str.HotKeyModify
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2cc]
push str.HotKeySend
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2d0]
push str.HotKeyRecv
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x2d4]
push str.HotKeyMisc
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea ecx, [ebp - 0x84]
call fcn.00409899
push dword [esi + 0x60]
push str.LogCheck
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x84]
push eax
push 0x41e3d0
call fcn.004099f1
lea eax, [esi + 0x168]
lea ecx, [ebp - 0x84]
push eax
push str.SoundFile
call fcn.004099f1
lea eax, [esi + 0x37a]
lea ecx, [ebp - 0x84]
push eax
push 0x41e3bc
call fcn.004099f1
lea eax, [esi + 0x47e]
lea ecx, [ebp - 0x84]
push eax
push 0x41e3b4
call fcn.004099f1
lea eax, [esi + 0x686]
lea ecx, [ebp - 0x84]
push eax
push str.lastOpen
call fcn.004099f1
lea eax, [esi + 0x582]
lea ecx, [ebp - 0x84]
push eax
push str.lastSave
call fcn.004099f1
test byte [ebp + 8], 4
je 0x40ebff
push 1
lea ecx, [ebp - 0x84]
push str.WindowSize
call fcn.0040981f
cmp eax, 1
jne 0x40ebff
push dword [esi + 0x7e0]
push str.SendNickName
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7f4]
push str.SendUserName
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7e4]
push str.SendAbsence
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7f8]
push str.SendPriority
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7e8]
push str.SendGroupName
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7ec]
push str.SendHostName
lea ecx, [ebp - 0x84]
xor ebx, ebx
call fcn.004098e6
push dword [esi + 0x7f0]
push str.SendIPAddr
lea ecx, [ebp - 0x84]
call fcn.004098e6
mov edx, dword [esi + ebx*4 + 0x7fc]
cmp edx, 7
jge 0x40ea8e
test edx, edx
jl 0x40ea8e
lea eax, [ebx + 1]
mov ecx, eax
cmp eax, 7
jge 0x40ea82
lea edi, [esi + eax*4 + 0x7fc]
cmp dword [edi], edx
je 0x40ea82
add edi, 4
inc ecx
cmp ecx, 7
jl 0x40ea75
cmp ecx, 7
jne 0x40ea8e
mov ebx, eax
cmp eax, 7
jl 0x40ea54
cmp ebx, 7
je 0x40eaa9
push 0
push 0x41d23c
push str.Illegal_order
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40eb02
push 1
lea ecx, [ebp - 0x84]
push str.SendOrder
call fcn.0040981f
cmp eax, 1
jne 0x40eb02
xor edi, edi
push edi
lea eax, [ebp - 0x150]
push 0x41d2e8
inc edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x150]
push dword [esi + edi*4 + 0x7f8]
push ecx
lea ecx, [ebp - 0x84]
call fcn.004098e6
cmp edi, 7
jl 0x40eac2
lea ecx, [ebp - 0x84]
call fcn.00409899
push dword [esi + 0x818]
push str.SendXdiff
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x81c]
push str.SendYdiff
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x820]
push str.SendMidYdiff
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x824]
push str.SendSavePos
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x828]
push str.SendXpos
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x82c]
push str.SendYpos
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x830]
push str.RecvXdiff
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x834]
push str.RecvYdiff
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x838]
push str.RecvSavePos
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x83c]
push str.RecvXpos
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x840]
push str.RecvYpos
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 8], 8
je 0x40ec93
push 1
lea ecx, [ebp - 0x84]
push str.Fonts
call fcn.0040981f
cmp eax, 1
jne 0x40ec93
lea eax, [esi + 0x844]
lea ecx, [ebp - 0x84]
push eax
push str.SendEdit
push ecx
mov ecx, esi
call fcn.0040f0c4
lea ecx, [esi + 0x880]
lea edx, [ebp - 0x84]
push ecx
push str.SendListView
push edx
mov ecx, esi
call fcn.0040f0c4
lea ecx, [esi + 0x8bc]
lea edx, [ebp - 0x84]
push ecx
push str.RecvHead
push edx
mov ecx, esi
call fcn.0040f0c4
lea ecx, [esi + 0x8f8]
lea edx, [ebp - 0x84]
push ecx
push str.RecvEdit
push edx
mov ecx, esi
call fcn.0040f0c4
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 8], 0x10
je 0x40ed9a
push 1
lea ecx, [ebp - 0x84]
push str.BroadCast
call fcn.0040981f
cmp eax, 1
jne 0x40ed9a
mov dword [ebp - 4], 0
lea ebx, [esi + 0x96c]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x40ed39
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x150]
push eax
inc dword [ebp - 4]
push 0x41d2e8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [edi + 8]
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.00417c10
add esp, 8
lea ecx, [ebp - 0x420]
lea edx, [ebp - 0x150]
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.004099f1
push edi
mov ecx, ebx
call dword [ebp - 0x154]
mov edi, eax
test edi, edi
jne 0x40ecdd
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x150]
push eax
inc dword [ebp - 4]
push 0x41d2e8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x420]
lea edx, [ebp - 0x150]
push 0xc8
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.00409996
cmp eax, 1
jne 0x40ed8f
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x84]
push eax
call fcn.00409a41
cmp eax, 1
je 0x40ed39
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 8], 0x20
je 0x40ee2c
push dword [esi + 0x79c]
push str.DefaultUrl
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x7a0]
push str.ShellExec
lea ecx, [ebp - 0x84]
call fcn.004098e6
push 1
lea ecx, [ebp - 0x84]
push str.ClickableUrl
call fcn.0040981f
cmp eax, 1
jne 0x40ee2c
lea ebx, [esi + 0x978]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x40ee21
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
lea eax, [edi + 0x3a]
lea ecx, [edi + 8]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.004099f1
push edi
mov ecx, ebx
call dword [ebp - 4]
mov edi, eax
test edi, edi
jne 0x40ee02
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 8], 0x40
je 0x40ee7a
push 1
lea ecx, [ebp - 0x84]
push str.Priority
call fcn.0040981f
cmp eax, 1
jne 0x40ee7a
push dword [esi + 0x38]
push str.PriorityMax
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [esi + 0x3c]
push str.PriorityReject
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 9], 0x10
je 0x40f00d
push 1
lea ecx, [ebp - 0x84]
push str.HostInfo
call fcn.0040981f
cmp eax, 1
jne 0x40f00d
call fcn.0040c4bf
test byte [ebp + 9], 0x20
mov dword [ebp - 0x154], eax
je 0x40eebd
push 0
lea ecx, [ebp - 0x84]
call fcn.00409ab3
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
cmp dword [esi + 0xc], eax
jle 0x40f002
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x150]
mov ebx, dword [eax + edi]
lea eax, [ebx + 0x32]
push eax
push ebx
push str._s:_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x794]
add eax, dword [ebx + 0xd4]
cmp eax, dword [ebp - 0x154]
jl 0x40efdf
cmp dword [ebx + 0xd8], 0xa
je 0x40efdf
push 1
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040981f
cmp eax, 1
jne 0x40eff7
push ebx
lea ecx, [ebp - 0x84]
push str.UserName
call fcn.004099f1
lea eax, [ebx + 0x32]
lea ecx, [ebp - 0x84]
push eax
push str.HostName
call fcn.004099f1
push dword [ebx + 0x64]
push str.IPAddr
lea ecx, [ebp - 0x84]
call fcn.00409970
push dword [ebx + 0x68]
push str.PortNo
lea ecx, [ebp - 0x84]
call fcn.004098e6
lea ecx, [ebx + 0x6c]
push ecx
push str.NickName
lea ecx, [ebp - 0x84]
call fcn.004099f1
lea ecx, [ebx + 0x9e]
push ecx
push str.GroupName
lea ecx, [ebp - 0x84]
call fcn.004099f1
push dword [ebx + 0xd8]
push str.Priority
lea ecx, [ebp - 0x84]
call fcn.004098e6
push dword [ebx + 0xd4]
push str.UpdateTime
lea ecx, [ebp - 0x84]
call fcn.00409970
lea ecx, [ebp - 0x84]
call fcn.00409899
jmp 0x40eff7
test byte [ebp + 9], 0x40
je 0x40eff7
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x84]
push eax
call fcn.00409ab3
add edi, 4
inc dword [ebp - 4]
jmp 0x40eec2
lea ecx, [ebp - 0x84]
call fcn.00409899
test byte [ebp + 8], 0x80
je 0x40f0ab
push 1
lea ecx, [ebp - 0x84]
push str.FindStr
call fcn.0040981f
cmp eax, 1
jne 0x40f0ab
lea edi, [esi + 0x284]
lea ecx, [ebp - 0x84]
push dword [edi]
push str.FindMax2
xor ebx, ebx
call fcn.004098e6
push dword [esi + 0x28c]
push str.FindAll
lea ecx, [ebp - 0x84]
call fcn.004098e6
cmp dword [edi], ebx
jle 0x40f0a0
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x254]
push 0x41d2e8
inc ebx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esi + 0x288]
add eax, dword [ebp - 4]
lea ecx, [ebp - 0x254]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.004099f1
add dword [ebp - 4], 0x32
cmp dword [edi], ebx
jg 0x40f065
lea ecx, [ebp - 0x84]
call fcn.00409899
lea ecx, [ebp - 0x84]
call fcn.00409790
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4