Function at 0x1421aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0x84]
mov byte [edi + 0xb4], 0
cmp eax, esi
mov byte [edi + 0x118], 1
je 0x142209a
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x30], eax
call fcn.0140e160
mov ecx, dword [edi + 0x10c]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
call dword [edx + 0x78]
test al, al
je 0x1421af6
mov ecx, dword [edi + 0x10c]
call fcn.0140e160
sub dword [esp + 0x24], eax
mov eax, dword [edi + 0x104]
mov ecx, dword [edi + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xb8]
push ebx
cmp eax, esi
push ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], esi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 1
jg 0x1421b34
lea ebp, [edi + 0x8c]
mov dword [ebp + 0xc], esi
jmp 0x1421b77
lea ebx, [eax + 1]
mov eax, dword [edi + 0x98]
cmp ebx, eax
jge 0x1421b62
lea esi, [edi + 0x8c]
push 1
push ebx
mov ecx, esi
call fcn.01423270
mov ecx, dword [esi + 0xc]
dec ecx
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x98]
cmp ebx, eax
jl 0x1421b47
mov edx, dword [edi + 0xb8]
mov eax, dword [edi + 0x8c]
lea ebp, [edi + 0x8c]
mov esi, dword [eax + edx*4]
mov ecx, dword [edi + 0x78]
mov ax, word [ecx + esi*2]
cmp ax, 0xd
je 0x1421b8a
cmp ax, 0xa
jne 0x1421b8b
inc esi
push esi
mov ecx, edi
call fcn.01421820
mov ebx, eax
lea edx, [esp + 0x48]
inc ebx
push edx
push esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
mov byte [esp + 0x5a], 0
mov byte [esp + 0x5b], 0
call fcn.014219e0
mov ecx, dword [edi + 0x84]
mov eax, esi
cmp esi, ecx
mov byte [edi + 0xe8], 0
mov dword [esp + 0x14], eax
jge 0x142203a
lea ecx, [ebx - 1]
mov dword [esp + 0x24], ecx
lea ecx, [ebx*4]
mov dword [esp + 0x1c], ecx
add ecx, 0xfffffffc
mov dword [esp + 0x20], ecx
jmp 0x1421bf3
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x48]
push ecx
push eax
mov bx, word [edx + eax*2]
mov ecx, edi
mov dword [esp + 0x3c], ebx
call fcn.01421920
test al, al
je 0x1421d5b
mov al, byte [esp + 0x58]
mov cl, byte [edi + 0xe8]
cmp al, cl
je 0x1421d5b
test al, al
je 0x1421d55
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0xec]
lea esi, [edi + 0xec]
cmp edx, eax
jl 0x1421d0c
push 0x78
call fcn.0142dd30
mov esi, eax
add esp, 4
test esi, esi
je 0x1421ce4
mov ecx, esi
call fcn.0140a970
mov al, byte [0x3562cf4]
test al, al
jne 0x1421c9f
push str.ClickPanel
mov byte [0x3562cf4], 1
call fcn.0140fe30
mov ebx, eax
add esp, 4
mov dword [ebx + 0x1c], 0x14220d0
mov al, byte [str.Panel]
test al, al
je 0x1421c9f
push str.Panel
call fcn.0140fe30
add esp, 4
mov dword [ebx + 0x18], eax
push edi
mov ecx, esi
mov dword [esi], vtable.vgui2::ClickPanel.0
mov dword [esi + 0x74], 0
call fcn.0140c9c0
push edi
mov ecx, esi
call fcn.0140ddb0
push 0xe
mov ecx, esi
call fcn.0140dac0
push 0
mov ecx, esi
call fcn.0140e090
push 0
mov ecx, esi
call fcn.0140e0a0
push 0
mov ecx, esi
call fcn.0140e080
mov ebx, esi
jmp 0x1421ce6
xor ebx, ebx
mov eax, dword [edi + 0xec]
lea esi, [edi + 0xec]
inc eax
mov ecx, esi
push eax
call fcn.014231e0
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [edx + ecx*4], ebx
mov eax, dword [esi]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
inc edx
mov dword [esp + 0x18], edx
mov edx, ecx
add edx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
inc edx
test eax, eax
mov dword [esp + 0x24], edx
jl 0x1421d48
cmp eax, dword [esi]
jge 0x1421d48
mov eax, dword [esi + 8]
mov ecx, dword [ecx + eax]
jmp 0x1421d4a
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x58]
mov dword [ecx + 0x74], edx
mov byte [edi + 0xe8], al
push ebx
call fcn.01432e90
add esp, 4
test eax, eax
jne 0x1421d87
mov al, byte [esp + 0x11]
test al, al
jne 0x1421d8c
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x12]
mov dword [esp + 0x30], eax
mov byte [esp + 0x11], 1
mov byte [esp + 0x13], cl
jmp 0x1421d8c
mov byte [esp + 0x11], 0
call fcn.01406030
mov edx, dword [eax]
mov ecx, ebx
and ecx, 0xffff
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
call dword [edx + pe_nt_image_headers32]
mov esi, eax
push ebx
mov dword [esp + 0x48], esi
call fcn.01432ed0
add esp, 4
test eax, eax
je 0x1421dc1
mov byte [esp + 0x12], 0
mov edx, dword [edi + 0xd0]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add edx, esi
add edx, ecx
cmp edx, eax
jge 0x1421de7
cmp bx, 0xd
je 0x1421de7
cmp bx, 0xa
jne 0x1422015
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.01421a50
cmp bx, 0xd
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 0
je 0x1421fef
cmp bx, 0xa
je 0x1421fef
mov al, byte [esp + 0x13]
mov esi, dword [ebp + 0xc]
test al, al
je 0x1421f97
push 1
mov ecx, ebp
call fcn.014233b0
push 1
push esi
mov ecx, ebp
call fcn.0141cd10
mov edx, dword [ebp]
lea eax, [edx + esi*4]
test eax, eax
je 0x1421e48
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov al, byte [esp + 0x58]
test al, al
je 0x1422015
mov eax, dword [esp + 0x24]
lea ebx, [edi + 0xec]
test eax, eax
jl 0x1421e72
cmp eax, dword [ebx]
jge 0x1421e72
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edx]
jmp 0x1421e74
xor eax, eax
mov ecx, dword [eax + 0x74]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x40], ecx
cmp edx, eax
jl 0x1421f46
push 0x78
call fcn.0142dd30
mov esi, eax
add esp, 4
test esi, esi
je 0x1421f2c
mov ecx, esi
call fcn.0140a970
mov al, byte [0x3562cf4]
test al, al
jne 0x1421ee9
push str.ClickPanel
mov byte [0x3562cf4], 1
call fcn.0140fe30
mov dword [esp + 0x38], eax
mov dword [eax + 0x1c], 0x14220d0
mov al, byte [str.Panel]
add esp, 4
test al, al
je 0x1421ee9
push str.Panel
call fcn.0140fe30
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx + 0x18], eax
push edi
mov ecx, esi
mov dword [esi], vtable.vgui2::ClickPanel.0
mov dword [esi + 0x74], 0
call fcn.0140c9c0
push edi
mov ecx, esi
call fcn.0140ddb0
push 0xe
mov ecx, esi
call fcn.0140dac0
push 0
mov ecx, esi
call fcn.0140e090
push 0
mov ecx, esi
call fcn.0140e0a0
push 0
mov ecx, esi
call fcn.0140e080
jmp 0x1421f2e
xor esi, esi
mov edx, dword [ebx]
mov ecx, ebx
inc edx
push edx
call fcn.014231e0
mov eax, dword [ebx]
mov ecx, dword [ebx + 8]
mov dword [ecx + eax*4], esi
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edx, ecx
mov eax, esi
add ecx, 4
inc esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x24]
add ecx, 4
inc esi
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
jl 0x1421f8c
cmp eax, dword [ebx]
jge 0x1421f8c
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [edx + eax]
mov dword [edx + 0x74], ecx
jmp 0x1422015
mov ecx, dword [esp + 0x40]
xor edx, edx
mov dword [edx + 0x74], ecx
jmp 0x1422015
cmp esi, dword [ebp + 4]
jl 0x1421faf
push 0
mov ecx, ebp
call fcn.0141cda0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp edx, eax
jge 0x1421f9c
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
sub eax, esi
dec eax
test eax, eax
jle 0x1421fd5
mov ecx, dword [ebp]
shl eax, 2
push eax
lea edx, [ecx + esi*4]
lea eax, [ecx + esi*4 + 4]
push edx
push eax
call fcn.0142dd50
add esp, 0xc
mov ecx, dword [ebp]
lea esi, [ecx + esi*4]
test esi, esi
je 0x1421fe5
mov edx, dword [esp + 0x30]
mov dword [esi], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x1422015
mov esi, dword [ebp + 0xc]
push 1
mov ecx, ebp
call fcn.014233b0
push 1
push esi
mov ecx, ebp
call fcn.0141cd10
mov ecx, dword [ebp]
lea esi, [ecx + esi*4]
test esi, esi
je 0x1422015
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov ecx, dword [edi + 0x84]
add esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x1421bef
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp esi, eax
jl 0x1422057
push 0
mov ecx, ebp
call fcn.0141cda0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp ecx, eax
jge 0x1422044
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
sub eax, esi
dec eax
test eax, eax
jle 0x1422081
mov ecx, dword [ebp]
lea edx, [eax*4]
push edx
lea eax, [ecx + esi*4]
lea ecx, [ecx + esi*4 + 4]
push eax
push ecx
call fcn.0142dd50
add esp, 0xc
mov edx, dword [ebp]
pop ebp
pop ebx
lea esi, [edx + esi*4]
test esi, esi
je 0x1422093
mov dword [esi], 0xf423f
mov byte [edi + 0xbc], 1
pop edi
pop esi
add esp, 0x50
ret