Function at 0x4030e8
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.00403fb1
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
push str.HSTools
call fcn.00417448
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0x8c], eax
je 0x4032c8
call fcn.00409eaa
push eax
push 0
lea ecx, [ebp - 0x88]
call fcn.00417686
push dword [esi + 0x5c]
lea ecx, [ebp - 0x88]
push str.NoBeep
call fcn.0041758c
push dword [esi + 0x4a4]
lea ecx, [ebp - 0x88]
push str.ListGet
call fcn.0041758c
push dword [esi + 0x4a8]
lea ecx, [ebp - 0x88]
push str.ListGetMSec
call fcn.0041758c
push dword [esi + 0x4ac]
lea ecx, [ebp - 0x88]
push str.RetryMSec2
call fcn.0041758c
push dword [esi + 0x4b0]
lea ecx, [ebp - 0x88]
push str.RetryMax
call fcn.0041758c
mov edi, dword [sym.imp.KERNEL32.dll_GetVersion]
call edi
cmp al, 4
jb 0x4031c8
call edi
cmp eax, 0x80000000
mov eax, str.RecvMaxNT
jb 0x4031cd
mov eax, str.RecvMax95
push dword [esi + 0x4b4]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041758c
push dword [esi + 0x58]
lea ecx, [ebp - 0x88]
push str.NoErase
call fcn.0041758c
push dword [esi + 0x924]
lea ecx, [ebp - 0x88]
push str.Debug
call fcn.0041758c
push dword [esi + 0x4c]
lea ecx, [ebp - 0x88]
push str.NoPopup
call fcn.0041758c
push dword [esi + 0x54]
lea ecx, [ebp - 0x88]
push str.OpenCheck
call fcn.0041758c
push dword [esi + 0x418]
lea ecx, [ebp - 0x88]
push str.AllowSendList
call fcn.0041758c
push dword [esi + 0x41c]
lea ecx, [ebp - 0x88]
push str.FileTransOpt
call fcn.0041758c
push dword [esi + 0x420]
lea ecx, [ebp - 0x88]
push str.ResolveOpt
call fcn.0041758c
push dword [esi + 0x424]
lea ecx, [ebp - 0x88]
push str.EncryptNum
call fcn.0041758c
push dword [esi + 0x428]
lea ecx, [ebp - 0x88]
push str.ViewMax
call fcn.0041758c
push dword [esi + 0x42c]
lea ecx, [ebp - 0x88]
push str.TransMax
call fcn.0041758c
push dword [esi + 0x430]
lea ecx, [ebp - 0x88]
push str.TcpbufMax
call fcn.0041758c
test byte [ebp + 8], 2
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4033e4
push dword [esi + 0x378]
lea ecx, [ebp - 0x88]
push str.AbsenceSave
call fcn.0041758c
push dword [esi + 0x37c]
lea ecx, [ebp - 0x88]
push str.AbsenceCheck
call fcn.0041758c
push dword [esi + 0x380]
lea ecx, [ebp - 0x88]
push str.AbsenceMax
call fcn.0041758c
push 1
push str.AbsenceStr
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x4033d9
xor eax, eax
cmp dword [esi + 0x380], eax
mov dword [ebp - 4], eax
jle 0x4033d9
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 + 0x388]
add esp, 0x10
add eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00417686
push dword [ebp - 4]
lea eax, [ebp - 0x25c]
push str.AbsenceHead
push edi
push eax
call ebx
mov eax, dword [esi + 0x38c]
add esp, 0x10
add eax, dword [ebp - 8]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00417686
inc dword [ebp - 4]
add dword [ebp - 0x90], 0x104
mov eax, dword [ebp - 4]
add dword [ebp - 8], 0x32
cmp eax, dword [esi + 0x380]
jl 0x403354
lea ecx, [ebp - 0x88]
call fcn.0041754e
cmp dword [ebp - 0x8c], 0
je 0x40376c
lea eax, [esi + 0xa7c]
lea ecx, [ebp - 0x88]
push eax
push str.PasswordStr
call fcn.00417686
push dword [esi + 0xab0]
lea ecx, [ebp - 0x88]
push str.PasswdLogCheck
call fcn.0041758c
push dword [esi + 0x64]
lea ecx, [ebp - 0x88]
push str.DelayTime
call fcn.0041758c
push dword [esi + 0x3e0]
lea ecx, [ebp - 0x88]
push str.QuoteCheck
call fcn.0041758c
push dword [esi + 0x3e4]
lea ecx, [ebp - 0x88]
push str.IllBeBack
call fcn.0041758c
push dword [esi + 0x3e8]
lea ecx, [ebp - 0x88]
push str.LogOpenMsg
call fcn.0041758c
push dword [esi + 0x3ec]
lea ecx, [ebp - 0x88]
push str.AutoAbsenceCheck
call fcn.0041758c
push dword [esi + 0x3f0]
lea ecx, [ebp - 0x88]
push str.SecretCheck
call fcn.0041758c
push dword [esi + 0x3f4]
lea ecx, [ebp - 0x88]
push str.IPAddrCheck
call fcn.0041758c
push dword [esi + 0x60]
lea ecx, [ebp - 0x88]
push str.OneClickPopup
call fcn.0041758c
push dword [esi + 0x49c]
lea ecx, [ebp - 0x88]
push str.AbnormalButton
call fcn.0041758c
push dword [esi + 0xac0]
lea ecx, [ebp - 0x88]
push str.DialUpCheck
call fcn.0041758c
push dword [esi + 0x434]
lea ecx, [ebp - 0x88]
push str.NickNameCheck
call fcn.0041758c
push dword [esi + 0x4a0]
lea ecx, [ebp - 0x88]
push str.AbsenceNonPopup
call fcn.0041758c
lea eax, [esi + 0x438]
lea ecx, [ebp - 0x88]
push eax
push str.NickNameStr
call fcn.00417686
lea eax, [esi + 0x46a]
lea ecx, [ebp - 0x88]
push eax
push str.GroupNameStr
call fcn.00417686
lea eax, [esi + 0x4b8]
lea ecx, [ebp - 0x88]
push eax
push str.Lang
call fcn.00417686
push dword [esi + 0x8d4]
lea ecx, [ebp - 0x88]
push str.Sort
call fcn.0041760d
push dword [esi + 0x8d8]
lea ecx, [ebp - 0x88]
push str.UpdateTime
call fcn.0041758c
push dword [esi + 0x8dc]
push str.KeepHostTime
lea ecx, [ebp - 0x88]
call fcn.0041758c
push dword [esi + 0x8e0]
lea ecx, [ebp - 0x88]
push str.MsgMinimize
call fcn.0041758c
push dword [esi + 0x8ec]
lea ecx, [ebp - 0x88]
push str.ExtendEntry
call fcn.0041758c
push dword [esi + 0x40c]
lea ecx, [ebp - 0x88]
push str.ControlIME
call fcn.0041758c
push dword [esi + 0x410]
lea ecx, [ebp - 0x88]
push str.GlidLine
call fcn.0041758c
push dword [esi + 0x414]
lea ecx, [ebp - 0x88]
push str.ColumnItems
call fcn.0041758c
lea eax, [esi + 0x8f0]
lea ecx, [ebp - 0x88]
push eax
push str.QuoteStr
call fcn.00417686
push 1
push str.HotKey
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x4036bb
push dword [esi + 0x3f8]
lea ecx, [ebp - 0x88]
push str.HotKeyCheck
call fcn.0041758c
push dword [esi + 0x3fc]
lea ecx, [ebp - 0x88]
push str.HotKeyModify
call fcn.0041758c
push dword [esi + 0x400]
lea ecx, [ebp - 0x88]
push str.HotKeySend
call fcn.0041758c
push dword [esi + 0x404]
lea ecx, [ebp - 0x88]
push str.HotKeyRecv
call fcn.0041758c
push dword [esi + 0x408]
lea ecx, [ebp - 0x88]
push str.HotKeyMisc
call fcn.0041758c
lea ecx, [ebp - 0x88]
call fcn.0041754e
push dword [esi + 0x68]
lea ecx, [ebp - 0x88]
push str.LogCheck
call fcn.0041758c
lea eax, [esi + 0x6c]
lea ecx, [ebp - 0x88]
push eax
push str.LogFile
call fcn.00417686
lea eax, [esi + 0x170]
lea ecx, [ebp - 0x88]
push eax
push str.LogViewer
call fcn.00417686
lea eax, [esi + 0x274]
lea ecx, [ebp - 0x88]
push eax
push str.SoundFile
call fcn.00417686
lea eax, [esi + 0x4c2]
lea ecx, [ebp - 0x88]
push eax
push str.Icon
call fcn.00417686
lea eax, [esi + 0x5c6]
lea ecx, [ebp - 0x88]
push eax
push str.RevIcon
call fcn.00417686
lea eax, [esi + 0x7ce]
lea ecx, [ebp - 0x88]
push eax
push str.lastOpen
call fcn.00417686
lea eax, [esi + 0x6ca]
lea ecx, [ebp - 0x88]
push eax
push str.lastSave
call fcn.00417686
test byte [ebp + 8], 4
je 0x403986
push 1
push str.WindowSize
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403986
push dword [esi + 0x928]
lea ecx, [ebp - 0x88]
push str.SendNickName
call fcn.0041758c
push dword [esi + 0x93c]
lea ecx, [ebp - 0x88]
push str.SendUserName
call fcn.0041758c
push dword [esi + 0x92c]
lea ecx, [ebp - 0x88]
push str.SendAbsence
call fcn.0041758c
push dword [esi + 0x940]
lea ecx, [ebp - 0x88]
push str.SendPriority
call fcn.0041758c
push dword [esi + 0x930]
lea ecx, [ebp - 0x88]
push str.SendGroupName
call fcn.0041758c
push dword [esi + 0x934]
lea ecx, [ebp - 0x88]
push str.SendHostName
call fcn.0041758c
push dword [esi + 0x938]
lea ecx, [ebp - 0x88]
push str.SendIPAddr
call fcn.0041758c
push 1
push str.SendOrder
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403889
and dword [ebp - 4], 0
lea edi, [esi + 0x944]
push dword [ebp - 4]
lea eax, [ebp - 0x158]
push 0x422648
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x158]
push dword [edi]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041758c
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], 7
jl 0x40384a
lea ecx, [ebp - 0x88]
call fcn.0041754e
push dword [esi + 0x960]
lea ecx, [ebp - 0x88]
push str.SendXdiff
call fcn.0041758c
push dword [esi + 0x964]
lea ecx, [ebp - 0x88]
push str.SendYdiff
call fcn.0041758c
push dword [esi + 0x968]
lea ecx, [ebp - 0x88]
push str.SendMidYdiff
call fcn.0041758c
push dword [esi + 0x96c]
lea ecx, [ebp - 0x88]
push str.SendSavePos
call fcn.0041758c
push dword [esi + 0x970]
lea ecx, [ebp - 0x88]
push str.SendXpos
call fcn.0041758c
push dword [esi + 0x974]
lea ecx, [ebp - 0x88]
push str.SendYpos
call fcn.0041758c
push dword [esi + 0x978]
lea ecx, [ebp - 0x88]
push str.RecvXdiff
call fcn.0041758c
push dword [esi + 0x97c]
lea ecx, [ebp - 0x88]
push str.RecvYdiff
call fcn.0041758c
push dword [esi + 0x980]
lea ecx, [ebp - 0x88]
push str.RecvSavePos
call fcn.0041758c
push dword [esi + 0x984]
lea ecx, [ebp - 0x88]
push str.RecvXpos
call fcn.0041758c
push dword [esi + 0x988]
lea ecx, [ebp - 0x88]
push str.RecvYpos
call fcn.0041758c
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 8], 8
je 0x403a19
push 1
push str.Fonts
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403a19
lea eax, [esi + 0x98c]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.SendEdit
push eax
call fcn.00403ea1
lea eax, [esi + 0x9c8]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.SendListView
push eax
call fcn.00403ea1
lea eax, [esi + 0xa04]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.RecvHead
push eax
call fcn.00403ea1
lea eax, [esi + 0xa40]
mov ecx, esi
push eax
lea eax, [ebp - 0x88]
push str.RecvEdit
push eax
call fcn.00403ea1
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 8], 0x10
je 0x403af2
push 1
push str.BroadCast
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403af2
mov eax, dword [esi + 0xad0]
and dword [ebp - 4], 0
lea edi, [esi + 0xad0]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x403a95
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x422648
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.00417686
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
jmp 0x403a52
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x158]
push 0x422648
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.00417631
cmp eax, 1
jne 0x403ae7
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
call fcn.00417725
cmp eax, 1
je 0x403a95
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 8], 0x20
je 0x403b8a
push dword [esi + 0x8e4]
lea ecx, [ebp - 0x88]
push str.DefaultUrl
call fcn.0041758c
push dword [esi + 0x8e8]
lea ecx, [ebp - 0x88]
push str.ShellExec
call fcn.0041758c
push 1
push str.ClickableUrl
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403b8a
mov eax, dword [esi + 0xab4]
lea edi, [esi + 0xab4]
mov ecx, edi
call dword [eax + 4]
test eax, eax
mov dword [ebp - 8], eax
je 0x403b7f
jmp 0x403b5b
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x3a]
add eax, 8
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00417686
mov eax, dword [edi]
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 8]
test eax, eax
mov dword [ebp - 8], eax
jne 0x403b58
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 8], 0x40
je 0x403bd7
push 1
push str.Priority
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403bd7
push dword [esi + 0x38]
lea ecx, [ebp - 0x88]
push str.PriorityMax
call fcn.0041758c
push dword [esi + 0x3c]
lea ecx, [ebp - 0x88]
push str.PriorityReject
call fcn.0041758c
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 9], 0x10
je 0x403d68
push 1
push str.HostInfo
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403d68
call fcn.0040c77e
test byte [ebp + 9], 0x20
mov dword [ebp - 0x8c], eax
je 0x403c19
push 0
lea ecx, [ebp - 0x88]
call fcn.00417791
and dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jle 0x403d5d
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 [edi + 0xd4]
add esp, 0x10
add eax, dword [esi + 0x8dc]
cmp eax, dword [ebp - 0x8c]
jl 0x403d36
cmp dword [edi + 0xd8], 0xa
je 0x403d36
lea eax, [ebp - 0x158]
push 1
push eax
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403d4e
push edi
push str.UserName
lea ecx, [ebp - 0x88]
call fcn.00417686
lea eax, [edi + 0x32]
lea ecx, [ebp - 0x88]
push eax
push str.HostName
call fcn.00417686
push dword [edi + 0x64]
lea ecx, [ebp - 0x88]
push str.IPAddr
call fcn.0041760d
push dword [edi + 0x68]
lea ecx, [ebp - 0x88]
push str.PortNo
call fcn.0041758c
lea eax, [edi + 0x6c]
lea ecx, [ebp - 0x88]
push eax
push str.NickName
call fcn.00417686
lea eax, [edi + 0x9e]
lea ecx, [ebp - 0x88]
push eax
push str.GroupName
call fcn.00417686
push dword [edi + 0xd8]
lea ecx, [ebp - 0x88]
push str.Priority
call fcn.0041758c
push dword [edi + 0xd4]
lea ecx, [ebp - 0x88]
push str.UpdateTime
call fcn.0041760d
lea ecx, [ebp - 0x88]
call fcn.0041754e
jmp 0x403d4e
test byte [ebp + 9], 0x40
je 0x403d4e
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x88]
push eax
call fcn.00417791
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0xc]
jl 0x403c27
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 8], 0x80
je 0x403e07
push 1
push str.FindStr
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403e07
push dword [esi + 0x390]
lea ecx, [ebp - 0x88]
push str.FindMax2
call fcn.0041758c
push dword [esi + 0x398]
lea ecx, [ebp - 0x88]
push str.FindAll
call fcn.0041758c
xor edi, edi
cmp dword [esi + 0x390], edi
jle 0x403dfc
and dword [ebp - 8], edi
push edi
lea eax, [ebp - 0x25c]
push 0x422648
push eax
call ebx
mov eax, dword [esi + 0x394]
add esp, 0xc
add eax, dword [ebp - 8]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00417686
add dword [ebp - 8], 0x32
inc edi
cmp edi, dword [esi + 0x390]
jl 0x403dc1
lea ecx, [ebp - 0x88]
call fcn.0041754e
test byte [ebp + 9], 0x80
pop ebx
je 0x403e8d
cmp dword [esi + 0x3c8], 0
lea edi, [esi + 0x3c8]
je 0x403e8d
push 1
push str.Crypt
lea ecx, [ebp - 0x88]
call fcn.004174e5
test eax, eax
je 0x403e8d
push dword [esi + 0x3cc]
lea ecx, [ebp - 0x88]
push dword [edi]
push str.PrivBlob
call fcn.004176e7
mov eax, dword [esi + 0x3d4]
test eax, eax
je 0x403e6c
push dword [esi + 0x3d8]
lea ecx, [ebp - 0x88]
push eax
push str.PrivEncryptSeed
call fcn.004176e7
push dword [esi + 0x3d0]
lea ecx, [ebp - 0x88]
push str.PrivEncryptType
call fcn.0041758c
lea ecx, [ebp - 0x88]
call fcn.0041754e
lea ecx, [ebp - 0x88]
call fcn.00417462
push 1
pop eax
pop edi
pop esi
leave
ret 4