Function at 0x46391d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4af550]
push ebx
push esi
push edi
mov edi, ecx
push 0x3ea
mov dword [ebp - 4], eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1000
push 0x1001
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00403c58
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
mov esi, 0x4af818
mov eax, esi
test eax, eax
je 0x463976
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
call fcn.00403c58
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
push ebx
push dword [edi + 0x5c]
mov ebx, 0x4afae4
mov esi, dword [eax - 8]
push ebx
mov dword [ebp - 0x40], esi
call fcn.0044a990
mov eax, dword [0x4af550]
and dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
and dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x28]
call fcn.0048e719
add esp, 0x20
test eax, eax
je 0x463ba2
mov eax, dword [ebp - 0xc]
cmp dword [eax - 8], 7
jle 0x463b7a
cmp dword [eax - 0xc], 0
lea ecx, [eax - 0xc]
jl 0x4639f5
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x463a07
mov ecx, dword [0x4af550]
push eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
call fcn.0040a750
push 7
lea eax, [ebp - 0x5c]
pop ecx
mov edx, dword [0x4af550]
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x463a0d
and dword [ebp - 8], 0
lea esi, [ebp - 0x5c]
mov eax, dword [0x4af550]
push 0x5c
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
call fcn.0048e9cf
add esp, 0x10
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00403a8c
cmp dword [ebp - 8], 3
jge 0x463a76
push dword [esi]
call fcn.0049c2d8
cmp eax, 1
pop ecx
jle 0x463a5f
push 1
pop eax
cmp eax, 0xffffffff
jge 0x463a67
or eax, 0xffffffff
push eax
push 0x4b0ab0
push esi
call fcn.00403d66
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.004038fb
inc dword [ebp - 8]
add esi, 4
cmp dword [ebp - 8], 4
jl 0x463a22
lea ecx, [ebp - 0x50]
call fcn.0040ae64
lea ecx, [ebp - 0x50]
call fcn.0040ae14
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push 0x5c
push eax
lea eax, [ebp - 0x58]
push 0x5c
push eax
lea eax, [ebp - 0x5c]
push 0x5c
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00467a61
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00467a61
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00467a61
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x30]
call fcn.004038fb
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x38]
call fcn.004038fb
lea ecx, [ebp - 0x3c]
call fcn.004038fb
mov eax, dword [0x4af550]
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x4b0ab0
push eax
call fcn.00403d66
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [edi + 0x5c]
call fcn.0044aaba
inc dword [ebp - 0x10]
push 0
push dword [ebp - 0x10]
push dword [edi + 0x5c]
push ebx
call fcn.0044a990
add esp, 0x2c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
push fcn.004038fb
push 7
lea eax, [ebp - 0x5c]
push 4
push eax
call fcn.004017e8
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 0x4bc550
lea ecx, [ebp - 0xc]
call fcn.00403adc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call fcn.0048e719
add esp, 0x10
jmp 0x4639cb
mov ecx, edi
call fcn.004631b2
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret