Function at 0x408e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c4f3
mov eax, dword fs:[0]
push eax
mov eax, 0x10200
call fcn.00465040
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [0x4c173c]
mov dword [ebp - 0x10204], edi
cmp dword [edi + 0x14], 0x21
push dword [edi + 0x30]
jne 0x409007
lea ecx, [ebp - 0x100c0]
call fcn.0045f060
lea ecx, [ebp - 0x100c0]
mov dword [ebp - 4], 0
call fcn.00412b40
mov ebx, eax
cmp byte [ebx], 0
je 0x408ecc
push ebx
call fcn.0044e510
add esp, 4
test eax, eax
je 0x408ecc
push 0
push 0
push ebx
call fcn.00444c00
add esp, 0xc
test esi, esi
je 0x408ff0
lea eax, [edi + 0x1d]
mov dword [ebp - 0x10200], eax
nop dword [eax]
lea ecx, [esi + 0x15c]
mov edx, eax
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408f80
add ecx, 4
add edx, 4
sub edi, 4
jae 0x408ef0
cmp byte [ebx], 0
je 0x408ff0
push 0x80
lea eax, [ebp - 0x101dc]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea eax, [ebp - 0x101dc]
push 0x80
push eax
push 0x458
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x20
lea eax, [ebp - 0x101dc]
push str.Message_sent__delivery_confirmed
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
je 0x408f92
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x16c]
push eax
push str.Message_sent__delivery_confirmed
lea eax, [ebp - 0x101dc]
push str._s_____dms_roundtrip_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x408fdc
mov esi, dword [esi + 0x60]
test esi, esi
je 0x408ff0
mov eax, dword [ebp - 0x10200]
jmp 0x408ee0
cmp byte [ebp - 0x101bb], 0x28
mov edi, 1
jne 0x408fb1
lea eax, [ebp - 0x101ba]
push eax
call fcn.0046c496
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x16c]
push eax
lea eax, [edi + 1]
push eax
push str.Message_sent__delivery_confirmed
lea eax, [ebp - 0x101dc]
push str._s___d_recipients______dms_max_roundtrip_.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x101dc]
push eax
push 0x458
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x100c0]
call fcn.0045f0d0
xor eax, eax
test esi, esi
setne al
jmp 0x40a594
lea ecx, [ebp - 0x1015c]
mov dword [ebp - 0x101fc], 0
call fcn.0045f450
lea ecx, [ebp - 0x1015c]
mov dword [ebp - 4], 1
call fcn.00412a80
lea ecx, [ebp - 0x1015c]
mov ebx, eax
call fcn.00412ae0
mov edi, eax
mov dword [ebp - 0x1020c], edi
cmp byte [edi], 0
je 0x409062
push edi
call fcn.0044e510
add esp, 4
test eax, eax
je 0x409062
push 0
push 0
push edi
call fcn.00444c00
add esp, 0xc
test ebx, ebx
je 0x40908d
mov al, byte [ebx]
cmp al, 0x23
je 0x409070
cmp al, 0x26
jne 0x40908d
push ebx
call fcn.0040ba80
add esp, 4
test eax, eax
je 0x40908d
push ebx
call fcn.0040ba80
push 0
call fcn.00412c80
add esp, 8
lea eax, [ebp - 0x1015c]
push eax
call fcn.00408250
add esp, 4
test al, al
jne 0x4091ae
lea eax, [ebp - 0x1015c]
push eax
call fcn.004084f0
add esp, 4
lea ecx, [ebp - 0x1015c]
test al, al
jne 0x4091b4
push 0xe
push str._historyReply_
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
lea ecx, [ebp - 0x1015c]
test eax, eax
jne 0x409203
call fcn.0045f7e0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4090f0
sub eax, edx
add eax, 0xfffffff2
je 0x4091ae
push 0
push 0
push edi
call fcn.00444c00
push edi
call fcn.0040ba80
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4091c0
lea eax, [ebp - 0x1015c]
push eax
call fcn.00408030
add esp, 4
test al, al
je 0x4091ae
cmp byte [esi + 0x6a8], 1
je 0x4091ae
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409150
sub eax, edx
je 0x4091ae
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x40918c
push 0x490cb9
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
lea ecx, [ebp - 0x1015c]
mov byte [esi + 0x6a8], 1
call fcn.0045f7e0
add eax, 0xe
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
mov al, byte [ebx]
cmp al, 0x23
je 0x4091ca
cmp al, 0x26
jne 0x4091ae
push ebx
call fcn.0040ba80
mov esi, eax
add esp, 4
test esi, esi
je 0x4091ae
cmp byte [esi + 0x6a8], 1
je 0x4091ae
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4091f0
sub eax, edx
cmp eax, 0xe
jbe 0x4091ae
jmp 0x40915b
push 9
push str._history_
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x409673
push ebx
call fcn.0040ba80
mov esi, eax
add esp, 4
test esi, esi
je 0x40942a
lea eax, [esi + 4]
mov dword [ebp - 0x10208], eax
mov al, byte [eax]
cmp al, 0x23
je 0x40924a
cmp al, 0x26
jne 0x40942a
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push 0x10
mov ebx, eax
call fcn.0046506d
add esp, 4
mov dword [ebp - 0x10204], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x409287
lea ecx, [ebx + 1]
push ecx
mov ecx, eax
call fcn.00447120
mov edi, eax
jmp 0x409289
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004471c0
mov ecx, edi
mov dword [ebp - 0x101fc], eax
call fcn.004471d0
push eax
push 0
push dword [ebp - 0x101fc]
call fcn.00466b60
add esp, 0xc
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x101fc]
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x10
call fcn.0046506d
add esp, 4
mov dword [ebp - 0x10204], eax
cmp ebx, 0x1000
jle 0x4092f9
mov byte [ebp - 4], 3
test eax, eax
je 0x409310
push 0x100f
mov ecx, eax
call fcn.00447120
mov esi, eax
jmp 0x409312
mov byte [ebp - 4], 4
test eax, eax
je 0x409310
lea ecx, [ebx + 0xf]
push ecx
mov ecx, eax
call fcn.00447120
mov esi, eax
jmp 0x409312
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004471c0
mov ecx, esi
mov dword [ebp - 0x10200], eax
call fcn.004471d0
push eax
push 0
push dword [ebp - 0x10200]
call fcn.00466b60
mov ecx, dword [ebp - 0x10200]
add esp, 0xc
movq xmm0, qword [str._historyReply_]
movq qword [ecx], xmm0
mov eax, dword [0x491fec]
mov dword [ecx + 8], eax
mov ax, word [0x491ff0]
mov word [ecx + 0xc], ax
cmp ebx, 0x1000
jl 0x40937c
mov eax, dword [ebp - 0x101fc]
add eax, 0xfffff000
push 0x1000
add eax, ebx
push eax
jmp 0x409386
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x101fc]
lea eax, [ecx + 0xe]
push eax
call fcn.00466cc0
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x34
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x101f8]
call fcn.0045f430
push 0x4c4e88
lea ecx, [ebp - 0x101f8]
mov byte [ebp - 4], 5
call fcn.0045f7a0
mov ecx, esi
call fcn.004471c0
push eax
lea ecx, [ebp - 0x101f8]
call fcn.0045f810
push dword [ebp - 0x10208]
lea ecx, [ebp - 0x101f8]
call fcn.0045f7c0
lea ecx, [ebp - 0x101f8]
call fcn.0045f580
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0x20
mov byte [ebp - 0x28], 3
test eax, eax
je 0x40941b
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00425050
test edi, edi
je 0x409649
mov ecx, edi
jmp 0x409642
lea eax, [ebp - 0x1015c]
push eax
call fcn.00408030
add esp, 4
test al, al
je 0x4091ae
push edi
call fcn.0040ba80
add esp, 4
mov dword [ebp - 0x10208], eax
test eax, eax
je 0x4091ae
push 0x419
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
push 0x10
mov dword [ebp - 0x1020c], esi
call fcn.0046506d
add esp, 4
mov dword [ebp - 0x10204], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x40949b
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call fcn.00447120
mov ebx, eax
jmp 0x40949d
xor ebx, ebx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004471c0
mov ecx, ebx
mov dword [ebp - 0x101fc], eax
call fcn.004471d0
mov edx, dword [ebp - 0x101fc]
push eax
push 0
push edx
call fcn.00466b60
add esp, 0xc
lea eax, [esi + 1]
mov dword [ebp - 0x10204], eax
push eax
push dword [ebp - 0x101fc]
mov eax, dword [ebp - 0x10208]
push 0x419
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x10
call fcn.0046506d
add esp, 4
mov dword [ebp - 0x10208], eax
cmp esi, 0x1000
jle 0x40951a
mov byte [ebp - 4], 7
test eax, eax
je 0x409531
push 0x100f
mov ecx, eax
call fcn.00447120
mov esi, eax
jmp 0x409533
mov byte [ebp - 4], 8
test eax, eax
je 0x409531
lea ecx, [esi + 0xf]
push ecx
mov ecx, eax
call fcn.00447120
mov esi, eax
jmp 0x409533
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004471c0
mov ecx, esi
mov dword [ebp - 0x10200], eax
call fcn.004471d0
push eax
push 0
push dword [ebp - 0x10200]
call fcn.00466b60
mov ecx, dword [ebp - 0x10200]
add esp, 0xc
movq xmm0, qword [str._historyReply_]
movq qword [ecx], xmm0
mov eax, dword [0x491fec]
mov dword [ecx + 8], eax
mov ax, word [0x491ff0]
mov word [ecx + 0xc], ax
mov eax, dword [ebp - 0x1020c]
cmp eax, 0x1000
jl 0x4095a0
add eax, 0xfffff000
add eax, dword [ebp - 0x101fc]
push 0x1000
push eax
jmp 0x4095ac
push dword [ebp - 0x10204]
push dword [ebp - 0x101fc]
lea eax, [ecx + 0xe]
push eax
call fcn.00466cc0
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x34
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x101f8]
call fcn.0045f430
push 0x4c4e88
lea ecx, [ebp - 0x101f8]
mov byte [ebp - 4], 9
call fcn.0045f7a0
mov ecx, esi
call fcn.004471c0
push eax
lea ecx, [ebp - 0x101f8]
call fcn.0045f810
push edi
lea ecx, [ebp - 0x101f8]
call fcn.0045f7c0
lea ecx, [ebp - 0x101f8]
call fcn.0045f580
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0x20
mov byte [ebp - 0x28], 3
test eax, eax
je 0x40963c
mov ecx, eax
call fcn.004471d0
mov ecx, dword [0x4c3114]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00425050
test ebx, ebx
je 0x409649
mov ecx, ebx
push 1
call fcn.004120c0
test esi, esi
je 0x409656
push 1
mov ecx, esi
call fcn.004120c0
lea ecx, [ebp - 0x101f8]
call fcn.0045f570
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
push 0xb
push str._keepalive_
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
call fcn.0047cbbd
add esp, 0xc
test eax, eax
jne 0x409951
push 0x40
push eax
lea eax, [ebp - 0x1019c]
push eax
call fcn.00466b60
push ebx
lea eax, [ebp - 0x1019c]
push 0x491638
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp byte [ebx], 0x26
push ebx
jne 0x4096ce
call fcn.0040ba80
add esp, 4
test eax, eax
je 0x4096d6
push ebx
call fcn.004453d0
add esp, 4
push ebx
call fcn.0040ba80
add esp, 4
test eax, eax
je 0x4096fa
push ebx
call fcn.0040ba80
push 0
push 0
push 0
push edi
push dword [eax]
call fcn.00410260
add esp, 0x18
push 0x45f
push dword [0x4c5118]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
push 4
push 0x110a
push eax
mov dword [ebp - 0x10204], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x4097fb
mov edi, dword [ebp - 0x10204]
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00466b60
add esp, 0xc
mov dword [ebp - 0x100b8], 0x3f
lea eax, [ebp - 0x50]
mov dword [ebp - 0x100a4], 0x40
mov dword [ebp - 0x100a8], eax
lea eax, [ebp - 0x100b8]
mov dword [ebp - 0x100b4], esi
push eax
push 0
push 0x110c
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
jne 0x4097dc
cmp dword [ebp - 0x10094], eax
je 0x4097aa
push eax
call fcn.00412c80
mov ecx, dword [ebp - 0x10094]
add esp, 4
push eax
call fcn.00412c30
cmp dword [ebp - 0x100a0], 5
jne 0x4097c7
mov dword [ebp - 0x100a0], 1
mov dword [ebp - 0x1009c], 1
lea eax, [ebp - 0x100b8]
push eax
push 0
push 0x110d
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 1
push 0x110a
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jne 0x409734
mov edi, dword [ebp - 0x1020c]
mov eax, dword [0x4c173c]
mov dword [ebp - 0x101fc], eax
test eax, eax
je 0x4091ae
nop
mov cl, byte [eax + 4]
cmp cl, 0x23
je 0x409821
cmp cl, 0x26
jne 0x40992e
push 0x456
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
push 4
mov ebx, eax
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x409928
nop dword [eax]
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00466b60
add esp, 0xc
mov dword [ebp - 0x100b8], 0x3f
lea eax, [ebp - 0x40]
mov dword [ebp - 0x100a4], 0x30
mov dword [ebp - 0x100a8], eax
lea eax, [ebp - 0x100b8]
mov dword [ebp - 0x100b4], esi
push eax
push 0
push 0x110c
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x4098c0
push esi
push 1
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jne 0x409850
jmp 0x409928
mov eax, dword [ebp - 0x101fc]
push 0
push 0
push 0
push edi
push dword [eax]
call fcn.00410260
add esp, 0x14
cmp dword [ebp - 0x100a0], 5
jne 0x4098f4
mov dword [ebp - 0x100a0], 0
mov dword [ebp - 0x1009c], 0
cmp dword [ebp - 0x10094], 0
je 0x409913
push 0
call fcn.00412c80
mov ecx, dword [ebp - 0x10094]
add esp, 4
push eax
call fcn.00412c30
lea eax, [ebp - 0x100b8]
push eax
push 0
push 0x110d
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x101fc]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x101fc], eax
test eax, eax
jne 0x409810
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
push 6
push str._nick_
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x409ba5
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 6], 0
je 0x409ba5
mov ecx, 0x4914a8
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4099b0
test dl, dl
je 0x4099ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4099b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x409990
xor eax, eax
jmp 0x4099b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409ba5
push 1
push eax
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
add eax, 6
push eax
call fcn.00444c00
add esp, 0xc
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 6], 0x23
je 0x4091ae
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 6], 0x26
je 0x4091ae
test esi, esi
je 0x4091ae
nop dword [eax]
lea eax, [esi + 4]
mov al, byte [eax]
cmp al, 0x23
je 0x409a21
cmp al, 0x26
jne 0x409adf
push 0x456
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
push 4
push 0x110a
push eax
mov dword [ebp - 0x10200], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
je 0x409adf
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x100b8], 1
push 0
push eax
mov dword [ebp - 0x100b4], ebx
call fcn.00466b60
add esp, 0xc
mov dword [ebp - 0x100a4], 0x80
lea eax, [ebp - 0x50]
mov dword [ebp - 0x100a8], eax
lea eax, [ebp - 0x100b8]
push eax
push 0
push 0x110c
push dword [ebp - 0x10200]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x1015c]
mov byte [ebp - 0x11], 0
call fcn.0045f7e0
add eax, 6
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x409b1b
push ebx
push 1
push 0x110a
push dword [ebp - 0x10200]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jne 0x409a51
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
add eax, 6
push eax
lea eax, [esi + 4]
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x409b1b
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x409a10
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push 0
push esi
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x4091ae
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
push dword [esi]
call fcn.004101c0
add esp, 0x10
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
lea eax, [esi + 4]
push eax
push 2
call fcn.00410e50
add esp, 0x14
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
push 8
push str._status_
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x409e32
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 8], 0
je 0x409e32
mov ecx, 0x4914a8
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409c04
test dl, dl
je 0x409c00
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409c04
add eax, 2
add ecx, 2
test dl, dl
jne 0x409be4
xor eax, eax
jmp 0x409c09
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409e32
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
movsx eax, byte [eax + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.0x409c2f.99
movzx eax, byte [eax + 0x40a5cc]
jmp dword [eax*4 + 0x40a5b0]
xor eax, eax
jmp 0x409c63
mov eax, 1
jmp 0x409c63
mov eax, 2
jmp 0x409c63
mov eax, 3
jmp 0x409c63
mov eax, 4
jmp 0x409c63
mov eax, 6
jmp 0x409c63
mov eax, dword [ebp - 0x10204]
push eax
push edi
mov dword [ebp - 0x101fc], eax
call fcn.00445860
add esp, 8
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 9], 0x26
je 0x4091ae
test esi, esi
je 0x4091ae
lea eax, [esi + 4]
mov al, byte [eax]
cmp al, 0x23
je 0x409ca1
cmp al, 0x26
jne 0x409d49
push 0x456
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffff0000
push 4
push 0x110a
push eax
mov dword [ebp - 0x10200], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
je 0x409d49
push 0x30
lea eax, [ebp - 0x40]
mov dword [ebp - 0x100b8], 3
push 0
push eax
mov dword [ebp - 0x100b4], ebx
call fcn.00466b60
add esp, 0xc
mov dword [ebp - 0x100a4], 0x30
lea eax, [ebp - 0x40]
mov dword [ebp - 0x100a8], eax
lea eax, [ebp - 0x100b8]
push eax
push 0
push 0x110c
push dword [ebp - 0x10200]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x409d6c
push ebx
push 1
push 0x110a
push dword [ebp - 0x10200]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jne 0x409cd1
push edi
lea ebx, [esi + 4]
push ebx
call fcn.0047ca85
add esp, 8
test eax, eax
jne 0x409e15
cmp dword [esi + 0x6a0], eax
jle 0x409e15
jmp 0x409da4
cmp dword [ebp - 0x100a0], 5
je 0x409da1
mov eax, dword [ebp - 0x101fc]
mov dword [ebp - 0x100a0], eax
mov dword [ebp - 0x1009c], eax
lea eax, [ebp - 0x100b8]
push eax
push 0
push 0x110d
push dword [ebp - 0x10200]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [esi + 4]
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push 0
push esi
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x409e15
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
push dword [esi]
call fcn.004101c0
add esp, 0x10
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push ebx
push 2
call fcn.00410e50
add esp, 0x14
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x409c90
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
xor eax, eax
jmp 0x40a594
push str.__broadcast
push ebx
call fcn.0047ca85
add esp, 8
test eax, eax
jne 0x409fd9
test esi, esi
je 0x409f0d
lea eax, [esi + 4]
push str._message_to_all_
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x409e71
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x409e50
jmp 0x409f0d
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push 0
push esi
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x409f05
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push str._message_to_all_
push 4
call fcn.00410e50
add esp, 0x14
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [esi], eax
je 0x409ef2
push esi
call fcn.0040ff90
add esp, 4
push esi
call fcn.00410210
add esp, 4
mov dword [ebp - 0x101fc], 1
test esi, esi
jne 0x40a583
mov ecx, dword [0x4c3118]
push 1
push str.allowbcast
call fcn.004038d0
test eax, eax
je 0x40a583
cmp dword [0x4c0258], 3
je 0x40a583
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
push 0
push 1
push str._message_to_all_
call fcn.0040c0f0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40a583
push 0
push esi
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x40a583
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push str._message_to_all_
push 4
call fcn.00410e50
push esi
call fcn.0040ff90
push esi
call fcn.00410210
add esp, 0x1c
mov dword [ebp - 0x101fc], 1
jmp 0x40a583
lea eax, [ebp - 0x1015c]
push eax
call fcn.00408030
add esp, 4
test al, al
je 0x40a401
push 1
push edi
call fcn.0040b4f0
add esp, 8
test al, al
jne 0x4091ae
push edi
call fcn.00444800
lea eax, [ebp - 0x1015c]
push eax
call fcn.00408950
add esp, 8
test al, al
je 0x40a1e6
push 0x29
lea eax, [ebp - 0x100bc]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
lea ecx, [eax + 9]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a044
sub ecx, edx
push ecx
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
add eax, 9
push eax
lea eax, [ebp - 0x100bc]
push eax
call fcn.0046b3d0
push 0x5c
lea eax, [ebp - 0x101b8]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x100bc]
push eax
push edi
lea eax, [ebp - 0x101b8]
push 0x49200c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea eax, [ebp - 0x101b8]
push 2
push eax
call fcn.0040c0f0
push 0xffff
mov esi, eax
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0x40
lea eax, [ebp - 0x90]
push 0x80
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
test esi, esi
je 0x4091b4
call fcn.0045f7e0
cmp byte [eax + 6], 0x61
jne 0x40a11d
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 7], 0x6b
jne 0x40a11d
push edi
lea eax, [ebp - 0x90]
push str._s_requests_encrypted_chat
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40a177
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 6], 0x6f
jne 0x40a161
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
cmp byte [eax + 7], 0x6b
jne 0x40a161
push edi
lea eax, [ebp - 0x90]
push str._s_accepts_request
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40a177
push edi
lea eax, [ebp - 0x90]
push 0x491638
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push esi
push 0x491258
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x10090]
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x40a583
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push edi
push 1
call fcn.00410e50
push 0
push dword [esi]
call fcn.0040b040
add esp, 0x1c
mov dword [ebp - 0x101fc], 1
jmp 0x40a583
test esi, esi
je 0x40a2e2
nop
lea eax, [esi + 4]
push edi
push eax
call fcn.00403a10
add esp, 8
test eax, eax
jne 0x40a20d
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x40a1f0
jmp 0x40a2e2
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push 0
push esi
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x40a28a
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push edi
push 1
call fcn.00410e50
push 0
push dword [esi]
call fcn.0040b040
add esp, 0x1c
mov dword [ebp - 0x101fc], 1
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
call fcn.0047cb67
push 0x492044
push eax
call fcn.00470110
push 0x491950
push 0
call fcn.00470110
mov edx, eax
add esp, 0x14
test edx, edx
je 0x40a2da
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a2c0
sub ecx, ebx
lea eax, [esi + 0x284]
push ecx
push edx
push eax
call fcn.0046b3d0
add esp, 0xc
test esi, esi
jne 0x40a583
push 9
push str._history_
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
call fcn.0047cbbd
add esp, 0xc
test eax, eax
je 0x4091ae
test esi, esi
jne 0x40a583
mov ecx, dword [0x4c3118]
push 1
push str.allowpriv
call fcn.004038d0
test eax, eax
je 0x40a583
cmp dword [0x4c0258], 3
je 0x40a583
push 0xffff
lea eax, [ebp - 0x10090]
push esi
push eax
call fcn.00466b60
push esi
push 1
push edi
call fcn.0040c0f0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40a3f1
push 0
push esi
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x40a583
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push edi
push 1
call fcn.00410e50
add esp, 0x14
mov dword [ebp - 0x101fc], 1
lea ecx, [ebp - 0x1015c]
push 5
push str._iam_
call fcn.0045f7e0
push eax
call fcn.0046b620
add esp, 0xc
test eax, eax
jne 0x40a583
push eax
push eax
push edi
call fcn.00444c00
add esp, 0xc
jmp 0x40a583
push str.msgdnr
push edi
call fcn.00411980
jmp 0x40a580
mov al, byte [ebx]
cmp al, 0x23
je 0x40a41c
cmp al, 0x26
jne 0x40a583
push ebx
call fcn.0040ba80
add esp, 4
test eax, eax
je 0x40a425
push ebx
call fcn.004453d0
add esp, 4
test esi, esi
je 0x40a583
nop dword [eax]
lea eax, [esi + 4]
push ebx
push eax
call fcn.0047ca85
add esp, 8
test eax, eax
je 0x40a44d
mov esi, dword [esi + 0x60]
test esi, esi
jne 0x40a430
jmp 0x40a583
mov eax, dword [ebp - 0x10204]
push 0x10
push 0x10
add eax, 0x1d
push eax
push edi
push dword [esi]
call fcn.00410260
push 0xffff
lea eax, [ebp - 0x10090]
push 0
push eax
call fcn.00466b60
add esp, 0x20
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
mov ecx, str._leave
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a4b0
test dl, dl
je 0x40a4ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a4b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a490
xor eax, eax
jmp 0x40a4b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a4c3
push edi
push esi
call fcn.0040f8f0
add esp, 8
push 0
push esi
lea ecx, [ebp - 0x1015c]
call fcn.0045f7e0
push eax
lea eax, [ebp - 0x10090]
push edi
push eax
call fcn.00410640
add esp, 0x14
cmp byte [ebp - 0x10090], 0
je 0x40a53d
push 0
push edi
call fcn.0040b4f0
add esp, 8
test al, al
jne 0x4091ae
push 0
lea eax, [ebp - 0x10090]
push eax
push dword [esi]
call fcn.00407510
add esp, 0xc
lea ecx, [ebp - 0x1015c]
push esi
call fcn.0045f7e0
push eax
push edi
push ebx
push 2
call fcn.00410e50
push 0
push dword [esi]
call fcn.0040b040
add esp, 0x1c
mov dword [ebp - 0x101fc], 1
lea ecx, [ebp - 0x1015c]
mov ebx, str._leave
call fcn.0045f7e0
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [ebx]
jne 0x40a570
test cl, cl
je 0x40a56c
mov cl, byte [eax + 1]
cmp cl, byte [ebx + 1]
jne 0x40a570
add eax, 2
add ebx, 2
test cl, cl
jne 0x40a550
xor eax, eax
jmp 0x40a575
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a583
push edi
push esi
call fcn.0040f8f0
add esp, 8
lea ecx, [ebp - 0x1015c]
call fcn.0045f570
mov eax, dword [ebp - 0x101fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret