Function at 0x41e010
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fa40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4871a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x490134]
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [eax - 8], esi
jne 0x41e0a1
mov ecx, str.IDS_PRODUCT_NAME
lea edi, [esp + 0x14]
call fcn.00404d20
mov edi, eax
mov eax, 0x490134
mov dword [esp + 0x28], esi
call fcn.0040dec0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e0a1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e0a1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov eax, dword [ebx + 0x11c]
cmp eax, 0x5002
jne 0x41e0ba
mov esi, ebx
call fcn.0041dbc0
jmp 0x41e2a0
cmp eax, 0x5000
jne 0x41e31d
mov ecx, str.IDS_PRODUCT_NAME
lea edi, [esp + 0x14]
call fcn.00404d20
mov dword [esp + 0x28], 1
mov edx, dword [eax]
push edx
lea eax, [ebx + 0x120]
push 0x93
push eax
call fcn.0041f0e0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
add esp, 0xc
cmp ecx, 0x48b9c0
je 0x41e127
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e127
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov edx, dword [ebx + 0x314]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [ebx + 0x314]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x314]
push 1
push 0x12
push 0xd7
push 0xb4
push 0xda
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
call fcn.00425f40
test eax, eax
jne 0x41e1c4
mov edx, dword [ebx + 0x3e0]
push 5
push edx
call edi
mov eax, dword [ebx + 0x3e0]
push 0
push 1
push 0xf1
push eax
call esi
mov ecx, dword [ebx + 0x3e0]
push 1
push 0x12
push 0x14f
push 0xc8
push 0xda
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebx + 0x5c4], 1
jmp 0x41e279
call fcn.00425b30
test eax, eax
jne 0x41e241
push 0xb3
lea eax, [esp + 0x18]
call fcn.0041f0c0
mov eax, dword [eax]
add esp, 4
lea esi, [ebx + 0x3a0]
call fcn.0041a6e0
lea esi, [esp + 0x14]
call fcn.0040e0c0
mov edx, dword [ebx + 0x3e0]
push 5
push edx
call edi
mov eax, dword [ebx + 0x3e0]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x3e0]
push 1
push 0x12
push 0x14f
push 0xc8
push 0xda
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebx + 0x5c4], 0xb3
jmp 0x41e279
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x5c4], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41e279
mov dword [esp + 0x18], 1
call fcn.0041d1b0
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov eax, dword [ebx + 0x4ac]
push 1
push 0x2a
push 0x86
push 0xe6
push 0xec
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esp + 0x18], 0
jne 0x41e30a
mov edx, dword [0x48b9d0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 7
cmp dword [ebx + 0x11c], 0x5000
lea edx, [esp + 0x14]
mov ecx, 0xa1
je 0x41e2cc
mov ecx, 0xa0
call fcn.0040d380
mov ebx, dword [ebx + 0x7c]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x3c]
push 0x1d4c0
push esi
push 1
push ebx
call ecx
lea edx, [esi - 0xc]
cmp edx, 0x48b9c0
je 0x41e30a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e30a
push esi
call fcn.004501ef
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x5001
jne 0x41e4cc
mov ecx, str.IDS_ERROR_DOWNFAIL_PROMPT
lea edi, [esp + 0x14]
call fcn.00404d20
lea esi, [ebx + 0x124]
mov edi, eax
mov eax, esi
mov dword [esp + 0x28], 2
call fcn.0040dec0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e382
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e382
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov edi, dword [esi]
lea esi, [ebx + 0xac]
push esi
call fcn.0041b550
call fcn.0041b590
mov edx, dword [ebx + 0xec]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, str.IDS_DOWNLOAD_ERR
lea edi, [esp + 0x14]
call fcn.00404d20
lea esi, [ebx + 0x5c8]
mov edi, eax
mov eax, esi
mov dword [esp + 0x28], 3
call fcn.0040dec0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e3fe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e3fe
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov edi, dword [esi]
lea esi, [ebx + 0x5cc]
push esi
call fcn.0041b550
mov edx, 1
mov eax, esi
call fcn.00414570
call fcn.0041b590
mov edx, dword [ebx + 0x60c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x4ac]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x1e
push 0x8a
push 0xb4
push 0x77
push eax
call esi
mov ecx, dword [ebx + 0x60c]
push 1
push 0x14
push 0xe4
push 0x3c
push 0x6e
push ecx
call esi
mov edx, dword [ebx + 0xec]
push 1
push 0x1e
push 0xe4
push 0x55
push 0x6e
push edx
call esi
mov ecx, str.IDS_BUTTON_REDOWN
lea edi, [esp + 0x14]
call fcn.00404d20
mov eax, dword [eax]
lea esi, [ebx + 0x46c]
call fcn.0041a6e0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e2a0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e2a0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
jmp 0x41e2a0
mov ecx, str.IDS_PRODUCT_NAME
lea edi, [esp + 0x18]
call fcn.00404d20
mov esi, eax
mov ecx, str.IDS_ERROR_INSTFAIL
lea edi, [esp + 0x14]
mov dword [esp + 0x28], 4
call fcn.00404d20
mov byte [esp + 0x28], 5
mov edx, dword [esi]
mov eax, dword [eax]
push edx
lea edi, [ebx + 0x120]
push eax
mov edx, edi
call fcn.0040ddc0
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
add esp, 8
cmp ecx, 0x48b9c0
je 0x41e53a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e53a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x41e56f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e56f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov edi, dword [edi]
lea esi, [ebx + 0xac]
push esi
call fcn.0041b550
call fcn.0041b590
mov eax, dword [ebx + 0xec]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, str.IDS_INSTALL_ERR
lea edi, [esp + 0x18]
call fcn.00404d20
lea esi, [ebx + 0x5c8]
mov edi, eax
mov eax, esi
mov dword [esp + 0x28], 6
call fcn.0040dec0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e5eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e5eb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov edi, dword [esi]
lea esi, [ebx + 0x5cc]
push esi
call fcn.0041b550
mov edx, 1
mov eax, esi
call fcn.00414570
call fcn.0041b590
mov edx, dword [ebx + 0x60c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x4ac]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x1e
push 0x8a
push 0xb4
push 0x77
push eax
call esi
mov ecx, dword [ebx + 0x60c]
push 1
push 0x14
push 0xe4
push 0x3c
push 0x6e
push ecx
call esi
mov edx, dword [ebx + 0xec]
push 1
push 0x1e
push 0xe4
push 0x55
push 0x6e
push edx
call esi
mov ecx, str.IDS_BUTTON_REDOWN
lea edi, [esp + 0x18]
call fcn.00404d20
mov eax, dword [eax]
lea esi, [ebx + 0x46c]
call fcn.0041a6e0
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x41e2a0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e2a0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
jmp 0x41e2a0