Function at 0x100733e9
Capabilities:
Get graphical window text

Disassembly:
push 0x74
mov eax, 0x1003a95e
call fcn.10037f6a
push dword [ebp + 0xc]
xor edi, edi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea eax, [esi*2 + 2]
push eax
call dword [sym.imp.MSDART.DLL_mpMalloc]
mov ebx, eax
mov dword [ebp - 0x48], ebx
pop ecx
test ebx, ebx
jne 0x10073481
mov eax, dword [0x100a4750]
mov esi, 0x8007000e
test al, 2
je 0x10073470
push 0x1d1
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
mov eax, dword [0x100a4750]
pop ecx
test al, 2
je 0x10073470
mov ecx, dword [0x100aa10c]
mov edx, 0x74409
push esi
push 0x1000f7f0
call fcn.1005682f
mov esi, eax
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x34]
push 0x1009dea4
push eax
call sub.msvcrt.dll__CxxThrowException
lea eax, [esi*2 + 2]
push eax
push edi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
test esi, esi
je 0x100734a5
lea eax, [esi + 1]
push eax
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push 0x100228b0
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x100a663c]
call dword [esi]
mov esi, eax
test esi, esi
jns 0x1007352b
mov eax, dword [0x100a4750]
test al, 2
je 0x1007351b
push 0x1dd
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
mov eax, dword [0x100a4750]
pop ecx
test al, 2
je 0x1007351b
push 0x1dd
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
mov eax, dword [0x100a4750]
pop ecx
test al, 2
je 0x1007351b
mov ecx, dword [0x100aa10c]
mov edx, 0x77409
push esi
push 0x1000f7f0
call fcn.1005682f
mov esi, eax
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x38]
push 0x1009dea4
jmp 0x1007347b
push 0x34
lea eax, [ebp - 0x80]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x7c], 4
mov eax, 0x4082
mov dword [ebp - 0x74], edi
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor edx, edx
push edi
push ecx
push 8
inc edx
mov dword [ebp - 0x64], 5
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], edx
mov esi, dword [eax]
push ecx
push edx
push 2
mov ecx, dword [esi + 0x10]
push eax
call dword [0x100a663c]
call dword [esi + 0x10]
mov esi, eax
test esi, esi
jns 0x100735e7
mov eax, dword [0x100a4750]
test al, 2
je 0x100735d7
push 0x1ec
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
mov eax, dword [0x100a4750]
pop ecx
test al, 2
je 0x100735d7
push 0x1ec
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
mov eax, dword [0x100a4750]
pop ecx
test al, 2
je 0x100735d7
mov ecx, dword [0x100aa10c]
mov edx, 0x7b009
push esi
push 0x1000f7f0
call fcn.1005682f
mov esi, eax
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
push 0x1009dea4
jmp 0x1007347b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov esi, dword [eax]
push 1
push edi
push edi
mov ecx, dword [esi + 0x14]
push eax
call dword [0x100a663c]
call dword [esi + 0x14]
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x18], eax
je 0x100736a5
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x1c]
mov esi, dword [eax]
push dword [ebp - 0x44]
push eax
mov ecx, dword [esi + 0x10]
call dword [0x100a663c]
call dword [esi + 0x10]
push edi
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push edi
push dword [ebp - 0x2c]
mov esi, dword [eax]
push 1
push eax
mov ecx, dword [esi + 0x18]
call dword [0x100a663c]
call dword [esi + 0x18]
mov esi, dword [ebp - 0x18]
test esi, esi
js 0x1007367e
cmp dword [ebp - 0x28], 0
jne 0x1007367e
cmp dword [ebp - 0x24], 0
je 0x1007367e
push dword [ebp - 0x24]
push edi
push 0x143
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x24], edi
jmp 0x10073699
test byte [0x100a4750], 2
je 0x10073699
push 0x202
mov edx, 0x1000f780
mov ecx, esi
call fcn.10051341
pop ecx
cmp esi, 0x40ec6
jne 0x100735e7
cmp word [ebx], di
je 0x100736b4
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
jmp 0x100736e4
test ebx, ebx
je 0x100736f0
push ebx
call dword [sym.imp.MSDART.DLL_mpFree]
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x1007370d
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x100a663c]
call esi
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10073724
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100a663c]
call esi
test byte [0x100a4750], 2
mov eax, dword [ebp - 0x18]
je 0x10073746
mov ecx, dword [0x100aa10c]
mov edx, 0x89409
push eax
push 0x1000f7f0
call fcn.1005682f
call fcn.10037ebc
ret 8