Function at 0x567b40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x414
push ebx
push ebp
mov ebp, dword [esp + 0x420]
mov eax, dword [ebp]
push esi
push edi
push eax
call fcn.005827d0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x10], edi
je 0x56836a
cmp dword [esp + 0x42c], 2
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x567b93
mov ecx, dword [ebp]
push 0x76
push ecx
call ebx
push 0x5e6c98
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x43c]
test esi, esi
je 0x567c70
mov edx, dword [ebp]
push 0x76
push edx
call ebx
push 0x7d000
push 0x7d000
mov ebx, eax
push 1
push ebx
call fcn.00488690
add esp, 0x10
push 0x3e7
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.005ccdf0
add esp, 8
test eax, eax
jne 0x567c70
push ebx
mov byte [esp + 0x40], al
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x567c1a
lea edi, [esp + 0x3c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x567c00
mov dx, word [0x5e6c94]
mov al, byte [0x5e6c96]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567c20
lea edi, [esp + 0x3c]
sub eax, esi
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x567c30
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0xc2
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp]
push edx
call fcn.00567770
mov edi, dword [esp + 0x14]
add esp, 4
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x56836a
mov ecx, dword [edi + 0x988]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x613718]
push edx
push ebx
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x38], eax
mov eax, dword [0x613704]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x567ea3
lea esi, [ebp + 0x234]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567cd7
mov ecx, dword [ebp]
push 0x67
sub eax, edx
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push eax
call ebx
cmp eax, edi
je 0x567d0c
mov edx, dword [ebp]
push esi
push 0
push 0xc
push 0x67
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [ebp + 0x364]
test eax, eax
jbe 0x567d45
push 1
push 1
push 0
push 1
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
push ecx
jge 0x567d35
fadd qword [0x5e73f0]
sub esp, 8
fstp qword [esp]
call fcn.00516dc0
add esp, 0x20
jmp 0x567d4d
mov dword [esp + 0x3c], 0x612f6e
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567d54
sub eax, edx
mov edx, dword [ebp]
push 0x69
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
cmp eax, edi
je 0x567d87
mov ecx, dword [ebp]
lea eax, [esp + 0x3c]
push eax
push 0
push 0xc
push 0x69
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edi, [ebp + 4]
lea edx, [esp + 0x3c]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x567d92
mov eax, dword [ebp + 0x378]
test eax, eax
je 0x567e28
lea esi, [ebp + 0x68]
push esi
push edi
call fcn.005e31f5
add esp, 8
test eax, eax
je 0x567e28
lea edi, [esp + 0x3c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x567dc0
mov dx, word [0x5e6ca0]
mov al, byte [0x5e6ca2]
mov word [edi], dx
mov byte [edi + 2], al
mov eax, esi
mov edx, esi
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567de0
lea edi, [esp + 0x3c]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x567df0
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]
lea edi, [esp + 0x3c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x567e10
mov cx, word [0x5e6c9c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov word [edi], cx
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567e30
sub eax, edx
mov edx, dword [ebp]
push 0x6b
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
cmp eax, edi
je 0x567e63
mov ecx, dword [ebp]
lea eax, [esp + 0x3c]
push eax
push 0
push 0xc
push 0x6b
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea esi, [ebp + 0x130]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x567e70
sub eax, edx
mov edx, dword [ebp]
push 0x6d
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
cmp eax, edi
je 0x567e9f
mov eax, dword [ebp]
push esi
push 0
push 0xc
push 0x6d
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x438]
xor esi, esi
cmp eax, esi
jne 0x567ebd
cmp dword [esp + 0x42c], esi
je 0x568199
mov eax, dword [ebp + 0x380]
xor edi, edi
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jle 0x567edd
mov edi, dword [ebp + 0x384]
sub edi, eax
mov dword [esp + 0x14], edi
cmp edi, esi
mov byte [esp + 0x3c], 0
jbe 0x56806c
cmp dword [ebp + 0x358], esi
jbe 0x56806c
cmp dword [ebp + 0x33c], 2
jne 0x56800b
call fcn.00423b40
mov esi, dword [ebp + 0x388]
mov ecx, dword [ebp + 0x38c]
sub eax, esi
sbb edx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
js 0x56800b
jg 0x567f33
cmp eax, 0x7d0
jbe 0x56800b
fild qword [esp + 0x28]
fmul qword [0x5ec2d8]
fcom qword [0x5e73e0]
fnstsw ax
test ah, 5
jp 0x567f52
fstp st(0)
fld qword [0x5e73e0]
mov ecx, dword [ebp + 0x358]
fild dword [ebp + 0x358]
test ecx, ecx
jge 0x567f68
fadd qword [0x5e73f0]
mov edx, dword [ebp + 0x390]
fild dword [ebp + 0x390]
test edx, edx
jge 0x567f7e
fadd qword [0x5e73f0]
fsubp st(1)
fcom qword [0x5e76a0]
fnstsw ax
test ah, 5
jp 0x567f95
fstp st(0)
fld qword [0x5e76a0]
fdiv st(1)
call fcn.005cbd54
fstp st(0)
test eax, eax
ja 0x567fb6
mov ecx, dword [ebp + 0x394]
cmp ecx, 2
jae 0x567fb6
inc ecx
mov dword [ebp + 0x394], ecx
jmp 0x567fe6
mov ecx, dword [ebp + 0x36c]
cmp eax, ecx
mov dword [ebp + 0x394], 0
jb 0x567fd8
sub eax, ecx
shr eax, 1
add eax, ecx
mov dword [ebp + 0x36c], eax
jmp 0x567fe6
mov edx, ecx
sub edx, eax
shr edx, 1
sub ecx, edx
mov dword [ebp + 0x36c], ecx
call fcn.00423b40
mov dword [ebp + 0x388], eax
mov eax, dword [ebp + 0x358]
mov dword [ebp + 0x38c], edx
mov dword [ebp + 0x390], eax
mov dword [esp + 0x10], 1
mov esi, dword [ebp + 0x36c]
test esi, esi
push 1
push 1
push 0
push 1
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], esi
fild dword [esp + 0x3c]
push ecx
jge 0x568032
fadd qword [0x5e73f0]
sub esp, 8
fstp qword [esp]
call fcn.00516dc0
mov al, byte [esp + 0x5c]
add esp, 0x20
test al, al
je 0x56806c
lea edi, [esp + 0x3c]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x568050
mov edx, dword [0x5eac80]
mov al, byte [0x5eac84]
mov dword [edi], edx
mov byte [edi + 4], al
mov edi, dword [esp + 0x14]
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x74
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp]
push 2
lea eax, [esp + 0x1c]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x3c]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5680a0
push 0
sub eax, ecx
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push 6
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
test edi, edi
mov byte [esp + 0x3c], 0
jbe 0x56813a
test esi, esi
jbe 0x56813a
mov eax, dword [ebp + 0x344]
test eax, eax
je 0x5680e4
xor eax, eax
jmp 0x568115
mov eax, dword [esp + 0x10]
test eax, eax
je 0x56810f
mov edx, dword [ebp + 0x350]
mov eax, dword [ebp + 0x364]
sub eax, edx
xor edx, edx
div esi
test eax, eax
ja 0x568107
mov eax, 1
mov dword [ebp + 0x398], eax
jmp 0x568115
mov eax, dword [ebp + 0x398]
push 3
push eax
push 0x5e6c98
call fcn.0055ac10
add esp, 0xc
lea edx, [esp + 0x3c]
lea esp, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x568130
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push 0x72
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp]
push 2
lea edx, [esp + 0x1c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x568170
push 0
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push edx
push 6
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x430]
test eax, eax
jne 0x5681b3
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x5682c1
mov eax, dword [ebp + 0x358]
test eax, eax
mov byte [esp + 0x3c], 0
jbe 0x568266
mov eax, dword [ebp + 0x350]
fild dword [ebp + 0x350]
test eax, eax
push 1
push 1
push 0
push 1
push 1
lea edx, [esp + 0x50]
push edx
jge 0x5681eb
fadd qword [0x5e73f0]
sub esp, 8
fstp qword [esp]
call fcn.00516dc0
mov eax, dword [ebp + 0x380]
add esp, 0x20
test eax, eax
jle 0x568266
mov ecx, dword [ebp + 0x384]
sub ecx, eax
je 0x568266
lea edi, [esp + 0x3c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x568212
mov edx, dword [str._in]
mov al, byte [0x5f0784]
push 3
push ecx
mov dword [edi], edx
push 0x5e6c98
mov byte [edi + 4], al
call fcn.0055ac10
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x568240
lea edi, [esp + 0x3c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x568250
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x70
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp]
push 2
lea eax, [esp + 0x1c]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x568298
mov ecx, dword [esp + 0x1c]
push 0
sub eax, edx
push eax
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push 6
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x434]
test eax, eax
jne 0x5682d7
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x56833b
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push 0x6e
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp]
push 2
lea edx, [esp + 0x1c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp + 0x360]
mov edx, dword [ebp + 0x35c]
push 0
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
call fcn.005677e0
add esp, 0x20
mov eax, dword [esp + 0x38]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x34]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret