Function at 0x4272e0
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 0x42731a
mov byte [esi + 0x50], bl
jmp 0x427322
test ebx, ebx
js 0x427676
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x427340
push ebx
mov ecx, edi
lfence
call fcn.0041e190
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427676
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 0x427384
xor ecx, ecx
jmp 0x42739a
push dword [eax - 8]
push eax
call fcn.0043c160
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427676
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427676
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 0x4273d5
mov byte [esi + 0x51], bl
jmp 0x4273dd
test ebx, ebx
js 0x427676
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x4273fb
push ebx
mov ecx, edi
lfence
call fcn.0041e190
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427676
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 0x42743e
xor ecx, ecx
jmp 0x427454
push dword [eax - 8]
push eax
call fcn.0043c160
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427676
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427676
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 0x42748f
mov byte [esi + 0x52], bl
jmp 0x427497
test ebx, ebx
js 0x427676
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or ecx, eax
jge 0x4274b5
push ebx
mov ecx, edi
lfence
call fcn.0041e190
mov eax, dword [edi]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427676
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 0x4274f8
xor ecx, ecx
jmp 0x42750e
push dword [eax - 8]
push eax
call fcn.0043c160
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427676
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x427676
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 0x42753b
push dword [eax - 0xc]
lea ecx, [esi + 0x2c]
call fcn.0041ded0
mov eax, dword [esi + 0x2c]
test ebx, ebx
je 0x42754d
mov byte [eax], 0
lea eax, [eax + 1]
sub ebx, 1
jne 0x427542
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x427558
xor ecx, ecx
jmp 0x42756e
push dword [eax - 8]
push eax
call fcn.0043c160
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427676
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x427676
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.0041dfd0
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 0x4275b0
mov byte [esi + 0x53], bl
jmp 0x4275b8
test ebx, ebx
js 0x427676
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 0x4275d8
push ebx
lea ecx, [esi + 0x2c]
lfence
call fcn.0041e190
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
cmp ebx, dword [eax - 8]
jg 0x427676
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 0x42761d
xor ecx, ecx
jmp 0x42762f
push dword [eax - 8]
push eax
call fcn.0043c160
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x427676
mov eax, dword [esi + 0x2c]
cmp ecx, dword [eax - 8]
jg 0x427676
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 0x42765f
cmp byte [esi + 0x51], dl
jne 0x42765f
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.004279a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041c230
int3