Function at 0x44ed00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x484
mov eax, dword [0x4bb27c]
xor eax, esp
mov dword [esp + 0x480], eax
push esi
mov esi, ecx
cmp dword [esi + 0x98], 0
je 0x44f1de
mov eax, dword [esi]
push ebx
push ebp
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
cmp byte [esi + 0x94], 0
mov cl, byte [esi + 0x180]
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x49], cl
je 0x44ee47
cmp byte [esp + 0x498], 0
je 0x44ee47
mov eax, dword [esi]
lea edx, [esp + 0x58]
push edx
lea edi, [esi + 0x184]
push eax
mov byte [esp + 0x1b], 1
mov byte [edi], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call ebp
mov edx, dword [esp + 0x64]
mov ecx, dword [esi + 0x2c]
mov ebx, eax
mov eax, dword [esi + 0x30]
sub edx, eax
push edx
mov edx, dword [esp + 0x64]
sub edx, ecx
push edx
mov edx, dword [esi + 8]
add edx, eax
add edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
add ecx, eax
push ecx
call ebp
push 0
push 0
push 0
push 0
mov dword [esp + 0x5c], eax
call ebp
mov ebp, dword [esp + 0x4c]
push 4
push ebp
push ebx
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push ebp
call ebx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.004645e0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetClipBox]
cmp eax, 2
je 0x44ee4e
cmp eax, 3
je 0x44ee4e
xor eax, eax
jmp 0x44ee53
mov byte [esp + 0x13], 0
jmp 0x44ee29
mov eax, 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov byte [esp + 0x4c], al
call fcn.0044e4e0
cmp byte [esi + 0x94], 0
je 0x44f048
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x2c]
mov ebp, dword [esi + 0x30]
xor edx, edx
xor edi, edi
cmp byte [esp + 0x48], dl
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
je 0x44eedf
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44eef3
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 0
lea eax, [esp + 0x28]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
sub eax, ebx
cmp byte [esp + 0x48], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
je 0x44ef39
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44ef4d
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 2
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
add ecx, ebx
sub eax, ebx
cmp byte [esp + 0x48], 0
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x28], ecx
lea ecx, [ebx + ebp]
mov dword [esp + 0x34], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x44efab
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44efbf
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 1
lea eax, [esp + 0x28]
push eax
call edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x34], edi
sub edi, ebx
cmp byte [esp + 0x48], 0
mov ebx, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
je 0x44f002
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
push ecx
call ebx
test eax, eax
je 0x44f016
mov ecx, dword [esi + 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push 3
lea eax, [esp + 0x28]
push eax
call edx
cmp byte [esp + 0x498], 0
jne 0x44f05c
cmp dword [esi + 0x4c], 0
jne 0x44f1ab
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x54], 0
call fcn.0044eae0
jmp 0x44f1ab
cmp byte [esp + 0x498], 0
je 0x44f1ab
mov ebx, dword [sym.imp.USER32.dll_IntersectRect]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0044e4e0
cmp byte [esp + 0x48], 0
je 0x44f084
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x74]
push edx
call ebx
test eax, eax
je 0x44f095
mov ecx, dword [esi + 0x98]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
xor ebp, ebp
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x44f109
cmp byte [esp + 0x48], 0
je 0x44f0d7
lea edx, [esi + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
push ecx
call ebx
test eax, eax
je 0x44f109
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
push 3
push ebp
push ebp
sub edx, ecx
push edx
mov edx, dword [esi + 0x10]
sub edi, eax
push edi
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0x24]
add ecx, edi
add dword [esp + 0x14], ecx
jmp 0x44f110
mov edx, dword [esi + 0x28]
add dword [esp + 0x14], edx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x54], ebp
call fcn.0044eae0
mov eax, dword [esp + 0x4c]
cmp eax, ebp
jle 0x44f134
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x48], 0
je 0x44f150
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
push ecx
call ebx
test eax, eax
je 0x44f1ab
mov eax, dword [esi]
push 0x200
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov word [esp + eax*2 + 0x8c], bp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x30], edx
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
lea eax, [esp + 0x2c]
push eax
call edx
mov bl, byte [esp + 0x13]
test bl, bl
je 0x44f1be
lea ecx, [esi + 0x184]
call fcn.00464810
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
test bl, bl
pop ebx
je 0x44f1de
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x484]
pop esi
xor ecx, esp
call fcn.0046605d
add esp, 0x484
ret 4