Function at 0x1001a460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10045689
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x48]
push eax
call fcn.1001bf40
test al, al
je 0x1001a91e
lea edi, [ebx + 0x4d0]
xor esi, esi
cmp edi, esi
je 0x1001a4d9
mov eax, dword [edi]
cmp eax, esi
je 0x1001a4d9
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi]
cmp edi, esi
je 0x1001a4d9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [ebx + 0x4cc]
test cl, cl
jne 0x1001a9bd
mov ecx, dword [ebx + 0x48]
lea edx, [esp + 0x14]
add ecx, 0x38
push edx
call fcn.1001ae60
mov dword [esp + 0x1a0], esi
cmp byte [ebx + 0x4d4], 0
je 0x1001a61a
lea edi, [esp + 0x14c]
call fcn.1001e1b0
mov byte [esp + 0x1a0], 1
mov eax, dword [ebx + 0x554]
cmp eax, esi
je 0x1001a530
mov esi, eax
call fcn.10021f10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x150]
call fcn.1001f820
push 0x2a1
lea esi, [esp + 0x64]
mov ecx, ebx
call fcn.10019220
mov ecx, 8
cmp dword [ebx + 0x490], ecx
jb 0x1001a566
mov edi, dword [ebx + 0x47c]
jmp 0x1001a56c
lea edi, [ebx + 0x47c]
cmp dword [esp + 0x78], ecx
mov eax, dword [esp + 0x64]
jae 0x1001a57a
lea eax, [esp + 0x64]
cmp dword [ebx + 0x444], 0
je 0x1001a5dc
mov esi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push eax
lea ecx, [ebx + 0x1a8]
push pe_nt_image_headers32
push ecx
mov dword [ebx + 0x94], 0x10
call esi
add esp, 0xc
push edi
lea edx, [ebx + 0x3ac]
push 0x40
push edx
call esi
add esp, 0xc
mov dword [ebx + 0x3a8], 5
mov dword [ebx + 0x42c], 1
add ebx, 0x88
push ebx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, 8
cmp dword [esp + 0x78], ecx
jb 0x1001a5ef
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov byte [esp + 0x1a0], al
call fcn.1001e2d0
jmp 0x1001a8f9
mov ecx, dword [ebx + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x448], esi
jne 0x1001a637
lea esi, [ebx + 0x64]
call fcn.1003b1a0
xor esi, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xb4], vtable.RC::RCAskInstallDlg.0
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], esi
mov word [esp + 0xd8], si
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf0], esi
mov byte [esp + 0x1a0], 2
cmp dword [ebx + 0x4ac], 8
jb 0x1001a6a6
mov edi, dword [ebx + 0x498]
jmp 0x1001a6ac
lea edi, [ebx + 0x498]
push 0x2a6
lea esi, [esp + 0x80]
call fcn.1003bd20
add esp, 4
push 0xffffffffffffffff
push 0
mov eax, esi
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1a8], 3
call fcn.100020a0
mov edx, dword [ebx + 4]
push edx
lea edi, [esp + 0xb8]
call fcn.1001ade0
cmp eax, 1
jne 0x1001a8b0
mov eax, dword [ebx + 0x4c]
add eax, 4
push eax
lea esi, [esp + 0x178]
call fcn.10001f00
lea edi, [esp + 0x124]
mov byte [esp + 0x1a0], 4
call fcn.1001e1b0
mov byte [esp + 0x1a0], 5
mov esi, dword [ebx + 0x554]
test esi, esi
je 0x1001a731
call fcn.10021f10
cmp byte [esp + 0xfc], 0
je 0x1001a751
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x128]
call fcn.1001f820
jmp 0x1001a889
mov ecx, dword [ebx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0x4d4], 0
je 0x1001a829
cmp dword [ebx + 0x448], 0
je 0x1001a77b
lea esi, [ebx + 0x64]
call fcn.1003b1e0
push 0x2a2
lea esi, [esp + 0x10c]
mov ecx, ebx
call fcn.10019220
mov eax, 8
cmp dword [ebx + 0x490], eax
jb 0x1001a7a3
mov edi, dword [ebx + 0x47c]
jmp 0x1001a7a9
lea edi, [ebx + 0x47c]
cmp dword [esp + 0x120], eax
mov eax, dword [esp + 0x10c]
jae 0x1001a7c0
lea eax, [esp + 0x10c]
cmp dword [ebx + 0x444], 0
je 0x1001a81d
mov esi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push eax
lea edx, [ebx + 0x1a8]
push pe_nt_image_headers32
push edx
mov dword [ebx + 0x94], 0x10
call esi
add esp, 0xc
push edi
lea eax, [ebx + 0x3ac]
push 0x40
push eax
call esi
add esp, 0xc
lea ecx, [ebx + 0x88]
push ecx
push 1
mov dword [ebx + 0x3a8], 5
mov dword [ebx + 0x42c], 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea ecx, [esp + 0x108]
call fcn.10001f30
push 0x2a3
lea esi, [esp + 0x48]
mov ecx, ebx
call fcn.10019220
mov edx, eax
mov eax, 0x3ec
mov ecx, ebx
call fcn.100193a0
mov ecx, esi
call fcn.10001f30
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x128]
push eax
call fcn.1001f620
test al, al
je 0x1001a889
push 0x2a4
lea esi, [esp + 0x2c]
mov ecx, ebx
call fcn.10019220
mov edx, eax
mov eax, 0x3ec
mov ecx, ebx
call fcn.100193a0
mov ecx, esi
call fcn.10001f30
mov byte [ebx + 0x4cc], 1
lea ecx, [esp + 0x124]
mov byte [esp + 0x1a0], 4
call fcn.1001e2d0
lea ecx, [esp + 0x174]
call fcn.10001f30
cmp dword [esp + 0x94], 8
jb 0x1001a8ca
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov byte [esp + 0x1a0], al
lea eax, [esp + 0xb4]
mov dword [esp + 0x94], 7
call fcn.10004bf0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1001a9bd
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
mov eax, esi
call fcn.1000ad20
add esp, 4
push esi
jmp 0x1001a9b5
mov al, byte [ebx + 0x4cc]
test al, al
jne 0x1001a9bd
cmp byte [ebx + 0x4d4], al
jne 0x1001a9bd
cmp dword [ebx + 0x4c8], 8
jb 0x1001a949
mov edi, dword [ebx + 0x4b4]
jmp 0x1001a94f
lea edi, [ebx + 0x4b4]
push 0x2a7
lea esi, [esp + 0x9c]
call fcn.1003bd20
mov ecx, 8
add esp, 4
cmp dword [ebx + 0x490], ecx
jb 0x1001a978
mov eax, dword [ebx + 0x47c]
jmp 0x1001a97e
lea eax, [ebx + 0x47c]
cmp dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x9c]
jae 0x1001a995
lea ecx, [esp + 0x9c]
push 5
push eax
lea eax, [ebx + 0x64]
push ecx
xor ebx, ebx
call fcn.1003b3b0
cmp dword [esp + 0xb0], 8
jb 0x1001a9bd
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.1003ec9d
mov esp, ebp
pop ebp
ret