Function at 0x40c1f0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ecb7
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x458504]
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 ebx, ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c0e0
push 1
push 0x3f5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x3ec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x40c26f
push 0
push 0x3e8
push 0xc5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x40c29d
push 0
push 0x80
push 0xc5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x1f4], 0
jne 0x40c2bd
push 0x3f6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
xor eax, eax
mov dword [ebp - 0x814], 7
add esp, 0xc
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push 0x400
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x810], 0
jne 0x40c31e
xor ecx, ecx
jmp 0x40c336
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c327
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00403350
lea eax, [ebx + 0x44]
push 0x443cf8
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.004067d0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004067a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40c3c5
cmp dword [ebp - 0x814], 8
jb 0x40c39c
push dword [ebp - 0x828]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.004027d0
cmp dword [ebp - 0x82c], 8
jb 0x40c3dc
push dword [ebp - 0x840]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
cmp dword [ebp - 0x844], 8
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
mov byte [ebp - 4], al
jb 0x40c413
push dword [ebp - 0x858]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0x4449fc
lea ecx, [ebp - 0x828]
call fcn.00402f30
cmp dword [ebx + 0x2fc], 0x10
lea eax, [ebx + 0x2e8]
jb 0x40c436
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00418280
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call fcn.00402e70
cmp dword [ebp - 0x844], 8
mov byte [ebp - 4], 0
jb 0x40c475
push dword [ebp - 0x858]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0x444a00
lea ecx, [ebp - 0x828]
call fcn.00402f30
cmp dword [ebx + 0x2e4], 0x10
lea eax, [ebx + 0x2d0]
jb 0x40c498
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00418280
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 3
call fcn.00402e70
cmp dword [ebp - 0x844], 8
mov byte [ebp - 4], 0
jb 0x40c4d7
push dword [ebp - 0x858]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0x444a04
lea ecx, [ebp - 0x828]
call fcn.00402f30
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x3f2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [ebp - 0x810], 0
jne 0x40c52f
xor ecx, ecx
jmp 0x40c54f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
jmp 0x40c540
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c540
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00403350
push 0x443cf8
lea eax, [ebx + 0x44]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.004067d0
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004067a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40c5de
cmp dword [ebp - 0x814], 8
jb 0x40c5b5
push dword [ebp - 0x828]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.004027d0
cmp dword [ebp - 0x82c], 8
jb 0x40c5f5
push dword [ebp - 0x840]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x82c], 7
cmp dword [ebp - 0x844], 8
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
mov byte [ebp - 4], al
jb 0x40c62c
push dword [ebp - 0x858]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0x3f2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3fa
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x22c]
call fcn.0040ecf0
mov ecx, ebx
call fcn.0040cf50
mov ecx, ebx
call fcn.0040e930
push 0
lea ecx, [ebx + 4]
call fcn.004097a0
cmp dword [ebp - 0x814], 8
jb 0x40c698
push dword [ebp - 0x828]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
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.0043d084
mov esp, ebp
pop ebp
ret 0x10