Function at 0x100738d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10000
xor ebx, ebx
push ebx
push dword [esi + 4]
xor eax, eax
push dword [esi + 0x10]
mov ecx, 0x80
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
je 0x10073ce
xor eax, eax
jmp 0x10076ed
push dword [esi + 0x10]
push dword [esi + 4]
call fcn.010022b0
push ebx
lea edi, [esi + 0x14]
push edi
push 0x802
push dword [esi + 0x10]
call dword [sym.imp.WINMM.dll_mixerMessage]
test eax, eax
je 0x10073f2
mov dword [edi], ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x100
push edi
lea eax, [ebp - 0x324]
push eax
push 0xc9
push dword [esi]
call ebx
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x120], eax
push 0
lea eax, [ebp - 0x124]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x124], 0x118
call dword [sym.imp.WINMM.dll_mixerGetLineInfoW]
test eax, eax
jne 0x100744d
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x724]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100745e
push edi
lea eax, [ebp - 0x724]
push eax
push 0xcb
push dword [esi]
call ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x724]
push eax
push dword [esi + 4]
call ebx
xor eax, eax
cmp dword [esi + 0x8c], eax
mov dword [ebp + 8], eax
jbe 0x10076ea
mov dword [ebp - 0xc], eax
mov edi, dword [esi + 0x88]
add edi, dword [ebp - 0xc]
push 0x3ec
push dword [ebp + 8]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
je 0x10074b6
test byte [esi + 0x1c], 0x20
mov ecx, dword [edi + 0x34]
je 0x10074af
add ecx, 0x14
jmp 0x10074b2
add ecx, 0x34
push ecx
push eax
call ebx
mov dword [ebp - 8], 0x40c
push dword [ebp - 8]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [ebp - 4], eax
je 0x100751a
push 0x100
lea ecx, [ebp - 0x324]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test byte [esi + 0x1c], 0x20
mov eax, dword [edi + 0x34]
je 0x10074f3
add eax, 0x14
jmp 0x10074f6
add eax, 0x34
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x524]
push eax
push dword [ebp - 4]
call ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x40d
jle 0x10074bd
cmp dword [ebp - 0x108], 2
jbe 0x10075f4
test byte [edi + 0x30], 1
je 0x10075f4
mov eax, dword [edi + 0x34]
test byte [eax + 0xe], 0x10
je 0x10075f4
mov dword [ebp - 4], 0x403
push dword [ebp - 4]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
je 0x1007576
xor ecx, ecx
cmp dword [ebp - 4], 0x400
sete cl
push ecx
push eax
call fcn.01007371
dec dword [ebp - 4]
cmp dword [ebp - 4], 0x400
jge 0x1007551
push 0x3ea
push dword [ebp + 8]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [ebp - 4], eax
je 0x10075a1
push 0
push eax
call fcn.01007371
cmp dword [ebp - 0x10c], 4
je 0x10075f4
cmp dword [ebp - 0x10c], 6
jbe 0x10075cf
cmp dword [ebp - 0x10c], 8
ja 0x10075cf
push 0x100
lea eax, [ebp - 0x324]
push eax
push 0xed
jmp 0x10075e0
push 0x100
lea eax, [ebp - 0x324]
push eax
push 0xee
push dword [esi]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x324]
push eax
push dword [ebp - 4]
call ebx
test byte [esi + 8], 8
jne 0x100764b
mov eax, dword [esi + 0x1c]
test ah, 8
je 0x100764b
test al, 0x20
jne 0x100764b
push 0x3fe
push dword [ebp + 8]
push dword [esi + 4]
call fcn.010020cb
test eax, eax
mov dword [ebp - 8], eax
je 0x100764b
mov ecx, dword [edi + 0x34]
mov ecx, dword [ecx + 0xc]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0xc]
shr eax, 0x1f
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx + 0xc]
test al, 2
jne 0x10076d4
xor edx, edx
inc edx
test eax, 0x100000
je 0x100766f
mov dword [edi + 8], edx
mov al, byte [ecx + 0xc]
not al
movzx eax, al
and eax, edx
mov dword [edi + 0x14], eax
test byte [ecx + 0xe], 2
je 0x1007678
mov dword [edi + 0x2c], edx
test byte [ecx + 0xe], 1
je 0x1007681
mov dword [edi + 0x20], edx
test byte [ecx + 0xe], 0xc
je 0x10076d4
mov eax, dword [ecx + 0x10]
test al, 0xc
je 0x10076d4
push 0x3e8
push dword [ebp + 8]
and eax, 0xfffffffe
mov dword [ecx + 0x10], eax
mov dword [edi + 0x20], edx
push dword [esi + 4]
call fcn.010020cb
mov edi, eax
test edi, edi
je 0x10076d4
push 0x100
lea eax, [ebp - 0x924]
push eax
push 0xe7
push dword [esi]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x10076d4
lea eax, [ebp - 0x924]
push eax
push edi
call ebx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0xc], 0x38
cmp eax, dword [esi + 0x8c]
jb 0x1007484
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4