Function at 0x4df2d0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x20d0
call fcn.005d9990
push ebp
mov ebp, dword [esp + 0x20d8]
push ebp
call fcn.0058ed20
add esp, 4
test eax, eax
jne 0x4df300
push eax
call fcn.0055f1c0
add esp, 4
pop ebp
add esp, 0x20d0
ret
push esi
push edi
lea eax, [esp + 0xc]
push 0x1068
push eax
call fcn.004232e0
mov eax, dword [ebp + 0x1314]
add esp, 8
sub eax, 0
je 0x4df76c
dec eax
je 0x4df60c
dec eax
jne 0x4df791
mov eax, dword [ebp + 0x1318]
cmp eax, 1
jne 0x4df4cf
mov eax, dword [esp + 0x20e4]
test eax, eax
je 0x4df3b1
mov eax, dword [eax + 0x31a4]
test eax, eax
je 0x4df3b1
cmp byte [eax], 0
je 0x4df3b1
push eax
lea edi, [ebp + 0x39e]
push 0x132
push edi
call fcn.00425550
lea esi, [ebp + 8]
lea edx, [esp + 0x18]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4df380
mov ecx, dword [ebp + 0x1e90]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004dc310
lea eax, [esp + 0x14]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df3a5
jmp 0x4df447
mov ecx, dword [ebp + 0x1e90]
push ecx
lea edx, [esp + 0x10]
push edx
lea esi, [ebp + 8]
push esi
call fcn.004ad3b0
add esp, 0xc
test eax, eax
je 0x4df4c8
lea eax, [esp + 0xc]
push 0x21
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4df4c8
inc eax
je 0x4df4c8
cmp byte [eax], 0
je 0x4df4c8
push eax
lea edi, [ebp + 0x39e]
push 0x132
push edi
call fcn.00425550
lea edx, [esp + 0x18]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4df415
mov ecx, dword [ebp + 0x1e90]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004dc310
lea eax, [esp + 0x14]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df440
sub eax, edx
push edi
lea eax, [esp + eax + 0x10]
push 0x5f4e44
push eax
call fcn.005d9929
mov al, byte [esp + 0x18]
add esp, 0xc
test al, al
jne 0x4df799
push esi
lea ecx, [esp + 0x10]
push 0x1068
push ecx
call fcn.00425550
mov edx, dword [ebp + 0x1e90]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004dc310
mov al, byte [ebp + 0x39e]
lea edx, [ebp + 0x39e]
add esp, 0x14
test al, al
je 0x4df791
lea eax, [esp + 0xc]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df4a7
push edx
sub eax, esi
lea ecx, [esp + eax + 0x10]
push 0x5f4e44
push ecx
call fcn.005d9929
add esp, 0xc
jmp 0x4df791
mov byte [esp + 0xc], 0
jmp 0x4df468
cmp eax, 2
jne 0x4df791
mov esi, dword [esp + 0x20e4]
test esi, esi
je 0x4df5ae
mov ecx, dword [esi]
test ecx, ecx
je 0x4df5ae
mov eax, dword [esi + 0x31a4]
test eax, eax
je 0x4df5ae
push eax
push ecx
lea edx, [esp + 0x14]
push 0x5f64d4
push edx
call fcn.005d9929
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 0x39e]
push 0x132
push ecx
call fcn.00425550
mov edx, dword [str.Messages]
mov eax, dword [0x5fb148]
mov cl, byte [0x5fb14c]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x1e90]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x38], cl
call fcn.004dc310
mov ecx, dword [esi + 0x31a4]
mov al, byte [ecx]
add esp, 0x24
test al, al
je 0x4df594
lea eax, [esp + 0xc]
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4df570
push ecx
mov ecx, dword [esi]
push ecx
sub eax, edi
lea edx, [esp + eax + 0x14]
push str.___s__s_
push edx
call fcn.005d9929
add esp, 0x10
jmp 0x4df791
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x10]
push str.temp_strlen_temp_____s_
push ecx
call fcn.005d9929
add esp, 0xc
jmp 0x4df791
mov edx, dword [str.Messages]
mov eax, dword [0x5fb148]
mov cl, byte [0x5fb14c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x1e90]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x1c], cl
call fcn.004dc310
mov al, byte [ebp + 0x39e]
lea edx, [ebp + 0x39e]
add esp, 8
test al, al
je 0x4df791
lea eax, [esp + 0xc]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df600
jmp 0x4df4ae
lea eax, [ebp + 8]
lea edx, [esp + 0xc]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4df615
mov edx, dword [ebp + 0x1e90]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004dc310
mov eax, dword [ebp + 0x12b0]
add esp, 8
xor ecx, ecx
test eax, eax
je 0x4df648
nop
mov eax, dword [eax + 0x40]
inc ecx
test eax, eax
jne 0x4df640
lea eax, [esp + 0xc]
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4df650
push ecx
sub eax, esi
lea ecx, [esp + eax + 0x10]
push 0x5f4e4c
push ecx
call fcn.005d9929
mov cl, byte [ebp + 0x13a]
lea eax, [ebp + 0x13a]
add esp, 0xc
test cl, cl
je 0x4df6ce
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4df681
sub ecx, esi
cmp ecx, 3
jbe 0x4df6ce
lea edi, [esp + 0xc]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4df694
mov dx, word [0x5f4858]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df6a8
lea edi, [esp + 0xc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4df6b6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebp + 0x4d0]
test cl, cl
lea eax, [ebp + 0x4d0]
je 0x4df791
lea edx, [esp + 0x1074]
sub edx, eax
jmp 0x4df6f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4df6f0
lea eax, [esp + 0x1074]
push 0xf
push eax
call fcn.0055a760
mov al, byte [esp + 0x107c]
add esp, 8
test al, al
je 0x4df791
lea edi, [esp + 0xc]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4df720
mov cx, word [0x5fb118]
mov dl, byte [0x5fb11a]
mov word [edi], cx
lea eax, [esp + 0x1074]
mov byte [edi + 2], dl
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4df744
lea edi, [esp + 0xc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4df752
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4df791
mov eax, dword [ebp + 0x1e90]
push eax
call fcn.004dc440
push eax
lea ecx, [esp + 0x14]
push 0x1068
push ecx
call fcn.00425550
push ebp
call fcn.005944c0
add esp, 0x14
mov al, byte [esp + 0xc]
test al, al
je 0x4df80c
lea edx, [esp + 0x1074]
push 0x1068
push edx
call fcn.004232e0
mov ecx, dword [ebp]
add esp, 8
push 0x1036
lea eax, [esp + 0x1078]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea esi, [esp + 0x1074]
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4df7f4
test cl, cl
je 0x4df7f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4df7f4
add eax, 2
add esi, 2
test cl, cl
jne 0x4df7d0
xor eax, eax
jmp 0x4df7f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4df80c
mov ecx, dword [ebp]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.0055f1c0
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x20d0
ret