Function at 0x514b80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a318f
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x6340c4]
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 edi, ecx
mov dword [ebp - 0xf0], edi
push 0
push 0
push 0x31
push dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0xf8], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
add eax, 0x3c
mov ecx, dword [ebp - 0x30]
push 0
mov dword [ebp - 0x24], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x514c41
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add eax, 0x3c
mov ecx, dword [ebp - 0x20]
add edx, 0x3c
push 1
mov dword [ebp - 0x14], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x1c], edx
push eax
push edx
push ecx
push dword [edi + 0xec]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x514c9d
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add eax, 0x3c
mov ecx, dword [ebp - 0x20]
add edx, 0x3c
push 1
mov dword [ebp - 0x14], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x1c], edx
push eax
push edx
push ecx
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_MoveWindow]
push 4
call fcn.004c59e9
mov ebx, eax
add esp, 4
mov dword [ebp - 0xf4], ebx
mov dword [ebx], 0
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
push 0
mov dword [edi + 0xf4], ebx
sub edx, 0x2a
push dword [0x67efd4]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 0x42]
push 0x4d5
mov dword [ebp - 0x18], eax
sub edi, 0x28
lea eax, [ecx - 0x5a]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0xf0]
sub edx, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0x18
push dword [ecx + 4]
push edx
push eax
push edi
push 0x18
push 0x50010080
push 0x5d90f0
push str.EDIT
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xf0]
push 1
push esi
push 0x30
mov eax, dword [ebx + 0xf4]
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xf4]
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0xf4]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebx + 0xf4]
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebx + 0x80]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebx + 0x168], 2
jne 0x514e40
lea ecx, [ebp - 0xec]
call fcn.00474e10
mov eax, ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x160]
push eax
lea eax, [ebx + 0x16c]
push eax
call fcn.00532fe0
test eax, eax
jne 0x514e31
mov ebx, dword [ebx + 0xf4]
lea edi, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push 0xffffffffffffffff
cmovae edi, dword [ebp - 0x88]
push 0xffffffffffffffff
push 0xb1
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb7
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0xc2
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0
call fcn.00474e70
push 4
call fcn.004c59e9
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [eax], 0
mov dword [ebx + 0xfc], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xf0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x514e8a
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub edx, 0x2a
push 0
push dword [0x67efd4]
lea ecx, [eax - 0x3a]
mov dword [ebp - 0x14], edx
push 0x4d6
add eax, 0xffffffe4
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
sub ebx, 0x29
mov eax, dword [ebp - 0xf0]
sub edx, ebx
mov dword [ebp - 0x1c], ebx
push dword [eax + 4]
mov edi, dword [eax + 0xfc]
push edx
push 0x1e
push ebx
push ecx
push 0x50010000
push 0x5e419c
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push 0
mov ebx, dword [eax + 0xfc]
mov eax, dword [eax + 0xf4]
mov edi, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 0xf0]
push 1
push esi
push 0x30
mov eax, dword [ebx + 0xfc]
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xfc]
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0xfc]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
call fcn.004c59e9
add esp, 4
mov dword [ebp - 0xf4], eax
mov dword [eax], 0
mov dword [ebx + 0xf8], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xf0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x514fa0
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
sub eax, dword [ebp - 0x30]
sub dword [ebp - 0x1c], 0x3e
sub eax, 0x1c
sub dword [ebp - 0x14], 0x41
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x18], eax
call fcn.005734f0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0xf8]
push 0x673568
mov dword [ebp - 0xf4], eax
call fcn.00443fb0
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov eax, dword [ebp - 0xf0]
sub edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub ecx, edx
push 0
push dword [0x67efd4]
push 0
push dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push edi
push ecx
push eax
push edx
push 0x50020000
push ebx
push str.STATIC
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0xf0]
push 1
push esi
mov dword [ecx], eax
mov eax, dword [ebx + 0xf8]
push 0x30
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xf8]
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0xf8]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x48]
mov byte [ebx + 0x18c], 1
call fcn.005734b0
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.004c59c5
mov esp, ebp
pop ebp
ret