Function at 0x10003b50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x42c]
push 0x400
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
mov esi, 3
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, dword [sym.imp.MSVCRT.dll_strchr]
lea ecx, [esp + 0x28]
push 0x40
push ecx
call ebp
lea edx, [esp + 0x30]
push 0x1000de90
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x10
test edi, edi
je 0x10003c02
test eax, eax
je 0x10003bc8
cmp eax, edi
jbe 0x10003bc8
mov esi, 2
push 0x1000de80
jmp 0x10003bfa
push 0x1000de70
mov esi, 1
call fcn.10002c40
push 4
lea eax, [esp + 0x30]
push 0x1000e098
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0x10
test eax, eax
jne 0x10003c02
mov esi, 3
push 0x1000e090
call fcn.10002c40
add esp, 4
dec esi
je 0x10004071
dec esi
je 0x10003d1c
dec esi
jne 0x100041a8
mov eax, dword [esp + 0x430]
lea edi, [esp + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea ebp, [eax + ecx*2]
mov eax, 1
or ecx, 0xffffffff
lea ebp, [ebp + ebp*4]
shl ebp, 2
mov dword [ebp + 0x100272e0], eax
mov dword [ebp + 0x10026bc8], ebx
mov dword [ebp + 0x10026fd0], 3
mov dword [ebp + 0x10026fd8], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 0x3c
jle 0x10003c69
mov esi, 0x3c
lea edx, [esp + 0x28]
lea eax, [ebp + 0x10026fdc]
push esi
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edi, 0x1004c44c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esi + ebp + 0x10026fdc], 0
lea edx, [ebp + 0x1002715c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [ebp + 0x10026bd0]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x1000de54
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002c40
mov ecx, dword [esp + 0x28]
add esp, 8
push ecx
push 0x1000de48
call fcn.10002c40
add esp, 8
lea edx, [esp + 0x28]
push edx
push 0x1000dd4c
call fcn.10002c40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x430]
lea edi, [esp + 0x28]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea ebp, [eax + ecx*2]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebp + ebp*4]
shl ebp, 2
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10026bd0]
mov eax, ecx
mov dword [ebp + 0x100272e0], 1
mov esi, edi
mov dword [ebp + 0x10026bc8], ebx
mov edi, edx
mov dword [ebp + 0x10026fd0], 2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x1002715c]
and ecx, 3
mov dword [esp + 0x20], ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x10026fdc]
xor ebx, ebx
lea esi, [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
test esi, esi
je 0x10003fe7
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push 0x1000de90
push esi
call edi
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10003ed5
push 0x1000e08c
push esi
call edi
mov edi, eax
add esp, 8
test edi, edi
je 0x10003e62
cmp dword [esp + 0x10], edi
jbe 0x10003e62
mov eax, edi
sub eax, esi
cmp eax, 0x3c
mov dword [esp + 0x14], eax
jle 0x10003df3
mov dword [esp + 0x14], 0x3c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push esi
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edi, 2
add esp, 0xc
sub esi, edi
mov byte [eax + ebp + 0x10026fdc], 0
dec esi
cmp esi, 0x3c
jle 0x10003e23
mov esi, 0x3c
push esi
push edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov byte [esi + ebp + 0x1002715c], 0
inc ebx
add ebp, 0x40
add edx, 0x40
add edi, 0x40
cmp ebx, 5
lea esi, [ecx + 2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jge 0x10003ecb
jmp 0x10003d96
mov edi, dword [esp + 0x10]
sub edi, esi
cmp edi, 0x3c
jle 0x10003e72
mov edi, 0x3c
mov edx, dword [esp + 0x18]
push edi
push esi
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x28]
push edi
push esi
push eax
mov byte [edi + ebp + 0x10026fdc], 0
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add esp, 0x18
mov eax, 0x40
lea esi, [ecx + 2]
mov ecx, dword [esp + 0x1c]
mov byte [edi + ebp + 0x1002715c], 0
inc ebx
add ebp, eax
add edx, eax
add ecx, eax
cmp ebx, 5
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jl 0x10003d96
push 0x1000e074
jmp 0x10003fec
push 0x1000e070
push esi
call edi
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10003f8f
mov cl, byte [eax + 1]
test cl, cl
jne 0x10003f88
push 0x1000e08c
push esi
call edi
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10003f81
cmp dword [esp + 0x10], ebp
jbe 0x10003f81
mov eax, ebp
sub eax, esi
cmp eax, 0x3c
mov dword [esp + 0x14], eax
jle 0x10003f27
mov dword [esp + 0x14], 0x3c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, ebx
shl edx, 6
push eax
push esi
lea edi, [edx + ecx]
lea edx, [edi + 0x10026fdc]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ebp, 2
add esp, 0xc
sub esi, ebp
mov byte [edi + eax + 0x10026fdc], 0
cmp esi, 0x3c
jle 0x10003f64
mov esi, 0x3c
push esi
lea ecx, [edi + 0x1002715c]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [edi + esi + 0x1002715c], 0
inc ebx
jmp 0x10003ff4
push 0x1000e050
jmp 0x10003fec
push 0x1000e03c
jmp 0x10003fec
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0x3c
jle 0x10003fa7
mov edi, 0x3c
mov eax, dword [esp + 0x20]
mov edx, ebx
shl edx, 6
push edi
push esi
lea ebp, [edx + eax]
lea ecx, [ebp + 0x10026fdc]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
push edi
lea edx, [ebp + 0x1002715c]
push esi
push edx
mov byte [edi + ebp + 0x10026fdc], 0
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
mov byte [edi + ebp + 0x1002715c], 0
inc ebx
jmp 0x10003ff4
push 0x1000dde0
call fcn.10002c40
add esp, 4
mov ecx, dword [esp + 0x42c]
mov eax, dword [esp + 0x20]
push ecx
push 0x1000e020
mov dword [eax + 0x10026fd8], ebx
call fcn.10002c40
add esp, 8
test ebx, ebx
jle 0x1000404f
mov edi, dword [esp + 0x24]
mov esi, 1
lea edx, [edi - 0x180]
push edx
push esi
push 0x1000dda0
call fcn.10002c40
add esp, 0xc
push edi
push esi
push 0x1000dd8c
call fcn.10002c40
add esp, 0xc
add edi, 0x40
inc esi
lea eax, [esi - 1]
cmp eax, ebx
jl 0x10004020
lea ecx, [esp + 0x28]
push ecx
push 0x1000dd4c
call fcn.10002c40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x430]
push 0x1000e08c
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*8]
lea esi, [eax + edx*2]
mov eax, 1
lea esi, [esi + esi*4]
shl esi, 2
mov dword [esi + 0x100272e0], eax
mov dword [esi + 0x10026bc8], ebx
mov dword [esi + 0x10026fd0], eax
mov dword [esi + 0x10026fd8], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x30]
push 0x40
push ecx
mov edi, eax
call ebp
lea edx, [esp + 0x38]
push 0x3e
push edx
call ebp
add esp, 0x18
mov ebx, eax
test edi, edi
je 0x10004130
test ebx, ebx
je 0x10004130
mov ebp, edi
lea eax, [esp + 0x28]
sub ebp, eax
cmp ebp, 0x3c
jle 0x100040e7
mov ebp, 0x3c
lea ecx, [esp + 0x28]
push ebp
lea edx, [esi + 0x10026fdc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add edi, 2
add esp, 0xc
sub ebx, edi
mov byte [esi + ebp + 0x10026fdc], 0
cmp ebx, 0x3c
jle 0x10004114
mov ebx, 0x3c
push ebx
lea eax, [esi + 0x1002715c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [esi + ebx + 0x1002715c], 0
jmp 0x10004181
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0x3c
jle 0x1000414a
mov edi, 0x3c
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
lea ecx, [esp + 0x28]
push edi
lea edx, [esi + 0x10026fdc]
push ecx
push edx
call ebx
lea eax, [esp + 0x34]
push edi
lea ecx, [esi + 0x1002715c]
push eax
push ecx
mov byte [esi + edi + 0x10026fdc], 0
call ebx
add esp, 0x18
mov byte [esi + edi + 0x1002715c], 0
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x10026bd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret