Function at 0x4b5dc0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x3f4
mov eax, dword [esi + 4]
lea edi, [esi + 0x24]
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi], eax
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
and ebx, 0x40000000
je 0x4b5e05
mov edx, dword [esi + 4]
push edx
call ebp
jmp 0x4b5e11
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x48]
push ecx
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
jne 0x4b5e88
test edi, edi
je 0x4b5e43
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4b5e41
test eax, 0x20000000
je 0x4b5e43
xor edi, edi
lea eax, [esp + 0x38]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
jne 0x4b5e7a
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x4b5eb5
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4b5eb5
mov eax, dword [esi + 4]
push eax
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x38]
mov ebx, eax
push ecx
push ebx
call ebp
lea edx, [esp + 0x18]
push edx
push edi
call ebp
lea eax, [esp + 0x18]
push 2
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
sub ebp, edx
mov edx, dword [esp + 0x18]
sub ebx, edi
lea eax, [ecx + edx]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x24]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jl 0x4b5f13
mov eax, dword [esp + 0x40]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x4b5f15
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
jl 0x4b5f2a
mov eax, dword [esp + 0x44]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x4b5f2c
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
xor ebp, ebp
push ecx
push ebp
push eax
call ebx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [esi + 4]
push 0xe800
push 0x5600094c
push ebp
push 0xe1
push eax
call fcn.0040d730
add esp, 0x14
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 4]
push 0x3ea
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov edi, eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x28]
mov dword [esp + 0x30], edx
push eax
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebp
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x28]
push ecx
push edx
call edi
test eax, eax
je 0x4b5fc4
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edx, eax
push ebp
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x30]
push ecx
push ebp
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x11
cmp ebx, 0xd
je 0x4b6001
mov ecx, dword [esi + 0x30]
push ebp
push ebx
push 0x416
push ecx
call edi
dec ebx
cmp ebx, 5
jge 0x4b5fef
mov edx, dword [esi + 0x30]
push ebp
push 3
push 0x416
push edx
call edi
mov ecx, esi
call fcn.004b6260
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [0x4e3a24]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4ee068]
push ebx
call fcn.0043d350
mov ecx, dword [0x4e3a24]
mov ebx, eax
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, ebp
je 0x4b605e
lea edx, [esi + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x4b6062
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
lea ecx, [ebx + 4]
push eax
call fcn.00428ca0
cmp esi, ebp
je 0x4b607c
add esi, 0x20
mov dword [esp + 0x10], esi
jmp 0x4b6080
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebx + 0x10]
call fcn.00428ca0
mov esi, dword [esp + 0x14]
push 0x4e3a28
push 0x4e3a28
mov edx, dword [esi]
push edx
call fcn.004b4bf0
mov eax, dword [esi]
push ebp
push str.explorer
push eax
call fcn.004b4bf0
mov ecx, dword [esi]
add esp, 0x18
push ecx
call dword [sym.imp.USER32.dll_ShowCaret]
mov edx, dword [esi]
push ebp
push ebp
push 0x101c
push edx
call edi
mov eax, dword [esi]
push ebp
push ebp
push 0x101c
push eax
call edi
mov ecx, dword [esi]
push ebp
push ebp
push 0x101c
push ecx
call edi
mov edx, dword [esi]
push ebp
push ebp
push 0x101c
push edx
call edi
mov eax, dword [0x4d9540]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, str.Info
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4b613b
push ecx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4b613b
push edi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4b613b
mov edx, dword [esp + 0x10]
inc edi
push edi
push str.Info
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], 7
mov dword [esp + 0x58], 0x64
call fcn.004279a0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4b61a0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4b61a0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov ecx, dword [0x4d9540]
mov edx, 0x4dfd68
test edx, edx
mov dword [esp + 0x10], ecx
je 0x4b61e9
push edx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4b61e9
push edi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x4b61e9
mov eax, dword [esp + 0x10]
inc edi
push edi
push 0x4dfd68
push eax
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x32
push ebp
push ecx
push ebp
mov ecx, esi
call fcn.004276d0
lea ecx, [esp + 0x10]
call fcn.004014c0
push 0x4db084
lea ecx, [esp + 0x18]
call fcn.004014f0
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x64
push ebp
push eax
push ebp
mov ecx, esi
call fcn.004276d0
lea ecx, [esp + 0x14]
call fcn.004014c0
push ebp
push 0x25
mov ecx, esi
call fcn.004b6890
mov edx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword [edx], 1
mov eax, 1
pop ebx
add esp, 0x58
ret 0x10