Function at 0x4b20d0
Capabilities:
Get graphical window text
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5dc390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 1
push 1
push dword [0x5e7a4c]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x234]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x31
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4b2142
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov dword [ebp - 0x264], eax
call dword [sym.imp.GDI32.dll_GetBkMode]
push edi
mov dword [ebp - 0x268], eax
call dword [sym.imp.GDI32.dll_GetTextColor]
push 1
push 1
push 0
push 0
mov dword [ebp - 0x26c], eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
push esi
push edi
mov dword [ebp - 0x25c], esi
call dword [sym.imp.GDI32.dll_GetClipRgn]
cmp eax, 1
je 0x4b219e
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 0x25c], 0
cmp dword [ebx], 0
jne 0x4b2211
test byte [ebx + 4], 1
je 0x4b2211
push 6
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x228]
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, dword [ebp - 0x228]
dec edx
inc dword [ebp - 0x234]
dec eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x248], 0xf
jmp 0x4b2223
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x228]
mov esi, dword [ebp - 0x234]
mov dword [ebp - 0x208], eax
mov eax, edx
sub eax, dword [ebp - 0x248]
cmp dword [ebx], 0
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x214], esi
mov esi, dword [ebp - 0x250]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x224], eax
je 0x4b2478
test dword [ebx + 4], 0x8000000
je 0x4b2290
mov dword [ebp - 0x248], 4
mov ebx, 4
jmp 0x4b2307
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf2
push esi
call eax
test eax, 0x400
je 0x4b22b4
mov dword [ebp - 0x248], 3
jmp 0x4b2302
test al, 4
je 0x4b22c9
mov dword [ebp - 0x248], 3
mov ebx, 3
jmp 0x4b2307
test eax, 0x200
je 0x4b22e1
mov dword [ebp - 0x248], 2
mov ebx, 2
jmp 0x4b2307
test byte [ebx + 4], 1
je 0x4b22f8
mov dword [ebp - 0x248], 5
mov ebx, 5
jmp 0x4b2307
mov dword [ebp - 0x248], 1
mov ebx, 1
mov eax, dword [ebp - 0x24c]
push ebx
push 1
push dword [eax]
call fcn.004c66a0
push dword [ebp - 0x248]
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x24c]
push ecx
push dword [eax]
call fcn.004c66a0
test eax, eax
mov eax, dword [ebp - 0x250]
je 0x4b234d
or eax, 2
sub eax, 1
je 0x4b236c
sub eax, 1
je 0x4b2364
sub eax, 1
jne 0x4b237a
lea eax, [ebp - 0x234]
jmp 0x4b2372
lea eax, [ebp - 0x224]
jmp 0x4b2372
lea eax, [ebp - 0x214]
push eax
push edi
push esi
call fcn.004c6460
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x24c]
push ebx
push 1
push edi
push dword [eax]
call fcn.004c6400
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push 1
push edi
push dword [eax]
call fcn.004c6400
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x24c]
push ebx
push 1
push edi
push dword [eax]
call fcn.004c65c0
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push 1
push edi
push dword [eax]
call fcn.004c65c0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x240]
inc eax
push 0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x238]
push 1
dec eax
push 0xa
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x24c]
push 1
push edi
push dword [eax]
call fcn.004c6420
mov eax, dword [ebp - 0x244]
jmp 0x4b2644
test dword [ebx + 4], 0x8000000
je 0x4b2492
mov dword [ebp - 0x248], 0x100
mov ebx, 0x100
jmp 0x4b24d7
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf2
push esi
call eax
test eax, 0x400
je 0x4b24b6
mov dword [ebp - 0x248], 0x200
jmp 0x4b24d5
test al, 4
je 0x4b24cb
mov dword [ebp - 0x248], 0x200
mov ebx, 0x200
jmp 0x4b24d7
mov dword [ebp - 0x248], 0
xor ebx, ebx
push 1
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
push esi
test eax, eax
push edi
cmove eax, esi
push 0x135
push eax
mov dword [ebp - 0x260], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4b2510
push esi
push edi
push 0x135
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_DefWindowProcW]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push edi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esi, dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, ebx
or eax, 0x10
push eax
push 4
lea eax, [ebp - 0x234]
push eax
push edi
call esi
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push edi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp - 0x248]
or eax, 0x10
push eax
push 4
lea eax, [ebp - 0x234]
push eax
push edi
call esi
cmp ebx, 0x200
jne 0x4b25a5
inc dword [ebp - 0x214]
inc dword [ebp - 0x210]
inc dword [ebp - 0x20c]
inc dword [ebp - 0x208]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x224]
cmp ecx, 0x200
jne 0x4b25d2
inc dword [ebp - 0x220]
inc eax
inc dword [ebp - 0x21c]
inc dword [ebp - 0x218]
mov dword [ebp - 0x224], eax
push 0x1001
cmp ebx, ecx
jne 0x4b25f3
push 6
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [ebp - 0x224]
jmp 0x4b2611
dec eax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
push 2
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [ebp - 0x224]
inc eax
add dword [ebp - 0x210], 2
add eax, 2
sub dword [ebp - 0x208], 2
add dword [ebp - 0x214], 2
add dword [ebp - 0x220], 2
sub dword [ebp - 0x21c], 2
sub dword [ebp - 0x218], 2
mov esi, dword [ebp - 0x250]
push 0
push 0
push 0xf2
push esi
mov dword [ebp - 0x224], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 8
je 0x4b270c
mov eax, dword [ebp - 0x24c]
test dword [eax + 4], 0x40000000
jne 0x4b270c
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x24c]
cmp dword [eax], 0
je 0x4b26cc
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x4b270c
inc dword [ebp - 0x214]
lea eax, [ebp - 0x214]
add dword [ebp - 0x210], 2
dec dword [ebp - 0x20c]
sub dword [ebp - 0x208], 2
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
inc dword [ebp - 0x214]
inc dword [ebp - 0x210]
dec dword [ebp - 0x20c]
dec dword [ebp - 0x208]
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push edi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov ecx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x218]
add ecx, 0xfffffff7
push 3
push 0
add eax, ecx
mov ecx, dword [ebp - 0x224]
push 0
cdq
add ecx, 0xfffffff7
push 9
sub eax, edx
push 9
push dword [ebp - 0x254]
sar eax, 1
push eax
mov eax, dword [ebp - 0x21c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push edi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp - 0x24c]
mov edx, dword [eax + 4]
test dl, 0x40
je 0x4b287b
push 0
push 1
push 0xf6
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x4b2836
lea eax, [ebp - 0x258]
push eax
push ebx
call fcn.004b11d0
mov eax, dword [ebp - 0x24c]
add esp, 8
mov esi, dword [ebp - 0x258]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x208]
and ecx, 0x8000000
or ecx, 0xc00000
shr ecx, 0x16
push ecx
mov ecx, dword [ebp - 0x254]
sub eax, ecx
add eax, dword [ebp - 0x210]
cdq
push ecx
sub eax, edx
push esi
sar eax, 1
push eax
mov eax, dword [ebp - 0x214]
sub eax, esi
add eax, dword [ebp - 0x20c]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push ebx
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawStateW]
mov ebx, dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x264]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp - 0x268]
push edi
call ebx
push dword [ebp - 0x26c]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x25c]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3bc0
mov esp, ebp
pop ebp
ret
and edx, 0x300
xor ecx, ecx
cmp edx, 0x100
je 0x4b28b5
cmp edx, 0x200
je 0x4b28b0
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1000
neg eax
sbb ecx, ecx
mov eax, dword [ebp - 0x24c]
neg ecx
inc ecx
jmp 0x4b28b5
mov ecx, 2
mov edx, dword [eax + 4]
mov dword [ebp - 0x254], edx
and edx, 0xc00
cmp edx, 0x400
je 0x4b28dd
mov eax, ecx
or ecx, 8
or eax, 4
cmp edx, 0x800
cmovne ecx, eax
mov edx, dword [ebp - 0x254]
mov eax, edx
and eax, 0x2000
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x20
or eax, ecx
mov ecx, eax
or ecx, 0x100000
and edx, 0x20000000
cmove ecx, eax
lea eax, [ebp - 0x204]
push eax
push 0x100
push 0xd
push esi
mov dword [ebp - 0x250], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov eax, dword [eax]
test eax, eax
je 0x4b2956
lea ecx, [ebp - 0x214]
push ecx
push 0
push dword [ebp - 0x250]
lea ecx, [ebp - 0x204]
push esi
push ecx
push ebx
push 1
push edi
push eax
call fcn.004c6580
jmp 0x4b2836
mov ebx, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push edi
call ebx
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x250]
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x4b283c