Function at 0x4258a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x12f
push dword [esi + 4]
mov dword [esi + 0x4c], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, 1
jne 0x4258d3
mov byte [esi + 0x4c], 1
jmp 0x4258db
test edi, edi
js 0x425c1a
mov edx, dword [esi + 0x20]
mov ecx, 1
mov dword [ebp - 4], edx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x425901
push edi
lea ecx, [esi + 0x20]
call fcn.0041d190
mov edx, dword [esi + 0x20]
mov dword [ebp - 4], edx
cmp edi, dword [edx - 8]
jg 0x425c1a
mov dword [edx - 0xc], edi
xor ecx, ecx
mov eax, dword [esi + 0x20]
push 0x12f
mov word [eax + edi*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x42593a
xor ecx, ecx
jmp 0x425950
push dword [eax - 8]
push eax
call fcn.00438982
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x425c1a
mov eax, dword [esi + 0x20]
cmp ecx, dword [eax - 8]
jg 0x425c1a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 0x20]
push 0x131
mov word [eax + ecx*2], dx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [esi + 0x24]
lea ebx, [eax + 1]
cmp ebx, 1
jne 0x42598d
mov byte [esi + 0x4d], bl
jmp 0x425995
test ebx, ebx
js 0x425c1a
mov edx, dword [edi]
mov ecx, 1
mov dword [ebp - 4], edx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x4259b8
push ebx
mov ecx, edi
call fcn.0041d190
mov edx, dword [edi]
mov dword [ebp - 4], edx
cmp ebx, dword [edx - 8]
jg 0x425c1a
mov dword [edx - 0xc], ebx
xor ecx, ecx
mov eax, dword [edi]
push 0x131
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x4259ef
xor ecx, ecx
jmp 0x425a05
push dword [eax - 8]
push eax
call fcn.00438982
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x425c1a
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x425c1a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
push 0x134
mov word [eax + ecx*2], dx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [esi + 0x28]
lea ebx, [eax + 1]
cmp ebx, 1
jne 0x425a40
mov byte [esi + 0x4e], bl
jmp 0x425a48
test ebx, ebx
js 0x425c1a
mov edx, dword [edi]
mov ecx, 1
mov dword [ebp - 4], edx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, ebx
or ecx, eax
jge 0x425a6b
push ebx
mov ecx, edi
call fcn.0041d190
mov edx, dword [edi]
mov dword [ebp - 4], edx
cmp ebx, dword [edx - 8]
jg 0x425c1a
mov dword [edx - 0xc], ebx
xor ecx, ecx
mov eax, dword [edi]
push 0x134
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x425aa2
xor ecx, ecx
jmp 0x425ab8
push dword [eax - 8]
push eax
call fcn.00438982
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x425c1a
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x425c1a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
mov eax, dword [esi + 0x2c]
mov ecx, eax
cmp dword [eax - 4], 1
mov ebx, dword [eax - 8]
jle 0x425aec
push dword [eax - 0xc]
lea ecx, [esi + 0x2c]
call fcn.0041cf20
mov eax, dword [esi + 0x2c]
mov ecx, eax
test ebx, ebx
je 0x425afe
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x425af0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x425b18
push dword [ecx - 8]
push ecx
call fcn.00438982
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x425c1a
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x425c1a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 0x2c]
mov word [eax + ecx*2], dx
lea ecx, [esi + 0x2c]
call fcn.0041d010
push 0x136
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
cmp ebx, 1
jne 0x425b5a
mov byte [esi + 0x4f], bl
jmp 0x425b62
test ebx, ebx
js 0x425c1a
mov ecx, dword [esi + 0x2c]
mov edx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, ebx
or edx, eax
jge 0x425b88
push ebx
lea ecx, [esi + 0x2c]
call fcn.0041d190
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 4], ecx
cmp ebx, dword [ecx - 8]
jg 0x425c1a
mov dword [ecx - 0xc], ebx
xor ecx, ecx
mov eax, dword [esi + 0x2c]
push 0x136
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x425bc1
xor ecx, ecx
jmp 0x425bd3
push dword [eax - 8]
push eax
call fcn.00438982
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x425c1a
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x425c1a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 0x2c]
mov word [eax + ecx*2], dx
cmp byte [esi + 0x4c], dl
jne 0x425c03
cmp byte [esi + 0x4d], dl
jne 0x425c03
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa6
mov ecx, esi
mov word [esi + 0x4e], dx
call fcn.00425ef0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041b780
int3