Function at 0x40d088
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
push ebx
lea edx, [ebp - 0x150]
push esi
push edi
push dword [ecx + 0x48]
push dword [ecx + 0x44]
mov esi, ecx
mov edi, str.HSTools
push edx
call fcn.0040f55c
lea ecx, [ebp - 0x150]
mov ebx, str.NoPopup
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.004096fc
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x88]
push eax
push ebx
call fcn.00409841
cmp eax, 1
je 0x40d126
push dword [esi + 0x48]
push 0
lea ecx, [ebp - 0x150]
push ecx
mov ecx, esi
call fcn.0040f55c
lea ecx, [ebp - 0x150]
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.00409731
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x88]
push eax
push ebx
call fcn.00409841
cmp eax, 1
je 0x40d126
push str.IPMsgEng
lea ecx, [ebp - 0x88]
push edi
call fcn.00409731
mov dword [esi + 0x2ec], 0x53
mov dword [esi + 0x2f0], 0x52
mov dword [esi + 0x2f4], 0x44
mov dword [esi + 0x394], 0xbb8
mov dword [esi + 0x398], 0x5dc
xor eax, eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x390], eax
mov dword [esi + 0x2e4], eax
mov eax, 3
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x39c], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40d19d
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40d19d
mov dword [esi + 0x3a0], 0x64
jmp 0x40d1a7
mov dword [esi + 0x3a0], 0x1e
xor ecx, ecx
mov eax, 1
mov dword [esi + 0x54], ecx
mov dword [esi + 0x810], ecx
lea edi, [esi + 0x278]
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x270], ecx
mov dword [esi + 0x274], ecx
mov dword [edi], 8
mov dword [esi + 0x27c], ecx
mov dword [esi + 0x290], ecx
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2dc], ecx
mov dword [esi + 0x2e0], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x388], ecx
mov dword [esi + 0x9ac], ecx
mov dword [esi + 0x320], eax
mov byte [esi + 0x324], cl
mov byte [esi + 0x356], cl
mov dword [esi + 0x38c], eax
mov dword [esi + 0x288], 0xc
mov dword [esi + 0x7c0], ecx
mov dword [esi + 0x7cc], ecx
mov dword [esi + 0x7d0], eax
mov dword [esi + 0x7d4], ecx
mov dword [esi + 0x7d8], eax
mov dword [esi + 0x2f8], ecx
mov dword [esi + 0x60], 0x1f4
mov dword [esi + 0x2fc], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x304], eax
mov dword [esi + 0x308], ecx
mov dword [esi + 0x7c4], 0xa
mov dword [esi + 0x7c8], 0xed4e00
mov dword [esi + 0x38], 5
mov dword [esi + 0x310], 0x14
mov dword [esi + 0x30c], ecx
mov dword [esi + 0x2c4], ecx
mov dword [esi + 0x2d4], ecx
mov dword [esi + 0x2a8], ecx
mov dword [esi + 0x314], 0x800000
mov dword [esi + 0x318], 0x10000
mov dword [esi + 0x31c], 0x40000
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x40d2e2
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40d2e2
mov dword [esi + 0x2c8], 2
jmp 0x40d2ec
mov dword [esi + 0x2c8], 3
xor ebx, ebx
push 0x32
push 0x41e6ec
lea eax, [esi + 0x7dc]
push eax
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2d0], ebx
call fcn.0040b640
mov dword [esi + 0x814], 0x61
mov dword [esi + 0x818], 0x10
mov dword [esi + 0x81c], 0x58
mov dword [esi + 0x820], 0x3a
add esp, 0xc
mov eax, dword [esi + 0x300]
mov dword [esi + 0x824], 0x6e
mov dword [esi + 0x828], 0x5a
mov dword [esi + 0x82c], 0x15
or al, 1
mov dword [esi + 0x300], eax
or al, 4
mov dword [esi + 0x300], eax
or al, 8
mov dword [esi + 0x300], eax
mov dword [esi + ebx*4 + 0x830], ebx
inc ebx
cmp ebx, 7
jl 0x40d374
xor ebx, ebx
mov dword [esi + 0x84c], ebx
mov dword [esi + 0x850], ebx
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], ebx
mov dword [esi + 0x85c], ebx
mov dword [esi + 0x860], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov dword [esi + 0x86c], ebx
mov dword [esi + 0x870], ebx
push 0x104
lea eax, [esi + 0x68]
push str.ipmsg.log
mov dword [esi + 0x874], ebx
push eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x99c], ebx
call fcn.0040b640
add esp, 0xc
mov byte [esi + 0x16c], bl
mov byte [esi + 0x3ae], bl
mov byte [esi + 0x4b2], bl
push 0x3c
lea eax, [esi + 0x878]
push ebx
mov byte [esi + 0x6ba], bl
push eax
mov byte [esi + 0x5b6], bl
call fcn.00418610
add esp, 0xc
lea eax, [esi + 0x8b4]
push 0x3c
push ebx
push eax
call fcn.00418610
add esp, 0xc
lea eax, [esi + 0x8f0]
push 0x3c
push ebx
push eax
call fcn.00418610
add esp, 0xc
lea eax, [esi + 0x92c]
push 0x3c
push ebx
push eax
call fcn.00418610
add esp, 0xc
lea eax, [esi + 0x58]
lea ecx, [ebp - 0x88]
push eax
push str.NoBeep
call fcn.00409841
lea eax, [esi + 0x390]
lea ecx, [ebp - 0x88]
push eax
push str.ListGet
call fcn.00409841
lea eax, [esi + 0x394]
push eax
push str.ListGetMSec
lea ecx, [ebp - 0x88]
call fcn.00409841
lea eax, [esi + 0x398]
lea ecx, [ebp - 0x88]
push eax
push str.RetryMSec2
call fcn.00409841
lea eax, [esi + 0x39c]
lea ecx, [ebp - 0x88]
push eax
push str.RetryMax
call fcn.00409841
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40d4d6
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, str.RecvMaxNT
cmp eax, 0x80000000
jb 0x40d4db
mov ecx, str.RecvMax95
lea eax, [esi + 0x3a0]
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00409841
lea eax, [esi + 0x54]
lea ecx, [ebp - 0x88]
push eax
push str.NoErase
call fcn.00409841
lea eax, [esi + 0x810]
lea ecx, [ebp - 0x88]
push eax
push str.Debug
call fcn.00409841
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x88]
push eax
push str.NoPopup
call fcn.00409841
lea eax, [esi + 0x50]
lea ecx, [ebp - 0x88]
push eax
push str.OpenCheck
call fcn.00409841
lea eax, [esi + 0x270]
lea ecx, [ebp - 0x88]
push eax
push str.AbsenceSave
call fcn.00409841
cmp dword [esi + 0x270], 0
je 0x40d578
lea eax, [esi + 0x274]
lea ecx, [ebp - 0x88]
push eax
push str.AbsenceCheck
call fcn.00409841
push edi
lea ecx, [ebp - 0x88]
push str.AbsenceMax
call fcn.00409841
lea eax, [esi + 0x304]
lea ecx, [ebp - 0x88]
push eax
push str.AllowSendList
call fcn.00409841
lea eax, [esi + 0x308]
lea ecx, [ebp - 0x88]
push eax
push str.FileTransOpt
call fcn.00409841
lea eax, [esi + 0x30c]
lea ecx, [ebp - 0x88]
push eax
push str.ResolveOpt
call fcn.00409841
lea eax, [esi + 0x310]
lea ecx, [ebp - 0x88]
push eax
push str.EncryptNum
call fcn.00409841
lea eax, [esi + 0x314]
lea ecx, [ebp - 0x88]
push eax
push str.ViewMax
call fcn.00409841
cmp dword [esi + 0x314], 0x100000
jge 0x40d612
mov dword [esi + 0x314], 0x800000
lea eax, [esi + 0x318]
lea ecx, [ebp - 0x88]
push eax
push str.TransMax
call fcn.00409841
cmp dword [esi + 0x318], 0x2000
jge 0x40d63f
mov dword [esi + 0x318], 0x10000
lea eax, [esi + 0x31c]
lea ecx, [ebp - 0x88]
push eax
push str.TcpbufMax
call fcn.00409841
cmp dword [esi + 0x31c], 0x2000
jge 0x40d66c
mov dword [esi + 0x31c], 0x40000
mov eax, dword [edi]
imul eax, eax, 0x104
push eax
call fcn.004188d0
add esp, 4
xor ebx, ebx
mov dword [esi + 0x280], eax
mov eax, dword [edi]
imul eax, eax, 0x104
push eax
push ebx
push dword [esi + 0x280]
call fcn.00418610
add esp, 0xc
lea ecx, [ebp - 0x88]
push 0x104
push dword [esi + 0x280]
push str.AbsenceStr
call fcn.0040991f
mov eax, dword [edi]
imul eax, eax, 0x32
push eax
call fcn.004188d0
add esp, 4
mov dword [esi + 0x284], eax
mov eax, dword [edi]
imul eax, eax, 0x32
push eax
push ebx
push dword [esi + 0x284]
call fcn.00418610
add esp, 0xc
lea ecx, [ebp - 0x88]
push 1
push str.AbsenceStr
call fcn.004097a8
test eax, eax
je 0x40d821
mov dword [ebp - 0x154], ebx
cmp dword [edi], ebx
jle 0x40d816
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x154]
push str.AbsenceStr
push str._s_d
lea ecx, [ebp - 0x654]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 4]
lea ecx, [ebp - 0x654]
push 0x104
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040991f
cmp eax, 1
je 0x40d787
cmp dword [ebp - 4], 0x820
mov eax, 0
jge 0x40d769
mov eax, dword [ebp - 0x154]
push 0x104
push dword [eax*4 + 0x41e1b0]
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 4]
push eax
call fcn.0040b640
add esp, 0xc
push dword [ebp - 0x154]
push str.AbsenceHead
push str._s_d
lea ecx, [ebp - 0x654]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x284]
add eax, dword [ebp - 8]
lea ecx, [ebp - 0x654]
push 0x32
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040991f
cmp eax, 1
je 0x40d7f7
cmp dword [ebp - 4], 0x820
mov eax, 0
jge 0x40d7de
mov eax, dword [ebp - 0x154]
push dword [eax*4 + 0x41e1d0]
mov eax, dword [esi + 0x284]
add eax, dword [ebp - 8]
push eax
call fcn.00418670
add esp, 8
add dword [ebp - 8], 0x32
add dword [ebp - 4], 0x104
inc dword [ebp - 0x154]
mov eax, dword [ebp - 0x154]
cmp dword [edi], eax
jg 0x40d70f
lea ecx, [ebp - 0x88]
call fcn.00409822
push 1
lea ecx, [ebp - 0x88]
push str.FindStr
call fcn.004097a8
test eax, eax
je 0x40d8e8
lea eax, [esi + 0x288]
lea ecx, [ebp - 0x88]
push eax
push str.FindMax2
call fcn.00409841
lea eax, [esi + 0x290]
lea ecx, [ebp - 0x88]
push eax
push str.FindAll
call fcn.00409841
mov eax, dword [esi + 0x288]
xor ebx, ebx
imul eax, eax, 0x32
push eax
call fcn.004188d0
add esp, 4
mov dword [esi + 0x28c], eax
cmp dword [esi + 0x288], ebx
jle 0x40d8db
xor edi, edi
push ebx
lea eax, [ebp - 0x254]
push 0x41d2e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esi + 0x28c]
add eax, edi
lea ecx, [ebp - 0x254]
push 0x32
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040991f
cmp eax, 1
je 0x40d8cf
mov eax, dword [esi + 0x28c]
mov byte [eax + edi], 0
add edi, 0x32
inc ebx
cmp dword [esi + 0x288], ebx
jg 0x40d88d
lea ecx, [ebp - 0x88]
call fcn.00409822
jmp 0x40d918
lea edi, [esi + 0x28c]
mov eax, dword [esi + 0x288]
imul eax, eax, 0x32
push eax
call fcn.004188d0
add esp, 4
mov dword [edi], eax
mov eax, dword [esi + 0x288]
imul eax, eax, 0x32
push eax
push 0
push dword [edi]
call fcn.00418610
add esp, 0xc
lea eax, [esi + 0x968]
push 0x32
push eax
lea ecx, [ebp - 0x88]
push str.PasswordStr
mov byte [eax], 0
call fcn.0040991f
lea eax, [esi + 0x99c]
lea ecx, [ebp - 0x88]
push eax
push str.PasswdLogCheck
call fcn.00409841
lea eax, [esi + 0x60]
lea ecx, [ebp - 0x88]
push eax
push str.DelayTime
call fcn.00409841
lea eax, [esi + 0x2d8]
lea ecx, [ebp - 0x88]
push eax
push str.QuoteCheck
call fcn.00409841
lea eax, [esi + 0x2dc]
lea ecx, [ebp - 0x88]
push eax
push str.SecretCheck
call fcn.00409841
lea eax, [esi + 0x2e0]
lea ecx, [ebp - 0x88]
push eax
push str.IPAddrCheck
call fcn.00409841
lea eax, [esi + 0x5c]
lea ecx, [ebp - 0x88]
push eax
push str.OneClickPopup
call fcn.00409841
lea eax, [esi + 0x388]
lea ecx, [ebp - 0x88]
push eax
push str.AbnormalButton
call fcn.00409841
lea eax, [esi + 0x9ac]
lea ecx, [ebp - 0x88]
push eax
push str.DialUpCheck
call fcn.00409841
lea eax, [esi + 0x320]
lea ecx, [ebp - 0x88]
push eax
push str.NickNameCheck
call fcn.00409841
mov eax, dword [esi + 0x320]
dec eax
cmp eax, 1
sbb eax, eax
neg eax
mov dword [esi + 0x320], eax
lea eax, [esi + 0x38c]
push eax
push str.AbsenceNonPopup
lea ecx, [ebp - 0x88]
call fcn.00409841
push 0x32
lea eax, [esi + 0x324]
push eax
lea ecx, [ebp - 0x88]
push str.NickNameStr
call fcn.0040991f
push 0x32
lea eax, [esi + 0x356]
push eax
lea ecx, [ebp - 0x88]
push str.GroupNameStr
call fcn.0040991f
push 0xa
lea ecx, [esi + 0x3a4]
push ecx
push str.Lang
lea ecx, [ebp - 0x88]
call fcn.0040991f
lea eax, [esi + 0x7c0]
lea ecx, [ebp - 0x88]
push eax
push str.Sort
call fcn.0040987f
lea eax, [esi + 0x7c8]
lea ecx, [ebp - 0x88]
push eax
push str.KeepHostTime
call fcn.00409841
lea eax, [esi + 0x7cc]
lea ecx, [ebp - 0x88]
push eax
push str.MsgMinimize
call fcn.00409841
lea eax, [esi + 0x7d0]
lea ecx, [ebp - 0x88]
push eax
push str.DefaultUrl
call fcn.00409841
lea eax, [esi + 0x7d4]
lea ecx, [ebp - 0x88]
push eax
push str.ShellExec
call fcn.00409841
lea eax, [esi + 0x7d8]
lea ecx, [ebp - 0x88]
push eax
push str.ExtendEntry
call fcn.00409841
lea eax, [esi + 0x2f8]
lea ecx, [ebp - 0x88]
push eax
push str.ControlIME
call fcn.00409841
lea eax, [esi + 0x2fc]
lea ecx, [ebp - 0x88]
push eax
push str.GlidLine
call fcn.00409841
lea eax, [esi + 0x300]
push eax
lea ecx, [ebp - 0x88]
push str.ColumnItems
call fcn.00409841
push 0x32
lea eax, [esi + 0x7dc]
push eax
lea ecx, [ebp - 0x88]
push 0x41e488
call fcn.0040991f
push 1
lea ecx, [ebp - 0x88]
push str.HotKey
call fcn.004097a8
test eax, eax
je 0x40dbef
lea eax, [esi + 0x2e4]
lea ecx, [ebp - 0x88]
push eax
push str.HotKeyCheck
call fcn.00409841
lea eax, [esi + 0x2e8]
lea ecx, [ebp - 0x88]
push eax
push str.HotKeyModify
call fcn.00409841
lea eax, [esi + 0x2ec]
lea ecx, [ebp - 0x88]
push eax
push str.HotKeySend
call fcn.00409841
lea eax, [esi + 0x2f0]
lea ecx, [ebp - 0x88]
push eax
push str.HotKeyRecv
call fcn.00409841
lea eax, [esi + 0x2f4]
lea ecx, [ebp - 0x88]
push eax
push str.HotKeyMisc
call fcn.00409841
lea ecx, [ebp - 0x88]
call fcn.00409822
lea eax, [esi + 0x64]
lea ecx, [ebp - 0x88]
push eax
push str.LogCheck
call fcn.00409841
push 0x104
lea eax, [esi + 0x68]
push eax
lea ecx, [ebp - 0x88]
push 0x41e42c
call fcn.0040991f
cmp dword [esi + 0x64], 0
je 0x40dc2e
lea eax, [esi + 0x68]
push eax
call fcn.004053fe
add esp, 4
mov edi, 0x104
lea eax, [esi + 0x16c]
push edi
lea ecx, [ebp - 0x88]
push eax
push str.SoundFile
call fcn.0040991f
push edi
lea eax, [esi + 0x3ae]
push eax
lea ecx, [ebp - 0x88]
push 0x41e418
call fcn.0040991f
push edi
lea eax, [esi + 0x4b2]
push eax
lea ecx, [ebp - 0x88]
push 0x41e410
call fcn.0040991f
push edi
lea eax, [esi + 0x6ba]
push eax
lea ecx, [ebp - 0x88]
push str.lastOpen
call fcn.0040991f
push edi
lea eax, [esi + 0x5b6]
push eax
lea ecx, [ebp - 0x88]
push str.lastSave
call fcn.0040991f
push 1
lea ecx, [ebp - 0x88]
push str.WindowSize
call fcn.004097a8
test eax, eax
je 0x40df18
lea eax, [esi + 0x814]
lea ecx, [ebp - 0x88]
push eax
push str.SendNickName
call fcn.00409841
lea eax, [esi + 0x828]
lea ecx, [ebp - 0x88]
push eax
push str.SendUserName
call fcn.00409841
lea eax, [esi + 0x818]
lea ecx, [ebp - 0x88]
push eax
push str.SendAbsence
call fcn.00409841
lea eax, [esi + 0x82c]
lea ecx, [ebp - 0x88]
push eax
push str.SendPriority
call fcn.00409841
lea eax, [esi + 0x81c]
lea ecx, [ebp - 0x88]
push eax
push str.SendGroupName
call fcn.00409841
lea eax, [esi + 0x820]
lea ecx, [ebp - 0x88]
push eax
push str.SendHostName
call fcn.00409841
lea eax, [esi + 0x824]
lea ecx, [ebp - 0x88]
push eax
push str.SendIPAddr
call fcn.00409841
push 1
lea ecx, [ebp - 0x88]
push str.SendOrder
call fcn.004097a8
test eax, eax
je 0x40ddc0
xor edi, edi
push edi
lea eax, [ebp - 0x150]
push 0x41d2e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esi + edi*4]
add eax, 0x830
lea ecx, [ebp - 0x150]
push eax
inc edi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00409841
cmp edi, 7
jl 0x40dd7e
lea ecx, [ebp - 0x88]
call fcn.00409822
xor edx, edx
mov ecx, dword [esi + edx*4 + 0x830]
cmp ecx, 7
jge 0x40ddfc
test ecx, ecx
jl 0x40ddfc
lea edi, [edx + 1]
mov eax, edi
cmp edi, 7
jge 0x40ddf0
lea ebx, [esi + edi*4 + 0x830]
cmp dword [ebx], ecx
je 0x40ddf0
add ebx, 4
inc eax
cmp eax, 7
jl 0x40dde3
cmp eax, 7
jne 0x40ddfc
mov edx, edi
cmp edi, 7
jl 0x40ddc2
cmp edx, 7
je 0x40de10
xor eax, eax
mov dword [esi + eax*4 + 0x830], eax
inc eax
cmp eax, 7
jl 0x40de03
lea eax, [esi + 0x84c]
lea ecx, [ebp - 0x88]
push eax
push str.SendXdiff
call fcn.00409841
lea eax, [esi + 0x850]
lea ecx, [ebp - 0x88]
push eax
push str.SendYdiff
call fcn.00409841
lea eax, [esi + 0x854]
lea ecx, [ebp - 0x88]
push eax
push str.SendMidYdiff
call fcn.00409841
lea eax, [esi + 0x858]
lea ecx, [ebp - 0x88]
push eax
push str.SendSavePos
call fcn.00409841
lea eax, [esi + 0x85c]
lea ecx, [ebp - 0x88]
push eax
push str.SendXpos
call fcn.00409841
lea eax, [esi + 0x860]
lea ecx, [ebp - 0x88]
push eax
push str.SendYpos
call fcn.00409841
lea eax, [esi + 0x864]
lea ecx, [ebp - 0x88]
push eax
push str.RecvXdiff
call fcn.00409841
lea eax, [esi + 0x868]
lea ecx, [ebp - 0x88]
push eax
push str.RecvYdiff
call fcn.00409841
lea eax, [esi + 0x86c]
lea ecx, [ebp - 0x88]
push eax
push str.RecvSavePos
call fcn.00409841
lea eax, [esi + 0x870]
lea ecx, [ebp - 0x88]
push eax
push str.RecvXpos
call fcn.00409841
lea eax, [esi + 0x874]
lea ecx, [ebp - 0x88]
push eax
push str.RecvYpos
call fcn.00409841
lea ecx, [ebp - 0x88]
call fcn.00409822
push 1
lea ecx, [ebp - 0x88]
push str.Fonts
call fcn.004097a8
test eax, eax
je 0x40dfa1
lea eax, [esi + 0x878]
lea ecx, [ebp - 0x88]
push eax
push str.SendEdit
push ecx
mov ecx, esi
call fcn.0040e56f
lea eax, [esi + 0x8b4]
lea ecx, [ebp - 0x88]
push eax
push str.SendListView
push ecx
mov ecx, esi
call fcn.0040e56f
lea eax, [esi + 0x8f0]
lea ecx, [ebp - 0x88]
push eax
push str.RecvHead
push ecx
mov ecx, esi
call fcn.0040e56f
lea eax, [esi + 0x92c]
lea ecx, [ebp - 0x88]
push eax
push str.RecvEdit
push ecx
mov ecx, esi
call fcn.0040e56f
lea ecx, [ebp - 0x88]
call fcn.00409822
push 1
lea ecx, [ebp - 0x88]
push str.BroadCast
call fcn.004097a8
test eax, eax
je 0x40e06d
mov dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x150]
push eax
inc dword [ebp - 0x154]
push 0x41d2e8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x71c]
lea edx, [ebp - 0x150]
push 0xc8
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.0040991f
cmp eax, 1
jne 0x40e062
test byte [esi + 0x30c], 1
mov ebx, 0
jne 0x40e029
lea eax, [ebp - 0x71c]
push eax
call fcn.0040c9ba
add esp, 4
mov ebx, eax
push 0x10
call fcn.004188d0
add esp, 4
mov edi, eax
test edi, edi
je 0x40e050
lea eax, [ebp - 0x71c]
push eax
call fcn.0041ad10
add esp, 4
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jmp 0x40e052
xor edi, edi
lea ecx, [esi + 0x9bc]
push edi
mov eax, dword [ecx]
call dword [eax]
jmp 0x40dfc5
lea ecx, [ebp - 0x88]
call fcn.00409822
cmp dword [str.HTTP], 0
je 0x40e0c1
mov edi, 0x41e198
mov eax, dword [esi + 0x9a0]
mov ecx, dword [eax]
mov dword [ebp - 0x154], ecx
push 0x140
call fcn.004188d0
lea ecx, [eax + 8]
add esp, 4
mov ebx, eax
push 0x32
push dword [edi]
push ecx
add edi, 4
call fcn.0040b640
add esp, 0xc
lea ecx, [esi + 0x9a0]
mov byte [ebx + 0x3a], 0
push ebx
call dword [ebp - 0x154]
cmp dword [edi], 0
jne 0x40e089
push 1
lea ecx, [ebp - 0x88]
push str.ClickableUrl
call fcn.004097a8
test eax, eax
je 0x40e1c1
mov dword [ebp - 0x154], 0
mov edi, dword [ebp - 0x154]
push 0
push 0xc8
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
push edi
call fcn.00409a6c
test eax, eax
jne 0x40e129
push 0xc8
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
push edi
call fcn.00409a42
test eax, eax
je 0x40e1b6
lea ebx, [esi + 0x9a0]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x40e165
lea eax, [ebp - 0x150]
lea ecx, [edi + 8]
push eax
push ecx
call fcn.0041ac80
add esp, 8
test eax, eax
je 0x40e161
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 8]
mov edi, eax
test edi, edi
jne 0x40e13c
test edi, edi
jne 0x40e17b
push 0x140
call fcn.004188d0
add esp, 4
mov edi, eax
mov ecx, ebx
mov eax, dword [ebx]
push edi
call dword [eax]
push 0x32
lea eax, [ebp - 0x150]
lea ecx, [edi + 8]
push eax
push ecx
add edi, 0x3a
call fcn.0040b640
add esp, 0xc
lea ecx, [ebp - 0x150]
push 0x104
push edi
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040991f
inc dword [ebp - 0x154]
jmp 0x40e0e5
lea ecx, [ebp - 0x88]
call fcn.00409822
push 1
lea ecx, [ebp - 0x88]
push str.Priority
call fcn.004097a8
test eax, eax
je 0x40e20a
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x88]
push eax
push str.PriorityMax
call fcn.00409841
lea eax, [esi + 0x3c]
lea ecx, [ebp - 0x88]
push eax
push str.PriorityReject
call fcn.00409841
lea ecx, [ebp - 0x88]
call fcn.00409822
push 1
lea ecx, [ebp - 0x88]
push str.HostInfo
call fcn.004097a8
test eax, eax
je 0x40e3fa
call fcn.0040c536
mov ecx, eax
mov eax, dword [esi + 0x7c8]
cdq
sub eax, edx
xor edi, edi
sar eax, 1
mov dword [ebp - 0x154], edi
sub ecx, eax
mov dword [esi], 1
mov dword [ebp - 0x554], ecx
mov dword [ebp - 4], edi
mov dword [esi + 0x24], 1
mov ebx, dword [ebp - 4]
push edi
push 0xc8
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
push ebx
call fcn.00409a6c
test eax, eax
jne 0x40e296
push 0xc8
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
push ebx
call fcn.00409a42
test eax, eax
je 0x40e3da
push edi
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
call fcn.004097a8
cmp eax, 1
jne 0x40e3da
lea eax, [ebp - 8]
lea ecx, [ebp - 0x88]
push eax
push str.Priority
call fcn.00409841
cmp eax, 1
jne 0x40e3bd
cmp dword [ebp - 8], 0xa
je 0x40e3bd
push 0xf4
call fcn.004188d0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x40e300
mov dword [ebx + 0xe0], edi
mov dword [ebx + 0xec], edi
mov dword [ebx + 0xdc], edi
jmp 0x40e302
xor ebx, ebx
mov eax, dword [ebp - 8]
push 0x32
push ebx
lea ecx, [ebp - 0x88]
push str.UserName
mov dword [ebx + 0xd8], eax
call fcn.0040991f
push 0x32
lea ecx, [ebx + 0x32]
push ecx
push str.HostName
lea ecx, [ebp - 0x88]
call fcn.0040991f
lea eax, [ebx + 0x64]
lea ecx, [ebp - 0x88]
push eax
push str.IPAddr
call fcn.0040987f
lea eax, [ebx + 0x68]
lea ecx, [ebp - 0x88]
push eax
push str.PortNo
call fcn.00409841
push 0x32
lea eax, [ebx + 0x6c]
push eax
lea ecx, [ebp - 0x88]
push str.NickName
call fcn.0040991f
push 0x32
lea eax, [ebx + 0x9e]
push eax
lea ecx, [ebp - 0x88]
push str.GroupName
call fcn.0040991f
lea eax, [ebx + 0xd4]
lea ecx, [ebp - 0x88]
push eax
push str.UpdateTime
call fcn.0040987f
cmp eax, 1
je 0x40e3b3
mov eax, dword [ebp - 0x554]
mov dword [ebx + 0xd4], eax
push ebx
mov ecx, esi
call fcn.0040bab2
jmp 0x40e3c7
mov dword [ebp - 0x154], 1
lea ecx, [ebp - 0x88]
call fcn.00409822
inc dword [ebp - 4]
jmp 0x40e256
lea ecx, [ebp - 0x88]
call fcn.00409822
cmp dword [ebp - 0x154], 0
je 0x40e3fa
push 0x3000
mov ecx, esi
call fcn.0040e6db
push 1
lea ecx, [ebp - 0x88]
push str.Crypt
call fcn.004097a8
test eax, eax
je 0x40e4df
mov eax, 0x400
lea ecx, [ebp - 0x550]
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x2d0], eax
lea eax, [esi + 0x2c4]
push eax
push ecx
push str.PrivBlob
lea ecx, [ebp - 0x88]
call fcn.004099af
test eax, eax
je 0x40e471
push dword [esi + 0x2c4]
call fcn.004188d0
add esp, 4
lea ecx, [ebp - 0x550]
mov dword [esi + 0x2c0], eax
push dword [esi + 0x2c4]
push ecx
push eax
call fcn.00418760
add esp, 0xc
lea eax, [esi + 0x2d0]
lea ecx, [ebp - 0x550]
push eax
push ecx
push str.PrivEncryptSeed
lea ecx, [ebp - 0x88]
call fcn.004099af
test eax, eax
je 0x40e4bd
push dword [esi + 0x2d0]
call fcn.004188d0
add esp, 4
lea ecx, [ebp - 0x550]
mov dword [esi + 0x2cc], eax
push dword [esi + 0x2d0]
push ecx
push eax
call fcn.00418760
add esp, 0xc
lea eax, [esi + 0x2c8]
lea ecx, [ebp - 0x88]
push eax
push str.PrivEncryptType
call fcn.00409841
lea ecx, [ebp - 0x88]
call fcn.00409822
push 0
lea ecx, [ebp - 0x88]
push str.Debug
call fcn.004097a8
test eax, eax
je 0x40e50d
lea ecx, [ebp - 0x88]
call fcn.00409822
push 0
lea ecx, [ebp - 0x88]
call fcn.00409a99
push 0xc8
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x88]
push 0
call fcn.0040991f
cmp eax, 1
jne 0x40e544
call fcn.0041837c
push eax
lea ecx, [ebp - 0x150]
push ecx
call fcn.004188e0
add esp, 8
test eax, eax
je 0x40e558
lea ecx, [ebp - 0x88]
call fcn.00409822
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040e6db
lea ecx, [ebp - 0x88]
call fcn.00409719
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret