Function at 0x457410
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0x20
push eax
mov ebp, edx
call fcn.00570260
xor edi, edi
add esp, 8
cmp eax, edi
je 0x457b6e
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x457b6e
cmp ebp, edi
mov dword [esi + 0xc], eax
je 0x45744c
cmp dword [ebp + 0x708], 2
jne 0x457459
test byte [0x5a9e28], 0x20
jne 0x457b6e
cmp ebp, edi
push ebx
je 0x4575f2
cmp dword [0x5ae60c], edi
mov dword [esp + 0x10], edi
mov ebx, 1
je 0x457497
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18ec]
push ebx
push 5
push str.ACTION
push esi
xor edx, edx
call fcn.0050e610
cmp eax, edi
je 0x457577
mov ecx, ebp
call fcn.00542ed0
test eax, eax
je 0x457577
mov dword [0x59bcec], edi
lea eax, [esi + 0xde8]
mov dword [0x5ae230], 2
mov dword [0x5ae234], ebx
mov dword [0x5ae238], ebx
mov dword [0x5ae23c], ebx
mov dword [0x5ae240], ebx
cmp byte [eax], 0
lea edi, [esi + 0x111c]
je 0x457512
mov edx, dword [esi + 8]
mov ecx, dword [esi]
mov ebx, dword [0x5a5510]
push edx
push eax
mov eax, dword [esi + 0x18ec]
push eax
push ecx
mov edx, 2
mov ecx, ebp
call fcn.004e4eb0
push eax
push str.__s:_s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x45753e
mov edx, dword [esi + 0x18ec]
mov eax, dword [esi]
mov ebx, dword [0x5a54fc]
push edx
push eax
mov edx, 2
mov ecx, ebp
call fcn.004e4eb0
push eax
push 0x5860c4
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
mov edx, edi
mov ecx, 3
call fcn.004f4660
mov dword [0x5ae24c], 1
mov ecx, dword [esi]
mov dword [0x5ae250], ecx
mov edx, dword [esi]
mov dword [0x5ae254], edx
mov ecx, dword [ebp]
push ebx
mov edx, edi
call fcn.00502c40
xor edi, edi
mov ebx, 1
mov ecx, ebp
call fcn.00542ed0
test eax, eax
je 0x4575da
cmp dword [ebp + 0x708], ebx
jne 0x4575ae
cmp dword [0x59b174], edi
je 0x4575da
mov edx, ebx
mov ecx, ebp
call fcn.00411e30
test eax, eax
je 0x4575da
mov eax, dword [esi + 0x18ec]
push edi
push eax
mov edx, 2
jmp 0x4575d3
cmp dword [0x59b198], edi
je 0x4575da
mov edx, 2
mov ecx, ebp
call fcn.00411e30
test eax, eax
je 0x4575da
mov ecx, dword [esi + 0x18ec]
push edi
push ecx
mov edx, 4
mov ecx, esi
call fcn.004145c0
cmp dword [0x5ae60c], edi
je 0x457b6d
push edi
lea edx, [esp + 0x14]
push edx
push edi
jmp 0x457b58
cmp dword [0x5aca80], edi
je 0x45775e
cmp dword [0x59bccc], edi
je 0x457633
mov eax, dword [esi + 0x18ec]
mov edx, dword [esi + 0xddc]
mov ecx, dword [esi]
push eax
call fcn.004e72c0
cmp eax, edi
je 0x457633
mov ecx, dword [eax + 0x3a0]
mov ebx, 1
cmp ecx, ebx
je 0x457763
jmp 0x457638
mov ebx, 1
cmp dword [0x5ae60c], edi
mov dword [esp + 0x10], edi
je 0x457668
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18ec]
push ebx
push 5
push str.ACTION
push esi
xor edx, edx
call fcn.0050e610
cmp eax, edi
je 0x457709
mov ecx, esi
call fcn.004c1060
test eax, eax
je 0x457b6d
mov dword [0x59bcec], edi
mov dword [0x5ae230], 2
mov dword [0x5ae234], ebx
mov dword [0x5ae238], ebx
mov dword [0x5ae23c], ebx
mov dword [0x5ae240], ebx
mov edx, dword [esi + 0x18ec]
mov eax, dword [esi]
push edx
push eax
mov edx, 2
xor ecx, ecx
lea edi, [esi + 0x111c]
call fcn.004e4eb0
push eax
push 0x5860c4
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
mov edx, edi
mov ecx, 3
call fcn.004f4660
mov eax, dword [0x5a54fc]
mov dword [0x5ae24c], ebx
mov ecx, dword [esi]
mov dword [0x5ae250], ecx
mov edx, dword [esi]
mov dword [0x5ae254], edx
mov ecx, dword [esi + 0x18ec]
mov ecx, dword [ecx + 0x205c]
push eax
mov edx, edi
call fcn.00502c40
xor edi, edi
cmp dword [0x59b198], edi
je 0x457746
mov edx, dword [esi + 0x18ec]
mov ecx, dword [edx + 0x205c]
call fcn.00542c90
mov edx, 2
mov ecx, eax
call fcn.00411e30
test eax, eax
je 0x457746
mov eax, dword [esi + 0x18ec]
push edi
push eax
mov edx, 4
mov ecx, esi
call fcn.004145c0
cmp dword [0x5ae60c], edi
je 0x457b6d
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
jmp 0x457b58
mov ebx, 1
cmp dword [0x5ad0f0], edi
je 0x4578a5
mov ecx, dword [0x5b4320]
call fcn.00542c90
mov ebp, eax
cmp ebp, edi
je 0x4578a5
mov ecx, dword [esi + 0x18ec]
cmp dword [ebp + 0xbbc], ecx
jne 0x4578a5
cmp dword [ebp + 0x708], ebx
jne 0x4578a5
cmp dword [0x5ae60c], edi
mov dword [esp + 0x10], edi
je 0x4577cc
push edi
lea edx, [esp + 0x14]
push edx
push ebx
push 5
push str.ACTION
push esi
xor edx, edx
call fcn.0050e610
cmp eax, edi
je 0x457861
mov ecx, ebp
call fcn.00542ed0
test eax, eax
je 0x457861
mov dword [0x59bcec], edi
mov dword [0x5ae230], 2
mov dword [0x5ae234], ebx
mov dword [0x5ae238], ebx
mov dword [0x5ae23c], ebx
mov dword [0x5ae240], ebx
mov eax, dword [esi + 0x18ec]
mov ecx, dword [esi]
push eax
push ecx
mov edx, ebx
xor ecx, ecx
lea edi, [esi + 0x111c]
call fcn.004e4eb0
push eax
push 0x5860bc
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
mov edx, edi
mov ecx, 3
call fcn.004f4660
mov ecx, dword [0x5a5510]
mov dword [0x5ae24c], ebx
mov edx, dword [esi]
mov dword [0x5ae250], edx
mov eax, dword [esi]
mov dword [0x5ae254], eax
push ecx
mov ecx, dword [ebp]
mov edx, edi
call fcn.00502c40
xor edi, edi
cmp dword [0x59b198], edi
je 0x45788d
mov edx, 2
mov ecx, ebp
call fcn.00411e30
test eax, eax
je 0x45788d
mov edx, dword [esi + 0x18ec]
push edi
push edx
mov edx, 4
mov ecx, esi
call fcn.004145c0
cmp dword [0x5ae60c], edi
je 0x457b6d
push edi
lea eax, [esp + 0x14]
push eax
push edi
jmp 0x457b58
cmp dword [0x5ae60c], edi
mov dword [esp + 0x10], edi
je 0x4578d5
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18ec]
push ebx
push 0x2d
push str.OPEN
push esi
xor edx, edx
call fcn.0050e610
test eax, eax
je 0x457b6d
mov ecx, dword [esi]
lea ebp, [esi + 0x111c]
mov edx, ebp
nop
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4578e0
mov edx, dword [esi + 0x18ec]
mov ecx, ebp
call fcn.004e2e60
mov edi, eax
test edi, edi
jne 0x457931
mov edx, dword [esi + 0x18ec]
push edx
push eax
push ebx
mov edx, 2
mov ecx, ebp
call fcn.00548f10
test eax, eax
je 0x457b6d
mov edx, dword [esi + 0x18ec]
mov ecx, ebp
call fcn.004e2e60
mov edi, eax
test edi, edi
je 0x457b6d
mov edx, esi
mov ecx, edi
call fcn.004c0b60
cmp dword [edi + 0x708], 2
jne 0x4579aa
cmp dword [edi + 0x70c], ebx
jne 0x4579aa
lea ebx, [esi + 0x1503]
mov edx, ebx
mov ecx, 0xe7d
call fcn.0041d620
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457962
mov ecx, dword [edi]
sub eax, edx
push 0x104
lea eax, [eax + esi + 0x1503]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x40
push ebx
call fcn.00570260
add esp, 8
test eax, eax
je 0x4579a5
mov eax, dword [edi + 0x6a8]
test eax, eax
je 0x4579a5
push 0
mov edx, ebx
mov ecx, edi
call fcn.004cb050
mov ebx, 1
mov eax, dword [0x5aca68]
test eax, eax
je 0x4579fe
mov eax, dword [0x59b914]
test eax, eax
je 0x4579cc
mov edx, 5
mov ecx, esi
call fcn.00457320
test eax, eax
je 0x4579fe
mov edx, dword [esi + 0x18ec]
mov ecx, dword [edi]
push edx
mov edx, dword [esi]
call fcn.004bef50
mov eax, dword [esi]
push eax
push str.WHOIS__s_n
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 0x18ec]
add esp, 0xc
push ecx
mov edx, ebx
mov ecx, ebp
call fcn.0054b400
mov eax, dword [0x59bcd4]
test eax, eax
je 0x457a3b
mov eax, dword [0x5adb34]
cmp eax, ebx
jne 0x457a1d
mov ecx, dword [0x59bcd8]
call fcn.0041d4f0
jmp 0x457a3b
cmp eax, 2
jne 0x457a3b
mov edx, dword [esi + 0x18ec]
push edx
xor edx, edx
xor ecx, ecx
call fcn.004772b0
mov edx, ebx
mov ecx, eax
call fcn.00520010
mov eax, dword [0x5ae60c]
test eax, eax
je 0x457a62
mov ecx, dword [esi + 0x18ec]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x2d
push str.OPEN
push esi
xor edx, edx
call fcn.0050e610
mov eax, dword [0x5ae60c]
test eax, eax
mov dword [esp + 0x10], 0
je 0x457a98
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x18ec]
push ebx
push 5
push str.ACTION
push esi
xor edx, edx
call fcn.0050e610
test eax, eax
je 0x457b18
mov edx, 2
mov dword [0x59bcec], 0
mov dword [0x5ae230], edx
mov dword [0x5ae234], ebx
mov dword [0x5ae238], ebx
mov dword [0x5ae23c], ebx
mov dword [0x5ae240], ebx
mov eax, dword [esi + 0x18ec]
mov ecx, dword [esi]
push eax
push ecx
xor ecx, ecx
call fcn.004e4eb0
push eax
push 0x5860c4
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
mov edx, ebp
mov ecx, 3
call fcn.004f4660
mov ecx, dword [0x5a54fc]
mov dword [0x5ae24c], ebx
mov edx, dword [esi]
mov dword [0x5ae250], edx
mov eax, dword [esi]
mov dword [0x5ae254], eax
push ecx
mov ecx, dword [edi]
mov edx, ebp
call fcn.00502c40
mov eax, dword [0x59b198]
test eax, eax
je 0x457b46
mov edx, 2
mov ecx, edi
call fcn.00411e30
test eax, eax
je 0x457b46
mov edx, dword [esi + 0x18ec]
push 0
push edx
mov edx, 4
mov ecx, esi
call fcn.004145c0
mov eax, dword [0x5ae60c]
test eax, eax
je 0x457b6d
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov ecx, dword [esi + 0x18ec]
push 5
push str.ACTION
xor edx, edx
push esi
call fcn.0050e610
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret