Function at 0x41a710
Capabilities:
Copy file
Get graphical window text

Disassembly:
mov eax, 0x1798
call fcn.0041f870
mov dl, byte [0x4488a8]
push ebx
push ebp
push esi
push edi
mov ecx, 0x47f
xor eax, eax
lea edi, [esp + 0x1a9]
mov byte [esp + 0x1a8], dl
mov byte [esp + 0x28], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x29]
push 0x4428d8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x447c50]
add eax, 0x930
push eax
call fcn.00420da6
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41abc1
mov ebp, dword [esp + 0x17ac]
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41abc1
mov esi, dword [esp + 0x17b0]
lea ecx, [esp + 0x1a8]
push ecx
push esi
push ebp
call fcn.004085a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x41abc1
lea edx, [esp + 0x1a8]
push 9
push edx
call fcn.0041f640
add esp, 8
test eax, eax
je 0x41a7c7
mov byte [eax], 0
lea eax, [esp + 0x1a8]
push 0x100
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.004166c0
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ecx
je 0x41abc1
xor ebx, ebx
test esi, esi
jl 0x41a848
lea edx, [esp + 0x1a8]
push edx
push ebx
push ebp
call fcn.004085a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x41abc1
mov ecx, 5
mov edi, str.____End_of
lea esi, [esp + 0x1a8]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x41abc1
mov eax, dword [esp + 0x17b0]
inc ebx
cmp ebx, eax
jle 0x41a805
mov ecx, dword [0x447e38]
mov eax, dword [ecx + 0x60cc]
test eax, eax
je 0x41a893
lea edx, [esp + 0x13a8]
push 0x400
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
lea eax, [esp + 0x30]
push 0x80
push eax
lea ecx, [esp + 0x13b8]
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x41a8a4
lea edx, [esp + 0x28]
push 0x80
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x28]
push eax
call fcn.00408740
push 0x7e
lea ecx, [esp + 0x30]
push 0x3a
push ecx
call fcn.00408710
lea edx, [esp + 0x38]
push 0x28
push edx
call fcn.0041f920
mov edx, eax
add esp, 0x18
test edx, edx
je 0x41a906
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], 0x29
jne 0x41a906
mov edi, 0x4428c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 5
lea ecx, [esp + 0x2c]
push str.cell_
push ecx
call fcn.0041f530
add esp, 0xc
test eax, eax
jne 0x41a955
lea edx, [esp + 0x28]
push 0x2c
push edx
call fcn.0041f920
mov edx, eax
add esp, 8
test edx, edx
je 0x41a955
mov edi, 0x4428bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4428b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x17b4]
not ecx
push eax
dec ecx
push 0x182
push ebp
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
push 0x4409e0
push ecx
call fcn.0041f85a
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x41abc1
push 0x4409d8
push 0x4461b0
call fcn.0041f85a
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x14], esi
jne 0x41a9f8
push ebp
call fcn.0041f74a
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1798
ret
push esi
lea edx, [esp + 0x1ac]
push 0x1200
push edx
mov dword [esp + 0x24], 0
call fcn.0041f7c7
add esp, 0xc
test eax, eax
je 0x41ab97
mov ecx, 3
mov edi, 0x43a240
lea esi, [esp + 0x1a8]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41aa5e
lea edi, [esp + 0x1ab]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1a8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1a8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esp + ecx + 0x1a8]
lea ecx, [esp + 0x1a8]
cmp ebx, ecx
jbe 0x41aaa4
mov al, byte [ebx - 1]
cmp al, 0x20
je 0x41aa94
cmp al, 9
jb 0x41aa90
cmp al, 0xd
jbe 0x41aa94
cmp al, 0xa0
jne 0x41aaa4
mov byte [ebx - 1], 0
dec ebx
lea edx, [esp + 0x1a8]
cmp ebx, edx
ja 0x41aa81
cmp byte [esp + 0x1a8], 0x5b
jne 0x41aab6
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x28]
mov ecx, eax
lea esi, [esp + 0x1a8]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41ab58
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x41ab58
lea ebp, [esp + eax + 0x1a8]
cmp ebp, ebx
jae 0x41ab54
mov al, byte [ebp]
cmp al, 0x20
je 0x41aaf7
cmp al, 9
jb 0x41aaf3
cmp al, 0xd
jbe 0x41aaf7
cmp al, 0xa0
jne 0x41aafa
inc ebp
jmp 0x41aae4
cmp ebp, ebx
jae 0x41ab54
mov cl, byte [ebp]
mov eax, ebp
cmp cl, 0x3b
je 0x41ab15
test cl, cl
je 0x41ab15
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x3b
jne 0x41ab08
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0xa8]
mov esi, ebp
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41ab4f
mov esi, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebp
cmp esi, ecx
jne 0x41ab4f
mov edx, ebx
sub edx, eax
inc edx
inc eax
push edx
push eax
push ebp
call fcn.0041f1f0
or eax, 0xffffffff
add esp, 0xc
sub eax, esi
add ebx, eax
mov byte [ebx], 0
inc ebp
cmp ebp, ebx
jb 0x41aae4
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x1a8]
push ebp
push ecx
call fcn.0041f6fc
push ebp
push 0x4344e0
call fcn.0041f6fc
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1b8]
push edx
push 0x1200
push eax
call fcn.0041f7c7
add esp, 0x1c
test eax, eax
jne 0x41aa1e
mov esi, dword [esp + 0x14]
push esi
call fcn.0041f74a
push ebp
call fcn.0041f74a
mov esi, dword [esp + 0x24]
add esp, 8
push 0
push 0x4461b0
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
call fcn.00420374
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1798
ret