Function at 0x5071a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b38
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 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 dword [ebp - 0x48], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.0040baa0
push str.ColumnName
push str.WindowsDlg
push str.Name
mov eax, dword [eax + 0x234d8]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov dword [ebp - 0x44], eax
call fcn.0045fc60
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x507269
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x50724c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x507282
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x4c], eax
je 0x507322
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push 0x5c3b98
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5072f3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x5072d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x50730c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x507399
cmp byte [esi + 0x54], al
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
je 0x507344
push 0x5c3bdc
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 3
jmp 0x507358
push 0x5c3be4
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x50738d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x507374
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x5073a5
lea eax, [ebp - 0x28]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x101d
push dword [esi + 0x28]
mov dword [ebp - 0x58], eax
call ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x1060
push dword [esi + 0x28]
call ebx
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push str.ColumnPath
push str.WindowsDlg
push str.Path
push eax
call fcn.0045fc60
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x507429
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x50740c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x507442
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [esi + 0x4c], 1
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
je 0x5074e3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push 0x5c3b98
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5074b4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x507497
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x5074cd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x50755a
cmp byte [esi + 0x54], al
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
je 0x507505
push 0x5c3bdc
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 7
jmp 0x507519
push 0x5c3be4
push eax
call fcn.004223c0
add esp, 0xc
mov edi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x50754e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x507535
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x507566
lea eax, [ebp - 0x28]
push 0
push 1
push 0x101d
push dword [esi + 0x28]
mov dword [ebp - 0x58], eax
call ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
push 1
push 0x1060
push dword [esi + 0x28]
call ebx
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push str.ColumnType
push str.WindowsDlg
push str.Type
push eax
mov dword [ebp - 0x60], 2
call fcn.0045fc60
mov edi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5075eb
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x5075ce
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [esi + 0x4c], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
je 0x507618
push 0x5c3b98
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0xa
jmp 0x507644
cmp byte [esi + 0x54], 0
je 0x507632
push 0x5c3bdc
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x507644
push 0x5c3be4
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x507665
lea eax, [ebp - 0x28]
push 0
push 2
push 0x101d
push dword [esi + 0x28]
mov dword [ebp - 0x58], eax
call ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
push 2
push 0x1060
push dword [esi + 0x28]
call ebx
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push str.ColumnSize
push str.WindowsDlg
push str.Size
push eax
call fcn.0045fc60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push eax
call fcn.00403e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [esi + 0x4c], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
je 0x5076de
push 0x5c3b98
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0xe
jmp 0x50770a
cmp byte [esi + 0x54], 0
je 0x5076f8
push 0x5c3bdc
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0xf
jmp 0x50770a
push 0x5c3be4
push eax
call fcn.004223c0
add esp, 0xc
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004038c0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x50772b
lea eax, [ebp - 0x28]
push 0
push 3
push 0x101d
push dword [esi + 0x28]
mov dword [ebp - 0x58], eax
call ebx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
push 3
push 0x1060
push dword [esi + 0x28]
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004038c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret