Function at 0x426ec0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
push 0x12f
push dword [esi + 4]
mov dword [esi + 0x50], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [esi + 0x20]
mov dword [ebp - 4], edi
lea ebx, [eax + 1]
cmp ebx, 1
jne 0x426efa
mov byte [esi + 0x50], bl
jmp 0x426f02
test ebx, ebx
js 0x427256
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x426f20
push ebx
mov ecx, edi
lfence
call fcn.0041ddb0
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427256
lfence
mov eax, dword [edi]
xor ecx, ecx
push 0x12f
mov dword [eax - 0xc], ebx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
test eax, eax
jne 0x426f64
xor ecx, ecx
jmp 0x426f7a
push dword [eax - 8]
push eax
call fcn.0043bf00
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427256
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427256
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
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 0x426fb5
mov byte [esi + 0x51], bl
jmp 0x426fbd
test ebx, ebx
js 0x427256
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x426fdb
push ebx
mov ecx, edi
lfence
call fcn.0041ddb0
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427256
lfence
mov eax, dword [edi]
xor ecx, ecx
push 0x131
mov dword [eax - 0xc], ebx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, edi
mov eax, dword [ebx]
test eax, eax
jne 0x42701e
xor ecx, ecx
jmp 0x427034
push dword [eax - 8]
push eax
call fcn.0043bf00
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427256
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427256
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
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 0x42706f
mov byte [esi + 0x52], bl
jmp 0x427077
test ebx, ebx
js 0x427256
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x427095
push ebx
mov ecx, edi
lfence
call fcn.0041ddb0
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427256
lfence
mov eax, dword [edi]
xor ecx, ecx
push 0x134
mov dword [eax - 0xc], ebx
mov eax, dword [edi]
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, edi
mov eax, dword [ebx]
test eax, eax
jne 0x4270d8
xor ecx, ecx
jmp 0x4270ee
push dword [eax - 8]
push eax
call fcn.0043bf00
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427256
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427256
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
mov eax, dword [esi + 0x2c]
cmp dword [eax - 4], 1
mov ebx, dword [eax - 8]
jle 0x42711b
push dword [eax - 0xc]
lea ecx, [esi + 0x2c]
call fcn.0041daf0
mov eax, dword [esi + 0x2c]
test ebx, ebx
je 0x42712d
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x427122
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x427138
xor ecx, ecx
jmp 0x42714e
push dword [eax - 8]
push eax
call fcn.0043bf00
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427256
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x427256
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.0041dbf0
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 0x427190
mov byte [esi + 0x53], bl
jmp 0x427198
test ebx, ebx
js 0x427256
mov eax, dword [esi + 0x2c]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x4271b8
push ebx
lea ecx, [esi + 0x2c]
lfence
call fcn.0041ddb0
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427256
lfence
mov eax, dword [esi + 0x2c]
xor ecx, ecx
push 0x136
mov dword [eax - 0xc], ebx
mov eax, dword [esi + 0x2c]
mov word [eax + ebx*2], cx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4271fd
xor ecx, ecx
jmp 0x42720f
push dword [eax - 8]
push eax
call fcn.0043bf00
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427256
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x427256
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 0x2c]
mov word [eax + ecx*2], dx
cmp byte [esi + 0x50], dl
jne 0x42723f
cmp byte [esi + 0x51], dl
jne 0x42723f
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 + 0x52], dx
call fcn.00427580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041be80
int3