Function at 0x4e2097
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x5732d4
call fcn.00524444
sub esp, 0x22c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov ecx, ebx
call fcn.0053aefb
mov eax, dword [ebp + 0xc]
push 1
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
pop eax
cmp dword [esi + 0x204], eax
mov dword [ebp - 0x24], eax
jne 0x4e20ea
push 0x3b
mov ecx, ebx
call fcn.0053f016
cmp eax, 0xffffffff
je 0x4e20ea
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0053a9ea
and dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.0053ec88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0053eb4f
cmp dword [esi + 0x204], 7
mov edi, 0x622c94
jne 0x4e229a
mov eax, dword [ebx]
cmp byte [eax], 0x27
jne 0x4e229a
mov ecx, dword [eax - 8]
cmp byte [eax + ecx - 1], 0x27
je 0x4e229a
lea eax, [ebp - 0x14]
push 1
push eax
mov ecx, ebx
call fcn.0053a8b5
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0053ec88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
mov eax, dword [0x61d784]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], eax
push 0x27
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0053f016
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4e2189
mov ecx, dword [ebp + 8]
push 0x28
call fcn.0053f016
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4e2189
mov ecx, dword [ebp + 8]
push 0x2e
call fcn.0053aa62
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4e2282
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053a8b5
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053eb4f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x29
jne 0x4e21e8
mov eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053a9ea
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053eb4f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0053a9ea
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053eb4f
push edi
push dword [ebp - 0x18]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x4e2282
push edi
push dword [ebp - 0x10]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x4e2282
lea eax, [ebp - 0x10]
mov ebx, 0x5bd954
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0053ee58
push ebx
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
call fcn.0053ede4
push eax
lea ecx, [esi + 0x1ac]
mov byte [ebp - 4], 8
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0053eb4f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0053eb4f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0053ec88
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0053eb4f
mov eax, dword [esi + 0x1ac]
lea ebx, [esi + 0x1ac]
push 1
push eax
mov ecx, esi
call fcn.004e5f34
test eax, eax
je 0x4e22b8
push dword [ebx]
jmp 0x4e22b9
push edi
push 0
push 0xc
push 0x18a
mov ecx, esi
call fcn.00543b7e
lea ebx, [esi + 0x190]
push 0xa2
mov ecx, ebx
call fcn.00545796
push dword [ebp + 8]
mov ecx, ebx
call fcn.0053ef67
push dword [ebx]
mov ecx, esi
push 0
push 0xc
push 0x183
call fcn.00543b7e
mov eax, dword [ebp + 8]
push 0
push 0
push 0x402
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esi + 0x240], eax
mov eax, dword [esi + 0x1ec]
mov dword [esi + 0x244], eax
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
cmp dword [esi + 0x1f4], eax
je 0x4e2479
push dword [ebp - 0x20]
lea eax, [ebp - 0x238]
push eax
call fcn.005254b0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x130]
push eax
call fcn.005254b0
add esp, 0x10
cmp dword [esi + 0x1a4], 0
je 0x4e2368
push 0
jmp 0x4e236a
push 1
push dword [esi + 0x254]
call sub.SftpDLL.dll_Sftp_SetTransferMode
mov eax, dword [esi + 0x1e8]
pop ecx
mov dword [esi + 0x240], eax
mov eax, dword [esi + 0x1ec]
mov dword [esi + 0x244], eax
mov eax, dword [esi + 0x254]
test eax, eax
pop ecx
je 0x4e23c4
lea ecx, [ebp + 0xc]
push ecx
push eax
call sub.SftpDLL.dll_Sftp_GetState
cmp dword [ebp + 0xc], 3
pop ecx
pop ecx
je 0x4e23d7
push edi
mov ecx, ebx
call fcn.0053ecd8
push edi
push 0
push 0xc
push 0x183
mov ecx, esi
call fcn.00543b7e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x238]
push eax
push dword [esi + 0x254]
call sub.SftpDLL.dll_Sftp_PutFile
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4e2589
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 9
mov dword [ebp + 0xc], eax
push 0xc4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call fcn.00545796
push dword [ebp - 0x20]
mov ecx, esi
call fcn.004e6f4b
push eax
lea ecx, [ebp - 0x10]
call fcn.0053ef2b
push 0
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0054239a
push edi
mov ecx, ebx
call fcn.0053ecd8
push dword [ebx]
mov ecx, esi
push 0
push 0xc
push 0x183
call fcn.00543b7e
and dword [ebp - 0x24], 0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
jmp 0x4e2584
cmp dword [esi + 0x1a4], eax
lea ecx, [esi + 0x2a4]
je 0x4e248b
push 1
jmp 0x4e248c
push eax
call fcn.0050f831
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x1c]
lea ecx, [esi + 0x2a4]
mov eax, dword [eax]
push eax
call fcn.0050ef7e
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4e24b8
cmp dword [esi + 0x1d0], eax
je 0x4e2589
and dword [ebp - 0x24], 0
push edi
lea ecx, [esi + 0x1e4]
call fcn.0053ecd8
cmp dword [esi + 0x1d0], 0
jne 0x4e2589
mov eax, dword [ebp + 0xc]
dec eax
je 0x4e250a
dec eax
je 0x4e2503
dec eax
je 0x4e24fc
dec eax
je 0x4e24f5
dec eax
je 0x4e24ee
mov eax, 0xc4
jmp 0x4e250f
mov eax, 0xc3
jmp 0x4e250f
mov eax, 0xc2
jmp 0x4e250f
mov eax, 0xc1
jmp 0x4e250f
mov eax, 0xc0
jmp 0x4e250f
mov eax, 0xbf
mov ecx, dword [0x61d784]
mov dword [ebp + 0xc], ecx
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xb
call fcn.00545796
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
push 0xc4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.00545796
push 0x5c9a14
lea ecx, [ebp + 0xc]
call fcn.0053ef2b
lea ecx, [esi + 0x2a4]
call fcn.00510263
push eax
lea ecx, [ebp + 0xc]
call fcn.0053ef2b
push 0
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0054239a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0053eb4f
cmp dword [esi + 0x1f4], 0
je 0x4e25a3
push 1
push dword [esi + 0x254]
call sub.SftpDLL.dll_Sftp_SetTransferMode
pop ecx
pop ecx
jmp 0x4e25b0
push 0
lea ecx, [esi + 0x2a4]
call fcn.0050f831
cmp dword [ebp - 0x24], 0
je 0x4e23c4
mov eax, dword [0x61d784]
mov dword [ebp - 0x1c], eax
push 0xb5
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xd
call fcn.00545796
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0053ec88
push dword [ebx]
mov ecx, esi
push 0
push 0xc
push 0x183
call fcn.00543b7e
push 0
push 0x64
push 0x402
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x204]
cmp eax, 1
jne 0x4e2683
mov ecx, dword [ebp + 8]
push 0x3a
call fcn.0053f016
cmp eax, 0xffffffff
je 0x4e2635
push dword [ebp + 8]
lea ecx, [esi + 0x1e4]
call fcn.0053ec88
jmp 0x4e28c3
lea eax, [esi + 0x1ac]
push 0x5c1b88
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0053ede4
push dword [ebp + 8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0053ed7e
push eax
lea ecx, [esi + 0x1e4]
mov byte [ebp - 4], 0xf
call fcn.0053ec88
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.0053eb4f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x20]
jmp 0x4e28be
cmp eax, 7
jne 0x4e282f
mov ecx, dword [esi + 0x1ac]
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x1ac]
cmp byte [ecx], 0x27
jne 0x4e27bf
mov ecx, dword [ebx]
cmp byte [ecx], 0x27
je 0x4e27bf
push eax
lea ecx, [ebp + 0xc]
call fcn.0053e8c4
push ebx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.0053e8c4
mov ebx, 0x5bd954
push edi
lea eax, [ebp + 0xc]
push ebx
push eax
mov byte [ebp - 4], 0x11
call fcn.0047a8d8
push edi
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0047a8d8
add esp, 0x18
lea ecx, [ebp - 0x28]
push 1
push 0x27
call fcn.0053a3f4
mov ebx, eax
push 1
push 0x27
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0053a3f4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0053ed7e
push 0x5c1b88
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x14
push eax
call fcn.0053ede4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ed7e
push ebx
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x16
push eax
call fcn.0053ed7e
lea ebx, [esi + 0x1e4]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.0053ec88
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call fcn.0053eb4f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.0053eb4f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.0053eb4f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
call fcn.0053eb4f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0053eb4f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call fcn.0053eb4f
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.0053eb4f
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xc]
call fcn.0053eb4f
jmp 0x4e281b
mov ecx, dword [ebx]
cmp byte [ecx], 0x27
je 0x4e280b
push 0x5c1b88
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0053ede4
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x18
push eax
call fcn.0053ed7e
lea ebx, [esi + 0x1e4]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x19
call fcn.0053ec88
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x18
call fcn.0053eb4f
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xc]
jmp 0x4e27b8
push dword [ebp + 8]
lea ebx, [esi + 0x1e4]
mov ecx, ebx
call fcn.0053ec88
push edi
push 0x5c1530
push ebx
call fcn.0047a8d8
add esp, 0xc
jmp 0x4e28c3
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, byte [0x62adf0]
jne 0x4e2877
lea edi, [esi + 0x1e4]
push ebx
mov ecx, edi
call fcn.0053ec88
push 0x2f
mov ecx, edi
call fcn.0053aa62
test eax, eax
jne 0x4e2869
push 0x5c1b88
push 1
mov ecx, edi
call fcn.0053a60f
jmp 0x4e28c3
jle 0x4e28c3
push 0x7c
push eax
mov ecx, edi
call fcn.0053f095
jmp 0x4e28c3
lea eax, [esi + 0x1ac]
push 0x5c1b88
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0053ede4
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x1a
push eax
call fcn.0053ed7e
push eax
lea ecx, [esi + 0x1e4]
mov byte [ebp - 4], 0x1b
call fcn.0053ec88
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1a
call fcn.0053eb4f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0053eb4f
xor eax, eax
cmp dword [esi + 0x198], eax
jne 0x4e28f4
cmp dword [esi + 0x1dc], 2
je 0x4e28f4
cmp dword [0x5c9970], eax
je 0x4e28fd
push eax
push 0x1e9
push 0x111
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4e28fd
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0053eb4f
push 1
pop eax
jmp 0x4e23c6