Function at 0x424270
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 0x4242a3
mov byte [esi + 0x4c], 1
jmp 0x4242ab
test edi, edi
js 0x4245ea
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 0x4242d1
push edi
lea ecx, [esi + 0x20]
call fcn.0041c2e0
mov edx, dword [esi + 0x20]
mov dword [ebp - 4], edx
cmp edi, dword [edx - 8]
jg 0x4245ea
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 0x42430a
xor ecx, ecx
jmp 0x424320
push dword [eax - 8]
push eax
call fcn.0044bf1e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4245ea
mov eax, dword [esi + 0x20]
cmp ecx, dword [eax - 8]
jg 0x4245ea
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 0x42435d
mov byte [esi + 0x4d], bl
jmp 0x424365
test ebx, ebx
js 0x4245ea
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 0x424388
push ebx
mov ecx, edi
call fcn.0041c2e0
mov edx, dword [edi]
mov dword [ebp - 4], edx
cmp ebx, dword [edx - 8]
jg 0x4245ea
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 0x4243bf
xor ecx, ecx
jmp 0x4243d5
push dword [eax - 8]
push eax
call fcn.0044bf1e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4245ea
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4245ea
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 0x424410
mov byte [esi + 0x4e], bl
jmp 0x424418
test ebx, ebx
js 0x4245ea
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 0x42443b
push ebx
mov ecx, edi
call fcn.0041c2e0
mov edx, dword [edi]
mov dword [ebp - 4], edx
cmp ebx, dword [edx - 8]
jg 0x4245ea
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 0x424472
xor ecx, ecx
jmp 0x424488
push dword [eax - 8]
push eax
call fcn.0044bf1e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4245ea
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4245ea
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 0x4244bc
push dword [eax - 0xc]
lea ecx, [esi + 0x2c]
call fcn.0041c070
mov eax, dword [esi + 0x2c]
mov ecx, eax
test ebx, ebx
je 0x4244ce
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x4244c0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4244e8
push dword [ecx - 8]
push ecx
call fcn.0044bf1e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4245ea
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x4245ea
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.0041c160
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 0x42452a
mov byte [esi + 0x4f], bl
jmp 0x424532
test ebx, ebx
js 0x4245ea
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 0x424558
push ebx
lea ecx, [esi + 0x2c]
call fcn.0041c2e0
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 4], ecx
cmp ebx, dword [ecx - 8]
jg 0x4245ea
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 0x424591
xor ecx, ecx
jmp 0x4245a3
push dword [eax - 8]
push eax
call fcn.0044bf1e
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4245ea
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x4245ea
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 0x4245d3
cmp byte [esi + 0x4d], dl
jne 0x4245d3
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.004248c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041a8e0
int3