Function at 0x1000114f
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
push esi
push 0x4000
mov dword [esp + 8], 0x2000
call fcn.10001041
mov esi, eax
xor ecx, ecx
cmp esi, ecx
jne 0x10001174
xor al, al
jmp 0x10001445
cmp dword [0x10008324], ecx
push ebx
push ebp
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 1
jle 0x1000140e
mov dword [esp + 0x1c], ecx
mov eax, dword [0x1000831c]
mov edx, dword [esp + 0x1c]
lea ebx, [edx + eax]
mov eax, dword [ebx + 0x20]
cmp eax, 6
mov ebp, dword [ebx + 0x38]
je 0x100013dc
cmp eax, 9
jle 0x100013f1
cmp eax, 0xb
jle 0x10001389
cmp eax, 0xf
jle 0x10001286
cmp eax, 0x10
jne 0x100013f1
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
add edi, 0xa
cmp edi, dword [esp + 0x10]
jle 0x10001203
push esi
call fcn.10001050
lea eax, [edi + edi]
push eax
mov dword [esp + 0x14], edi
call fcn.10001041
mov esi, eax
test esi, esi
je 0x1000144a
mov eax, dword [esp + 0x10]
add eax, eax
push eax
call fcn.10001041
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x1000144a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x18b
push ebp
mov word [esi], bx
call edi
test eax, eax
mov dword [esp + 0x24], eax
jle 0x10001278
push 0
push ebx
push 0x187
push ebp
call edi
test eax, eax
jle 0x10001271
cmp word [esi], 0
je 0x10001259
push 0x10003170
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [esp + 0x18]
push ebx
push 0x189
push ebp
call edi
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x10001238
push dword [esp + 0x18]
call fcn.10001050
jmp 0x100013ad
push ecx
push ecx
push 0xe
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, dword [esp + 0x10]
jle 0x100012b8
push esi
call fcn.10001050
lea eax, [edi + 0x14]
mov dword [esp + 0x10], eax
add eax, eax
push eax
call fcn.10001041
mov esi, eax
test esi, esi
je 0x1000144a
mov eax, dword [esp + 0x10]
dec eax
push eax
lea eax, [esi + 2]
push eax
push ebp
mov word [esi], 0x22
call dword [sym.imp.USER32.dll_GetWindowTextW]
and word [esi + edi*2 + 4], 0
mov word [esi + edi*2 + 2], 0x22
cmp dword [ebx + 0x20], 0xc
jne 0x100013ad
test word [ebx + 0x34], 0x100
je 0x100013ad
mov ebp, dword [esp + 0x10]
mov eax, ebp
shl eax, 2
push eax
call fcn.10001041
cmp word [esi], 0
mov edi, eax
mov dword [esp + 0x24], edi
mov ebx, esi
je 0x10001371
movzx eax, word [ebx]
sub eax, 9
je 0x1000134d
dec eax
je 0x1000133f
sub eax, 3
je 0x1000133f
sub eax, 0x4f
jne 0x10001328
mov word [edi], 0x5c
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x10001359
mov word [edi], 0x5c
inc edi
inc edi
mov word [edi], 0x6e
jmp 0x10001359
mov word [edi], 0x5c
inc edi
inc edi
mov word [edi], 0x74
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_CharNextW]
cmp word [ebx], 0
mov edi, eax
jne 0x1000130e
and word [edi], 0
lea eax, [ebp + ebp]
push esi
mov dword [esp + 0x14], eax
call fcn.10001050
mov esi, dword [esp + 0x24]
jmp 0x100013ad
push ecx
push ecx
push 0xf0
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
neg eax
push eax
push 0x10003168
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [esp + 0x14]
mov edi, 0x10008530
push str.Field__d
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [0x100082f8]
push esi
push str.State
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
jmp 0x100013f1
mov eax, dword [0x100042b4]
cmp eax, dword [esp + 0x14]
jle 0x100013ed
dec dword [0x100042b4]
dec dword [esp + 0x14]
inc dword [esp + 0x20]
add dword [esp + 0x1c], 0x54
mov eax, dword [esp + 0x20]
inc dword [esp + 0x14]
cmp eax, dword [0x10008324]
jl 0x10001193
push dword [0x100042b4]
push 0x10003168
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [0x100082f8]
push esi
push str.State
push str.Settings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
call fcn.10001050
mov al, 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x18
ret
xor al, al
jmp 0x10001442