Function at 0x419f88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x419f91
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.00404588
mov eax, dword [ebp - 8]
call fcn.00404588
xor eax, eax
push ebp
push 0x41a320
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x18]
call fcn.00404100
lea eax, [ebp - 0x14]
call fcn.00404100
lea eax, [ebp - 0x1c]
call fcn.00404100
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00407098
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404198
cmp byte [0x41ec0c], 0
je 0x41a00c
lea eax, [ebp - 4]
mov edx, dword [0x41ec10]
call fcn.00404198
push dword [ebp - 4]
push 0x41a338
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404460
mov eax, dword [ebp - 0x20]
call fcn.00406c6c
test al, al
je 0x41a078
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
call fcn.00411a5c
cmp bl, 2
jne 0x41a185
cmp dword [ebp - 0x18], 0
je 0x41a185
lea edx, [ebp - 0x2c]
mov al, 1
call fcn.0040edd0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.004043ec
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00411afc
jmp 0x41a185
cmp byte [0x41ec0c], 0
jne 0x41a185
call fcn.00417464
test al, al
je 0x41a185
mov eax, 0x1f4
call fcn.0040e408
cmp bl, 1
jne 0x41a0b0
mov edx, 0x41a344
mov eax, dword [0x41f958]
call fcn.00414fe8
cmp bl, 2
jne 0x41a0c4
mov edx, 0x41a368
mov eax, dword [0x41f958]
call fcn.00414fe8
push dword [ebp - 4]
push 0x41a38c
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404460
lea eax, [ebp - 0x1c]
call fcn.00404100
xor eax, eax
call fcn.00417480
cmp bl, 2
jne 0x41a102
call fcn.00416674
test al, al
je 0x41a102
cmp dword [0x41ec1c], 1
jne 0x41a106
xor eax, eax
jmp 0x41a108
mov al, 1
mov byte [ebp - 0x21], al
cmp bl, 2
jne 0x41a128
lea edx, [ebp - 0x30]
mov al, 1
call fcn.0040edd0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.004043ec
cmp byte [ebp - 0x21], 0
je 0x41a13b
push 5
mov eax, dword [0x41f950]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x41ec1c], 1
jne 0x41a14c
mov esi, dword [0x41f950]
jmp 0x41a14e
xor esi, esi
lea eax, [ebp - 0x18]
push eax
push 0x418df4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.004175c8
cmp byte [ebp - 0x21], 0
je 0x41a17b
push 0
mov eax, dword [0x41f950]
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x1f4
call fcn.0040e408
cmp bl, 1
jne 0x41a1bf
cmp dword [ebp - 0x14], 0
jne 0x41a1bf
cmp dword [ebp - 0x18], 0
je 0x41a1bf
lea edx, [ebp - 0x34]
mov al, 1
call fcn.0040edd0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
call fcn.004043ec
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00411afc
mov byte [ebp - 9], 1
cmp bl, 2
jne 0x41a2eb
cmp dword [ebp - 0x14], 0
jne 0x41a220
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x410edc]
call fcn.004114cc
mov ebx, eax
mov eax, dword [0x41ecd0]
mov eax, dword [eax]
mov edx, ebx
call fcn.00419e08
test al, al
jne 0x41a219
mov byte [ebp - 9], 0
mov eax, dword [ebp - 0x1c]
call fcn.00406ed0
push 0x41a398
push 0
mov ecx, 0x41a3d0
mov edx, 0x41a3e4
xor eax, eax
call fcn.0040e6fc
mov eax, ebx
call fcn.0040376c
cmp dword [ebp - 0x14], 0
je 0x41a2eb
mov eax, dword [ebp - 0x20]
call fcn.004043a0
cmp eax, 2
jle 0x41a2eb
call fcn.00416674
test al, al
je 0x41a2eb
call fcn.00417488
test al, al
je 0x41a265
lea ecx, [ebp - 0x10]
mov edx, 0x41a400
mov eax, 0x41a420
call fcn.00415e50
jmp 0x41a2c4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x3a
jne 0x41a29a
push dword [ebp - 0x20]
push 0x41a42c
lea ecx, [ebp - 0x38]
mov edx, 0x41a43c
mov eax, 0x41a454
call fcn.00415e50
push dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404460
jmp 0x41a2c4
push dword [ebp - 0x20]
push 0x41a42c
lea ecx, [ebp - 0x3c]
mov edx, 0x41a460
mov eax, 0x41a484
call fcn.00415e50
push dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404460
lea eax, [ebp - 0x40]
call fcn.00415bbc
mov eax, dword [ebp - 0x40]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0x44]
call fcn.00415d5c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040e6fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a327
lea eax, [ebp - 0x44]
mov edx, 8
call fcn.00404124
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00404124
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404124
ret