Function at 0x40cf88
Capabilities:
Check os version
Set socket configuration

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 0x40cfb0
mov eax, str._s_d
push eax
lea eax, [ebp - 0x254]
push eax
mov edi, str.HSTools
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x84]
push eax
push edi
call fcn.00409773
lea eax, [esi + 0x48]
lea ecx, [ebp - 0x84]
push eax
push str.NoPopup
call fcn.004098b8
cmp eax, 1
je 0x40d003
push str.IPMsgEng
lea ecx, [ebp - 0x84]
push edi
call fcn.004097a8
mov dword [esi + 0x2cc], 0x53
mov dword [esi + 0x2d0], 0x52
mov dword [esi + 0x2d4], 0x44
mov dword [esi + 0x360], 0xbb8
mov dword [esi + 0x364], 0x5dc
xor eax, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x35c], eax
mov dword [esi + 0x2c4], eax
mov eax, 3
mov dword [esi + 0x2c8], eax
mov dword [esi + 0x368], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40d07a
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x40d07a
mov dword [esi + 0x36c], 0x64
jmp 0x40d084
mov dword [esi + 0x36c], 0x1e
xor ebx, ebx
mov edi, 1
mov dword [esi + 0x50], ebx
mov dword [esi + 0x7dc], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x354], ebx
mov dword [esi + 0x984], ebx
mov dword [esi + 0x2ec], edi
mov byte [esi + 0x2f0], bl
mov byte [esi + 0x322], bl
mov dword [esi + 0x358], edi
mov dword [esi + 0x274], 8
mov dword [esi + 0x284], 0xc
mov dword [esi + 0x78c], ebx
mov dword [esi + 0x798], ebx
mov dword [esi + 0x79c], edi
mov dword [esi + 0x7a0], ebx
mov dword [esi + 0x7a4], edi
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x5c], 0x1f4
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x2e4], edi
mov dword [esi + 0x2e8], ebx
push 0x32
lea eax, [esi + 0x7a8]
mov dword [esi + 0x790], 0xa
mov dword [esi + 0x794], 0xed4e00
mov dword [esi + 0x38], 5
push 0x41e650
push eax
call fcn.0040b5f2
mov dword [esi + 0x7e0], 0x61
mov dword [esi + 0x7e4], 0x10
mov dword [esi + 0x7e8], 0x58
mov dword [esi + 0x7ec], 0x3a
add esp, 0xc
mov eax, dword [esi + 0x2e0]
mov dword [esi + 0x7f0], 0x6e
mov dword [esi + 0x7f4], 0x5a
mov dword [esi + 0x7f8], 0x15
or eax, edi
mov dword [esi + 0x2e0], eax
or al, 4
mov dword [esi + 0x2e0], eax
or al, 8
mov dword [esi + 0x2e0], eax
mov dword [esi + ebx*4 + 0x7fc], ebx
inc ebx
cmp ebx, 7
jl 0x40d1d4
xor ebx, ebx
mov dword [esi + 0x818], ebx
mov dword [esi + 0x81c], ebx
mov dword [esi + 0x820], ebx
mov dword [esi + 0x824], ebx
mov dword [esi + 0x828], ebx
mov dword [esi + 0x82c], ebx
mov dword [esi + 0x830], ebx
mov dword [esi + 0x834], ebx
mov dword [esi + 0x838], ebx
mov dword [esi + 0x83c], ebx
push 0x104
lea eax, [esi + 0x64]
push str.ipmsg.log
mov dword [esi + 0x840], ebx
push eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x968], ebx
call fcn.0040b5f2
add esp, 0xc
mov byte [esi + 0x168], bl
mov byte [esi + 0x37a], bl
mov byte [esi + 0x47e], bl
push 0x3c
lea eax, [esi + 0x844]
push ebx
mov byte [esi + 0x686], bl
push eax
mov byte [esi + 0x582], bl
call fcn.00417bb0
add esp, 0xc
lea eax, [esi + 0x880]
push 0x3c
push ebx
push eax
call fcn.00417bb0
add esp, 0xc
lea eax, [esi + 0x8bc]
push 0x3c
push ebx
push eax
call fcn.00417bb0
add esp, 0xc
lea eax, [esi + 0x8f8]
push 0x3c
push ebx
push eax
call fcn.00417bb0
add esp, 0xc
lea eax, [esi + 0x54]
lea ecx, [ebp - 0x84]
push eax
push str.NoBeep
call fcn.004098b8
lea eax, [esi + 0x35c]
lea ecx, [ebp - 0x84]
push eax
push str.ListGet
call fcn.004098b8
lea eax, [esi + 0x360]
push eax
push str.ListGetMSec
lea ecx, [ebp - 0x84]
call fcn.004098b8
lea eax, [esi + 0x364]
lea ecx, [ebp - 0x84]
push eax
push str.RetryMSec2
call fcn.004098b8
lea eax, [esi + 0x368]
lea ecx, [ebp - 0x84]
push eax
push str.RetryMax
call fcn.004098b8
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
jb 0x40d336
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, str.RecvMaxNT
cmp eax, 0x80000000
jb 0x40d33b
mov ecx, str.RecvMax95
lea eax, [esi + 0x36c]
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.004098b8
lea eax, [esi + 0x50]
lea ecx, [ebp - 0x84]
push eax
push str.NoErase
call fcn.004098b8
lea eax, [esi + 0x7dc]
lea ecx, [ebp - 0x84]
push eax
push str.Debug
call fcn.004098b8
lea eax, [esi + 0x48]
lea ecx, [ebp - 0x84]
push eax
push str.NoPopup
call fcn.004098b8
lea eax, [esi + 0x4c]
lea ecx, [ebp - 0x84]
push eax
push str.OpenCheck
call fcn.004098b8
lea eax, [esi + 0x26c]
lea ecx, [ebp - 0x84]
push eax
push str.AbsenceSave
call fcn.004098b8
cmp dword [esi + 0x26c], 1
jne 0x40d3d8
lea eax, [esi + 0x270]
lea ecx, [ebp - 0x84]
push eax
push str.AbsenceCheck
call fcn.004098b8
lea eax, [esi + 0x274]
lea ecx, [ebp - 0x84]
push eax
push str.AbsenceMax
call fcn.004098b8
lea eax, [esi + 0x2e4]
lea ecx, [ebp - 0x84]
push eax
push str.AllowSendList
call fcn.004098b8
lea eax, [esi + 0x2e8]
lea ecx, [ebp - 0x84]
push eax
mov edi, 0x104
push str.FileTransOpt
call fcn.004098b8
mov eax, dword [esi + 0x274]
imul eax, edi
push eax
call fcn.00417e70
add esp, 4
mov dword [esi + 0x27c], eax
mov eax, dword [esi + 0x274]
imul eax, edi
push eax
push 0
push dword [esi + 0x27c]
call fcn.00417bb0
add esp, 0xc
lea ecx, [ebp - 0x84]
push edi
push dword [esi + 0x27c]
push str.AbsenceStr
call fcn.00409996
mov eax, dword [esi + 0x274]
imul eax, eax, 0x32
push eax
call fcn.00417e70
add esp, 4
mov dword [esi + 0x280], eax
mov eax, dword [esi + 0x274]
imul eax, eax, 0x32
push eax
push 0
push dword [esi + 0x280]
call fcn.00417bb0
add esp, 0xc
lea ecx, [ebp - 0x84]
push 1
push str.AbsenceStr
call fcn.0040981f
cmp eax, 1
jne 0x40d5cb
xor ebx, ebx
cmp dword [esi + 0x274], ebx
jle 0x40d5c0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x8c], 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 - 0x8c]
lea ecx, [ebp - 0x358]
push edi
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.00409996
cmp eax, 1
je 0x40d53f
cmp dword [ebp - 0x8c], 0x820
mov eax, 0
jge 0x40d522
mov eax, ebx
push edi
push dword [eax*4 + 0x41e188]
mov eax, dword [esi + 0x27c]
add eax, dword [ebp - 0x8c]
push eax
call fcn.0040b5f2
add esp, 0xc
push ebx
lea eax, [ebp - 0x358]
push str.AbsenceHead
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 4]
lea ecx, [ebp - 0x358]
push 0x32
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.00409996
cmp eax, 1
je 0x40d5a9
cmp dword [ebp - 0x8c], 0x820
mov eax, 0
jge 0x40d590
mov eax, ebx
push dword [eax*4 + 0x41e1a8]
mov eax, dword [esi + 0x280]
add eax, dword [ebp - 4]
push eax
call fcn.00417c10
add esp, 8
inc ebx
add dword [ebp - 0x8c], edi
add dword [ebp - 4], 0x32
cmp dword [esi + 0x274], ebx
jg 0x40d4cf
lea ecx, [ebp - 0x84]
call fcn.00409899
push 1
lea ecx, [ebp - 0x84]
push str.FindStr
call fcn.0040981f
cmp eax, 1
jne 0x40d693
lea eax, [esi + 0x284]
lea ecx, [ebp - 0x84]
push eax
push str.FindMax2
call fcn.004098b8
lea eax, [esi + 0x28c]
lea ecx, [ebp - 0x84]
push eax
push str.FindAll
call fcn.004098b8
mov eax, dword [esi + 0x284]
xor edi, edi
imul eax, eax, 0x32
push eax
call fcn.00417e70
add esp, 4
mov dword [esi + 0x288], eax
cmp dword [esi + 0x284], edi
jle 0x40d686
xor ebx, ebx
push edi
lea eax, [ebp - 0x18c]
push 0x41d2e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esi + 0x288]
add eax, ebx
lea ecx, [ebp - 0x18c]
push 0x32
push eax
push ecx
lea ecx, [ebp - 0x84]
call fcn.00409996
cmp eax, 1
je 0x40d67a
mov eax, dword [esi + 0x288]
mov byte [eax + ebx], 0
add ebx, 0x32
inc edi
cmp dword [esi + 0x284], edi
jg 0x40d638
lea ecx, [ebp - 0x84]
call fcn.00409899
jmp 0x40d6c3
lea edi, [esi + 0x288]
mov eax, dword [esi + 0x284]
imul eax, eax, 0x32
push eax
call fcn.00417e70
add esp, 4
mov dword [edi], eax
mov eax, dword [esi + 0x284]
imul eax, eax, 0x32
push eax
push 0
push dword [edi]
call fcn.00417bb0
add esp, 0xc
lea eax, [esi + 0x934]
push 0x32
push eax
lea ecx, [ebp - 0x84]
push str.PasswordStr
mov byte [eax], 0
call fcn.00409996
lea eax, [esi + 0x968]
lea ecx, [ebp - 0x84]
push eax
push str.PasswdLogCheck
call fcn.004098b8
lea eax, [esi + 0x5c]
lea ecx, [ebp - 0x84]
push eax
push str.DelayTime
call fcn.004098b8
lea eax, [esi + 0x2b8]
lea ecx, [ebp - 0x84]
push eax
push str.QuoteCheck
call fcn.004098b8
lea eax, [esi + 0x2bc]
lea ecx, [ebp - 0x84]
push eax
push str.SecretCheck
call fcn.004098b8
lea eax, [esi + 0x2c0]
lea ecx, [ebp - 0x84]
push eax
push str.IPAddrCheck
call fcn.004098b8
lea eax, [esi + 0x58]
lea ecx, [ebp - 0x84]
push eax
push str.OneClickPopup
call fcn.004098b8
lea eax, [esi + 0x354]
lea ecx, [ebp - 0x84]
push eax
push str.AbnormalButton
call fcn.004098b8
lea eax, [esi + 0x984]
lea ecx, [ebp - 0x84]
push eax
push str.DialUpCheck
call fcn.004098b8
lea eax, [esi + 0x2ec]
lea ecx, [ebp - 0x84]
push eax
push str.NickNameCheck
call fcn.004098b8
mov eax, dword [esi + 0x2ec]
dec eax
cmp eax, 1
sbb eax, eax
neg eax
mov dword [esi + 0x2ec], eax
lea eax, [esi + 0x358]
push eax
push str.AbsenceNonPopup
lea ecx, [ebp - 0x84]
call fcn.004098b8
push 0x32
lea eax, [esi + 0x2f0]
push eax
lea ecx, [ebp - 0x84]
push str.NickNameStr
call fcn.00409996
push 0x32
lea eax, [esi + 0x322]
push eax
lea ecx, [ebp - 0x84]
push str.GroupNameStr
call fcn.00409996
push 0xa
lea ecx, [esi + 0x370]
push ecx
push str.Lang
lea ecx, [ebp - 0x84]
call fcn.00409996
lea eax, [esi + 0x78c]
lea ecx, [ebp - 0x84]
push eax
push str.Sort
call fcn.004098f6
lea eax, [esi + 0x794]
lea ecx, [ebp - 0x84]
push eax
push str.KeepHostTime
call fcn.004098b8
lea eax, [esi + 0x798]
lea ecx, [ebp - 0x84]
push eax
push str.MsgMinimize
call fcn.004098b8
lea eax, [esi + 0x79c]
lea ecx, [ebp - 0x84]
push eax
push str.DefaultUrl
call fcn.004098b8
lea eax, [esi + 0x7a0]
lea ecx, [ebp - 0x84]
push eax
push str.ShellExec
call fcn.004098b8
lea eax, [esi + 0x7a4]
lea ecx, [ebp - 0x84]
push eax
push str.ExtendEntry
call fcn.004098b8
lea eax, [esi + 0x2d8]
lea ecx, [ebp - 0x84]
push eax
push str.ControlIME
call fcn.004098b8
lea eax, [esi + 0x2dc]
lea ecx, [ebp - 0x84]
push eax
push str.GlidLine
call fcn.004098b8
lea eax, [esi + 0x2e0]
push eax
lea ecx, [ebp - 0x84]
push str.ColumnItems
call fcn.004098b8
push 0x32
lea eax, [esi + 0x7a8]
push eax
lea ecx, [ebp - 0x84]
push 0x41e42c
call fcn.00409996
push 1
lea ecx, [ebp - 0x84]
push str.HotKey
call fcn.0040981f
cmp eax, 1
jne 0x40d99b
lea eax, [esi + 0x2c4]
lea ecx, [ebp - 0x84]
push eax
push str.HotKeyCheck
call fcn.004098b8
lea eax, [esi + 0x2c8]
lea ecx, [ebp - 0x84]
push eax
push str.HotKeyModify
call fcn.004098b8
lea eax, [esi + 0x2cc]
lea ecx, [ebp - 0x84]
push eax
push str.HotKeySend
call fcn.004098b8
lea eax, [esi + 0x2d0]
lea ecx, [ebp - 0x84]
push eax
push str.HotKeyRecv
call fcn.004098b8
lea eax, [esi + 0x2d4]
lea ecx, [ebp - 0x84]
push eax
push str.HotKeyMisc
call fcn.004098b8
lea ecx, [ebp - 0x84]
call fcn.00409899
lea eax, [esi + 0x60]
lea ecx, [ebp - 0x84]
push eax
push str.LogCheck
call fcn.004098b8
push 0x104
lea eax, [esi + 0x64]
push eax
lea ecx, [ebp - 0x84]
push 0x41e3d0
call fcn.00409996
cmp dword [esi + 0x60], 0
je 0x40d9da
lea eax, [esi + 0x64]
push eax
call fcn.00405473
add esp, 4
mov edi, 0x104
lea eax, [esi + 0x168]
push edi
lea ecx, [ebp - 0x84]
push eax
push str.SoundFile
call fcn.00409996
push edi
lea eax, [esi + 0x37a]
push eax
lea ecx, [ebp - 0x84]
push 0x41e3bc
call fcn.00409996
push edi
lea eax, [esi + 0x47e]
push eax
lea ecx, [ebp - 0x84]
push 0x41e3b4
call fcn.00409996
push edi
lea eax, [esi + 0x686]
push eax
lea ecx, [ebp - 0x84]
push str.lastOpen
call fcn.00409996
push edi
lea eax, [esi + 0x582]
push eax
lea ecx, [ebp - 0x84]
push str.lastSave
call fcn.00409996
push 1
lea ecx, [ebp - 0x84]
push str.WindowSize
call fcn.0040981f
cmp eax, 1
jne 0x40dcc6
lea eax, [esi + 0x7e0]
lea ecx, [ebp - 0x84]
push eax
push str.SendNickName
call fcn.004098b8
lea eax, [esi + 0x7f4]
lea ecx, [ebp - 0x84]
push eax
push str.SendUserName
call fcn.004098b8
lea eax, [esi + 0x7e4]
lea ecx, [ebp - 0x84]
push eax
push str.SendAbsence
call fcn.004098b8
lea eax, [esi + 0x7f8]
lea ecx, [ebp - 0x84]
push eax
push str.SendPriority
call fcn.004098b8
lea eax, [esi + 0x7e8]
lea ecx, [ebp - 0x84]
push eax
push str.SendGroupName
call fcn.004098b8
lea eax, [esi + 0x7ec]
lea ecx, [ebp - 0x84]
push eax
push str.SendHostName
call fcn.004098b8
lea eax, [esi + 0x7f0]
lea ecx, [ebp - 0x84]
push eax
push str.SendIPAddr
call fcn.004098b8
push 1
lea ecx, [ebp - 0x84]
push str.SendOrder
call fcn.0040981f
cmp eax, 1
jne 0x40db6e
xor edi, edi
push edi
lea eax, [ebp - 0x254]
push 0x41d2e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esi + edi*4]
add eax, 0x7fc
lea ecx, [ebp - 0x254]
push eax
inc edi
push ecx
lea ecx, [ebp - 0x84]
call fcn.004098b8
cmp edi, 7
jl 0x40db2c
lea ecx, [ebp - 0x84]
call fcn.00409899
xor ecx, ecx
mov edx, dword [esi + ecx*4 + 0x7fc]
cmp edx, 7
jge 0x40dbaa
test edx, edx
jl 0x40dbaa
lea ebx, [ecx + 1]
mov edi, ebx
cmp ebx, 7
jge 0x40db9e
lea eax, [esi + ebx*4 + 0x7fc]
cmp dword [eax], edx
je 0x40db9e
add eax, 4
inc edi
cmp edi, 7
jl 0x40db91
cmp edi, 7
jne 0x40dbaa
mov ecx, ebx
cmp ebx, 7
jl 0x40db70
cmp ecx, 7
je 0x40dbbe
xor eax, eax
mov dword [esi + eax*4 + 0x7fc], eax
inc eax
cmp eax, 7
jl 0x40dbb1
lea eax, [esi + 0x818]
lea ecx, [ebp - 0x84]
push eax
push str.SendXdiff
call fcn.004098b8
lea eax, [esi + 0x81c]
lea ecx, [ebp - 0x84]
push eax
push str.SendYdiff
call fcn.004098b8
lea eax, [esi + 0x820]
lea ecx, [ebp - 0x84]
push eax
push str.SendMidYdiff
call fcn.004098b8
lea eax, [esi + 0x824]
lea ecx, [ebp - 0x84]
push eax
push str.SendSavePos
call fcn.004098b8
lea eax, [esi + 0x828]
lea ecx, [ebp - 0x84]
push eax
push str.SendXpos
call fcn.004098b8
lea eax, [esi + 0x82c]
lea ecx, [ebp - 0x84]
push eax
push str.SendYpos
call fcn.004098b8
lea eax, [esi + 0x830]
lea ecx, [ebp - 0x84]
push eax
push str.RecvXdiff
call fcn.004098b8
lea eax, [esi + 0x834]
lea ecx, [ebp - 0x84]
push eax
push str.RecvYdiff
call fcn.004098b8
lea eax, [esi + 0x838]
lea ecx, [ebp - 0x84]
push eax
push str.RecvSavePos
call fcn.004098b8
lea eax, [esi + 0x83c]
lea ecx, [ebp - 0x84]
push eax
push str.RecvXpos
call fcn.004098b8
lea eax, [esi + 0x840]
lea ecx, [ebp - 0x84]
push eax
push str.RecvYpos
call fcn.004098b8
lea ecx, [ebp - 0x84]
call fcn.00409899
push 1
lea ecx, [ebp - 0x84]
push str.Fonts
call fcn.0040981f
cmp eax, 1
jne 0x40dd50
lea eax, [esi + 0x844]
lea ecx, [ebp - 0x84]
push eax
push str.SendEdit
push ecx
mov ecx, esi
call fcn.0040e256
lea eax, [esi + 0x880]
lea ecx, [ebp - 0x84]
push eax
push str.SendListView
push ecx
mov ecx, esi
call fcn.0040e256
lea eax, [esi + 0x8bc]
lea ecx, [ebp - 0x84]
push eax
push str.RecvHead
push ecx
mov ecx, esi
call fcn.0040e256
lea eax, [esi + 0x8f8]
lea ecx, [ebp - 0x84]
push eax
push str.RecvEdit
push ecx
mov ecx, esi
call fcn.0040e256
lea ecx, [ebp - 0x84]
call fcn.00409899
push 1
lea ecx, [ebp - 0x84]
push str.BroadCast
call fcn.0040981f
cmp eax, 1
jne 0x40de28
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x254]
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 - 0x254]
push 0xc8
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.00409996
cmp eax, 1
jne 0x40de1d
lea eax, [ebp - 0x420]
lea edi, [esi + 0x96c]
push eax
call sub.WSOCK32.dll_inet_addr
mov ebx, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
test eax, eax
je 0x40dde1
cmp dword [eax + 8], ebx
je 0x40dde1
push eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
jne 0x40ddd0
cmp ebx, 0xffffffff
je 0x40dd72
test eax, eax
jne 0x40dd72
push 0x10
call fcn.00417e70
add esp, 4
mov dword [ebp - 0x8c], eax
mov dword [eax + 8], ebx
push dword [esi + 0x44]
call sub.WSOCK32.dll_htons
movzx edx, ax
mov ecx, dword [ebp - 0x8c]
push ecx
mov dword [ecx + 0xc], edx
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
jmp 0x40dd72
lea ecx, [ebp - 0x84]
call fcn.00409899
cmp dword [str.HTTP], 0
je 0x40de7c
mov edi, 0x41e170
mov eax, dword [esi + 0x978]
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
push 0x140
call fcn.00417e70
lea ecx, [eax + 8]
add esp, 4
mov ebx, eax
push 0x32
push dword [edi]
push ecx
add edi, 4
call fcn.0040b5f2
add esp, 0xc
lea ecx, [esi + 0x978]
mov byte [ebx + 0x3a], 0
push ebx
call dword [ebp - 0x8c]
cmp dword [edi], 0
jne 0x40de44
push 1
lea ecx, [ebp - 0x84]
push str.ClickableUrl
call fcn.0040981f
cmp eax, 1
jne 0x40df7f
mov dword [ebp - 0x8c], 0
mov edi, dword [ebp - 0x8c]
push 0
push 0xc8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
push edi
call fcn.00409a86
cmp eax, 1
je 0x40dee7
push 0xc8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
push edi
call fcn.00409a5c
cmp eax, 1
jne 0x40df74
lea ebx, [esi + 0x978]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x40df23
lea eax, [ebp - 0x254]
lea ecx, [edi + 8]
push eax
push ecx
call fcn.0041a170
add esp, 8
test eax, eax
je 0x40df1f
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 8]
mov edi, eax
test edi, edi
jne 0x40defa
test edi, edi
jne 0x40df39
push 0x140
call fcn.00417e70
add esp, 4
mov edi, eax
mov ecx, ebx
mov eax, dword [ebx]
push edi
call dword [eax]
push 0x32
lea eax, [ebp - 0x254]
lea ecx, [edi + 8]
push eax
push ecx
add edi, 0x3a
call fcn.0040b5f2
add esp, 0xc
lea ecx, [ebp - 0x254]
push 0x104
push edi
push ecx
lea ecx, [ebp - 0x84]
call fcn.00409996
inc dword [ebp - 0x8c]
jmp 0x40dea1
lea ecx, [ebp - 0x84]
call fcn.00409899
push 1
lea ecx, [ebp - 0x84]
push str.Priority
call fcn.0040981f
cmp eax, 1
jne 0x40dfc9
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x84]
push eax
push str.PriorityMax
call fcn.004098b8
lea eax, [esi + 0x3c]
lea ecx, [ebp - 0x84]
push eax
push str.PriorityReject
call fcn.004098b8
lea ecx, [ebp - 0x84]
call fcn.00409899
push 1
lea ecx, [ebp - 0x84]
push str.HostInfo
call fcn.0040981f
cmp eax, 1
jne 0x40e1c5
call fcn.0040c4bf
mov ecx, eax
mov eax, dword [esi + 0x794]
cdq
sub eax, edx
xor edi, edi
sar eax, 1
mov dword [ebp - 0x8c], edi
sub ecx, eax
mov dword [esi], 1
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], edi
mov dword [esi + 0x24], 1
mov ebx, dword [ebp - 4]
push edi
push 0xc8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
push ebx
call fcn.00409a86
cmp eax, 1
je 0x40e058
push 0xc8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
push ebx
call fcn.00409a5c
cmp eax, 1
jne 0x40e1a5
push edi
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040981f
cmp eax, 1
jne 0x40e1a5
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x84]
push eax
push str.Priority
call fcn.004098b8
cmp eax, 1
jne 0x40e188
cmp dword [ebp - 0x258], 0xa
je 0x40e188
push 0xf4
call fcn.00417e70
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x40e0c8
mov dword [ebx + 0xe0], edi
mov dword [ebx + 0xec], edi
mov dword [ebx + 0xdc], edi
jmp 0x40e0ca
xor ebx, ebx
mov eax, dword [ebp - 0x258]
push 0x32
push ebx
lea ecx, [ebp - 0x84]
push str.UserName
mov dword [ebx + 0xd8], eax
call fcn.00409996
push 0x32
lea ecx, [ebx + 0x32]
push ecx
push str.HostName
lea ecx, [ebp - 0x84]
call fcn.00409996
lea eax, [ebx + 0x64]
lea ecx, [ebp - 0x84]
push eax
push str.IPAddr
call fcn.004098f6
lea eax, [ebx + 0x68]
lea ecx, [ebp - 0x84]
push eax
push str.PortNo
call fcn.004098b8
push 0x32
lea eax, [ebx + 0x6c]
push eax
lea ecx, [ebp - 0x84]
push str.NickName
call fcn.00409996
push 0x32
lea eax, [ebx + 0x9e]
push eax
lea ecx, [ebp - 0x84]
push str.GroupName
call fcn.00409996
lea eax, [ebx + 0xd4]
lea ecx, [ebp - 0x84]
push eax
push str.UpdateTime
call fcn.004098f6
cmp eax, 1
je 0x40e17e
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0xd4], eax
push ebx
mov ecx, esi
call fcn.0040ba6b
jmp 0x40e192
mov dword [ebp - 0x8c], 1
lea ecx, [ebp - 0x84]
call fcn.00409899
inc dword [ebp - 4]
jmp 0x40e016
lea ecx, [ebp - 0x84]
call fcn.00409899
cmp dword [ebp - 0x8c], 0
je 0x40e1c5
push 0x3000
mov ecx, esi
call fcn.0040e3c3
push 0
lea ecx, [ebp - 0x84]
push str.Debug
call fcn.0040981f
cmp eax, 1
jne 0x40e1f4
lea ecx, [ebp - 0x84]
call fcn.00409899
push 0
lea ecx, [ebp - 0x84]
call fcn.00409ab3
push 0xc8
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x84]
push 0
call fcn.00409996
cmp eax, 1
jne 0x40e22b
call fcn.0041791a
push eax
lea ecx, [ebp - 0x254]
push ecx
call fcn.00417e80
add esp, 8
test eax, eax
je 0x40e23f
lea ecx, [ebp - 0x84]
call fcn.00409899
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040e3c3
lea ecx, [ebp - 0x84]
call fcn.00409790
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret