Function at 0x100749c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101aaf2c
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 0x10074dfc
mov ecx, dword [ebx + 0xc70]
test ecx, ecx
je 0x10074dfc
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 0x10074dfc
mov ebp, dword [ebx + 0xc70]
mov dword [esp + 0x10], ebp
lea eax, [ebp + 0xd0]
add ebp, 0x170
push eax
call fcn.100e9958
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 0x10074ade
cmp dword [esp + 0x1c], 2
jne 0x10074ade
cmp edx, edi
je 0x10074a8e
mov edx, dword [esp + 0x10]
lea eax, [edx + 0xd0]
push eax
push ebp
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x10074ade
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.100e98c9
add esp, 8
cmp eax, edi
je 0x10074dfc
lea ecx, [esp + 0xd4]
sub eax, ecx
mov edx, eax
and edx, 0xfffffffe
cmp edx, 4
jl 0x10074dfc
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.10022040
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 0x10074d40
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 0x10074d16
lea ecx, [esp + 0x2e4]
push ecx
call fcn.100e9958
add esp, 4
test eax, eax
jbe 0x10074d16
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.10012a80
mov esi, dword [esp + 0x2c]
push ebp
mov dword [ebx + 0x1088], esi
call fcn.100e9958
add esp, 0x14
test eax, eax
jbe 0x10074bec
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0xd0]
push eax
push ebp
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x10074c57
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10074c07
cmp ecx, 0x200
je 0x10074c57
cmp esi, 2
jne 0x10074c57
lea eax, [esp + 0xd4]
push eax
call fcn.100e9958
add esp, 4
test eax, eax
jbe 0x10074c57
lea ecx, [esp + 0x34]
push ecx
call fcn.100e9958
push eax
lea edx, [esp + 0xdc]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.100e9f51
add esp, 0x10
test eax, eax
je 0x10074c57
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.10060250
jmp 0x10074d16
push ebp
call fcn.100e9958
add esp, 4
test eax, eax
jbe 0x10074ca0
push ebp
call fcn.100e9958
lea edx, [esp + 0x38]
mov edi, eax
push edx
call fcn.100e9958
add esp, 8
cmp edi, eax
jae 0x10074c80
push ebp
jmp 0x10074c85
lea eax, [esp + 0x34]
push eax
call fcn.100e9958
add esp, 4
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
call fcn.100e9f51
add esp, 0xc
test eax, eax
je 0x10074d16
mov edx, dword [ebx + 0xc70]
mov eax, dword [edx + 0x20]
cmp eax, 0x10020
mov ecx, dword [edx + 0x24]
jne 0x10074ce8
cmp ecx, 0x200
jne 0x10074ce8
mov eax, dword [ebx + 0xaec]
test eax, eax
jne 0x10074ce8
cmp esi, 2
jne 0x10074ce8
lea eax, [esp + 0xd4]
mov ecx, ebx
push eax
push 0
call fcn.10061290
test eax, eax
jne 0x10074d16
lea ecx, [esp + 0xd4]
jmp 0x10074d0e
lea edx, [esp + 0x34]
push edx
call fcn.100e9958
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
call fcn.10061300
test eax, eax
jne 0x10074d16
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.10074e20
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 0x10074b5b
mov esi, 0x101c037c
xor edx, edx
mov eax, dword [ebx + 0xb20]
cmp eax, edx
ja 0x10074d71
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 0x10074df5
jmp 0x10074dec
cmp dword [ebx + 0x108c], edx
je 0x10074d7e
cmp eax, 2
ja 0x10074d83
cmp eax, 1
jbe 0x10074d9b
mov dword [ebx + 0x20], 0x20010
mov dword [ebx + 0x24], 0x200
mov dword [ebx + 0xaec], 1
mov ecx, ebx
call fcn.10060370
mov eax, dword [0x102acd68]
test eax, eax
je 0x10074dcb
add ebx, 0xd0
push ebx
push str._LSC__SetOpponentInfoEx___s_
push 0x10203a98
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
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 0x10074df5
push eax
call fcn.101963e7
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