Function at 0x4044e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598390
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x60f074]
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 ebx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], 0
mov dword [ebx + 4], vtable.view::ButtonListener.0
mov dword [ebx + 8], vtable.view::ContextMenuController.0
lea ecx, [ebx + 0xc]
call fcn.004dc3b0
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x94]
push 0x2c
push 0
push esi
mov dword [ebx], vtable.BaseTab.0
mov dword [ebx + 4], vtable.BaseTab.4.0
mov dword [ebx + 8], vtable.BaseTab.3.0
mov dword [ecx], vtable.BaseTab.1.0
mov dword [ebx + 0x10], vtable.BaseTab.2.0
mov dword [ebx + 0x90], eax
call fcn.0056f6e0
mov dword [esi + 0x2c], 0
xor eax, eax
mov dword [esi + 0x40], 0
add esp, 0xc
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
mov byte [esi + 0x60], al
mov dword [esi + 0x64], 4
mov word [esi + 0x68], 1
mov byte [esi + 0x6a], al
mov word [ebx + 0x100], ax
mov dword [ebx + 0x104], eax
mov dword [ebx + 0x108], eax
mov byte [ebx + 0x10c], al
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], eax
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], eax
mov byte [ebp - 4], 8
mov byte [ebx + 0x124], al
mov dword [ebx + 0x128], eax
cmp byte [0x61f24c], al
jne 0x404656
push 4
mov byte [0x61f24c], 1
call fcn.00550175
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 9
call fcn.004e43c0
mov edi, eax
mov esi, dword [edi]
push esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.004e4840
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ecx], eax
test eax, eax
je 0x404640
inc dword [eax + 4]
mov byte [ebp - 4], 8
mov dword [0x61a140], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [0x61a144], eax
push 0x1dc
mov dword [ebx + 0x18], 0xc
call fcn.00550175
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
lea eax, [ebx + 4]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.004e71d0
mov dword [esi], vtable.TabCloseButton.1.0
mov dword [esi + 4], vtable.TabCloseButton.2.0
mov dword [esi + 0xd8], vtable.TabCloseButton.0
mov byte [ebp - 4], 8
mov dword [ebx + 0x120], esi
call fcn.004e43c0
mov esi, eax
call fcn.00442680
mov ecx, esi
push 0
test al, al
je 0x404704
push 0x1884
call fcn.004e4490
mov ecx, eax
call fcn.004da5e0
mov ecx, dword [ebx + 0x120]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x19c]
push 0
push 0x1881
mov ecx, esi
call fcn.004e4490
mov ecx, eax
call fcn.004da5e0
mov ecx, dword [ebx + 0x120]
push eax
push 1
mov edx, dword [ecx]
call dword [edx + 0x19c]
push 0
push 0x1883
jmp 0x404753
push 0x1878
call fcn.004e4490
mov ecx, eax
call fcn.004da5e0
mov ecx, dword [ebx + 0x120]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x19c]
push 0
push 0x1879
mov ecx, esi
call fcn.004e4490
mov ecx, eax
call fcn.004da5e0
mov ecx, dword [ebx + 0x120]
push eax
push 1
mov edx, dword [ecx]
call dword [edx + 0x19c]
push 0
push 0x187b
mov ecx, esi
call fcn.004e4490
mov ecx, eax
call fcn.004da5e0
mov ecx, dword [ebx + 0x120]
push eax
push 2
mov edx, dword [ecx]
call dword [edx + 0x19c]
mov edx, 0x2f05
lea ecx, [ebp - 0x40]
call fcn.004e67f0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00405a50
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov esi, dword [ebx + 0x120]
lea ecx, [esi + 0x88]
cmp ecx, eax
je 0x4047b4
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00405c70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edi, eax
test edi, edi
je 0x4047dd
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
je 0x4047dd
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [ebp - 0x28]
call fcn.00405c10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00405c10
mov edx, 0x2edd
lea ecx, [ebp - 0x40]
call fcn.004e67f0
mov edx, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebx + 0x120]
add ecx, 0xa0
cmp ecx, edx
je 0x404825
cmp dword [edx + 0x14], 8
jb 0x40481c
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405c70
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00405c10
mov eax, dword [ebx + 0x120]
push 0
mov ecx, dword [eax + 0xe0]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, dword [ebx + 0x28]
lea ecx, [ebx + 0xc]
sub edx, dword [ecx + 0x18]
sar edx, 2
push edx
push dword [ebx + 0x120]
call fcn.004dc5f0
lea eax, [ebx + 8]
mov dword [ebx + 0x84], eax
mov eax, ebx
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.00550156
mov esp, ebp
pop ebp
ret 4