Function at 0x1078495
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x1084428]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, dword [ebp + 8]
push 0x7d0
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
mov dword [ebp - 0x3c8], edi
call esi
push 0x7db
push edi
mov dword [ebp - 0x3d4], eax
call esi
push 0
push 0
push 0x132f
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x7d2
push dword [ebp - 0x3c8]
mov edi, eax
call esi
cmp dword [ebx + 0x2538], 0
mov dword [ebp - 0x3d0], eax
je 0x107852d
lea eax, [ebp - 0x3d4]
push eax
mov ecx, ebx
call fcn.01077177
mov eax, dword [ebp - 0x3d4]
cmp eax, 0xffffffff
je 0x107852d
mov eax, dword [ebx + eax*4 + 0x232c]
mov edi, dword [eax]
imul edi, edi, 0x234
lea edi, [edi + ebx + 0x35c]
push edi
push dword [ebp - 0x3d0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 0x214]
xor edx, edx
cmp edi, 0xffffffff
jne 0x1078558
xor ebx, ebx
jmp 0x107855f
mov ebx, dword [ebx + edi*4 + 0x232c]
xor edi, edi
cmp ebx, edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x3d0], edx
je 0x10785df
mov edx, dword [ebx + 0x2a48]
mov eax, dword [ebx + 0x2a40]
mov edi, dword [ebx + 0x2a3c]
mov ecx, dword [ebx + 0x2a44]
mov dword [ebp - 0x3d0], edx
xor edx, edx
cmp edi, edx
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebx + 0x2a5c]
je 0x10785c0
cmp eax, edx
jne 0x10785c0
cmp dword [ebp - 0x3cc], edx
je 0x10785c0
push 0xc8
lea eax, [ebp - 0x234]
push eax
push 0x8a2
jmp 0x10785f0
cmp ecx, edx
je 0x10785df
cmp dword [ebp - 0x3d0], edx
je 0x10785df
push 0xc8
lea eax, [ebp - 0x234]
push eax
push 0x8a3
jmp 0x10785f0
push 0xc8
lea eax, [ebp - 0x234]
push eax
push 0x8a4
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x234]
push eax
push 0x7d3
push dword [ebp - 0x3c8]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test edi, edi
je 0x1078645
cmp dword [ebp - 0x3cc], 0
je 0x1078645
push 1
push 0x7d5
push dword [ebp - 0x3c8]
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
xor eax, eax
cmp dword [ebx + 0x2a5c], eax
setne al
push eax
jmp 0x107865f
push 0
push 0x7d5
push dword [ebp - 0x3c8]
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0
push 0x7d5
push dword [ebp - 0x3c8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
xor eax, eax
cmp dword [ebp - 0x3cc], eax
jne 0x10786c2
cmp dword [ebp - 0x3d0], eax
jne 0x10786c2
mov eax, 0x7d8
push eax
push eax
push 0x7d7
push dword [ebp - 0x3c8]
call dword [sym.imp.USER32.dll_CheckRadioButton]
push 0
push 0x7d8
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0
push 0x7d7
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0
jmp 0x1078716
cmp dword [ebx + 0x2a58], eax
je 0x10786d8
mov eax, 0x7d8
push eax
push eax
push 0x7d7
jmp 0x10786e4
mov eax, 0x7d7
push eax
push 0x7d8
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.USER32.dll_CheckRadioButton]
push 1
push 0x7d8
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 1
push 0x7d7
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 1
push 0x7d6
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0x7d8
push dword [ebp - 0x3c8]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x1078776
push 0
push 0x7db
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0
push 0x7da
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0
push 0x7d9
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 0
jmp 0x10787ae
push 1
push 0x7db
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 1
push 0x7da
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 1
push 0x7d9
push dword [ebp - 0x3c8]
call esi
push eax
call edi
push 1
push 0x7dd
push dword [ebp - 0x3c8]
call esi
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push dword [ebp - 0x3d8]
call edi
test ebx, ebx
je 0x1078945
push 0x64
lea eax, [ebp - 0x3c4]
push eax
push 0x7dc
push dword [ebp - 0x3c8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x3c4]
push eax
push 0
push 0x143
push dword [ebp - 0x3d8]
call edi
push 0xffffffffffffffff
push 0
push 0x151
push dword [ebp - 0x3d8]
call edi
mov eax, dword [ebx + 0x2a60]
and dword [ebp - 0x3d4], 0
imul eax, eax, 0xca8
lea eax, [eax + ebx + 0x444]
push 0x64
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x2fc]
push eax
push 0x7e0
push dword [ebp - 0x3c8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x3d0]
and dword [ebp - 0x3cc], 0
cmp dword [esi + 0xe0], 0
jbe 0x1078930
add esi, 0xec
mov eax, dword [esi]
cmp eax, 0x16
push 0x10
pop ecx
je 0x1078892
cmp eax, 0x15
je 0x1078892
cmp eax, 0x14
jne 0x1078895
push 0x20
pop ecx
push ecx
push dword [esi - 4]
lea eax, [ebp - 0x2fc]
push dword [esi - 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0xa4]
push eax
push 0
push 0x143
push dword [ebp - 0x3d8]
call edi
push dword [ebp - 0x3cc]
mov dword [ebp - 0x3c8], eax
push eax
push 0x151
push dword [ebp - 0x3d8]
call edi
mov eax, dword [esi - 8]
cmp eax, dword [ebx + 0x2a4c]
jne 0x107890f
mov eax, dword [esi - 4]
cmp eax, dword [ebx + 0x2a50]
jne 0x107890f
mov eax, dword [esi]
cmp eax, dword [ebx + 0x2a54]
jne 0x107890f
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x3d4], eax
inc dword [ebp - 0x3cc]
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp - 0x3cc]
add esi, 0x14
cmp ecx, dword [eax + 0xe0]
jb 0x107887e
push 0
push dword [ebp - 0x3d4]
push 0x14e
push dword [ebp - 0x3d8]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010123a2
leave
ret 4