Function at 0x401112
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x60], 0x523fd
cmp dword [ebp - 0x60], 0
je 0x40120a
mov dword [ebp - 0x2c], 0x17b4c
mov dword [ebp - 0x6c], 0x10
push dword [sym.imp.kernel32.dll_GetProcAddress]
pop eax
mov dword [ebp - 0x28], eax
jmp 0x401218
mov byte [0x405a1c], 0
mov byte [0x450030], 0
mov dword [ebp - 0xc], 0x400000
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x60]
sub eax, 0x51342
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x54], 0x58292
pop eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x54]
add edx, 0x3a52
mov dword [ebp - 0x54], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x17b12
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0xd2ace6c0
push dword [ebp - 8]
pop dword [ebp - 0x30]
mov dword [ebp - 0x20], 0x3ff677b1
mov ecx, dword [ebp - 0x30]
add ecx, 0x17b2
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x60]
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 ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004010c4
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 3
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x3c], eax
push 4
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004010c4
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x24]
add ecx, 7
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
push 1
push 0
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x38]
imul edx, edx, 3
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004010c4
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x60]
jae 0x4013e7
push 1
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004010c4
add esp, 0xc
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x84], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x74]
mov al, byte [edx]
mov byte [ebp - 0x84], al
mov cl, byte [ebp - 0x84]
sub cl, byte [ebp - 0x40]
mov byte [ebp - 0x84], cl
push 1
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x74]
push eax
call fcn.004010c4
add esp, 0xc
cmp dword [ebp - 0x78], 4
je 0x4013d2
mov ecx, dword [ebp - 0x78]
add ecx, 2
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
sub edx, 1
mov dword [ebp - 0x78], edx
jmp 0x4013d9
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
jmp 0x401342
push dword [ebp - 0x28]
push dword [ebp - 0x7c]
push 0
call dword [sym.imp.user32.dll_SetActiveWindow]
or eax, eax
jne 0x401400
mov edx, dword [ebp - 0x70]
push edx
pop eax
call eax
sub eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret