Function at 0x1004e4f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e338
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.1004eb50
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1004e71d
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
call fcn.1004eb50
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
mov ecx, 0xffffffe2
sub ecx, eax
add dword [ebp - 0x20], ecx
jns 0x1004e569
mov eax, dword [ebp - 0x18]
add eax, 0x1e
mov dword [ebp - 0x20], eax
call fcn.1004eb50
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x14]
call eax
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.1004eb50
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
call eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.1004eb50
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.1002be00
push str.LICENCE
push 0xfb
push dword [0x101ded4c]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.1002c1d0
test eax, eax
jne 0x1004e5e4
push eax
push 0x10186a64
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.10012940
jmp 0x1004e67d
lea ecx, [ebp - 0x60]
call fcn.1002bfc0
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.1002bfb0
push esi
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.100316c0
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push 0xfde9
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
call fcn.100affb0
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1004e66b
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e661
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e7cb
push edx
push ecx
call fcn.100acb1e
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x60]
call fcn.1002be20
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
mov dword [ebp - 4], 2
call dword [eax + 0x10]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.100109e0
call fcn.1004eb50
push dword [ebp - 0x54]
mov esi, eax
lea ecx, [esi + 0x20]
push ecx
push 0x101d74c8
push 0x101d60d4
push 0x101df7b0
call fcn.10025060
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x54], edi
test eax, eax
jne 0x1004e738
call fcn.10089f42
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1004e738
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1004eb50
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004e71d
push 0
call fcn.1004eb50
lea ecx, [eax + 4]
call fcn.1004e0d0
call fcn.1004eb50
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
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.100acb08
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.1008a044
test di, di
je 0x1004e6ec
lea edi, [esi + 8]
test edi, edi
je 0x1004e7bf
test esi, esi
je 0x1004e7bf
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x101d60d8
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101d60f0]
mov dword [edi + 8], eax
push 0x101d60d8
mov dword [0x101d60f0], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0
push dword [0x101df7b4]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x54]
push edx
push ecx
push SysReAllocString
push 0
movzx eax, ax
push eax
push 0x80080
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x1004e6ec
push 1
push 0xc0000005
call fcn.10026250
call fcn.1012fb57
int3