Function at 0x41b12e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, edx
mov dword [ebp - 0xc], 0xffffffff
mov ebx, ecx
mov dword [ebp - 0x14], esi
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], 0x1c
jmp 0x41b17e
mov dword [ebp - 0x18], 0x91f7
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x41b174
push 0x2243
push 0
push 0x139d
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x18], 0xd69f4288
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x13
jne 0x41b151
mov dword [ebp - 0xc], 0xb3ae3556
lea ecx, [ebp - 0x38]
push 3
call fcn.00416ef7
mov dword [ebp - 0x1c], 0xedda
xor edi, edi
mov dword [ebp - 0x10], 0xfc53d8b3
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0xc], edi
jmp 0x41b1c1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xd711a53f
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x41b1b1
mov dword [ebp - 0xc], 0x19
cmp dword [ebp - 0xc], 0xe
jg 0x41b30a
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0xe93046aa
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 8], edi
jmp 0x41b1fc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 0x738ab659
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x41b1ee
cmp dword [ebp - 0xc], edi
je 0x41b24d
push 3
lea ecx, [ebp - 0x50]
call fcn.00416ef7
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 8], edi
jmp 0x41b22d
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x50]
mov dword [eax + ecx*4], 0xfff8
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x41b21d
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
inc eax
mov dword [ebp - 0x18], eax
call fcn.00417267
jmp 0x41b2f5
mov dword [ebp - 8], 0xbc1c234a
cmp dword [ebp - 8], 0xffffffff
jb 0x41b29b
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 0x7f6a191a
setge al
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
sub ecx, eax
je 0x41b29b
mov eax, dword [ebp - 0x38]
cmp dword [eax], edi
je 0x41b29b
xor edx, edx
inc edx
jmp 0x41b29d
mov edx, edi
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp edx, eax
setl cl
imul eax, ecx, 0x8bc0
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, eax
mov eax, 0x9cde30ec
cmp eax, ecx
mov eax, dword [ebp - 8]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setle cl
xor edx, edx
imul ecx, ecx, 0x9126
cmp ecx, eax
setg dl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x85e1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [esi + 4], edi
jne 0x41b307
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xe
jle 0x41b1db
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.00417267
xor edi, edi
inc edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0xf6cbcb1a
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x18], 0x846c8c5c
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], 0
je 0x41b351
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, edi
setl cl
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
sub eax, 0x90ae7359
neg eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0xc]
jl 0x41b37a
cmp dword [ebp - 8], 0
jne 0x41b37a
xor ecx, ecx
jmp 0x41b37c
mov ecx, edi
mov eax, dword [ebp - 0xc]
sub ecx, eax
je 0x41b435
mov dword [ebp - 0x1c], 0x3fa3
mov dword [ebp - 0xc], 0
jmp 0x41b41c
push 2
lea ecx, [ebp - 0x44]
call fcn.00416ef7
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jge 0x41b3c7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x44]
mov dword [eax + ecx*4], 0xb136
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x41b3af
xor ecx, ecx
mov dword [ebp - 8], 0xfffffff5
jmp 0x41b406
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x10], ecx
jmp 0x41b3e6
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x24], 0x540f213e
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x41b3d8
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ecx
jl 0x41b3fd
mov eax, dword [ebp - 0x44]
inc dword [eax]
dec dword [ebp - 0x10]
jns 0x41b3f3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff7
jle 0x41b3d0
cmp dword [ebp - 8], ecx
lea ecx, [ebp - 0x44]
jne 0x41b42b
call fcn.00417267
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2d
jle 0x41b39a
jmp 0x41b4c1
call fcn.00417267
jmp 0x41b4c1
mov dword [ebp - 0x10], 0xb2b0
mov dword [ebp - 0x18], 0xfffffff7
cmp dword [ebp - 0xc], 0
je 0x41b47b
cmp dword [ebp - 0x18], 0
jne 0x41b46b
mov eax, dword [ebp - 8]
sub eax, 0xd71021f5
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x10]
sub eax, 0xa
mov dword [ebp - 8], eax
jne 0x41b46b
xor ecx, ecx
jmp 0x41b46d
mov ecx, edi
mov eax, dword [ebp - 0x10]
sub ecx, eax
cmp ecx, dword [ebp - 0x18]
jle 0x41b47b
mov edx, edi
jmp 0x41b47d
xor edx, edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, edx
setg cl
cmp ecx, dword [ebp - 0xc]
mov byte [ebp - 1], 0
jne 0x41b4b3
cmp byte [ebp - 1], 0
je 0x41b4c1
push 0x1cd9
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x41b4c1
cmp byte [ebp - 1], 0
je 0x41b4c1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebx], 0
cmp dword [ebx], 3
jg 0x41b624
mov eax, 0x61928c17
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0xc], 3
cmp dword [ebp - 0xc], 0
jl 0x41b555
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x60]
cmp dword [ebp - 0x58], 0x213ec752
jge 0x41b516
cmp dword [ebp - 0xc], 0
jne 0x41b516
xor edx, edx
jmp 0x41b518
mov edx, edi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x58]
add eax, edx
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x58]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
sete dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x60]
cmp eax, edx
mov eax, dword [ebp - 0xc]
setle cl
mov dword [ebp + eax*4 - 0x60], ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x60], ecx
dec dword [ebp - 0xc]
jns 0x41b4fc
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x41b56c
push 0
push 0x11b5
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x10], 0x8cff0ea7
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x10], 0
jmp 0x41b5b2
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x41b5a8
push 0
push 0x2f2
push 0
push 0x26c6
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov dword [ebp - 0x1c], 0x8f8256a
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xa
jge 0x41b58a
mov ecx, dword [ebx]
mov eax, dword [esi]
cmp dword [eax + ecx*4], 0
je 0x41b5c4
mov eax, dword [ebx]
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
push 1
imul eax, dword [eax + 4], 0x874
mov dword [edx], eax
mov esi, dword [ebx]
mov edi, dword [ebx]
mov eax, dword [edx]
xor edx, edx
mov ecx, dword [ecx]
cmp eax, dword [ecx + esi*4]
mov eax, dword [ebx]
mov esi, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp eax, edx
setge bl
xor ecx, ecx
mov eax, dword [esi]
sub ebx, 0xe763
cmp ebx, dword [eax + edi*4]
mov ebx, dword [ebp - 0x20]
setl cl
mov dword [ebp - 0x18], ecx
pop edi
mov eax, dword [ebx]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, 0x61928c17
inc dword [ebx]
cmp dword [ebx], 3
jle 0x41b4d5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret