Function at 0x4610a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x5306c8]
push esi
push edi
push 0xa09
mov esi, ecx
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 0
push edi
call fcn.004271f0
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4619b6
cmp word [eax], 0
je 0x4619ad
mov ecx, dword [0x5306c8]
xor eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x6c], edi
xor edi, edi
push edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xf3684]
push 0x433
push eax
mov dword [ebp - 0x78], 0x2c
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], ecx
call ebx
push 0x7f02
push edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esi + 0xf3704]
mov dword [ebp - 0x18], edi
cmp dword [eax], edi
je 0x461978
xor ecx, ecx
lea ebx, [ebx]
mov ecx, dword [eax + ecx + 0x88]
cmp dword [esi + ecx*4 + 0xf2b74], edi
lea eax, [esi + ecx*4 + 0xf2b74]
je 0x461194
mov edx, dword [eax]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4611b1
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0xf3704]
inc ecx
mov dword [ebp - 0x18], ecx
imul ecx, ecx, 0x98
cmp dword [eax + ecx], edi
jne 0x461170
jmp 0x461978
mov ecx, dword [ebp - 0x18]
mov edx, dword [esi + 0xf3704]
mov eax, ecx
imul eax, eax, 0x98
mov eax, dword [eax + edx + 0x88]
mov eax, dword [esi + eax*4 + 0xf2b74]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x461978
cmp dword [0x53292c], eax
je 0x4611fc
xor ecx, ecx
mov dword [0x532928], edi
mov dword [ebp - 8], 0xffffffff
mov word [0x532728], cx
mov eax, dword [ebp - 0x18]
xor edx, edx
inc eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x40], eax
jmp 0x461210
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], ecx
test edx, edx
je 0x461237
xor edx, edx
mov dword [0x532928], 0
mov dword [ebp - 8], 0xffffffff
mov word [0x532728], dx
mov edx, dword [ebp - 0x20]
cmp edx, 1
jne 0x461247
mov eax, dword [ebp - 0x40]
lea ecx, [edx + 0x1b]
jmp 0x461251
cmp edx, 2
jne 0x461254
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
jae 0x461660
imul eax, eax, 0x98
mov dword [ebp - 0xc], eax
jmp 0x461270
mov eax, dword [esi + 0xf3704]
mov ecx, dword [ebp - 0xc]
add eax, ecx
cmp dword [eax], 0
je 0x461655
mov edx, dword [eax + 0x88]
cmp dword [esi + edx*4 + 0xf2b74], 0
jne 0x4612d3
mov eax, dword [esi + 0xf3704]
mov edx, dword [0x5306c8]
add eax, ecx
push eax
movzx eax, word [eax]
push 0x477450
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [esi + 0xf3704]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx + 0x88]
mov dword [esi + ecx*4 + 0xf2b74], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0xf3704]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov edx, dword [ecx + eax + 0x88]
mov esi, dword [esi + edx*4 + 0xf2b74]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x46163b
mov eax, esi
cmp eax, dword [0x53292c]
jne 0x4613f2
cmp dword [0x532928], 0
je 0x4613d8
mov edx, dword [0x532928]
push 0x50
lea ecx, [ebp - 0x164]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4613d8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.ListBox
lea eax, [ebp - 0x164]
push eax
call esi
test eax, eax
jne 0x461384
mov ecx, dword [0x532928]
push eax
push eax
push 0x18b
push ecx
call ebx
mov edx, dword [0x532928]
push 0
push 0
push 0x188
push edx
mov esi, eax
call ebx
mov dword [ebp - 8], eax
test esi, esi
jle 0x4613f2
inc eax
cmp eax, esi
jge 0x4613f2
mov edi, dword [0x532928]
jmp 0x4613f2
push str.SysListView32
lea eax, [ebp - 0x164]
push eax
call esi
test eax, eax
jne 0x4613ce
mov ecx, dword [0x532928]
push eax
push eax
push 0x1004
push ecx
call ebx
mov edx, dword [0x532928]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
mov esi, eax
call ebx
mov dword [ebp - 8], eax
test esi, esi
jle 0x4613f2
inc eax
cmp eax, esi
jge 0x4613f2
mov edi, dword [0x532928]
jmp 0x4613f2
xor eax, eax
mov word [0x532728], ax
jmp 0x4613eb
xor ecx, ecx
mov dword [0x532928], 0
mov word [0x532728], cx
mov dword [ebp - 8], 0xffffffff
test edi, edi
jne 0x46140b
mov edx, dword [0x532928]
mov eax, dword [ebp - 0x14]
push edi
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, dword [0x532928]
jne 0x461429
lea ecx, [ebp - 0x3a0]
push 0x532728
push ecx
call fcn.00402f50
add esp, 8
jmp 0x461430
mov dword [ebp - 8], 0xffffffff
test edi, edi
je 0x46163b
jmp 0x461440
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x46171a
push 0x50
lea edx, [ebp - 0x164]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x46171a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.ListBox
lea eax, [ebp - 0x164]
push eax
call esi
test eax, eax
jne 0x46151f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
push ecx
push edx
push 0x18f
push edi
call ebx
mov dword [ebp - 4], eax
test eax, eax
jge 0x461506
push 0
push 0
push 0x18b
push edi
call ebx
mov esi, dword [ebp - 8]
inc esi
cmp esi, eax
mov dword [ebp - 0x28], eax
jge 0x4614f9
push 0
push 0
push 0x18a
push edi
call ebx
cmp eax, 0xff
jge 0x4614ee
lea eax, [ebp - 0x3a0]
push eax
push esi
push 0x189
push edi
call ebx
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x3a0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4614f6
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x4614b6
jmp 0x4614f9
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 0
jl 0x46171a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jle 0x46171a
push 0
push eax
mov dword [ebp - 8], eax
push 0x186
jmp 0x461630
push str.SysListView32
lea eax, [ebp - 0x164]
push eax
call esi
test eax, eax
jne 0x461672
push 0x38
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov dword [ebp - 0xc4], 0xd
call fcn.004c9b50
add esp, 0xc
push 0
push 0
push 0x1004
lea edx, [ebp - 0x3a0]
push edi
mov dword [ebp - 0xb0], edx
call ebx
mov esi, dword [ebp - 8]
inc esi
cmp esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
jge 0x46171a
nop
cmp dword [ebp - 4], 0xffffffff
jne 0x4615e0
mov dword [ebp - 0xbc], 0
lea eax, [ebp - 0xc4]
push eax
push esi
push 0x1073
push edi
mov dword [ebp - 0xac], 0xff
call ebx
test eax, eax
jle 0x4615c3
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x3a0]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4615d7
mov eax, dword [ebp - 0xbc]
inc eax
cmp eax, 0x20
mov dword [ebp - 0xbc], eax
jle 0x461590
jmp 0x4615da
mov dword [ebp - 4], esi
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x461580
cmp dword [ebp - 4], 0
jl 0x46171a
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jle 0x46171a
mov esi, dword [ebp - 4]
mov eax, 2
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1a0]
push eax
push esi
push 0x102b
push edi
mov dword [ebp - 8], esi
call ebx
push esi
push 0
push 0x1043
push edi
call ebx
push 0
push esi
push 0x1013
push edi
call ebx
test edi, edi
jne 0x461738
mov eax, dword [ebp - 0x18]
add dword [ebp - 0xc], 0x98
mov esi, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x24]
jb 0x461270
test edi, edi
jne 0x461738
mov edx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x20], edx
cmp edx, 2
jbe 0x461210
jmp 0x461978
push str.Button
lea ecx, [ebp - 0x164]
push ecx
call esi
test eax, eax
je 0x46169a
push str.Static
lea edx, [ebp - 0x164]
push edx
call esi
test eax, eax
je 0x46171a
push 0xff
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x46171a
cmp word [ebp - 0x3a0], 0
je 0x46171a
lea ecx, [ebp - 0x3a0]
push 0x26
push ecx
call fcn.004c9bca
add esp, 8
test eax, eax
je 0x461701
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4616d5
sub ecx, esi
sar ecx, 1
lea edx, [ecx + ecx]
push edx
lea esi, [eax + 2]
push esi
push eax
call fcn.004c9f70
push 0x26
push esi
call fcn.004c9bca
add esp, 0x14
test eax, eax
jne 0x4616d0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3a0]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x461633
mov edx, dword [ebp - 0x14]
push 0
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
jne 0x461440
jmp 0x46163b
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x14]
je 0x4617a1
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x52fe34]
imul eax, eax, 0x98
mov ecx, dword [edx + 0xf3704]
mov edx, dword [ecx + eax + 0x90]
mov eax, dword [0x5306c8]
push 0x801
push eax
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x10]
push ecx
push 3
mov esi, eax
push 0x110a
push esi
call ebx
test eax, eax
je 0x46178f
push eax
push 2
push 0x1102
push esi
call ebx
mov edx, dword [ebp - 0x10]
push edx
push 9
push 0x110b
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4617df
push str.Static
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4617df
mov ecx, dword [ebp - 0x14]
push 0xfffffffffffffff4
push eax
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
xor edx, edx
mov word [0x531788], dx
cmp esi, 0xffffffff
je 0x46181d
mov eax, dword [0x52fe10]
push 0x7d0
push 0x531788
push esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x461813
xor ecx, ecx
mov word [0x531788], cx
jmp 0x46181d
cmp word [0x531788], 0
jne 0x461831
lea edx, [ebp - 0x3a0]
push edx
push 0x531788
call fcn.00460b60
add esp, 8
lea eax, [ebp - 0x3a0]
push eax
push 0x532728
call fcn.00402f50
mov eax, dword [0x52fe34]
mov esi, dword [eax + 0xf3688]
add eax, 0xf368c
mov dword [eax + 0x24], 0x531788
mov dword [ebp - 0x10], eax
mov eax, dword [0x52fe34]
add esp, 8
cmp dword [eax + 0xf3684], 0
je 0x46187f
mov ecx, dword [eax + 0xf3684]
push 0
push 0
push 0x401
push ecx
call ebx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0x439
push esi
call ebx
lea eax, [ebp - 0x88]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
push str.ListBox
lea eax, [ebp - 0x164]
add ecx, 0xa
add edx, 0xa
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4618f7
cmp dword [ebp - 4], eax
jl 0x4618f7
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push 0x198
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call ebx
cmp eax, 0xffffffff
je 0x46193f
mov eax, dword [ebp - 0x38]
add dword [ebp - 0xc], eax
jmp 0x46193f
push str.SysListView32
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x46193f
cmp dword [ebp - 4], eax
jl 0x46193f
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
push eax
push 0x100e
push edi
mov dword [ebp - 0x3c], 2
call ebx
test eax, eax
je 0x46193f
mov ecx, dword [ebp - 0x38]
add dword [ebp - 0xc], ecx
movzx edx, word [ebp - 0xc]
movzx eax, word [ebp - 0x2c]
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x412
push esi
call ebx
mov ecx, dword [ebp - 0x10]
push ecx
push 1
push 0x411
push esi
call ebx
mov edx, dword [ebp - 0x14]
push 0
push 0xbb8
push 0x65
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push ecx
mov dword [0x53292c], eax
mov dword [0x532928], edi
call fcn.0044c4f0
add esp, 4
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.0044c4f0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret