Function at 0x10072ef0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10188bbc
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 0x1007332c
mov ecx, dword [ebx + 0xc70]
test ecx, ecx
je 0x1007332c
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 0x1007332c
mov ebp, dword [ebx + 0xc70]
mov dword [esp + 0x10], ebp
lea eax, [ebp + 0xd0]
add ebp, 0x170
push eax
call fcn.100c9da4
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 0x1007300e
cmp dword [esp + 0x1c], 2
jne 0x1007300e
cmp edx, edi
je 0x10072fbe
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xd0]
push eax
push ebp
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1007300e
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.100c9d15
add esp, 8
cmp eax, edi
je 0x1007332c
lea ecx, [esp + 0xd4]
sub eax, ecx
mov edx, eax
and edx, 0xfffffffe
cmp edx, 4
jl 0x1007332c
sar eax, 1
mov word [esp + eax*2 + 0xd2], di
mov esi, 0x10194374
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.10021610
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 0x10073270
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 0x10073246
lea ecx, [esp + 0x2e4]
push ecx
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x10073246
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.10012f10
mov esi, dword [esp + 0x2c]
push ebp
mov dword [ebx + 0x1088], esi
call fcn.100c9da4
add esp, 0x14
test eax, eax
jbe 0x1007311c
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0xd0]
push eax
push ebp
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x10073187
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10073137
cmp ecx, 0x200
je 0x10073187
cmp esi, 2
jne 0x10073187
lea eax, [esp + 0xd4]
push eax
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x10073187
lea ecx, [esp + 0x34]
push ecx
call fcn.100c9da4
push eax
lea edx, [esp + 0xdc]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.100ca3d2
add esp, 0x10
test eax, eax
je 0x10073187
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.1005d7c0
jmp 0x10073246
push ebp
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x100731d0
push ebp
call fcn.100c9da4
lea edx, [esp + 0x38]
mov edi, eax
push edx
call fcn.100c9da4
add esp, 8
cmp edi, eax
jae 0x100731b0
push ebp
jmp 0x100731b5
lea eax, [esp + 0x34]
push eax
call fcn.100c9da4
add esp, 4
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
call fcn.100ca3d2
add esp, 0xc
test eax, eax
je 0x10073246
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10073218
cmp ecx, 0x200
jne 0x10073218
mov eax, dword [ebx + 0xaec]
test eax, eax
jne 0x10073218
cmp esi, 2
jne 0x10073218
lea eax, [esp + 0xd4]
mov ecx, ebx
push eax
push 0
call fcn.1005ec40
test eax, eax
jne 0x10073246
lea ecx, [esp + 0xd4]
jmp 0x1007323e
lea edx, [esp + 0x34]
push edx
call fcn.100c9da4
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
call fcn.1005ecb0
test eax, eax
jne 0x10073246
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.10073350
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 0x1007308b
mov esi, 0x10194374
xor edx, edx
mov eax, dword [ebx + 0xb20]
cmp eax, edx
ja 0x100732a1
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 0x10073325
jmp 0x1007331c
cmp dword [ebx + 0x108c], edx
je 0x100732ae
cmp eax, 2
ja 0x100732b3
cmp eax, 1
jbe 0x100732cb
mov dword [ebx + 0x20], 0x20010
mov dword [ebx + 0x24], 0x200
mov dword [ebx + 0xaec], 1
mov ecx, ebx
call fcn.1005d8e0
mov eax, dword [0x10274670]
test eax, eax
je 0x100732fb
add ebx, 0xd0
push ebx
push str._LSC__SetOpponentInfoEx___s_
push 0x101d2ed0
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
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 0x10073325
push eax
call fcn.10173959
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