Function at 0x41d5b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x41d5b9
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 0x41d9cd
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.004072e0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404220
cmp byte [0x422c60], 0
je 0x41d634
lea eax, [ebp - 4]
mov edx, dword [0x422c64]
call fcn.00404220
push dword [ebp - 4]
push 0x41d9e8
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004044ec
mov eax, dword [ebp - 0x20]
call fcn.00406ed0
test al, al
je 0x41d6a9
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00412dd0
cmp bl, 2
jne 0x41d7e8
cmp dword [ebp - 0x18], 0
je 0x41d7e8
lea edx, [ebp - 0x2c]
mov al, 1
call fcn.0040d8b8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00412eac
jmp 0x41d7e8
cmp byte [0x422c60], 0
jne 0x41d7e8
call fcn.0041a0d4
test al, al
je 0x41d7e8
mov eax, 0x1f4
call fcn.0040ce78
cmp bl, 1
jne 0x41d6fa
lea ecx, [ebp - 0x30]
mov edx, 0x41d9f4
mov eax, 0x41da18
call fcn.00418aac
mov eax, dword [ebp - 0x30]
push eax
call fcn.00418a34
mov ecx, eax
mov eax, dword [0x4238c8]
pop edx
call fcn.00417bfc
cmp bl, 2
jne 0x41d727
lea ecx, [ebp - 0x34]
mov edx, 0x41da24
mov eax, 0x41da48
call fcn.00418aac
mov eax, dword [ebp - 0x34]
push eax
call fcn.00418a34
mov ecx, eax
mov eax, dword [0x4238c8]
pop edx
call fcn.00417bfc
push dword [ebp - 4]
push 0x41da54
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.0041a0f0
cmp bl, 2
jne 0x41d765
call fcn.004192e0
test al, al
je 0x41d765
cmp dword [0x422c70], 1
jne 0x41d769
xor eax, eax
jmp 0x41d76b
mov al, 1
mov byte [ebp - 0x21], al
cmp bl, 2
jne 0x41d78b
lea edx, [ebp - 0x38]
mov al, 1
call fcn.0040d8b8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
cmp byte [ebp - 0x21], 0
je 0x41d79e
push 5
mov eax, dword [0x4238c0]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x422c70], 1
jne 0x41d7af
mov esi, dword [0x4238c0]
jmp 0x41d7b1
xor esi, esi
lea eax, [ebp - 0x18]
push eax
push 0x41bd00
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0041a440
cmp byte [ebp - 0x21], 0
je 0x41d7de
push 0
mov eax, dword [0x4238c0]
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x1f4
call fcn.0040ce78
cmp bl, 1
jne 0x41d845
cmp dword [ebp - 0x14], 0
jne 0x41d80c
cmp dword [ebp - 0x18], 0
je 0x41d80c
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.0041cb7c
cmp dword [ebp - 0x14], 0
jne 0x41d845
cmp dword [ebp - 0x18], 0
je 0x41d845
lea edx, [ebp - 0x3c]
mov al, 1
call fcn.0040d8b8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.00404478
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00412eac
mov byte [ebp - 9], 1
cmp bl, 2
jne 0x41d998
cmp dword [ebp - 0x14], 0
jne 0x41d8cb
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x411e1c]
call fcn.004124e4
mov ebx, eax
mov eax, dword [0x422d28]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041d430
test al, al
jne 0x41d8c4
mov byte [ebp - 9], 0
push 0x41da60
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0041cb7c
mov eax, dword [ebp - 0x1c]
call fcn.00407138
lea eax, [ebp - 0x40]
call fcn.00418818
mov eax, dword [ebp - 0x40]
push eax
call fcn.00418a34
push eax
lea eax, [ebp - 0x44]
call fcn.004188c8
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040d0e0
mov eax, ebx
call fcn.004037f4
cmp dword [ebp - 0x14], 0
je 0x41d998
mov eax, dword [ebp - 0x20]
call fcn.0040442c
cmp eax, 2
jle 0x41d998
call fcn.004192e0
test al, al
je 0x41d998
call fcn.0041a0f8
test al, al
je 0x41d910
lea ecx, [ebp - 0x10]
mov edx, 0x41da7c
mov eax, 0x41da9c
call fcn.00418aac
jmp 0x41d96f
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x3a
jne 0x41d945
push dword [ebp - 0x20]
push 0x41daa8
lea ecx, [ebp - 0x48]
mov edx, 0x41dab8
mov eax, 0x41dad0
call fcn.00418aac
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
jmp 0x41d96f
push dword [ebp - 0x20]
push 0x41daa8
lea ecx, [ebp - 0x4c]
mov edx, 0x41dadc
mov eax, 0x41db00
call fcn.00418aac
push dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
lea eax, [ebp - 0x50]
call fcn.00418818
mov eax, dword [ebp - 0x50]
push eax
call fcn.00418a34
push eax
push 0
lea eax, [ebp - 0x54]
call fcn.004189b8
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040d164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d9d4
lea eax, [ebp - 0x54]
mov edx, 0xc
call fcn.004041ac
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004041ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041ac
ret