Function at 0x448dc0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov eax, dword [0x547570]
mov dword [esp + 0x28], eax
push esi
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
push edi
mov ecx, 0xfbc
jg 0x448df3
cmp dword [eax - 4], ecx
jge 0x448e34
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x448dfc
mov ecx, ebp
push ecx
lea ecx, [esp + 0x34]
call fcn.00405530
test eax, eax
je 0x448e34
mov edi, dword [esp + 0x30]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push 0xfbc
push eax
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x30]
call fcn.004055c0
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x30]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x30]
mov ecx, 0x5478a8
mov word [edx + eax*2], 0
mov eax, dword [0x547570]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x448eb9
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x448eb9
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x448eb9
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x5478a8
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00405a90
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x448efa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448efa
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x448f12
mov edx, dword [eax - 4]
test edx, edx
jge 0x448f5b
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x448f1b
mov ecx, ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.00405530
test eax, eax
jne 0x448f31
mov eax, dword [esp + 0x30]
xor edi, edi
jmp 0x448f5d
mov edi, dword [esp + 0x30]
lea ecx, [ebx + ebx + 2]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [ecx - 8], ebx
call fcn.00405590
mov eax, dword [esp + 0x30]
mov edi, eax
mov ebp, dword [eax - 8]
mov edx, dword [0x547570]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
xor ebx, ebx
push ebp
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ebx
call fcn.00518890
add esp, 0x10
test eax, eax
je 0x44905a
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], 0xa
jle 0x448ffb
mov eax, dword [0x547570]
inc ebx
push ebx
lea ecx, [esp + 0x18]
push 0x548b44
push ecx
mov dword [esp + 0x20], eax
call fcn.00405cb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0
push edx
mov edx, dword [ecx + 0x20]
push eax
push edx
call fcn.0048ee10
mov eax, dword [esp + 0x30]
mov edx, dword [0x547574]
add esp, 0x1c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x448ffb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448ffb
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, 0x554e48
test eax, eax
je 0x44900f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x449011
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x44903e
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x554e48
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
push edi
call fcn.00518890
add esp, 0x10
test eax, eax
jne 0x448f8c
mov esi, dword [esp + 0x18]
push 0
push ebx
push 0x549c40
mov ecx, dword [esi + 0x20]
push ecx
call fcn.0048ea80
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 4]
add esp, 0x10
and edx, 0xffff
push edx
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x4490ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4490ba
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00405700
xor eax, eax
add esp, 0x10
ret 0x10