Function at 0x10303f2
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x214
mov eax, dword [0x106ed40]
xor eax, dword [esp + 0x214]
push ebx
push ebp
push esi
xor ebx, ebx
cmp dword [esp + 0x224], ebx
mov dword [esp + 0x21c], eax
push edi
mov esi, ecx
je 0x103051c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov ebp, 0xf0
push ebp
push dword [esi + 0x268]
call edi
mov ecx, dword [esi + 0x50]
mov ecx, dword [ecx + 0x54]
dec eax
neg eax
push ebx
sbb eax, eax
push ebx
inc eax
push ebp
mov dword [ecx + 0x418], eax
push dword [esi + 0x26c]
call edi
mov ecx, dword [esi + 0x50]
mov ecx, dword [ecx + 0x54]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x624], eax
call fcn.0100808c
mov edx, dword [eax]
push ebx
push ebx
push 2
mov ecx, eax
call dword [edx + 0xc]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x270]
call edi
call fcn.0100808c
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov ebp, eax
call fcn.0100808c
push ebp
mov ecx, eax
call fcn.01058e0b
mov ebp, dword [sym.imp.msvcrt.dll_wcscpy]
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, 0x41c
push eax
call ebp
pop ecx
pop ecx
call fcn.0100808c
mov edx, dword [eax]
push ebx
push ebx
push 1
mov ecx, eax
call dword [edx + 0xc]
push 0x104
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x274]
call edi
call fcn.0100808c
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov edi, eax
call fcn.0100808c
push edi
mov ecx, eax
call fcn.01058e0b
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, 0x628
push eax
call ebp
pop ecx
pop ecx
jmp 0x103064d
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x418], ebx
mov edi, dword [sym.imp.USER32.dll_IsWindowEnabled]
je 0x1030541
push dword [esi + 0x268]
call edi
test eax, eax
je 0x1030541
xor eax, eax
inc eax
jmp 0x1030543
xor eax, eax
push eax
lea ecx, [esi + 0x268]
call fcn.01027e5f
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x624], ebx
je 0x103056e
push dword [esi + 0x26c]
call edi
test eax, eax
je 0x103056e
xor eax, eax
inc eax
jmp 0x1030570
xor eax, eax
push eax
lea ecx, [esi + 0x26c]
call fcn.01027e5f
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov ebp, 0x14e
push ebp
push dword [esi + 0x270]
call edi
push ebx
push ebx
push ebp
push dword [esi + 0x274]
call edi
call fcn.0100808c
mov edx, dword [eax]
push ebx
push ebx
push 2
mov ecx, eax
call dword [edx + 0xc]
call fcn.0100808c
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x50]
mov ebp, dword [eax + 0x54]
add ebp, 0x41c
call fcn.0100808c
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
push ebp
mov ecx, eax
call fcn.01058f97
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
call dword [eax + 0x1c]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [esi + 0x270]
call edi
call fcn.0100808c
mov edx, dword [eax]
push ebx
push ebx
push 1
mov ecx, eax
call dword [edx + 0xc]
call fcn.0100808c
mov ebp, eax
mov eax, dword [esi + 0x50]
mov ebx, dword [eax + 0x54]
add ebx, 0x628
call fcn.0100808c
mov ecx, dword [ebp]
mov dword [esp + 0x10], ecx
push ebx
mov ecx, eax
call fcn.01058f97
push eax
mov eax, dword [esp + 0x14]
mov ecx, ebp
call dword [eax + 0x1c]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [esi + 0x274]
call edi
mov ecx, esi
call fcn.0102df90
mov ecx, dword [esp + 0x220]
xor ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0104ab5e
add esp, 0x214
ret 4