Function at 0x43ca50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 5
mov dword [esp + 0x2c], edi
call fcn.00434070
mov esi, eax
mov eax, dword [0x46b21c]
add esp, 4
mov dword [esp + 0x24], eax
test esi, esi
je 0x43cac3
mov ecx, esi
shr ecx, 0x10
jne 0x43ca8f
and esi, 0xffff
lea ecx, [esp + 0x24]
push esi
call fcn.00402fe0
jmp 0x43cac3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x43cac3
push ebx
lea ecx, [esp + 0x28]
call fcn.00401ce0
test eax, eax
je 0x43cac3
mov edi, dword [esp + 0x24]
lea ecx, [ebx + ebx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
push 6
call fcn.00434070
mov esi, eax
mov eax, dword [0x46b21c]
add esp, 4
mov dword [esp + 0x20], eax
test esi, esi
je 0x43cb29
mov ecx, esi
shr ecx, 0x10
jne 0x43caf5
and esi, 0xffff
lea ecx, [esp + 0x20]
push esi
call fcn.00402fe0
jmp 0x43cb29
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x43cb29
push ebx
lea ecx, [esp + 0x24]
call fcn.00401ce0
test eax, eax
je 0x43cb29
mov edi, dword [esp + 0x20]
lea ecx, [ebx + ebx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x4f4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1042
push eax
call ebp
mov ecx, dword [edi + 0x4f4]
push 0
push 0
push 0x1004
push ecx
mov dword [esp + 0x2c], eax
call ebp
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
je 0x43cb67
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x3c]
push 0
push edx
push 0x14e
push eax
mov dword [edi + 0x24], 0xffffffff
call ebp
mov eax, dword [0x46b21c]
mov ecx, 0x100
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x43cb9e
cmp dword [eax - 4], ecx
jge 0x43cbeb
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x30], esi
jle 0x43cbab
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ce0
test eax, eax
jne 0x43cbbd
xor edx, edx
jmp 0x43cbed
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi + 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 + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [eax - 8], ecx
call fcn.004028a0
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b6f58]
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], 0x100
push edx
mov edx, dword [ecx + 0x1c]
push eax
push 0x1073
push edx
call ebp
lea ecx, [esp + 0x10]
call fcn.00401d40
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea ebx, [eax + 0x38]
mov eax, dword [eax + 0x38]
cmp eax, ecx
je 0x43cca4
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x43cc78
mov edx, dword [0x46b220]
add eax, 0xfffffff4
cmp eax, edx
jne 0x43cc7f
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x43cc8d
push ecx
mov ecx, dword [ecx - 8]
push ecx
mov ecx, ebx
call fcn.004027f0
jmp 0x43cca4
mov ecx, ebx
call fcn.00402690
mov eax, dword [esp + 0x10]
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [0x46b21c]
mov eax, 0x100
mov dword [esp + 0x14], edx
mov ecx, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp ecx, 1
mov dword [esp + 0x2c], esi
jg 0x43ccc7
cmp dword [edx - 4], eax
jge 0x43cd1c
mov edi, dword [edx - 8]
cmp edi, 0x100
mov dword [esp + 0x30], edi
jle 0x43ccd8
mov eax, edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401ce0
test eax, eax
jne 0x43ccea
xor edx, edx
jmp 0x43cd1c
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x14]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x2c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [eax - 8], ecx
call fcn.004028a0
mov edx, dword [esp + 0x14]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [0x4b6f58]
lea eax, [esp + 0x3c]
push eax
push ecx
mov eax, dword [edx + 0x1c]
push 0x1073
push eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x64], 0x100
call ebp
lea ecx, [esp + 0x14]
call fcn.00401d40
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x14]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x14]
mov word [ecx + eax*2], 0
mov edx, dword [0x46b21c]
mov esi, dword [0x4acf80]
mov eax, str.Font
test eax, eax
mov dword [esp + 0x18], edx
je 0x43cdd8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x43cdd8
push edi
lea ecx, [esp + 0x1c]
call fcn.00401ce0
test eax, eax
je 0x43cdd8
mov ecx, dword [esp + 0x18]
inc edi
push edi
push str.Font
push ecx
call fcn.00402650
add esp, 0xc
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
call fcn.00401f50
mov edx, dword [0x46b21c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401eb0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.00429290
lea ecx, [esp + 0x2c]
call fcn.00401e80
mov eax, dword [esp + 0x30]
push eax
push 0x822a
push esi
call fcn.004531f0
mov eax, dword [esp + 0x3c]
mov edx, dword [0x46b220]
add esp, 0xc
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43ce56
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ce56
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00401e80
push 0x46b2c4
lea ecx, [esp + 0x34]
call fcn.00402a90
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00402d10
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00402d10
mov ecx, dword [eax]
push ecx
push 0x822b
push esi
call fcn.004531f0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00401e80
lea ecx, [esp + 0x18]
call fcn.00401e80
lea ecx, [esp + 0x30]
call fcn.00401e80
mov edx, dword [ebx]
push edx
push 0x822c
push esi
call fcn.004531f0
add esp, 0xc
lea ecx, [esp + 0x30]
push 0x46b2c4
call fcn.00402a90
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00402d10
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00402d10
mov ecx, dword [eax]
push ecx
push 0x822d
push esi
call fcn.004531f0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00401e80
lea ecx, [esp + 0x18]
call fcn.00401e80
lea ecx, [esp + 0x30]
call fcn.00401e80
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x34]
add edx, 0x4f0
push edx
call fcn.00429290
mov eax, dword [esp + 0x34]
push eax
push 0x822e
push esi
call fcn.004531f0
mov eax, dword [0x4ad1a4]
add esp, 0xc
test eax, eax
je 0x43cff1
push 0xe
call fcn.00434070
add esp, 4
lea ecx, [esp + 0x28]
push eax
call fcn.004028d0
push 0xd
call fcn.00434070
add esp, 4
lea ecx, [esp + 0x2c]
push eax
call fcn.004028d0
mov ecx, dword [0x46b21c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x48]
push str._s__d__s__d__s____s
push edx
call fcn.004036a0
mov esi, dword [0x4ad1a4]
add esp, 0x20
lea ecx, [esp + 0x30]
push 0
call fcn.00402f30
push eax
push 0
push 0x40b
push esi
call ebp
lea ecx, [esp + 0x30]
call fcn.00401e80
lea ecx, [esp + 0x2c]
call fcn.00401e80
lea ecx, [esp + 0x28]
call fcn.00401e80
lea ecx, [esp + 0x34]
call fcn.00401e80
lea ecx, [esp + 0x14]
call fcn.00401e80
lea ecx, [esp + 0x10]
call fcn.00401e80
lea ecx, [esp + 0x20]
call fcn.00401e80
lea ecx, [esp + 0x24]
call fcn.00401e80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret