Function at 0x42f514
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
push ebx
push esi
push edi
push str.Submit
push dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
call fcn.00442502
mov esi, dword [ebp + 0xc]
pop ecx
neg eax
pop ecx
movzx ecx, byte [esi + 4]
sbb al, al
inc al
sub ecx, 0xd
mov byte [ebp - 9], al
je 0x42fb4c
dec ecx
je 0x42facd
dec ecx
je 0x42faa2
dec ecx
je 0x42fa6f
dec ecx
je 0x42fa52
dec ecx
je 0x42fa37
push str.Text
push dword [ebp + 0x10]
call fcn.00442502
pop ecx
xor ebx, ebx
test eax, eax
pop ecx
je case.0x42f59c.12
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x12
ja case.0x42f59c.12
movzx eax, byte [eax + 0x42fbae]
jmp dword [eax*4 + 0x42fb92]
xor ebx, ebx
push ebx
push ebx
push 0xf0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, ebx
je 0x42f5e0
dec eax
je 0x42f5d1
dec eax
jne 0x42f9a5
push 1
push ebx
push 0xffffffffffffffff
push 0x45e240
jmp 0x42fb83
push 1
push ebx
push 0xffffffffffffffff
push 0x45bf4c
jmp 0x42fb83
push 1
push ebx
push 0xffffffffffffffff
push 0x45a734
jmp 0x42fb83
test byte [esi + 5], 2
je case.0x42f59c.12
xor ebx, ebx
push ebx
push ebx
push 0x147
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov ecx, dword [ebp + 8]
jne 0x42f61d
push 1
push ebx
push 0xffffffffffffffff
push ebx
jmp 0x42fb86
inc eax
jmp 0x42fa93
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x147
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
jne 0x42f676
push 0x400
lea eax, [ebp - 0x44c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je case.0x42f59c.12
lea eax, [ebp - 0x44c]
push eax
push 0xffffffffffffffff
push 0x158
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je case.0x42f59c.12
test byte [esi + 5], 2
jne 0x42f935
push ebx
push eax
push 0x149
push dword [esi]
call edi
cmp eax, 0xffffffff
mov ecx, dword [ebp + 8]
je 0x42f612
xor edi, edi
inc edi
push edi
push ebx
push eax
push ebx
call fcn.0040184e
cmp eax, edi
jne 0x42f9a5
mov ecx, dword [ebp + 8]
push edi
call fcn.00401e61
push eax
push dword [ebp + 0x10]
push 0x148
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42f6db
push ebx
call fcn.0040c556
push edi
jmp 0x42f926
call fcn.00401d9f
mov dword [eax], esi
jmp 0x42fa29
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
test ax, 0x808
push ebx
push ebx
je 0x42f89c
push 0x190
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
inc edi
cmp eax, edi
mov dword [ebp + 0xc], eax
jl 0x42f6d5
shl eax, 2
push eax
call fcn.0043f68a
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x42f6d5
push eax
push dword [ebp + 0xc]
push 0x191
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
mov dword [ebp + 0xc], eax
jl 0x42f82a
test byte [esi + 5], 2
mov ecx, eax
lea eax, [ecx - 1]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], eax
je 0x42f7f7
cmp ecx, ebx
jle 0x42f792
mov ecx, dword [ebp + 0x10]
push 0xa
lea eax, [ebp - 0x44c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
inc eax
push eax
call fcn.0040125c
lea eax, [ebp - 0x44c]
push eax
call fcn.00457cb0
add dword [ebp - 4], eax
add esp, 0x10
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42f75c
mov ecx, dword [ebp + 8]
push edi
push ebx
push dword [ebp - 4]
push ebx
call fcn.0040184e
cmp eax, edi
jne 0x42f9a5
mov ecx, dword [ebp + 8]
push edi
call fcn.00401e61
test byte [esi + 5], 2
mov edi, eax
je 0x42f838
xor esi, esi
cmp dword [ebp + 0xc], ebx
jle 0x42f881
cmp esi, ebx
je 0x42f7d1
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x44]
mov byte [edi], al
inc edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
push 0xa
inc eax
push edi
push eax
call fcn.0040125c
push edi
call fcn.00457cb0
add esp, 0x10
add edi, eax
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x42f7c4
jmp 0x42f881
cmp ecx, ebx
jle 0x42f792
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push ebx
push dword [eax + ecx*4]
push 0x18a
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x42f82a
add dword [ebp - 4], eax
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42f7fb
jmp 0x42f792
push dword [ebp - 8]
call fcn.0043ec47
pop ecx
jmp 0x42f6d5
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ebx
jle 0x42f881
cmp dword [ebp + 0x10], ebx
je 0x42f856
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x44]
mov byte [edi], al
inc edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push edi
push dword [eax + ecx*4]
push 0x189
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jle 0x42f876
add dword [ebp - 4], eax
add edi, eax
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42f848
push dword [ebp - 8]
call fcn.0043ec47
pop ecx
mov ecx, dword [ebp + 8]
call fcn.00401d9f
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x42fa29
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x188
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x42f924
test byte [esi + 5], 2
jne 0x42f935
push ebx
push eax
push 0x18a
push dword [esi]
call edi
cmp eax, 0xffffffff
mov ecx, dword [ebp + 8]
je 0x42f612
xor edi, edi
inc edi
push edi
push ebx
push eax
push ebx
call fcn.0040184e
cmp eax, edi
jne 0x42f9a5
mov ecx, dword [ebp + 8]
push edi
call fcn.00401e61
push eax
push dword [ebp + 0x10]
push 0x189
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x42f88a
mov ecx, dword [ebp + 8]
jmp 0x42f6cf
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42f92f
push 1
push ebx
push 0xffffffffffffffff
push ebx
jmp 0x42fb83
test byte [esi + 5], 2
je 0x42f93b
inc eax
jmp 0x42fa90
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 0x1305
push dword [esi]
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3c], 0x3ff
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov ecx, dword [ebp + 8]
push edi
push ebx
push 0xffffffffffffffff
je 0x42f617
push dword [ebp - 0x40]
jmp 0x42fb86
cmp byte [ebp - 9], bl
je case.0x42f59c.12
xor eax, eax
inc eax
jmp 0x42fb8b
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ecx, dword [ebp + 8]
xor edi, edi
inc edi
push edi
push ebx
push eax
push ebx
mov dword [ebp + 0x10], eax
call fcn.0040184e
cmp eax, edi
je 0x42f9ac
xor eax, eax
jmp 0x42fb8b
mov ecx, dword [ebp + 8]
call fcn.00401d9f
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
inc eax
push eax
push edi
call fcn.00401e61
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x42f9e4
mov ecx, dword [ebp + 8]
push edi
call fcn.00401e61
mov byte [eax], bl
jmp 0x42fa29
cmp byte [esi + 4], 0xc
jne 0x42fa29
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push 0x45f500
push 0x45e660
push edi
call fcn.00401e61
push eax
call fcn.0041d1a8
mov ecx, dword [ebp + 8]
add esp, 0x20
call fcn.00401d9f
mov ecx, dword [ebp + 8]
push edi
mov esi, eax
call fcn.00401e61
push eax
call fcn.00457cb0
pop ecx
mov dword [esi], eax
mov ecx, dword [ebp + 8]
push ebx
call fcn.0040c556
jmp 0x42fb8b
xor ebx, ebx
cmp al, bl
jne 0x42f97f
push ebx
push ebx
push 0x408
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42fa90
xor ebx, ebx
push ebx
push ebx
push 0x400
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x10]
push eax
push esi
call fcn.0042fd71
jmp 0x42fa90
xor ebx, ebx
test byte [esi + 5], 0x80
push ebx
push ebx
je 0x42fa80
push 0x472
jmp 0x42fa48
push 0x468
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
movsx eax, ax
mov ecx, dword [ebp + 8]
cdq
push 0x18
push edx
push eax
call fcn.00401c1f
jmp 0x42f97f
lea eax, [ebp - 0x44c]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x402
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00434ed6
pop ecx
pop ecx
lea eax, [ebp - 0x44c]
jmp 0x42fb7d
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
test al, 2
lea eax, [ebp - 0x30]
push eax
push ebx
je 0x42fb26
push 0x1005
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00439cd5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x443]
push eax
mov byte [ebp - 0x444], 0x2d
call fcn.00439cd5
add esp, 0x10
push 1
push ebx
push 0x11
lea eax, [ebp - 0x44c]
jmp 0x42fb82
push 0x1001
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push ebx
push 8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00439cd5
pop ecx
pop ecx
jmp 0x42fb82
lea eax, [ebp - 0x30]
push eax
xor ebx, ebx
push ebx
push 0x1001
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x42fb78
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00439cd5
pop ecx
pop ecx
jmp 0x42fb7d
mov eax, 0x45a5d8
push 1
push ebx
push 0xffffffffffffffff
push eax
mov ecx, dword [ebp + 8]
call fcn.0040184e
pop edi
pop esi
pop ebx
leave
ret 0xc