Function at 0x414c8d
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0xa74
lea ebp, [esp - 4]
mov eax, dword [0x514d34]
xor eax, ebp
mov dword [ebp + 0xa74], eax
push 0x5c
mov eax, 0x4ba41f
call fcn.00441d06
mov eax, dword [ebp + 0xa80]
mov ebx, 0x52e780
test eax, eax
je 0x414ccb
push eax
push ebx
call fcn.00446f90
pop ecx
pop ecx
jmp 0x414cd2
mov byte [0x52e780], 0
push ebx
call fcn.00447230
pop ecx
test eax, eax
je 0x414d15
push ebx
call fcn.0040d5d3
pop ecx
test ax, ax
je 0x414f8f
push ebx
call fcn.0040cc97
movzx eax, ax
pop ecx
test ax, ax
je 0x414f8f
push eax
call fcn.0040cb9c
push eax
call fcn.00413845
pop ecx
pop ecx
xor eax, eax
jmp 0x414f92
mov esi, 0x519
push esi
push ebx
call fcn.0041bdb6
push 0x58
pop edi
push edi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00443240
call fcn.00410eed
test ax, ax
mov eax, dword [0x510504]
push 0x4c
pop ecx
cmovne ecx, edi
mov edi, str.wformat
mov dword [ebp - 0x68], ecx
mov eax, dword [eax]
push 0x105
mov eax, dword [eax + 0x1e]
mov dword [ebp - 0x64], eax
mov eax, dword [0x50d254]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
xor eax, eax
inc eax
mov dword [ebp - 0x5c], 0x4c7e18
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x96c]
push eax
push 0x4bea80
push edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x38], str.Enter_Report_Filename
mov dword [ebp - 0x34], 0xe
call fcn.0041506a
lea eax, [ebp + 0x96c]
push 0x4c7e70
push eax
mov dword [ebp - 0x2c], eax
call fcn.00447146
mov ecx, dword [ebp - 0x50]
add esp, 0x2c
test eax, eax
push 2
pop edx
cmove ecx, edx
cmp byte [0x52e780], 0
mov dword [ebp - 0x50], ecx
je 0x414dd3
mov eax, ebx
cmp byte [eax], 0x2f
jne 0x414dcd
mov byte [eax], 0x20
inc eax
cmp byte [eax], 0
jne 0x414dc5
lea ecx, [ebp]
call fcn.0040c5d7
and dword [ebp - 4], 0
lea eax, [ebp + 0x760]
push eax
call fcn.0040c27e
mov eax, dword [0x519580]
pop ecx
cmp byte [eax + 0x198], 0x12
jb 0x414e4e
push ebx
call fcn.0040c2df
pop ecx
test ax, ax
jne 0x414e4e
lea ecx, [ebp + 0x53c]
call fcn.00408368
lea ecx, [ebp + 0x96c]
mov byte [ebp - 4], 1
push ecx
push str.temp._str_
push eax
call fcn.00408abf
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x414e32
mov eax, dword [eax]
push eax
lea ecx, [ebp]
call fcn.0040c808
push 0
push 1
lea ecx, [ebp + 0x53c]
mov byte [ebp - 4], 0
call fcn.0040758b
push ebx
call fcn.00447230
pop ecx
sub esi, eax
push esi
push ebx
call fcn.00447230
pop ecx
add eax, ebx
push eax
mov eax, dword [0x50d234]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [0x52e780], 0
je 0x414e88
mov eax, ebx
cmp byte [eax], 0x2f
jne 0x414e82
mov byte [eax], 0x20
inc eax
cmp byte [eax], 0
jne 0x414e7a
lea eax, [ebp - 0x68]
push eax
call fcn.0046f077
pop ecx
lea ecx, [ebp]
mov esi, eax
call fcn.0040c7fe
test ax, ax
je 0x414eab
push 0
lea ecx, [ebp]
call fcn.0040c650
lea eax, [ebp + 0x760]
push eax
call fcn.0040c2df
pop ecx
test esi, esi
je 0x414ee5
push ebx
call fcn.0040d5d3
pop ecx
test ax, ax
je 0x414efd
push ebx
call fcn.0040cc97
movzx eax, ax
pop ecx
test ax, ax
je 0x414efd
push eax
call fcn.0040cb9c
push eax
call fcn.00413845
pop ecx
pop ecx
call fcn.0041b070
lea ecx, [ebp]
movzx esi, ax
call fcn.0040c5fb
mov ax, si
jmp 0x414f92
mov eax, dword [0x52d808]
mov ecx, 0xc000
and eax, ecx
cmp ax, cx
je 0x414f23
push 0xf8
call fcn.00460b68
test ax, ax
mov eax, 0x4c7e84
pop ecx
je 0x414f28
mov eax, 0x4c7e80
push 4
lea ecx, [ebp - 0x10]
push ecx
push eax
push str.savefolder
call fcn.0041506a
add esp, 0x10
cmp byte [ebp - 0x10], 0x79
jne 0x414f63
lea eax, [ebp + 0x554]
push eax
push ebx
call fcn.0040dc1c
lea eax, [ebp + 0x554]
push eax
push str.folder
call fcn.0041611d
add esp, 0x10
xor ecx, ecx
lea eax, [ebp + 0x96c]
push ecx
push ecx
push eax
push ecx
push ecx
push ecx
push ebx
call fcn.0040d952
lea ecx, [ebp + 0x96c]
push ecx
push edi
call fcn.0041611d
add esp, 0x24
lea ecx, [ebp]
call fcn.0040c5fb
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa74]
xor ecx, ebp
call fcn.00441a5e
lea esp, [ebp + 0xa78]
pop ebp
ret