Function at 0x1030ab7
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x640
mov eax, dword [0x106ed40]
xor eax, dword [esp + 0x640]
cmp dword [esp + 0x644], 0
push ebx
push ebp
push esi
mov dword [esp + 0x648], eax
push edi
mov esi, ecx
je 0x1030cd0
lea ecx, [esp + 0x438]
call fcn.0102d037
lea ecx, [esp + 0x10]
call fcn.0102d037
lea ecx, [esp + 0x224]
call fcn.0102d037
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
mov ebp, 0x105
push ebp
mov edi, 0x1678
add eax, edi
push eax
push dword [esi + 0x264]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, edi
push eax
lea ecx, [esp + 0x43c]
call fcn.0104eaeb
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
pop ecx
pop ecx
push ebp
mov ebx, 0x1882
add eax, ebx
push eax
push dword [esi + 0x494]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.0104eaeb
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
pop ecx
pop ecx
push ebp
mov ebp, 0x1a8c
add eax, ebp
push eax
push dword [esi + 0x6c4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebp
push eax
lea ecx, [esp + 0x228]
call fcn.0104eaeb
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebp
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
call fcn.01008080
push 1
push 0x287a
mov ecx, eax
call fcn.01008799
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, edi
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1030c06
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
and word [eax + 0x1678], 0
call fcn.01008080
push 1
push 0x2879
mov ecx, eax
call fcn.01008799
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1030c39
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
and word [eax + 0x1882], 0
call fcn.01008080
push 1
push 0x2871
mov ecx, eax
call fcn.01008799
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebp
push eax
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1030c6c
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
and word [eax + 0x1a8c], 0
push 0
push 0
push 0xf0
push dword [esi + 0x8f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x50]
mov ecx, dword [ecx + 0x54]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x1c98], eax
mov esi, 0x1004aa8
lea ecx, [esp + 0x224]
mov dword [esp + 0x224], esi
call fcn.0104eae4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.0104eae4
lea ecx, [esp + 0x438]
mov dword [esp + 0x438], esi
call fcn.0104eae4
jmp 0x1030db1
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
mov ebp, dword [sym.imp.msvcrt.dll_wcslen]
mov edi, 0x1678
add eax, edi
push eax
call ebp
test eax, eax
pop ecx
jbe 0x1030cf5
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, edi
jmp 0x1030d08
call fcn.01008080
push 1
push 0x287a
mov ecx, eax
call fcn.01008799
push eax
lea ecx, [esi + 0x260]
call fcn.0102d09c
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
mov ebx, 0x1882
add eax, ebx
push eax
call ebp
test eax, eax
pop ecx
jbe 0x1030d33
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebx
jmp 0x1030d46
call fcn.01008080
push 1
push 0x2879
mov ecx, eax
call fcn.01008799
push eax
lea ecx, [esi + 0x490]
call fcn.0102d09c
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
mov ebp, 0x1a8c
add eax, ebp
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
jbe 0x1030d75
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
add eax, ebp
jmp 0x1030d88
call fcn.01008080
push 1
push 0x2871
mov ecx, eax
call fcn.01008799
push eax
lea ecx, [esi + 0x6c0]
call fcn.0102d09c
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x54]
xor ecx, ecx
cmp dword [eax + 0x1c98], ecx
setne cl
push ecx
lea ecx, [esi + 0x8f0]
call fcn.01027e5f
mov ecx, dword [esp + 0x64c]
xor ecx, dword [esp + 0x650]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0104ab5e
add esp, 0x640
ret 4