Function at 0x1001290b
Capabilities:
Get common file path
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
mov dword [esp + 0x14], 0x6fc7
cmp dword [esp + 0x14], 0x7344
push 0
mov dword [esp + 0x24], edx
pop esi
jle 0x100129a3
push 0xb34
push esi
push 0x254f
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], 0x4f7d
mov ebx, esi
mov eax, edi
lea ecx, [esp + 0x40]
or eax, ebx
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001296f
mov eax, dword [eax]
push eax
call fcn.1004b583
pop ecx
push esi
push 1
lea ecx, [esp + 0x48]
call fcn.10004d7a
inc ebx
cmp ebx, 0x5f66
jl 0x10012955
dec edi
dec dword [esp + 0xc]
jne 0x10012953
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x4728
jl 0x10012947
cmp dword [esp + 0x14], 0x6db2
jge 0x100129b8
push str.kgifca_gtf_zdpsolgdc_rqngo_qnuuf_wenk_vwir_qei
call fcn.1004b583
pop ecx
cmp byte [ebp + 8], 0
je 0x10012b16
mov dword [esp + 0xc], 0x5851
cmp dword [esp + 0xc], 0x5982
jle 0x10012a52
push 0x924
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, esi
mov dword [esp + 0x10], esi
mov ebx, esi
mov dword [esp + 0x14], esi
mov ecx, ebx
mov dword [esp + 0x18], edi
mov ebx, edi
mov edi, esi
shl ebx, cl
mov ecx, edi
mov eax, ebx
shl eax, cl
lea ecx, [esp + 0x58]
cdq
push edx
push eax
call fcn.10001a8a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10012a14
mov eax, dword [eax]
push eax
call fcn.1004b583
pop ecx
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.10004d7a
inc edi
cmp edi, 0x2b65
jl 0x100129f8
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, 0x5ce
jl 0x100129ec
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x20e2
jl 0x100129e6
cmp dword [esp + 0xc], 0x5510
jge 0x10012a67
push str.lilxmfqqc_ljhzwhpb_wuxaj_bghljdhw_jmkuesnio_mges_smjxvdlqq_xcejx_pcrgil_fqpbmxps_cjjuaeij
call fcn.1004b583
pop ecx
mov edi, dword [ebp + 0x1c]
mov dword [edi], 3
cmp dword [edi], esi
jl 0x10012b35
mov ebx, dword [ebp + 0x20]
push dword [esp + 0x20]
movdqa xmm0, xmmword [0x10071ec0]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], esi
push eax
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], esi
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x3c], esi
call fcn.1001a294
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [edi]
imul eax, dword [ecx]
mov dword [ebx], eax
mov ecx, dword [edi]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp dword [eax + ecx*4], esi
mov eax, dword [ebx]
setg dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
setg cl
mov eax, dword [eax]
sub ecx, eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebx]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
lea ecx, [esp + 0x24]
call fcn.10004a4b
dec dword [edi]
cmp dword [edi], esi
jge 0x10012a7b
jmp 0x10012b35
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
cmp dword [edx], 4
jge 0x10012b35
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x68f57f54
inc dword [edx]
cmp dword [edx], 4
jl 0x10012b23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret