Function at 0x4403a0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
sub edx, 0x7d1
je 0x440516
sub edx, 1
je 0x4403d7
sub edx, 1
jne 0x440649
cmp dword [ebp + 0xc], edx
jne 0x440649
call fcn.0043ed80
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 4
jne 0x440649
mov edx, dword [0x8cc7c4]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x40]
cmp ecx, 0xffffffff
jle 0x4404dc
cmp esi, 0xffffffff
jle 0x4404dc
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x44040a
xor ebx, ebx
jmp 0x44040d
mov ebx, dword [eax + 8]
cmp ecx, ebx
jge 0x4404dc
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4404dc
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x44042e
xor ecx, ecx
jmp 0x440431
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x44043d
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x44043f
xor esi, esi
mov ebx, dword [ebp + 8]
test esi, esi
je 0x4404e1
push 0x400
push 0x91e428
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.0053bd7d
xor ecx, ecx
add esp, 4
cmp byte [0x91e428], cl
je 0x44047a
nop
inc ecx
cmp byte [ecx + 0x91e428], 0
jne 0x440470
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0053581f
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4404a5
push 1
push 1
call fcn.0053581f
add esp, 8
jmp 0x4404c9
xor eax, eax
cmp byte [0x91e428], al
je 0x4404ba
nop
inc eax
cmp byte [eax + 0x91e428], 0
jne 0x4404b0
push eax
push 0x91e428
push ecx
call fcn.005323e0
add esp, 0xc
mov dword [esi], eax
mov edx, dword [0x8cc7c4]
cmp dword [edx + 0xb0], 0
jne 0x4404e7
jmp 0x4404e1
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [edx + 0x40], 0
jne 0x4404f9
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.0043ea60
add esp, 8
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.0043ece0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 0x309
jne 0x440649
mov eax, dword [0x8cc7c4]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
cmp ecx, 0xffffffff
jle 0x44063b
cmp esi, 0xffffffff
jle 0x44063b
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x44054b
xor edx, edx
jmp 0x44054e
mov edx, dword [eax + 8]
cmp ecx, edx
jge 0x44063b
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x44063b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x44056f
xor ecx, ecx
jmp 0x440572
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x44057e
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x440580
xor esi, esi
test esi, esi
je 0x44063b
mov ebx, dword [ebp + 8]
push 0x400
push 0x91e848
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.0053bd7d
xor ecx, ecx
add esp, 4
cmp byte [0x91e848], cl
je 0x4405ba
inc ecx
cmp byte [ecx + 0x91e848], 0
jne 0x4405b0
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0053581f
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4405e5
push 1
push 1
call fcn.0053581f
add esp, 8
jmp 0x440609
xor eax, eax
cmp byte [0x91e848], al
je 0x4405fa
nop
inc eax
cmp byte [eax + 0x91e848], 0
jne 0x4405f0
push eax
push 0x91e848
push ecx
call fcn.005323e0
add esp, 0xc
push 0
push ebx
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x8cc7c4]
cmp dword [edx + 0xb0], 0
jne 0x440629
cmp dword [edx + 0x40], 0
jne 0x44063b
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.0043ea60
add esp, 8
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.0043ece0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret