Function at 0x1422f70
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 0x142356a
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x30], eax
call fcn.0140e8e0
mov ecx, dword [edi + 0x10c]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
call dword [edx + 0x78]
test al, al
je 0x1422fc6
mov ecx, dword [edi + 0x10c]
call fcn.0140e8e0
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 0x1423004
lea ebp, [edi + 0x8c]
mov dword [ebp + 0xc], esi
jmp 0x1423047
lea ebx, [eax + 1]
mov eax, dword [edi + 0x98]
cmp ebx, eax
jge 0x1423032
lea esi, [edi + 0x8c]
push 1
push ebx
mov ecx, esi
call fcn.014247c0
mov ecx, dword [esi + 0xc]
dec ecx
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x98]
cmp ebx, eax
jl 0x1423017
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 0x142305a
cmp ax, 0xa
jne 0x142305b
inc esi
push esi
mov ecx, edi
call fcn.01422ce0
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.01422ea0
mov ecx, dword [edi + 0x84]
mov eax, esi
cmp esi, ecx
mov byte [edi + 0xe8], 0
mov dword [esp + 0x14], eax
jge 0x142350a
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 0x14230c3
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.01422de0
test al, al
je 0x142322b
mov al, byte [esp + 0x58]
mov cl, byte [edi + 0xe8]
cmp al, cl
je 0x142322b
test al, al
je 0x1423225
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0xec]
lea esi, [edi + 0xec]
cmp edx, eax
jl 0x14231dc
push 0x78
call fcn.0142f510
mov esi, eax
add esp, 4
test esi, esi
je 0x14231b4
mov ecx, esi
call fcn.0140aeb0
mov al, byte [0x35657a4]
test al, al
jne 0x142316f
push str.ClickPanel
mov byte [0x35657a4], 1
call fcn.01410610
mov ebx, eax
add esp, 4
mov dword [ebx + 0x1c], 0x14235a0
mov al, byte [str.Panel]
test al, al
je 0x142316f
push str.Panel
call fcn.01410610
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.0140d070
push edi
mov ecx, esi
call fcn.0140e450
push 0xe
mov ecx, esi
call fcn.0140e160
push 0
mov ecx, esi
call fcn.0140e810
push 0
mov ecx, esi
call fcn.0140e820
push 0
mov ecx, esi
call fcn.0140e800
mov ebx, esi
jmp 0x14231b6
xor ebx, ebx
mov eax, dword [edi + 0xec]
lea esi, [edi + 0xec]
inc eax
mov ecx, esi
push eax
call fcn.01424730
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 0x1423218
cmp eax, dword [esi]
jge 0x1423218
mov eax, dword [esi + 8]
mov ecx, dword [ecx + eax]
jmp 0x142321a
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.01434e80
add esp, 4
test eax, eax
jne 0x1423257
mov al, byte [esp + 0x11]
test al, al
jne 0x142325c
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 0x142325c
mov byte [esp + 0x11], 0
call fcn.01406300
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.01434ec0
add esp, 4
test eax, eax
je 0x1423291
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 0x14232b7
cmp bx, 0xd
je 0x14232b7
cmp bx, 0xa
jne 0x14234e5
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.01422f20
cmp bx, 0xd
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 0
je 0x14234bf
cmp bx, 0xa
je 0x14234bf
mov al, byte [esp + 0x13]
mov esi, dword [ebp + 0xc]
test al, al
je 0x1423467
push 1
mov ecx, ebp
call fcn.01424900
push 1
push esi
mov ecx, ebp
call fcn.01424980
mov edx, dword [ebp]
lea eax, [edx + esi*4]
test eax, eax
je 0x1423318
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov al, byte [esp + 0x58]
test al, al
je 0x14234e5
mov eax, dword [esp + 0x24]
lea ebx, [edi + 0xec]
test eax, eax
jl 0x1423342
cmp eax, dword [ebx]
jge 0x1423342
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edx]
jmp 0x1423344
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 0x1423416
push 0x78
call fcn.0142f510
mov esi, eax
add esp, 4
test esi, esi
je 0x14233fc
mov ecx, esi
call fcn.0140aeb0
mov al, byte [0x35657a4]
test al, al
jne 0x14233b9
push str.ClickPanel
mov byte [0x35657a4], 1
call fcn.01410610
mov dword [esp + 0x38], eax
mov dword [eax + 0x1c], 0x14235a0
mov al, byte [str.Panel]
add esp, 4
test al, al
je 0x14233b9
push str.Panel
call fcn.01410610
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.0140d070
push edi
mov ecx, esi
call fcn.0140e450
push 0xe
mov ecx, esi
call fcn.0140e160
push 0
mov ecx, esi
call fcn.0140e810
push 0
mov ecx, esi
call fcn.0140e820
push 0
mov ecx, esi
call fcn.0140e800
jmp 0x14233fe
xor esi, esi
mov edx, dword [ebx]
mov ecx, ebx
inc edx
push edx
call fcn.01424730
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 0x142345c
cmp eax, dword [ebx]
jge 0x142345c
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [edx + eax]
mov dword [edx + 0x74], ecx
jmp 0x14234e5
mov ecx, dword [esp + 0x40]
xor edx, edx
mov dword [edx + 0x74], ecx
jmp 0x14234e5
cmp esi, dword [ebp + 4]
jl 0x142347f
push 0
mov ecx, ebp
call fcn.0141d8e0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp edx, eax
jge 0x142346c
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
sub eax, esi
dec eax
test eax, eax
jle 0x14234a5
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.014314a0
add esp, 0xc
mov ecx, dword [ebp]
lea esi, [ecx + esi*4]
test esi, esi
je 0x14234b5
mov edx, dword [esp + 0x30]
mov dword [esi], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jmp 0x14234e5
mov esi, dword [ebp + 0xc]
push 1
mov ecx, ebp
call fcn.01424900
push 1
push esi
mov ecx, ebp
call fcn.01424980
mov ecx, dword [ebp]
lea esi, [ecx + esi*4]
test esi, esi
je 0x14234e5
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 0x14230bf
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp esi, eax
jl 0x1423527
push 0
mov ecx, ebp
call fcn.0141d8e0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp ecx, eax
jge 0x1423514
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
sub eax, esi
dec eax
test eax, eax
jle 0x1423551
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.014314a0
add esp, 0xc
mov edx, dword [ebp]
pop ebp
pop ebx
lea esi, [edx + esi*4]
test esi, esi
je 0x1423563
mov dword [esi], 0xf423f
mov byte [edi + 0xbc], 1
pop edi
pop esi
add esp, 0x50
ret