Function at 0x104870a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3d8
mov eax, dword [0x10544bc]
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 0x10487a2
lea eax, [ebp - 0x3d4]
push eax
mov ecx, ebx
call fcn.010473ec
mov eax, dword [ebp - 0x3d4]
cmp eax, 0xffffffff
je 0x10487a2
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 0x10487cd
xor ebx, ebx
jmp 0x10487d4
mov ebx, dword [ebx + edi*4 + 0x232c]
xor edi, edi
cmp ebx, edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x3d0], edx
je 0x1048854
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 0x1048835
cmp eax, edx
jne 0x1048835
cmp dword [ebp - 0x3cc], edx
je 0x1048835
push 0xc8
lea eax, [ebp - 0x234]
push eax
push 0x8a2
jmp 0x1048865
cmp ecx, edx
je 0x1048854
cmp dword [ebp - 0x3d0], edx
je 0x1048854
push 0xc8
lea eax, [ebp - 0x234]
push eax
push 0x8a3
jmp 0x1048865
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 0x10488ba
cmp dword [ebp - 0x3cc], 0
je 0x10488ba
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 0x10488d4
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 0x1048937
cmp dword [ebp - 0x3d0], eax
jne 0x1048937
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 0x104898b
cmp dword [ebx + 0x2a58], eax
je 0x104894d
mov eax, 0x7d8
push eax
push eax
push 0x7d7
jmp 0x1048959
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 0x10489eb
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 0x1048a23
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 0x1048bba
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 0x1048ba5
add esi, 0xec
mov eax, dword [esi]
cmp eax, 0x16
push 0x10
pop ecx
je 0x1048b07
cmp eax, 0x15
je 0x1048b07
cmp eax, 0x14
jne 0x1048b0a
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 0x1048b84
mov eax, dword [esi - 4]
cmp eax, dword [ebx + 0x2a50]
jne 0x1048b84
mov eax, dword [esi]
cmp eax, dword [ebx + 0x2a54]
jne 0x1048b84
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 0x1048af3
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.010059a3
leave
ret 4