Function at 0x42e774
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
push str.Submit
push dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
call fcn.00441439
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 - 0xd], al
je 0x42ed97
dec ecx
je 0x42ed18
dec ecx
je 0x42eced
dec ecx
je 0x42ecbc
dec ecx
je 0x42ec9c
dec ecx
je 0x42ec85
push str.Text
push dword [ebp + 0x10]
call fcn.00441439
pop ecx
xor ebx, ebx
test eax, eax
pop ecx
je case.0x42e7fc.12
movzx eax, byte [esi + 4]
dec eax
cmp eax, 0x12
ja case.0x42e7fc.12
movzx eax, byte [eax + 0x42edf9]
jmp dword [eax*4 + 0x42eddd]
xor ebx, ebx
push ebx
push ebx
push 0xf0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, ebx
je 0x42e840
dec eax
je 0x42e831
dec eax
jne 0x42ebfd
push 1
push ebx
push 0xffffffffffffffff
push 0x459e24
jmp 0x42edce
push 1
push ebx
push 0xffffffffffffffff
push 0x458f24
jmp 0x42edce
push 1
push ebx
push 0xffffffffffffffff
push 0x45771c
jmp 0x42edce
test byte [esi + 5], 2
je case.0x42e7fc.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 0x42e87d
push 1
push ebx
push 0xffffffffffffffff
push ebx
jmp 0x42edd1
inc eax
jmp 0x42eb8d
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 0x42e8d6
push 0x400
lea eax, [ebp - 0x450]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je case.0x42e7fc.12
lea eax, [ebp - 0x450]
push eax
push 0xffffffffffffffff
push 0x158
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je case.0x42e7fc.12
test byte [esi + 5], 2
je 0x42e8e4
mov eax, dword [ebp + 0x10]
jmp 0x42eb89
push ebx
push dword [ebp + 0x10]
push 0x149
push dword [esi]
call edi
cmp eax, 0xffffffff
mov ecx, dword [ebp + 8]
push 1
push ebx
je 0x42e875
push eax
push ebx
call fcn.0040152b
cmp eax, 1
jne 0x42ebfd
mov ecx, dword [ebp + 8]
call fcn.00401c8a
push eax
push dword [ebp + 0x10]
push 0x148
push dword [esi]
call edi
mov ecx, dword [ebp + 8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e93a
push ebx
call fcn.0041cf68
jmp 0x42eb78
call fcn.00401c6f
mov dword [eax], esi
jmp 0x42eaee
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
test ax, 0x808
push ebx
push ebx
je 0x42eaf6
push 0x190
push dword [esi]
call edi
cmp eax, 1
mov dword [ebp + 0xc], eax
jl 0x42eb78
shl eax, 2
push eax
call fcn.0043e5d0
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x42eb78
push eax
push dword [ebp + 0xc]
push 0x191
push dword [esi]
call edi
cmp eax, 1
mov dword [ebp + 0xc], eax
jge 0x42e9b1
push dword [ebp - 8]
call fcn.0043db8d
pop ecx
jmp 0x42eb78
test byte [esi + 5], 2
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 1]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], eax
je 0x42e9ff
cmp ecx, ebx
jle 0x42ea29
mov ecx, dword [ebp + 0x10]
push 0xa
lea eax, [ebp - 0x450]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
inc eax
push eax
call fcn.004017e8
lea eax, [ebp - 0x450]
push eax
call fcn.00454880
add dword [ebp - 4], eax
add esp, 0x10
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42e9c7
jmp 0x42ea29
cmp ecx, ebx
jle 0x42ea29
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push ebx
push dword [eax + ecx*4]
push 0x18a
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42e9a3
add dword [ebp - 4], eax
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42ea03
mov ecx, dword [ebp + 8]
push 1
push ebx
push dword [ebp - 4]
push ebx
call fcn.0040152b
cmp eax, 1
jne 0x42ebfd
mov ecx, dword [ebp + 8]
call fcn.00401c8a
test byte [esi + 5], 2
mov dword [ebp - 0xc], eax
je 0x42ea8b
xor esi, esi
cmp dword [ebp + 0xc], ebx
jle 0x42ead8
mov edi, eax
cmp esi, ebx
je 0x42ea68
mov eax, dword [ebp - 0x14]
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.004017e8
push edi
call fcn.00454880
add esp, 0x10
add edi, eax
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x42ea5b
jmp 0x42ead8
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], ebx
jle 0x42ead8
cmp dword [ebp + 0x10], ebx
je 0x42eaae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov al, byte [eax + 0x44]
inc dword [ebp - 0xc]
mov byte [ecx], al
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
push dword [eax + ecx*4]
push 0x189
push dword [esi]
call edi
cmp eax, ebx
jle 0x42eacd
add dword [ebp - 4], eax
add dword [ebp - 0xc], eax
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jl 0x42ea9b
push dword [ebp - 8]
call fcn.0043db8d
pop ecx
mov ecx, dword [ebp + 8]
call fcn.00401c6f
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
jmp 0x42ec7a
push 0x188
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x42eb78
test byte [esi + 5], 2
jne 0x42e8dc
push ebx
push eax
push 0x18a
push dword [esi]
call edi
cmp eax, 0xffffffff
mov ecx, dword [ebp + 8]
push 1
push ebx
je 0x42e875
push eax
push ebx
call fcn.0040152b
cmp eax, 1
jne 0x42ebfd
mov ecx, dword [ebp + 8]
call fcn.00401c8a
push eax
push dword [ebp + 0x10]
push 0x189
push dword [esi]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x42eae1
mov ecx, dword [ebp + 8]
jmp 0x42e92f
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x130b
push dword [esi]
call edi
cmp eax, 0xffffffff
jne 0x42eb83
push 1
push ebx
push 0xffffffffffffffff
push ebx
jmp 0x42edce
test byte [esi + 5], 2
je 0x42eb98
inc eax
mov ecx, dword [ebp + 8]
push eax
call fcn.00401861
jmp 0x42edd6
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x1305
push dword [esi]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x40], 0x3ff
call edi
test eax, eax
mov ecx, dword [ebp + 8]
push 1
push ebx
push 0xffffffffffffffff
je 0x42e877
push dword [ebp - 0x44]
jmp 0x42edd1
cmp byte [ebp - 0xd], bl
jne 0x42ec8b
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, dword [ebp + 8]
push 1
push ebx
push eax
push ebx
mov ecx, edi
mov dword [ebp + 0x10], eax
call fcn.0040152b
cmp eax, 1
je 0x42ec04
xor eax, eax
jmp 0x42edd6
mov ecx, edi
call fcn.00401c6f
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
inc eax
push eax
mov ecx, edi
call fcn.00401c8a
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jne 0x42ec37
mov ecx, edi
call fcn.00401c8a
mov byte [eax], bl
jmp 0x42ec78
cmp byte [esi + 4], 0xc
jne 0x42ec78
push ebx
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x45c4f0
push 0x45bd24
mov ecx, edi
call fcn.00401c8a
push eax
call fcn.0041bfe4
add esp, 0x20
mov ecx, edi
call fcn.00401c6f
mov ecx, edi
mov esi, eax
call fcn.00401c8a
push eax
call fcn.00454880
pop ecx
mov dword [esi], eax
mov ecx, edi
push ebx
call fcn.0041cf68
jmp 0x42edd6
xor ebx, ebx
cmp al, bl
je 0x42ec93
xor eax, eax
inc eax
jmp 0x42edd6
push ebx
push ebx
push 0x408
jmp 0x42eccb
xor ebx, ebx
push ebx
push ebx
push 0x400
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x14]
push eax
push esi
call fcn.0042efbc
jmp 0x42eb8a
xor ebx, ebx
test byte [esi + 5], 0x80
push ebx
push ebx
je 0x42ecd8
push 0x472
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42eb8a
push 0x468
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
movsx eax, ax
jmp 0x42eb8a
lea eax, [ebp - 0x450]
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.00433f61
pop ecx
pop ecx
lea eax, [ebp - 0x450]
jmp 0x42edc8
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
test al, 2
lea eax, [ebp - 0x34]
push eax
push ebx
je 0x42ed71
push 0x1005
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00438c93
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x447]
push eax
mov byte [ebp - 0x448], 0x2d
call fcn.00438c93
add esp, 0x10
push 1
push ebx
push 0x11
lea eax, [ebp - 0x450]
jmp 0x42edcd
push 0x1001
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push ebx
push 8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00438c93
pop ecx
pop ecx
jmp 0x42edcd
lea eax, [ebp - 0x34]
push eax
xor ebx, ebx
push ebx
push 0x1001
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x42edc3
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00438c93
pop ecx
pop ecx
jmp 0x42edc8
mov eax, 0x4575d8
push 1
push ebx
push 0xffffffffffffffff
push eax
mov ecx, dword [ebp + 8]
call fcn.0040152b
pop edi
pop esi
pop ebx
leave
ret 0xc