Function at 0x2104c431
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x2104c44f
jmp 0x2104c634
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
jne 0x2104c47f
jmp 0x2104c634
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [ebp - 0x18], 0x81
mov byte [ebp - 0x17], 0x46
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x28], 0xa3
mov byte [ebp - 0x27], 0xba
mov byte [ebp - 0x26], 0
mov byte [ebp - 4], 0xa3
mov byte [ebp - 3], 0xba
mov byte [ebp - 2], 0
mov byte [ebp - 0x20], 0xa1
mov byte [ebp - 0x1f], 0x47
mov byte [ebp - 0x1e], 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.2105060f
mov word [ebp - 8], ax
mov eax, dword [ebp - 8]
and eax, 0xffff
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3a
je 0x2104c4eb
jmp 0x2104c4f0
jmp 0x2104c60e
xor ecx, ecx
mov cx, word [0x2108ac2c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
sub edx, 0x3a4
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0x12
ja case.0x2104c51d.1
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov al, byte [ecx + 0x2104c642]
jmp dword [eax*4 + 0x2104c63a]
xor edx, edx
mov dx, word [0x2108ac2c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, 0x3a4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x12
ja case.0x2104c54c.4
mov edx, dword [ebp - 0x3c]
xor ecx, ecx
mov cl, byte [edx + 0x2104c669]
jmp dword [ecx*4 + 0x2104c655]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp case.0x2104c54c.4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ecx
jmp case.0x2104c54c.4
lea edx, [ebp - 4]
mov dword [ebp - 0x10], edx
jmp case.0x2104c54c.4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 1]
and eax, 0xff
and eax, 0xff
mov edx, dword [ebp - 0x10]
movsx edx, byte [edx]
and edx, 0xff
and edx, 0xff
shl edx, 8
or eax, edx
and eax, 0xffff
cmp ecx, eax
jne 0x2104c5ad
jmp 0x2104c60e
xor eax, eax
mov ax, word [0x2108ac2c]
cmp eax, 0x3a4
jne 0x2104c5dc
xor ecx, ecx
mov cx, word [0x2108ac2a]
cmp ecx, 0x11
jne 0x2104c5dc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.210537c0
add esp, 8
jmp 0x2104c5ed
push 0x2108562c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.210537c0
add esp, 8
mov dword [ebp - 0xc], 1
jmp 0x2104c60e
push 0x21085630
mov edx, dword [ebp - 0x1c]
push edx
call fcn.210537c0
add esp, 8
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x2104c622
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.210636ec
add esp, 4
mov esp, ebp
pop ebp
ret 4