Function at 0x10004880
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x100
mov eax, dword [0x100d3fe0]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x104]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
push edi
mov dword [esp + 0x2c], esi
cmp ecx, 0x8d2
jne 0x100048c2
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
jmp 0x10004910
cmp ecx, 0x113
jne 0x10004bbb
cmp dword [eax + 8], 0x7d2
jne 0x10004bbb
mov eax, dword [esi + 0x10]
push eax
call ebx
test eax, eax
jne 0x10004902
push 0x7d2
mov ecx, esi
call fcn.100038e0
mov dword [esi + 0x10], 0
mov eax, 1
jmp 0x10004bc6
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov eax, 3
mov esi, ecx
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
cmp eax, 3
jne 0x10004bb7
push esi
call ebx
test eax, eax
je 0x100048f8
lea edx, [esp + 0x20]
push edx
push 0x100c5ca0
push edi
push esi
mov dword [esp + 0x38], edi
call dword [0x100d6cc4]
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x10004b94
push 3
push 0xfffffffffffffffe
push edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
push 0x100d6c04
push edi
push eax
call fcn.100024c0
add esp, 0x24
cmp eax, 1
jne 0x10004b88
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edi
push ecx
lea edx, [esp + 0x30]
push edx
push eax
call fcn.10002a00
add esp, 0x10
test eax, eax
je 0x10004b7c
mov esi, dword [esp + 0x28]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x18]
push edx
push esi
call eax
cmp dword [esp + 0x18], 2
jne 0x10004b74
mov ebx, dword [esp + 0x34]
mov edx, dword [esi]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
mov ecx, 3
mov word [esp + 0x34], cx
sub esp, 0x10
mov eax, esp
lea ecx, [edi + 1]
mov edi, dword [esp + 0x44]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x28]
push esi
mov dword [eax + 0xc], ebp
call ecx
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov ecx, 2
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x28]
push esi
mov dword [eax + 0xc], ebp
call ecx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10004b72
mov ebp, dword [esp + 0x2c]
push edi
lea ebx, [ebp + 0xc]
push ebx
call fcn.10001580
test al, al
je 0x10004b72
push edi
mov ecx, ebx
call fcn.10001960
xor edx, edx
push 0x2a
push edx
lea eax, [esp + 0x86]
push eax
mov word [esp + 0x88], dx
call fcn.1007f650
xor ecx, ecx
push 0x2a
push ecx
lea edx, [esp + 0x66]
push edx
mov word [esp + 0x68], cx
call fcn.1007f650
xor eax, eax
push 0x62
push eax
lea ecx, [esp + 0xca]
push ecx
mov word [esp + 0xcc], ax
call fcn.1007f650
mov eax, dword [esp + 0x40]
add esp, 0x24
push 0x32
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x3010
push 0x16
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.100034f0
mov ecx, dword [esp + 0x34]
push 0x16
lea eax, [esp + 0x90]
push eax
push ecx
call fcn.10003570
add esp, 0x1c
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10004b16
push 0x100bac1c
push 0x100bac18
push 0x16
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.100032e0
add esp, 0x14
jmp 0x10004b53
push 0x3010
push 0x16
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.100034f0
push 0x100bac1c
push 0x100bac18
push 0x16
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.100032e0
add esp, 0x24
mov ecx, dword [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x58]
push edx
push 0
lea eax, [esp + 0x8c]
push eax
push 3
mov ecx, ebp
call fcn.10003990
xor edi, edi
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, edi
je 0x10004ba5
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x10004bb0
push eax
call esi
mov eax, 1
jmp 0x10004bc6
xor eax, eax
jmp 0x10004bc6
xor eax, eax
cmp ecx, 0x113
setne al
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007fec9
add esp, 0x100
ret 4