Function at 0x41b7dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x41b7e5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040461c
mov eax, dword [ebp - 8]
call fcn.0040461c
xor eax, eax
push ebp
push 0x41bbbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x18]
call fcn.00404188
lea eax, [ebp - 0x14]
call fcn.00404188
lea eax, [ebp - 0x1c]
call fcn.00404188
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004072d8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404220
cmp byte [0x420c1c], 0
je 0x41b860
lea eax, [ebp - 4]
mov edx, dword [0x420c20]
call fcn.00404220
push dword [ebp - 4]
push 0x41bbd8
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x20]
call fcn.00406ec8
test al, al
je 0x41b8d1
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00412174
cmp bl, 2
jne 0x41b9de
cmp dword [ebp - 0x18], 0
je 0x41b9de
lea edx, [ebp - 0x2c]
mov al, 1
call fcn.0040c290
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00412250
jmp 0x41b9de
cmp byte [0x420c1c], 0
jne 0x41b9de
call fcn.00418a7c
test al, al
je 0x41b9de
mov eax, 0x1f4
call fcn.0040b958
cmp bl, 1
jne 0x41b909
mov edx, 0x41bbe4
mov eax, dword [0x4218c4]
call fcn.004165ec
cmp bl, 2
jne 0x41b91d
mov edx, 0x41bc08
mov eax, dword [0x4218c4]
call fcn.004165ec
push dword [ebp - 4]
push 0x41bc2c
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x1c]
call fcn.00404188
xor eax, eax
call fcn.00418a98
cmp bl, 2
jne 0x41b95b
call fcn.00417c88
test al, al
je 0x41b95b
cmp dword [0x420c2c], 1
jne 0x41b95f
xor eax, eax
jmp 0x41b961
mov al, 1
mov byte [ebp - 0x21], al
cmp bl, 2
jne 0x41b981
lea edx, [ebp - 0x30]
mov al, 1
call fcn.0040c290
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
cmp byte [ebp - 0x21], 0
je 0x41b994
push 5
mov eax, dword [0x4218bc]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x420c2c], 1
jne 0x41b9a5
mov esi, dword [0x4218bc]
jmp 0x41b9a7
xor esi, esi
lea eax, [ebp - 0x18]
push eax
push 0x41a40c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.00418be0
cmp byte [ebp - 0x21], 0
je 0x41b9d4
push 0
mov eax, dword [0x4218bc]
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x1f4
call fcn.0040b958
cmp bl, 1
jne 0x41ba37
cmp dword [ebp - 0x14], 0
jne 0x41ba02
cmp dword [ebp - 0x18], 0
je 0x41ba02
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.0041ae90
cmp dword [ebp - 0x14], 0
jne 0x41ba37
cmp dword [ebp - 0x18], 0
je 0x41ba37
lea edx, [ebp - 0x34]
mov al, 1
call fcn.0040c290
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00412250
mov byte [ebp - 9], 1
cmp bl, 2
jne 0x41bb88
cmp dword [ebp - 0x14], 0
jne 0x41babd
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x411578]
call fcn.00411b68
mov ebx, eax
mov eax, dword [0x420ce4]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041b65c
test al, al
jne 0x41bab6
mov byte [ebp - 9], 0
push 0x41bc38
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0041ae90
mov eax, dword [ebp - 0x1c]
call fcn.00407130
lea eax, [ebp - 0x38]
call fcn.004171c0
mov eax, dword [ebp - 0x38]
push eax
call fcn.004173dc
push eax
lea eax, [ebp - 0x3c]
call fcn.00417270
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040bbcc
mov eax, ebx
call fcn.004037f4
cmp dword [ebp - 0x14], 0
je 0x41bb88
mov eax, dword [ebp - 0x20]
call fcn.0040442c
cmp eax, 2
jle 0x41bb88
call fcn.00417c88
test al, al
je 0x41bb88
call fcn.00418aa0
test al, al
je 0x41bb02
lea ecx, [ebp - 0x10]
mov edx, 0x41bc54
mov eax, 0x41bc74
call fcn.00417454
jmp 0x41bb61
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x3a
jne 0x41bb37
push dword [ebp - 0x20]
push 0x41bc80
lea ecx, [ebp - 0x40]
mov edx, 0x41bc90
mov eax, 0x41bca8
call fcn.00417454
push dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
jmp 0x41bb61
push dword [ebp - 0x20]
push 0x41bc80
lea ecx, [ebp - 0x44]
mov edx, 0x41bcb4
mov eax, 0x41bcd8
call fcn.00417454
push dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x48]
call fcn.004171c0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004173dc
push eax
lea eax, [ebp - 0x4c]
call fcn.00417360
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040bc4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bbc4
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.004041ac
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041ac
ret