Function at 0x1004e2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013dc78
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1019bc84]
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.1004e950
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1004e51d
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.1004e950
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 0x1004e369
mov eax, dword [ebp - 0x18]
add eax, 0x1e
mov dword [ebp - 0x20], eax
call fcn.1004e950
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.1004e950
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.1004e950
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.1002ba90
push str.LICENCE
push 0xfb
push dword [0x101a11e0]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.1002be60
test eax, eax
jne 0x1004e3e4
push eax
push 0x101539d4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.100125f0
jmp 0x1004e47d
lea ecx, [ebp - 0x60]
call fcn.1002bc50
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.1002bc40
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.10031370
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.100a1260
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1004e46b
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e461
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e5cb
push edx
push ecx
call fcn.1009de6e
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x60]
call fcn.1002bab0
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.100106a0
call fcn.1004e950
push dword [ebp - 0x54]
mov esi, eax
lea ecx, [esi + 0x20]
push ecx
push 0x1019b4c8
push 0x1019a0d4
push 0x101a1c38
call fcn.10024d20
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x54], edi
test eax, eax
jne 0x1004e538
call fcn.1007b162
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1004e538
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1004e950
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004e51d
push 0
call fcn.1004e950
lea ecx, [eax + 4]
call fcn.1004ded0
call fcn.1004e950
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.1009de58
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call fcn.1007b264
test di, di
je 0x1004e4ec
lea edi, [esi + 8]
test edi, edi
je 0x1004e5bf
test esi, esi
je 0x1004e5bf
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x1019a0d8
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1019a0f0]
mov dword [edi + 8], eax
push 0x1019a0d8
mov dword [0x1019a0f0], 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 [0x101a1c3c]
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 0x1004e4ec
push 1
push 0xc0000005
call fcn.10025ef0
call fcn.100ffdb3
int3