Function at 0x47672f
Capabilities:
Check for time delay via gettickcount
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov ecx, 0x4c3a3c
mov ebx, edx
call fcn.00403760
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, str.SetDllDirectoryA
mov ecx, 0x491fb0
mov dword [0x4c3ab8], eax
call fcn.00445bf9
test eax, eax
je 0x47676f
push 0x49013b
call eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [0x4c5384], eax
call fcn.0041e571
mov edx, str.execblk
mov ecx, 0x4c7298
call fcn.0041e478
call fcn.00489021
call fcn.0043faf7
call fcn.00445721
and dword [ebp - 0x28], 0
and dword [ebp - 0x18], 0
mov dword [0x4c592c], eax
mov dword [0x4c91fc], eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x24], fcn.0042974d
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x14], fcn.00419d87
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov ecx, eax
mov dword [0x4c6f00], eax
call fcn.00444451
call fcn.004460d0
mov eax, 0x4c76a8
cdq
push edx
push eax
mov ecx, 0x1000
call fcn.004534f1
call fcn.00453ea4
push 1
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
call fcn.0042cd8e
cmp ebx, 2
mov esi, dword [ebp + 8]
mov byte [ebp - 1], 0
jl 0x476829
lea edi, [esi + 4]
mov eax, dword [edi]
push str._ANSI
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476829
dec ebx
mov esi, edi
mov byte [ebp - 1], 1
mov cl, byte [ebp - 1]
call fcn.0046933c
cmp ebx, 3
jl 0x476872
mov eax, dword [esi + 4]
push str._AUTOMATION
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476872
push 0x75
pop eax
mov dword [0x4c91f4], 1
mov word [0x4ba8f0], ax
add esi, 8
mov edx, dword [esi]
push 0xd
mov ecx, 0x4ba900
call fcn.00411c98
dec ebx
dec ebx
jmp 0x476877
call fcn.004616f2
cmp ebx, 2
jl 0x476918
lea edi, [esi + 4]
mov eax, dword [edi]
push str._MINIMIZED
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4768a0
dec ebx
mov esi, edi
mov byte [0x4c9089], 1
cmp ebx, 2
jle 0x476918
mov eax, dword [esi + 4]
push str._AUTOUPDATE
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476918
cmp ebx, 3
mov edi, dword [esi + 8]
mov byte [ebp + 0xb], 1
mov dword [ebp - 8], 0x1a
jle 0x4768fd
mov eax, dword [esi + 0xc]
push str._NORUN
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4768ec
mov byte [ebp + 0xb], al
call fcn.0045725e
dec ebx
sub esi, 4
cmp ebx, 3
jle 0x4768fd
push dword [esi + 0xc]
call sub.MSVCRT.dll__wtoi
pop ecx
mov dword [ebp - 8], eax
push dword [ebp - 8]
mov dl, byte [ebp + 0xb]
mov ecx, edi
xor esi, esi
call fcn.004542bf
test al, al
je 0x476911
inc esi
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push dword [ebp - 0x10]
mov ecx, 0x4c71f8
call fcn.0044f662
mov dword [0x4c7200], 0x491b48
call fcn.00446115
call fcn.0048d4a2
cmp ebx, 2
mov byte [ebp - 8], 0
jl 0x4769a7
lea edi, [esi + 4]
mov eax, dword [edi]
push str._RECOVER
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x4769a7
and dword [ebp + 8], eax
mov dl, 1
lea ecx, [ebp + 8]
mov byte [ebp - 8], 1
mov byte [0x4c86ac], 1
call fcn.00474c87
mov ecx, eax
call fcn.004444fe
cmp ebx, 3
jne 0x4769a4
push 1
add esi, 8
mov eax, dword [esi]
push 0x4a4528
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x4769a4
mov edx, dword [ebp + 8]
mov ecx, dword [esi]
call fcn.00453b50
xor ebx, ebx
inc ebx
jmp 0x4769a7
dec ebx
mov esi, edi
call fcn.0042973e
lea ecx, [ebp - 0x38]
call fcn.004616b9
mov byte [ebp + 0xb], 0
mov byte [ebp - 3], 0
mov byte [ebp - 2], 0
call fcn.0045289f
call fcn.004163a8
call fcn.004719c6
mov ecx, 0x4c9100
call fcn.0043b312
push eax
call fcn.0043faf7
mov edi, 0x4c6cf8
add esp, 4
mov ecx, edi
call fcn.00469810
push edi
push str.Settings_path:___s__n
call fcn.0043faf7
add esp, 8
call fcn.0046a860
call fcn.00471f70
inc dword [0x4c9a84]
cmp dword [0x4c9984], 0x44362d6
je 0x476a59
push 0xa
pop ecx
xor eax, eax
mov edi, 0x4c99f0
rep stosd dword es:[edi], eax
push 0xa
pop ecx
mov edi, 0x4c99c8
rep stosd dword es:[edi], eax
call fcn.00471fda
xor eax, eax
push eax
push 0x3e8
push 2
push eax
push eax
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push eax
push str.Sent_WM_SETTINGCHANGE_return___u
call fcn.004891ee
pop ecx
pop ecx
xor edi, edi
cmp dword [0x4c9984], edi
jne 0x476a6d
mov dword [0x4c9354], 1
cmp byte [0x4c9313], 0
jne 0x476a8b
mov eax, dword [0x4c9354]
cmp eax, 1
je 0x476a85
cmp eax, 0xa
jne 0x476a8b
mov dword [0x4c9354], edi
mov dword [0x4b618c], edi
call fcn.00413569
mov eax, dword [0x4c9954]
mov dword [0x4c3a70], eax
mov eax, dword [0x4c9958]
mov dword [0x4c3a74], eax
mov eax, dword [0x4c995c]
mov dword [0x4c3a68], eax
mov eax, dword [0x4c9960]
mov dword [0x4c3a6c], eax
mov eax, dword [0x4c9524]
mov dword [0x4c3a60], eax
mov eax, dword [0x4c9528]
mov dword [0x4c3a64], eax
mov eax, dword [0x4c961c]
mov dword [0x4c3a58], eax
mov eax, dword [0x4c9620]
mov dword [0x4c3a5c], eax
mov eax, dword [0x4c9714]
mov dword [0x4c3a50], eax
mov eax, dword [0x4c9718]
mov dword [0x4c3a54], eax
mov eax, dword [0x4c980c]
mov dword [0x4c3a48], eax
mov eax, dword [0x4c9810]
xor edx, edx
xor cl, cl
mov dword [0x4c3a4c], eax
call fcn.00476553
lea ecx, [ebp - 0x20]
call fcn.0041c707
call fcn.00419721
call fcn.004622f9
call fcn.0042abc8
lea ecx, [ebp - 0x30]
call fcn.0042cd4b
cmp ebx, 2
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], edi
jl 0x476bab
mov eax, dword [esi + 4]
push str._UNINSTALL
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476bab
dec ebx
mov byte [ebp - 1], al
mov byte [ebp + 0xb], al
add esi, 8
cmp ebx, 2
jl 0x476b9b
mov eax, dword [esi]
push 0x4a5e14
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476b82
mov byte [ebp - 1], 1
dec ebx
add esi, 4
jmp 0x476b60
mov eax, dword [esi]
push str._REMSETTINGS
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476b9b
mov byte [ebp + 0xb], 1
jmp 0x476b7c
mov dl, byte [ebp + 0xb]
mov cl, byte [ebp - 1]
call fcn.004663a0
jmp 0x4772e5
cmp ebx, 1
jle 0x476f73
cmp ebx, 2
jl 0x476bde
lea edi, [esi + 4]
mov eax, dword [edi]
push str._BIGDUMP
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476bde
mov byte [0x4c744c], 1
dec ebx
mov esi, edi
jmp 0x476f48
cmp ebx, 3
jl 0x476c06
mov eax, dword [esi + 4]
push str._DIRECTORY
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476c06
add esi, 8
mov eax, dword [esi]
mov dword [0x4c91ec], eax
jmp 0x476f46
cmp ebx, 2
jl 0x476c46
lea edi, [esi + 4]
mov eax, dword [edi]
push str._HIDE
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476c2a
mov byte [0x4c7205], 1
jmp 0x476bd6
mov eax, dword [edi]
push str._NOCANDY
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476c46
mov byte [0x4c8b75], 1
jmp 0x476bd6
cmp ebx, 3
jl 0x476caf
mov eax, dword [esi + 4]
push str._CANDY
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x476f64
mov eax, dword [esi + 4]
push str._LAUNCHBUNDLEDURL
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476c89
add esi, 8
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.004616c3
jmp 0x476f46
mov eax, dword [esi + 4]
push str._LAUNCHBUNDLEDURLTYPE
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476caf
add esi, 8
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.004616da
jmp 0x476f46
cmp ebx, 2
jl 0x476cfd
lea edi, [esi + 4]
mov eax, dword [edi]
push str._NOINSTALL
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476cdd
mov dword [0x4c9218], 0x62d6
mov byte [ebp + 0xb], 1
jmp 0x476bd6
mov eax, dword [edi]
push str._UPDATEINSTALL
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476cfd
mov byte [ebp + 0xb], 1
mov byte [ebp - 3], 1
jmp 0x476bd6
cmp ebx, 5
jl 0x476e41
mov eax, dword [esi + 4]
push str._DOWNLOADINSTALL
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476e41
mov eax, dword [esi + 8]
push dword [esi + 0xc]
mov dword [ebp - 0x40], eax
call sub.MSVCRT.dll__wtoi
add esi, 0x10
sub ebx, 4
cmp ebx, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
pop ecx
mov dword [0x4c8ba4], eax
mov dword [ebp - 0xc], ebx
jle 0x476d6e
lea edi, [esi + 4]
mov ecx, dword [edi]
cmp word [ecx], 0x2f
je 0x476d6e
call fcn.0043ad13
push eax
push str.toolbar_pair_key:__S_n
mov dword [0x4c8b9c], eax
call fcn.0043faf7
add esp, 8
dec ebx
mov dword [ebp - 0xc], ebx
mov esi, edi
mov ecx, dword [ebp - 0x40]
mov byte [0x4c8b94], 0
test ecx, ecx
je 0x476e38
cmp word [ecx], 0
je 0x476e38
mov edx, 0x4c8b8c
call fcn.00469972
test al, al
je 0x476e38
push 0x1c
pop ecx
mov dword [0x4b8850], 0x4c8b8c
call fcn.00444a72
mov ebx, eax
push 7
pop ecx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x49bcfc
call fcn.004123d6
push eax
lea ecx, [ebx + 4]
mov dword [0x4bad0c], eax
call fcn.004019ea
mov eax, dword [ebp - 0x3c]
push 0
mov dword [0x4bad08], 0x45fd79
push 0
mov dword [ebx], eax
mov ecx, dword [0x4b8850]
push str.offer_urls
lea edi, [ebx + 0x10]
call fcn.00403c3f
mov ecx, eax
call fcn.004037c4
mov ecx, eax
call fcn.00444cbc
push eax
mov ecx, edi
call fcn.00410da6
mov edi, dword [edi]
mov ecx, edi
test edi, edi
jne 0x476e1a
mov ecx, 0x49013b
push 0x4bad08
push 1
push ebx
mov edx, fcn.00465506
call fcn.0045fcf1
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 1], 1
jmp 0x476f48
cmp ebx, 2
jl 0x476f14
lea edi, [esi + 4]
mov eax, dword [edi]
push str._PERFORMINSTALL
push eax
mov dword [ebp - 0x3c], edi
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476ef8
cmp ebx, 3
jl 0x476e7a
push dword [esi + 8]
call sub.MSVCRT.dll__wtoi
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x476e81
mov dword [ebp - 0xc], 0x100
cmp ebx, 4
jl 0x476e8b
mov edi, dword [esi + 0xc]
jmp 0x476e8d
xor edi, edi
cmp ebx, 5
jl 0x476ead
cmp byte [0x4c908a], 0
je 0x476ead
push dword [esi + 0x10]
call sub.MSVCRT.dll__wtol
pop ecx
mov edx, eax
mov cl, 1
call fcn.00476553
mov ecx, edi
test edi, edi
jne 0x476eb8
mov ecx, 0x48f94c
mov eax, dword [ebp - 0xc]
push ecx
or eax, 0x80
push eax
push str.INSTALLDEBUG:__PERFORMINSTALL_with_flags___d__and_path___s__n
call fcn.0043faf7
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
mov edx, esi
mov ecx, ebx
mov byte [ebp - 1], 1
call fcn.004660ee
test al, al
je 0x476ef0
mov dword [ebp - 0x10], 1
call fcn.0045725e
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi]
push str._BRINGTOFRONT
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476f14
mov byte [ebp - 2], 1
jmp 0x476bd6
cmp ebx, 3
jl 0x476f51
mov eax, dword [esi + 4]
push str._LOGFILE
push eax
call sub.MSVCRT.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x476f51
add esi, 8
mov ecx, dword [esi]
call fcn.0048941a
push dword [esi]
push str.Log_file_set_to_path:__s__n
call fcn.0043faf7
add esp, 8
dec ebx
dec ebx
cmp ebx, 1
jg 0x476bb4
cmp byte [ebp - 1], 0
je 0x476f73
call fcn.00460c9c
push dword [ebp - 0x10]
jmp 0x476912
mov ecx, dword [esi + 8]
call fcn.0043faf7
push 0
jmp 0x476912
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
mov edx, esi
mov ecx, ebx
call fcn.00471c00
test al, al
jne 0x476fb1
call fcn.0042cdb9
cmp byte [ebp - 0x20], 0
je 0x476f9e
cmp dword [ebp - 0x14], 0
je 0x476f9e
lea ecx, [ebp - 0x20]
call dword [ebp - 0x14]
cmp byte [ebp - 0x30], 0
je 0x47730c
cmp dword [ebp - 0x24], 0
jmp 0x477304
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
pop ecx
cmp eax, ecx
mov dword [0x4c91e4], eax
jg 0x476fd6
mov dword [0x4c91e4], ecx
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.00471b06
call fcn.004571fd
call fcn.00464f65
call fcn.004622f9
call fcn.00461731
or byte [ebp + 0xb], al
jne 0x47701a
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
mov edx, esi
mov ecx, ebx
call fcn.004660ee
test al, al
je 0x477028
push edi
jmp 0x476912
cmp byte [ebp - 3], 0
je 0x477028
push edi
push 0x8000
jmp 0x477000
cmp ebx, 1
jle 0x477035
mov eax, dword [esi + 4]
mov dword [0x4c91f0], eax
mov dl, byte [ebp + 0xb]
mov cl, byte [ebp - 8]
call fcn.00471fa3
push 0x62d6
push 1
push 2
pop ebx
push ebx
push ebx
push str.Version__d._d._d__svn__u__n
call fcn.0043faf7
add esp, 0x14
call fcn.004617d8
mov byte [0x4c9088], al
call fcn.00437da2
cmp byte [0x4c92eb], 0
je 0x477087
xor ecx, ecx
call fcn.00420b48
test eax, eax
je 0x477087
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4c908c], eax
mov eax, dword [0x4c937c]
cmp eax, 6
mov ecx, eax
jle 0x477096
push 6
pop ecx
cmp ecx, edi
jge 0x47709c
xor ecx, ecx
xor eax, eax
inc eax
shl eax, cl
mov dword [0x4b6fc8], eax
call fcn.00429550
push 0x28
call fcn.00444d45
pop ecx
cmp eax, edi
je 0x4770c0
mov ecx, eax
call fcn.00404ace
jmp 0x4770c2
xor eax, eax
mov ecx, eax
mov dword [0x4c3ac0], eax
call fcn.0042b18a
call fcn.00429561
cmp byte [0x4c9319], 0
je 0x4770e2
mov dword [0x4c9240], edi
call fcn.004698df
mov byte [0x4c8f54], al
call fcn.00469d3c
mov ecx, dword [0x4c9984]
cmp ecx, edi
jne 0x47710a
cmp dword [0x4c60fc], edi
je 0x477112
mov byte [0x4c9313], 1
cmp ecx, 0x2445034
jae 0x477122
cmp byte [0x4c933f], 0
je 0x477122
mov byte [0x4c933e], 1
cmp ecx, 0x3022e66
jae 0x47713b
mov ecx, dword [0x4c5420]
call fcn.00422a80
mov ecx, dword [0x4c9984]
cmp ecx, 0x3060000
jae 0x477170
movzx eax, byte [0x4b62be]
sub eax, edi
je 0x477169
dec eax
je 0x477160
dec eax
je 0x477160
dec eax
jne 0x477170
mov byte [0x4b62be], 0xa
jmp 0x477170
mov byte [0x4b62be], 0xf
jmp 0x477170
mov byte [0x4b62be], 5
cmp ecx, 0x3022f33
jae 0x477187
cmp dword [0x4c59a8], ebx
jne 0x477187
mov byte [0x4c59b2], 1
and dword [0x4cb474], 0xbfffffff
mov dword [0x4c9984], 0x44362d6
call fcn.004124b0
call fcn.00471fc5
mov ecx, dword [0x4c3a18]
call fcn.0041992b
call fcn.004132d6
cmp dword [0x4c91f4], 1
je 0x4771c8
xor dl, dl
lea ecx, [ebp + 8]
call fcn.00474c87
lea ecx, [ebp - 0x108]
call fcn.00473db5
push 0x4c92c8
lea ecx, [ebp - 0x108]
call fcn.0047162c
push 0x18
call fcn.00444d45
pop ecx
cmp eax, edi
je 0x477203
push dword [0x4c9094]
mov ecx, eax
call fcn.0041e65c
mov dword [0x4c9090], eax
jmp 0x477209
mov dword [0x4c9090], edi
mov esi, 0x4c9a9c
mov eax, dword [esi]
cmp eax, edi
je 0x477233
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
cmp cx, di
jne 0x477217
sub eax, edx
sar eax, 1
je 0x477233
mov edx, esi
mov ecx, 0x4c994c
call fcn.00455102
add esi, 0x20
cmp esi, 0x4c9adc
jl 0x47720e
lea ecx, [ebp - 0x38]
call fcn.0046358a
cmp byte [ebp - 2], 0
je 0x477260
cmp dword [0x4c91f4], edi
jne 0x477260
push dword [ebp - 0x104]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.004265f9
test al, al
je 0x477274
push str.IPv6_is_installed
call fcn.004891ee
pop ecx
call fcn.00429550
lea ecx, [ebp - 0x50]
call fcn.00413b60
test al, al
je 0x4772a0
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.Got_Teredo_Address:__V
movsd dword es:[edi], dword [esi]
call fcn.004891ee
add esp, 0x14
xor edi, edi
call fcn.00429561
xor edx, edx
mov ecx, 0x10a
call fcn.00470d36
call fcn.0043faf7
mov ecx, 0x4c71f8
call fcn.0044ed62
call fcn.0043faf7
lea ecx, [ebp - 0x30]
call fcn.0042974d
lea ecx, [ebp - 0x20]
call fcn.00419d87
call fcn.0043faf7
lea ecx, [ebp - 0x108]
call fcn.0044eea7
call fcn.0042cdb9
cmp byte [ebp - 0x20], 0
je 0x4772fb
cmp dword [ebp - 0x14], edi
je 0x4772fb
lea ecx, [ebp - 0x20]
call dword [ebp - 0x14]
cmp byte [ebp - 0x30], 0
je 0x47730c
cmp dword [ebp - 0x24], edi
je 0x47730c
lea ecx, [ebp - 0x30]
call dword [ebp - 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4