Function at 0x454a20
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4baf98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x57e030]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x24]
mov eax, dword [ebx + 0xcc]
mov edx, dword [eax + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ebx, dword [ebx + 0x34]
mov ecx, esi
call edx
mov eax, dword [edi + 0x70]
mov edx, dword [eax + 0xc]
lea ecx, [edi + 0x70]
push ebx
call edx
mov ebx, dword [edi + 0x24]
mov eax, dword [ebx + 0xcc]
mov edx, dword [eax + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov bl, byte [ebx + 0x38]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x8c]
xor eax, eax
test bl, bl
setne al
push 0
push eax
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov bl, byte [ebx + 0x39]
mov ecx, esi
call eax
mov edx, dword [edi + 0x98]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test bl, bl
setne cl
push 0
push ecx
push 0xf1
push edx
call esi
mov eax, dword [edi + 0x8c]
push 0
push 0
push 0xf0
push eax
call esi
mov edx, dword [edi + 0x94]
mov edx, dword [edx + 4]
test eax, eax
setne cl
mov byte [esp + 0x14], cl
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x94]
push eax
call edx
lea ecx, [esp + 0x18]
call fcn.00404990
mov dword [esp + 0x88], 0
mov esi, dword [edi + 0x24]
lea ebx, [esp + 0x18]
call fcn.00441970
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, eax
sar ecx, 1
sub ecx, 1
jne 0x454b9d
push 0x9c56
call fcn.00401bb0
add esp, 4
push eax
mov ecx, ebx
call fcn.00405d10
mov edx, dword [edi + 0x28]
mov eax, dword [edx + 4]
lea ecx, [edi + 0x28]
push 0
call eax
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 4]
lea ecx, [edi + 0x7c]
push 0
call eax
mov eax, dword [esp + 0x28]
mov esi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x454baa
call fcn.00480e22
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x454c75
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x454bc7
call fcn.00480e22
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 8]
lea ecx, [edi + 0x7c]
push esi
call eax
lea ecx, [esp + 0x38]
call fcn.00404990
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x28]
mov ebx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x454bf5
call fcn.00480e22
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x454c7c
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x454c0e
call fcn.00480e22
lea ecx, [esp + 0x38]
push ecx
call fcn.00455c30
mov eax, dword [esp + 0x48]
mov esi, eax
cmp eax, dword [esp + 0x4c]
jbe 0x454c29
call fcn.00480e22
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x454c80
call fcn.00480e22
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x454c42
call fcn.00480e22
push esi
lea edx, [esp + 0x58]
push edx
call fcn.00462170
push 3
push connect
lea eax, [esp + 0x5c]
mov byte [esp + 0x90], 2
call fcn.00462c60
lea ecx, [edi + 0x28]
test al, al
mov eax, dword [ecx]
mov edx, dword [eax + 4]
je 0x454c84
push 1
jmp 0x454c86
mov eax, dword [eax]
jmp 0x454bbd
mov eax, dword [eax]
jmp 0x454c04
mov eax, dword [eax]
jmp 0x454c38
push 0
call edx
mov esi, 5
lea ecx, [ecx]
mov eax, dword [edi + 0xa4]
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esi, 1
jne 0x454c90
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov bl, byte [ebx + 0x3a]
mov ecx, esi
call eax
test bl, bl
je 0x454d37
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov bl, byte [ebx + 0x3b]
mov ecx, esi
call eax
test bl, bl
jne 0x454d37
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov bl, byte [ebx + 0x3c]
mov ecx, esi
call eax
test bl, bl
jne 0x454d37
mov ecx, dword [edi + 0xa4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push ecx
call ebx
jmp 0x454d3d
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3a]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x454dee
mov esi, dword [edi + 0x24]
mov eax, dword [esi + 0xcc]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x3b]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov byte [esp + 0x13], cl
mov ecx, esi
call eax
cmp byte [esp + 0x13], 0
je 0x454dee
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3c]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x454dee
mov eax, dword [edi + 0xb0]
push 0
push 1
push 0xf1
push eax
call ebx
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3a]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x454e9f
mov esi, dword [edi + 0x24]
mov eax, dword [esi + 0xcc]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x3b]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov byte [esp + 0x13], cl
mov ecx, esi
call eax
cmp byte [esp + 0x13], 0
je 0x454e9f
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3c]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
je 0x454e9f
mov eax, dword [edi + 0xbc]
push 0
push 1
push 0xf1
push eax
call ebx
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3a]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x454f50
mov esi, dword [edi + 0x24]
mov eax, dword [esi + 0xcc]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x3b]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov byte [esp + 0x13], cl
mov ecx, esi
call eax
cmp byte [esp + 0x13], 0
jne 0x454f50
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3c]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x454f50
mov eax, dword [edi + 0xc8]
push 0
push 1
push 0xf1
push eax
call ebx
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3a]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
jne 0x455001
mov esi, dword [edi + 0x24]
mov eax, dword [esi + 0xcc]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x3b]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov byte [esp + 0x13], cl
mov ecx, esi
call eax
cmp byte [esp + 0x13], 0
jne 0x455001
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + 0x3c]
mov eax, dword [esi]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp byte [esp + 0x13], 0
je 0x455001
mov eax, dword [edi + 0xd4]
push 0
push 1
push 0xf1
push eax
call ebx
lea esi, [edi + 0x50]
mov dword [esp + 0x14], 3
lea esp, [esp]
mov ecx, dword [esi]
push 0
push 0
push 0xf1
push ecx
call ebx
add esi, 0xc
sub dword [esp + 0x14], 1
jne 0x455010
mov esi, dword [edi + 0x24]
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 4]
mov dword [esp + 0x14], esi
add esi, 0xcc
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x455086
sub eax, 1
je 0x455077
sub eax, 1
jne 0x455095
push eax
mov eax, dword [edi + 0x68]
push 1
push 0xf1
push eax
jmp 0x455093
mov ecx, dword [edi + 0x5c]
push 0
push 1
push 0xf1
push ecx
jmp 0x455093
mov edx, dword [edi + 0x50]
push 0
push 1
push 0xf1
push edx
call ebx
mov ebx, dword [edi + 0x24]
mov eax, dword [ebx + 0xcc]
mov edx, dword [eax + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov bl, byte [ebx + 0xa9]
mov ecx, esi
call edx
mov ecx, dword [edi + 0xe0]
xor eax, eax
test bl, bl
setne al
push 0
push eax
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov bl, byte [ebx + 0xca]
mov ecx, esi
call eax
test bl, bl
je 0x4551a2
mov ebx, dword [edi + 0x24]
mov edx, dword [ebx + 0xcc]
mov eax, dword [edx + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0x26]
mov edx, dword [ebx + 0x2a]
mov eax, dword [esi]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [edi + 0x134]
mov dword [esp + 0x34], esi
add esi, 0xc
xor eax, eax
mov ecx, esi
call fcn.00458920
mov eax, 8
mov ecx, esi
call fcn.00458920
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
sub ebx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x10]
jbe 0x455169
call fcn.00480e22
mov esi, dword [esi]
test esi, esi
jne 0x455286
call fcn.00480e22
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x10]
jb 0x455186
call fcn.00480e22
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x74]
push ecx
push edx
call fcn.00483e40
mov esi, dword [esp + 0x40]
add esp, 0xc
call fcn.00458890
mov ebx, dword [edi + 0x24]
mov eax, dword [ebx + 0xcc]
mov edx, dword [eax + 4]
lea esi, [ebx + 0xcc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov bl, byte [ebx + 0x38]
mov ecx, esi
call edx
mov edi, dword [edi + 0x134]
mov esi, edi
mov byte [edi + 0x24], bl
call fcn.00458890
mov eax, dword [esp + 0x64]
xor esi, esi
mov edi, vtable.StringStorage.0
mov dword [esp + 0x54], edi
cmp eax, esi
je 0x4551f0
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.00480e32
mov eax, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x38], edi
cmp eax, esi
je 0x45521e
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x3c]
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.00480e32
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x18], edi
cmp eax, esi
je 0x45524c
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004807f8
mov esp, ebp
pop ebp
ret
mov esi, dword [esi]
jmp 0x455178