Function at 0x500210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa86c
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [0x61a268], 1
jne 0x500288
cmp dword [0x61a250], 3
jg 0x500288
cmp dword [esi], ebx
jne 0x500288
push 3
push 0xa5
push str.f:my_lab_tabexplorerextab_masterlibrary_viewcontrols_button_text_button.cpp
lea ecx, [ebp - 0xec]
call fcn.0046c100
mov dword [ebp - 4], ebx
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_set.top_left.
mov dword [ebp - 0x1c], ebx
call fcn.00403840
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x50029f
lea ecx, [ebp - 0xec]
call fcn.0046c520
mov eax, dword [ebp + 8]
push 0
push 0
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi]
push ecx
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
mov ebx, dword [ecx + 0x20]
mov dword [ebp - 0x30], ebx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x20]
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
mov dword [ebp - 0x38], edx
call dword [eax + 0x48]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov esi, dword [esi]
push 0
mov edx, dword [eax + 4]
push dword [ebp - 0x18]
mov eax, dword [eax + 8]
sub ecx, dword [eax + 0x20]
sub ecx, ebx
push ecx
push 0
push ebx
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push dword [edx + 0x20]
push 0
push 0
push edx
call dword [esi + 0x40]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx]
push 0
mov ecx, dword [esi + 8]
sub eax, dword [ecx + 0x20]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x48]
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
sub ebx, edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
mov esi, dword [ebp - 0x2c]
sub eax, esi
push 0
push eax
mov edx, dword [edi]
push dword [ebp - 0x30]
push esi
push 0
push dword [ecx + 0x24]
push dword [ebp - 0x20]
push 0
push 0
push ecx
mov ecx, edi
call dword [edx + 0x40]
mov edi, dword [ebp + 8]
sub edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, edi
sub eax, dword [ebp - 0x18]
sub esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
mov ecx, dword [ecx + 0x10]
mov eax, esi
sub eax, dword [ebp - 0x20]
mov edx, dword [edx]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ecx + 0x24]
push dword [ecx + 0x20]
push 0
push 0
push ecx
mov ecx, dword [ebp + 0xc]
call dword [edx + 0x40]
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x34]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
push 0
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push esi
push dword [ecx + 0x24]
mov esi, dword [ebp + 0xc]
push eax
push 0
push 0
push ecx
mov ecx, esi
call dword [edx + 0x40]
mov eax, dword [esi]
mov ecx, esi
push ebx
mov ebx, dword [ebp + 0x10]
push 0
push dword [ebx + 0x18]
call dword [eax + 0x48]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x38]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [esi]
push 0
push ecx
mov dword [ebp - 0x14], eax
sub eax, ebx
push eax
push edi
push ebx
push ecx
push dword [edx + 0x20]
push 0
push 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push edx
call dword [esi + 0x40]
push dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebx]
push dword [ecx + 0x20]
mov ecx, ebx
call dword [eax + 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc