Function at 0x43ec40
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call ebx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test edi, edi
mov ebp, eax
jne 0x43ec87
test ebp, 0x40000000
je 0x43ec79
mov edx, dword [esi + 4]
push edx
call ebx
jmp 0x43ec85
mov eax, dword [esi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov edx, dword [esi + 4]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebp, 0x40000000
jne 0x43ed00
test edi, edi
je 0x43ecbb
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x43ecb9
test eax, 0x20000000
je 0x43ecbb
xor edi, edi
lea eax, [esp + 0x24]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
jne 0x43ecf2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x43ed2d
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x43ed2d
mov eax, dword [esi + 4]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x24]
mov ebx, eax
push ecx
push ebx
call ebp
lea edx, [esp + 0x14]
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 2
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
sub ebp, edx
mov edx, dword [esp + 0x14]
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 + 0x18]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x20]
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 + 0x24]
cmp ecx, eax
jl 0x43ed8b
mov eax, dword [esp + 0x2c]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x43ed8d
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp edi, eax
jl 0x43eda2
mov eax, dword [esp + 0x30]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x43eda4
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x80
push ecx
call edi
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 4]
push edx
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x43ee48
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0x10
push 0x10
mov ebx, eax
push 1
push 0xfd
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call edi
push 0
push 0x20
push 0x20
push 1
push 0xfd
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi + 4]
push eax
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [esi + 0x20]
push 0x3ee
push eax
call edi
push ebx
push eax
call ebp
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x24]
lea ebx, [esi + 0x24]
push 0x3ea
push edx
mov dword [esp + 0x18], ecx
call edi
mov ecx, dword [esp + 0x10]
push ecx
push eax
call ebp
mov edx, dword [esi + 4]
push 0x3ea
push edx
call edi
mov dword [esi + 0x30], eax
mov eax, 0x4e3a5c
test eax, eax
je 0x43eea1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
jmp 0x43eea9
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00401420
test eax, eax
je 0x43eed8
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
inc edx
push edx
push 0x4e3a5c
push eax
call fcn.004011c0
add esp, 0xc
mov ecx, ebx
push 0xffffffffffffffff
call fcn.00401970
lea ecx, [esp + 0x10]
push 0x41
push ecx
call fcn.0048eb30
mov edx, dword [esi + 4]
mov ebx, dword [eax]
add esp, 8
push 0x3ed
push edx
call edi
push ebx
push eax
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43ef27
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ef27
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov ebx, dword [esi + 0x28]
mov eax, dword [ebx - 8]
test eax, eax
je 0x43ef67
mov eax, dword [esi + 4]
push 0x3ed
push eax
call edi
push ebx
push eax
call ebp
mov ecx, dword [esi + 4]
push 0x3ed
push ecx
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 4]
push edx
push 0x3ed
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret 0x10