Function at 0x456560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542810
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4565a4
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
push 0x3f0
push dword [edi + 4]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, edi
mov dword [edi + 0x44], eax
call fcn.00455b10
mov dword [edi + 0x48], eax
lea eax, [ebp - 0x44]
push eax
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x50]
inc dword [ebp - 0x44]
add dword [ebp - 0x40], eax
sub dword [ebp - 0x3c], 3
sub dword [ebp - 0x38], 2
push 0
push dword [edi + 4]
call fcn.00455ca0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4569bc
mov eax, dword [ebp - 0x64]
mov edi, dword [edi + 4]
add eax, 0x458
mov dword [ebp - 0x60], eax
add eax, 0x20
push dword [ebp - 0x60]
push eax
push 0x587f98
push 0x593dd4
push 0x594af8
call fcn.00411840
mov ecx, dword [ebp - 0x60]
add esp, 0x14
movzx eax, ax
push 0
push eax
push 0
push 0
push 0x56000000
push 0
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.004d6f00
mov edi, dword [ebp - 0x64]
push dword [edi + 0x45c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4569bc
lea ecx, [edi + 0x458]
call fcn.00461d90
push 0
push dword [edi + 4]
lea ecx, [edi + 0x7f0]
call fcn.00455bf0
push dword [edi + 0x7f4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4569bc
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x7f4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x45c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xbe0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x66
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0xca
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 0x6d
test eax, eax
je 0x45672d
push eax
call fcn.00524eae
add esp, 4
mov dword [edi + 0xbe0], 0
mov dword [edi + 0xbe4], 0
mov esi, 3
mov dword [edi + 0xbe8], 0
mov dword [ebp - 0x60], 0
nop dword [eax]
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0xbe0]
call fcn.004c59c0
sub esi, 1
jne 0x456750
mov esi, dword [ebp - 0x6c]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], 3
push 0
push dword [edi - 4]
call fcn.00404930
add esp, 8
test eax, eax
je 0x456794
push dword [edi - 4]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00405150
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
push 0
push 0
push 0x1304
push dword [eax + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 1
push ecx
push eax
mov eax, dword [ebp - 0x64]
xorps xmm0, xmm0
push 0x1307
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], esi
push dword [eax + 0x44]
movq qword [ebp - 0x74], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi - 8]
test ecx, ecx
js 0x456801
mov eax, dword [ebp - 0x64]
cmp ecx, dword [eax + 0xbe4]
jge 0x456801
mov eax, dword [eax + 0xbe0]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x456801
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [ebp - 0x68]
add edi, 0xc
sub dword [ebp - 0x60], 1
mov dword [ebp - 0x68], edi
jne 0x456774
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x64]
test eax, eax
js 0x45683f
cmp eax, dword [edi + 0xbe4]
jge 0x45683f
push 0
push eax
jmp 0x456843
push 0
push 0
push 0x130c
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
js 0x4569ab
cmp eax, dword [edi + 0xbe4]
jge 0x4569ab
mov ecx, dword [edi + 0xbe0]
push 5
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x130b
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
js 0x4569ab
cmp eax, dword [edi + 0xbe4]
jge 0x4569ab
mov ecx, dword [edi + 0xbe0]
push 1
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x130b
push dword [edi + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
js 0x4569ab
cmp eax, dword [edi + 0xbe4]
jge 0x4569ab
mov ecx, dword [edi + 0xbe0]
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x2040000
push 1
push 1
lea ecx, [edi + 0x24]
call fcn.00455d40
push 0
mov ecx, edi
call fcn.00456120
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [edi + 4]
call fcn.00404590
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x60], eax
mov eax, dword [0x593dcc]
add eax, 0x10
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x59412c]
xor ecx, ecx
mov edx, dword [eax + 8]
test edx, edx
jle 0x456962
mov eax, dword [eax]
nop dword [eax + eax]
mov esi, dword [ebp - 0x60]
cmp dword [eax], esi
mov esi, dword [ebp - 0x6c]
je 0x45698e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x456950
mov dword [ebp - 0x60], 0
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x60]
lea eax, [edi + 0x20]
mov dword [ebp - 0x68], eax
add ecx, 4
lea eax, [ebp - 0x68]
push eax
call fcn.004c59c0
mov edi, 1
jmp 0x4569bf
cmp ecx, 0xffffffff
je 0x456962
test ecx, ecx
js 0x4569ab
cmp ecx, edx
jge 0x4569ab
mov eax, dword [0x59412c]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x60], eax
jmp 0x456969
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4569de
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10