Function at 0x401199
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x64], 0x523ea
cmp dword [ebp - 0x64], 0
je 0x4012a9
mov dword [ebp - 0x2c], 0x53945
mov dword [ebp - 0x70], 0x10
push dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop eax
mov dword [ebp - 0x28], eax
jmp 0x4012b7
mov byte [0x4150d8], 0
mov byte [0x40a110], 0
mov dword [ebp - 0xc], 0x400000
push dword [ebp - 0x90]
mov eax, dword [ebp - 0x64]
sub eax, 0x51342
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x58], 0xfffc6791
pop eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x58]
add edx, 0x98a13
mov dword [ebp - 0x58], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x5390b
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0xec7221a6
push dword [ebp - 8]
pop dword [ebp - 0x30]
mov dword [ebp - 0x20], 0x9f298d34
mov ecx, dword [ebp - 0x30]
add ecx, 0x4e71
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
push 4
lea edx, [ebp - 4]
lea ecx, [ebp - 0x48]
call fcn.00401531
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 3
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 4
mov dword [ebp - 0x3c], ecx
push 4
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
call fcn.00401531
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x24]
add eax, 7
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
push 1
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 3
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 4]
call fcn.00401531
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x44], 0
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x64]
jae 0x401458
push 1
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.00401531
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x78]
mov cl, byte [eax]
mov byte [ebp - 0x44], cl
mov dl, byte [ebp - 0x44]
add dl, byte [ebp - 0x40]
mov byte [ebp - 0x44], dl
push 1
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x78]
call fcn.00401531
cmp dword [ebp - 0x7c], 8
je 0x401440
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 8
jne 0x40144d
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
jmp 0x4013dc
push dword [ebp - 0x28]
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
jne 0x40146b
call dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov al, byte [0x4150d8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret