Function at 0x42952e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x494cd8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x128], ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x124], edi
push ebx
call fcn.0048a9ca
mov esi, eax
mov eax, dword [ebp + 0xc]
sub eax, 0x4e
je 0x429a49
sub eax, 0xc2
je 0x4297ef
sub eax, 1
jne 0x429abb
mov eax, dword [ebp + 0x10]
movzx eax, ax
sub eax, 1
je 0x4296e2
sub eax, 1
je 0x4296c6
sub eax, 0xbdf
jne 0x429abb
push 0xbe0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
push 2
push 0xffffffffffffffff
push 0x100c
push ebx
mov dword [ebp - 0x164], 5
call esi
mov dword [ebp - 0x160], eax
xor edi, edi
lea eax, [ebp - 0x116]
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1005
push ebx
mov dword [ebp - 0x14c], pe_nt_image_headers32
call esi
xor esi, esi
inc esi
test eax, eax
je 0x429abb
mov eax, dword [0x49cb5c]
mov dword [ebp - 0x120], eax
mov ax, word [ebp - 0x144]
mov word [ebp - 0x11c], ax
movzx eax, word [0x49cb60]
mov dword [ebp - 0x11a], eax
lea eax, [ebp - 0x120]
push eax
push 0x429317
push dword [0x49c6e4]
push str.DLGPARAMEDIT
push dword [0x49e1e8]
call fcn.0048a039
cmp eax, esi
jne 0x429abb
movsx eax, word [ebp - 0x11c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1006
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x11c]
mov dword [ebp - 0x164], esi
push dword [0x49cb5c]
mov dword [ebp - 0x15c], esi
call fcn.00428c29
mov dword [ebp - 0x150], eax
test eax, eax
je 0x429abb
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1006
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x429abb
push dword [0x49cb5c]
call fcn.004273ab
push 0
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
xor esi, esi
inc esi
jmp 0x429abb
push 0xbe0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x49e0dc]
xor edi, edi
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x164], 5
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], pe_nt_image_headers32
mov dword [ebp - 0x160], edi
cmp dword [ecx + 0x24], edi
jle 0x4297db
mov ebx, dword [ebp - 0x124]
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1005
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4297ba
lea eax, [ebp - 0x118]
push eax
push dword [0x49cb84]
call fcn.00484e33
mov esi, eax
test esi, esi
je 0x4297ba
mov ecx, dword [0x49e0dc]
imul edx, dword [ebp - 0x160], 0x13
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx]
push dword [ecx + edx + 4]
push dword [0x49cb84]
call fcn.00484d0c
mov eax, dword [0x49e0dc]
imul ecx, dword [ebp - 0x160], 0x13
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [eax + ecx + 4], esi
mov eax, dword [0x49e0dc]
imul edx, dword [ebp - 0x160], 0x13
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
mov ax, word [ebp - 0x144]
mov word [ecx + edx + 0x10], ax
mov ecx, dword [ebp - 0x160]
mov eax, dword [0x49e0dc]
inc ecx
mov dword [ebp - 0x160], ecx
cmp ecx, dword [eax + 0x24]
jl 0x429737
mov ebx, dword [ebp - 0x128]
push dword [0x49cb5c]
call fcn.004273ab
xor esi, esi
inc esi
push esi
jmp 0x429a40
push 0x49cb60
push 0x3a
push dword [edi]
call sub.ODBC32.dll_SQLGetFunctions
test ax, 0xfffe
je 0x42980b
xor eax, eax
mov word [0x49cb60], ax
push edi
call fcn.00429b01
xor esi, esi
mov dword [0x49cb5c], eax
inc esi
test eax, eax
je 0x429a3e
push 0xbe0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x124], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [0x49e1ec], 0x400
jb 0x42985d
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0xc]
neg eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0xc], eax
xor edi, edi
push edi
push edi
push 0x1028
push dword [ebp - 0x124]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x49e0dc]
cmp eax, dword [ecx + 0x24]
jge 0x42988f
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
jmp 0x429892
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
imul eax, ecx, 3
push 5
pop ecx
push 0x1500e3
mov dword [ebp - 0x190], 0xf
cdq
idiv ecx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x188], eax
call fcn.0045cdc6
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x190]
push eax
push edi
push 0x101b
push dword [ebp - 0x124]
mov dword [ebp - 0x17c], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x14]
push 0x1500e4
mov dword [ebp - 0x188], eax
call fcn.0045cdc6
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x190]
push eax
push esi
push 0x101b
push dword [ebp - 0x124]
mov dword [ebp - 0x17c], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x49e0dc]
mov edx, edi
mov dword [ebp - 0x154], 3
mov dword [ebp - 0x160], edx
cmp dword [ecx + 0x24], edi
jle 0x429a15
mov ebx, dword [ebp - 0x124]
and dword [ebp - 0x124], edi
test edx, edx
push 3
pop eax
cmovne eax, dword [ebp - 0x124]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x164], 0xd
mov dword [ebp - 0x15c], edi
mov eax, dword [ecx + 0x20]
imul ecx, edx, 0x13
mov eax, dword [eax]
movsx eax, word [eax + ecx + 0x10]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x118]
push eax
push pe_nt_image_headers32
push edx
call fcn.0044aea5
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1007
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x144]
mov dword [ebp - 0x164], esi
push dword [0x49cb5c]
mov dword [ebp - 0x15c], esi
call fcn.00428c29
mov dword [ebp - 0x150], eax
test eax, eax
je 0x4299f3
lea eax, [ebp - 0x164]
push eax
push edi
push 0x1006
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x160]
mov ecx, dword [0x49e0dc]
inc edx
mov dword [ebp - 0x160], edx
cmp edx, dword [ecx + 0x24]
jl 0x42994b
mov ebx, dword [ebp - 0x128]
xor eax, eax
cmp eax, dword [ecx + 0x24]
sbb eax, eax
neg eax
push eax
push 0xbe1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x1b
push 0xffffffffffffffff
push ebx
call fcn.0048cdda
jmp 0x429abb
push 2
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x429abb
cmp dword [edi + 8], 0xffffff9b
je 0x429a97
cmp dword [edi + 8], 0xfffffffd
jne 0x429abb
cmp dword [edi + 4], 0xbe0
jne 0x429abb
mov eax, dword [ebp - 0x124]
xor edi, edi
push edi
push edi
push 0x1032
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x429abb
mov esi, 0xbe1
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push esi
push 0x111
push ebx
call fcn.0042952e
mov esi, eax
jmp 0x429abb
xor esi, esi
inc esi
test byte [edi + 0x1c], 8
je 0x429abb
mov eax, dword [edi + 0x14]
shr eax, 1
and eax, esi
push eax
push 0xbe1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490511
mov esp, ebp
pop ebp
ret 0x10