Function at 0x10074af0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101abc6c
push eax
mov dword fs:[0], esp
sub esp, 0x4dc
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x10]
push edi
test eax, eax
je 0x10074f2c
mov ecx, dword [ebx + 0xc70]
test ecx, ecx
je 0x10074f2c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push eax
call esi
mov ecx, dword [ebx + 0x1088]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jbe 0x10074f2c
mov ebp, dword [ebx + 0xc70]
mov dword [esp + 0x10], ebp
lea eax, [ebp + 0xd0]
add ebp, 0x170
push eax
call fcn.100e9a88
xor ecx, ecx
add esp, 4
cmp ecx, eax
mov word [esp + 0xd4], cx
sbb edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xd6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0xaec]
xor edi, edi
neg edx
cmp eax, edi
jne 0x10074c0e
cmp dword [esp + 0x1c], 2
jne 0x10074c0e
cmp edx, edi
je 0x10074bbe
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xd0]
push eax
push ebp
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10074c0e
mov ecx, dword [ebx + 8]
lea eax, [esp + 0xd4]
push eax
push 0x104
push 0xd
push ecx
call esi
lea edx, [esp + 0xd4]
push 0x5b
push edx
call fcn.100e99f9
add esp, 8
cmp eax, edi
je 0x10074f2c
lea ecx, [esp + 0xd4]
sub eax, ecx
mov edx, eax
and edx, 0xfffffffe
cmp edx, 4
jl 0x10074f2c
sar eax, 1
mov word [esp + eax*2 + 0xd2], di
mov esi, 0x101c037c
mov dword [esp + 0x4f4], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov ecx, dword [ebx + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x4fc], 1
call fcn.10022170
mov word [esp + 0x3c], di
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edx, edx
mov ecx, 0x83
xor eax, eax
lea edi, [esp + 0x2e8]
mov dword [esp + 0x2e4], edx
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
cmp eax, edx
jle 0x10074e70
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, 0x84
lea edi, [esp + 0x2dc]
lea esi, [eax + edx]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x2e0], 2
jne 0x10074e46
lea ecx, [esp + 0x2e4]
push ecx
call fcn.100e9a88
add esp, 4
test eax, eax
jbe 0x10074e46
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
push 0x50
push edx
lea eax, [esp + 0x2ec]
push 0xffffffffffffffff
push eax
call fcn.10012bb0
mov esi, dword [esp + 0x2c]
push ebp
mov dword [ebx + 0x1088], esi
call fcn.100e9a88
add esp, 0x14
test eax, eax
jbe 0x10074d1c
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0xd0]
push eax
push ebp
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10074d87
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10074d37
cmp ecx, 0x200
je 0x10074d87
cmp esi, 2
jne 0x10074d87
lea eax, [esp + 0xd4]
push eax
call fcn.100e9a88
add esp, 4
test eax, eax
jbe 0x10074d87
lea ecx, [esp + 0x34]
push ecx
call fcn.100e9a88
push eax
lea edx, [esp + 0xdc]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.100ea081
add esp, 0x10
test eax, eax
je 0x10074d87
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.10060380
jmp 0x10074e46
push ebp
call fcn.100e9a88
add esp, 4
test eax, eax
jbe 0x10074dd0
push ebp
call fcn.100e9a88
lea edx, [esp + 0x38]
mov edi, eax
push edx
call fcn.100e9a88
add esp, 8
cmp edi, eax
jae 0x10074db0
push ebp
jmp 0x10074db5
lea eax, [esp + 0x34]
push eax
call fcn.100e9a88
add esp, 4
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
call fcn.100ea081
add esp, 0xc
test eax, eax
je 0x10074e46
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10074e18
cmp ecx, 0x200
jne 0x10074e18
mov eax, dword [ebx + 0xaec]
test eax, eax
jne 0x10074e18
cmp esi, 2
jne 0x10074e18
lea eax, [esp + 0xd4]
mov ecx, ebx
push eax
push 0
call fcn.100613c0
test eax, eax
jne 0x10074e46
lea ecx, [esp + 0xd4]
jmp 0x10074e3e
lea edx, [esp + 0x34]
push edx
call fcn.100e9a88
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
call fcn.10061430
test eax, eax
jne 0x10074e46
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.10074f50
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
add edx, 0x210
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x10074c8b
mov esi, 0x101c037c
xor edx, edx
mov eax, dword [ebx + 0xb20]
cmp eax, edx
ja 0x10074ea1
or edi, 0xffffffff
mov dword [esp + 0x4f4], edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4f4], 2
cmp eax, edx
je 0x10074f25
jmp 0x10074f1c
cmp dword [ebx + 0x108c], edx
je 0x10074eae
cmp eax, 2
ja 0x10074eb3
cmp eax, 1
jbe 0x10074ecb
mov dword [ebx + 0x20], 0x20010
mov dword [ebx + 0x24], 0x200
mov dword [ebx + 0xaec], 1
mov ecx, ebx
call fcn.100604a0
mov eax, dword [0x102acd68]
test eax, eax
je 0x10074efb
add ebx, 0xd0
push ebx
push str._LSC__SetOpponentInfoEx___s_
push 0x10203a98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
or edi, 0xffffffff
mov dword [esp + 0x4f4], edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4f4], 3
test eax, eax
je 0x10074f25
push eax
call fcn.10197127
add esp, 4
mov dword [esp + 0x4f4], edi
mov ecx, dword [esp + 0x4ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e8
ret