Function at 0x415353
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x46ca63
call fcn.0045b030
sub esp, 0x534
push ebx
mov dword [ebp - 0x18], ecx
push esi
push edi
lea ecx, [ebp - 0x144]
call fcn.0043e890
xor ebx, ebx
push 0xc435
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004028d8
mov eax, dword [eax]
mov esi, 0x489444
push esi
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 1
call fcn.0043f52d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00403037
push 0x7c
xor eax, eax
pop ecx
lea edi, [ebp - 0x336]
mov word [ebp - 0x338], bx
mov word [ebp - 0x540], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x53e]
push 0xfa
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x338]
push eax
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
je 0x41566c
push ebx
push ebx
push 0x1004
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x4802e0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], ebx
jle 0x415475
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x44]
push eax
push 1
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.0040f8c6
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x415443
xor eax, eax
jmp 0x41544a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00403113
push dword [ebp - 0x1c]
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4154ad
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x415421
lea eax, [ebp - 0x338]
mov ecx, edi
push eax
call fcn.0041572a
test eax, eax
jne 0x415560
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00403037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.0043eb6e
push 1
pop eax
jmp 0x415719
push 0x91
push 0x168
lea ecx, [ebp - 0x144]
call fcn.0043f576
push 0xc41f
lea ecx, [ebp - 0x10]
call fcn.004028d8
mov eax, dword [eax]
push 0xc35a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
mov dword [ebp + 0x14], eax
call fcn.004028d8
mov eax, dword [eax]
push ebx
push ebx
push esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
call fcn.0043f4be
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00403037
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403037
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0x489158
call fcn.0040482a
mov eax, dword [0x489160]
push ebx
push 0x404a2e
push esi
push 9
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 0x4811a4
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x41548b
cmp word [ebp - 0x338], 0x2a
je 0x4155b0
push 7
lea eax, [ebp - 0x338]
push 0x4811a4
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x4155b0
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x33a], 0x2a
pop ecx
lea eax, [ebp - 0x338]
push eax
je 0x4155a9
push str.http:___s
jmp 0x4155dc
push 0x4811d0
jmp 0x4155dc
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x33a], 0x2a
pop ecx
lea eax, [ebp - 0x338]
push eax
je 0x4155d7
push 0x4811c8
jmp 0x4155dc
push 0x480a8c
lea eax, [ebp - 0x540]
push 0x208
push eax
call fcn.00415be4
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push esi
lea esi, [edi + 0x44]
push dword [ebp - 0x18]
mov ecx, esi
push 1
call fcn.00411811
push ebx
push ebx
push ebx
lea eax, [ebp - 0x338]
push ebx
push eax
push 1
push 1
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004117b6
lea eax, [ebp - 0x338]
lea ecx, [ebp - 0x10]
push eax
call fcn.004028d8
lea eax, [ebp - 0x10]
lea ecx, [edi + 0xdc]
push eax
mov byte [ebp - 4], 5
call fcn.00415bd3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403037
push 0x4811a4
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00403037
jmp 0x415703
push 0x91
push 0x154
lea ecx, [ebp - 0x144]
call fcn.0043f576
push 0xc466
lea ecx, [ebp - 0x24]
call fcn.004028d8
mov edi, dword [eax]
push 0xc35a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004028d8
mov eax, dword [eax]
push ebx
push ebx
push esi
push edi
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 7
call fcn.0043f4be
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00403037
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00403037
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0x489158
call fcn.0040482a
mov eax, dword [0x489160]
push ebx
push 0x404a2e
push esi
push 9
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
mov dword [eax], ebx
call fcn.0043eb6e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10