Function at 0x431740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451a00
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a2a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040c5f0
mov ecx, eax
test ecx, ecx
je 0x4319a6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ebx, [esi + 1]
test ebx, ebx
js 0x4319b0
mov eax, dword [ebp - 0x14]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x4317c1
push ebx
lea ecx, [ebp - 0x14]
call fcn.00418aa0
mov eax, dword [ebp - 0x14]
push ebx
push eax
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, 0xffffffff
jne 0x4317e2
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.0043a963
add esp, 8
mov esi, eax
test esi, esi
js 0x4319b0
mov ecx, dword [ebp - 0x14]
cmp esi, dword [ecx - 8]
jg 0x4319b0
mov dword [ecx - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x14]
call fcn.00430c80
lea ecx, [ebp - 0x14]
call fcn.00430d30
mov eax, dword [ebp - 0x14]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 1
jge 0x431845
push 0x30
push str.No_path
push str.Please_provide_a_location_to_find_files.
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebp - 0xd], 0
jmp 0x431972
mov ecx, dword [edi + 0x54]
push eax
call fcn.0042fbc0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push dword [edi + 0x64]
call esi
mov ecx, dword [edi + 0x54]
cmp eax, 1
sete byte [ebp - 0x18]
push dword [ebp - 0x18]
call fcn.0042fc50
push 0
push 0
push 0xf0
push dword [edi + 0x70]
call esi
cmp eax, 1
jne 0x43189a
push dword [0x49f0f4]
mov ecx, dword [edi + 0x54]
call fcn.0042fa80
jmp 0x43196e
call fcn.0040c5f0
mov ecx, eax
test ecx, ecx
je 0x4319ba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x20], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
js 0x4319c4
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x4318f2
push ecx
lea ecx, [ebp - 0x18]
call fcn.00418aa0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00430a50
lea ecx, [ebp - 0x18]
call fcn.00430c80
lea ecx, [ebp - 0x18]
call fcn.00430d30
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 1
jge 0x43194a
push 0
push 0
push 0xf5
push dword [edi + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x49f0f4]
push dword [edi + 0x78]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [0x49f0f4]
jmp 0x43194b
push esi
mov ecx, dword [edi + 0x54]
call fcn.0042fa80
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43196e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x431991
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040d970
push 0x80070057
call fcn.0040d970
push 0x80004005
call fcn.0040d970
push 0x80070057
call fcn.0040d970
int3