Function at 0x448c70
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 [0x546560]
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 0x448ca3
cmp dword [eax - 4], ecx
jge 0x448ce4
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x448cac
mov ecx, ebp
push ecx
lea ecx, [esp + 0x34]
call fcn.00405530
test eax, eax
je 0x448ce4
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, 0x546898
mov word [edx + eax*2], 0
mov eax, dword [0x546560]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x448d69
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x448d69
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x448d69
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x546898
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x448daa
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448daa
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x448dc2
mov edx, dword [eax - 4]
test edx, edx
jge 0x448e0b
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x448dcb
mov ecx, ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.00405530
test eax, eax
jne 0x448de1
mov eax, dword [esp + 0x30]
xor edi, edi
jmp 0x448e0d
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 [0x546560]
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.00517c30
add esp, 0x10
test eax, eax
je 0x448f0a
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], 0xa
jle 0x448eab
mov eax, dword [0x546560]
inc ebx
push ebx
lea ecx, [esp + 0x18]
push 0x547b34
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.0048dec0
mov eax, dword [esp + 0x30]
mov edx, dword [0x546564]
add esp, 0x1c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x448eab
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448eab
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, 0x553dd8
test eax, eax
je 0x448ebf
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x448ec1
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x448eee
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x553dd8
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.00517c30
add esp, 0x10
test eax, eax
jne 0x448e3c
mov esi, dword [esp + 0x18]
push 0
push ebx
push 0x548c20
mov ecx, dword [esi + 0x20]
push ecx
call fcn.0048db30
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 [0x546564]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x448f6a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x448f6a
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00405700
xor eax, eax
add esp, 0x10
ret 0x10