Function at 0x100308b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10185170
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xc]
push edi
test eax, eax
je 0x10030d0e
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x10030d0e
lea eax, [esi + esi + 2]
push eax
call fcn.10173930
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x20], edi
je 0x10030d0e
mov ecx, dword [ebx + 0xc]
push esi
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x1019bf94]
mov dword [esp + 0x14], edx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0
call fcn.100e29f0
push 0x101c31a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 1
call fcn.100e3ea0
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 8]
cmp esi, 0xa
jg 0x10030952
push edi
jmp 0x10030ce7
lea ebp, [ebx + 0x1298]
push ebp
call fcn.100c9da4
add esp, 4
test eax, eax
ja 0x10030975
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.100e3410
jmp 0x100309ed
mov eax, dword [ebx + 0x1698]
cmp esi, eax
jle 0x100309d4
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.100e44e0
mov edi, eax
cmp edi, 0xffffffff
jne 0x10030999
lea edx, [esp + 0x10]
push edx
jmp 0x100309db
push ebp
call fcn.100c9da4
sub esi, edi
add esp, 4
sub esi, eax
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.100e5820
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 2
call fcn.100e3410
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.100e3260
jmp 0x100309ed
jge 0x100309ed
lea ecx, [esp + 0x10]
push ecx
push ebp
mov ecx, ebx
call fcn.10030fc0
push eax
lea ecx, [esp + 0x18]
call fcn.100e3540
mov edx, dword [esp + 0x10]
mov ecx, 0x100
mov edi, ebp
push 0x1ff
mov eax, dword [edx - 8]
mov dword [ebx + 0x1698], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.100e5820
mov eax, dword [eax]
mov byte [esp + 0x5c], 3
push eax
push ebp
call fcn.100c9d7f
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 1
call fcn.100e3260
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], 3
jg 0x10030a4b
mov edx, dword [esp + 0x20]
push edx
jmp 0x10030ce7
mov esi, 0x10193898
xor ebp, ebp
mov byte [esp + 0x5c], 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x60], 5
call fcn.100317c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.101732db
mov ecx, ebx
mov byte [esp + 0x64], 5
call fcn.1005fe20
xor ecx, ecx
mov byte [esp + 0x5c], 7
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, ebp
mov byte [esp + 0x5c], 8
jle 0x10030bb3
mov edx, dword [esp + 0x44]
lea eax, [edx + edi*8]
mov edx, dword [edx + edi*8 + 4]
cmp edx, 2
jne 0x10030b2e
mov ecx, dword [0x101e2494]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xa
call fcn.101733ae
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
mov eax, dword [edx + edi*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov esi, eax
inc eax
push eax
call fcn.10031560
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edx + esi*8]
call fcn.100316e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 8
call fcn.10173267
jmp 0x10030ba2
cmp ecx, ebp
jg 0x10030b94
mov ecx, dword [0x101e2494]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0xd
call fcn.101733ae
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
mov eax, dword [edx + edi*8 + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov esi, eax
inc eax
push eax
call fcn.10031560
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
lea esi, [ecx + esi*8]
mov ecx, esi
call fcn.101733ae
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 8
call fcn.10173267
jmp 0x10030ba2
mov edx, dword [esp + 0x30]
push eax
lea ecx, [edx + ecx*8 - 8]
call fcn.10173694
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
inc edi
cmp edi, eax
jl 0x10030ac5
xor esi, esi
cmp ecx, ebp
mov edi, ecx
jle 0x10030c07
mov eax, dword [esp + 0x30]
lea ecx, [eax + esi*8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10172fd4
mov edx, dword [esp + 0x30]
mov ecx, ebx
mov byte [esp + 0x5c], 0xf
mov eax, dword [edx + esi*8 + 4]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10030d70
mov ecx, dword [esp + 0x18]
push 1
push ecx
mov ecx, ebx
call fcn.1005e8d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 8
call fcn.10173267
inc esi
cmp esi, edi
jl 0x10030bbb
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x48]
call fcn.10031560
mov esi, dword [esp + 0x30]
cmp esi, ebp
je 0x10030c44
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10030c37
lea edi, [eax]
push ebp
mov ecx, esi
call fcn.10031700
add esi, 8
dec edi
jne 0x10030c25
mov esi, dword [esp + 0x30]
push esi
call fcn.10173959
add esp, 4
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], ebp
push edx
mov dword [esp + 0x38], ebp
call fcn.10173959
mov byte [esp + 0x60], 5
add esp, 4
mov dword [esp + 0x2c], 0x10193898
mov esi, dword [esp + 0x30]
mov bl, 0x10
cmp esi, ebp
mov byte [esp + 0x5c], bl
je 0x10030ca4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], esi
cmp eax, ebp
je 0x10030c9b
lea edi, [eax]
mov ecx, esi
mov byte [esp + 0x5c], bl
call fcn.10173267
add esi, 8
dec edi
mov dword [esp + 0x20], esi
jne 0x10030c82
mov esi, dword [esp + 0x30]
push esi
call fcn.10173959
add esp, 4
mov byte [esp + 0x5c], 1
mov dword [esp + 0x40], 0x10193898
mov esi, dword [esp + 0x44]
mov bl, 0x12
cmp esi, ebp
mov byte [esp + 0x5c], bl
je 0x10030cef
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], esi
cmp eax, ebp
je 0x10030ce6
lea edi, [eax]
mov ecx, esi
mov byte [esp + 0x5c], bl
call fcn.10173267
add esi, 8
dec edi
mov dword [esp + 0x20], esi
jne 0x10030ccd
mov esi, dword [esp + 0x44]
push esi
call fcn.10173959
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.100e3260
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0xffffffff
call fcn.100e3260
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret