Function at 0x43efd0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x21c
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push esi
mov dword [esp + 0x18], esi
call edi
mov dword [esp + 0x18], eax
test al, 8
je 0x43f4f5
test eax, 0xc0000
je 0x43f4f5
lea eax, [esp + 0xc]
push eax
push esi
mov bl, 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x43f05f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040a880
add esp, 4
test eax, eax
jne 0x43f4f5
mov eax, dword [esp + 0xc]
cmp eax, dword [0x5378a0]
je 0x43f4f5
cmp eax, dword [0x53789c]
je 0x43f4f5
push 0x103
lea edx, [esp + 0x125]
push 0
push edx
mov byte [esp + 0x12c], 0
call fcn.004b6dc0
add esp, 0xc
push 0x104
lea eax, [esp + 0x124]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x103
lea ecx, [esp + 0x21]
push 0
push ecx
mov byte [esp + 0x28], 0
call fcn.004b6dc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x519f2c
call fcn.00404690
push eax
lea eax, [esp + 0x128]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f0f9
push 0x519f2c
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f0f9
xor bl, bl
push 0x519f1c
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f117
xor bl, bl
push 0x519f04
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f135
xor bl, bl
push 0x519ee4
call fcn.00404690
push eax
lea ecx, [esp + 0x128]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f172
push 0x519ecc
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f172
xor bl, bl
push 0x519ec0
call fcn.00404690
push eax
lea eax, [esp + 0x128]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f1af
push 0x519eb4
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f1af
xor bl, bl
push 0x519e9c
call fcn.00404690
push eax
lea edx, [esp + 0x128]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f1ec
push 0x519e84
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f1ec
xor bl, bl
push 0x519e68
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f20a
xor bl, bl
push 0x519e5c
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f228
xor bl, bl
push 0x519e50
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f246
xor bl, bl
push 0x519e40
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f264
xor bl, bl
push 0x519e30
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f282
xor bl, bl
push 0x519e14
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f2a0
xor bl, bl
push 0x519dfc
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f2be
xor bl, bl
push 0x519de4
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f2dc
xor bl, bl
push 0x519dc8
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f2fa
xor bl, bl
push 0x519db8
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f318
xor bl, bl
push 0x519da4
call fcn.00404690
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f336
xor bl, bl
push 0x519d90
call fcn.00404690
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b9a67
add esp, 0xc
test eax, eax
jne 0x43f354
xor bl, bl
push 0x519d80
call fcn.00404690
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004b9a67
add esp, 0xc
test eax, eax
je 0x43f4c8
test bl, bl
je 0x43f4c8
push 0xfffffffffffffff0
push esi
call edi
mov edi, eax
and eax, 0xefffffff
or eax, 0x8000000
mov dword [esp + 0x14], eax
test edi, 0x8000000
jne 0x43f4c8
test edi, 0x10000000
je 0x43f4c8
mov ecx, dword [0x53c8d0]
xor ebx, ebx
test ecx, ecx
jle 0x43f43c
push ebp
mov ebp, 0x53c680
nop
cmp ecx, 0x32
jge 0x43f3d7
mov edx, dword [esp + 0x14]
cmp dword [ebp - 8], edx
jne 0x43f425
mov eax, dword [ebp]
cmp eax, dword [esp + 0x10]
jne 0x43f425
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x128]
push edx
push edi
push eax
push 0x519d40
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0043d1a0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x43f425
push 0
push esi
call dword [0x5385dc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x53c8d0]
inc ebx
add ebp, 0xc
cmp ebx, ecx
jl 0x43f3c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
pop ebp
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
je 0x43f4c8
push 0x27
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x124]
push eax
push ecx
push edx
push 0x519d00
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov ecx, dword [0x53c8d0]
add esp, 0x18
cmp ecx, 0x32
jge 0x43f4be
mov edx, dword [esp + 0xc]
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
mov dword [eax + 0x53c67c], edi
inc ecx
mov dword [eax + 0x53c678], esi
mov dword [eax + 0x53c680], edx
mov dword [0x53c8d0], ecx
mov dword [0x52b398], 3
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push esi
call edi
mov esi, eax
test esi, esi
je 0x43f4f5
mov ebx, dword [esp + 0x230]
add ebx, 4
push ebx
push esi
call fcn.0043efd0
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x43f4e3
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004b6da3
add esp, 0x21c
ret 8