Function at 0x415b10
Capabilities:
Check if file exists
Check os version
Copy file
Delete registry value
Get common file path
Get file attributes
Persist via run registry key
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63907b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x17b0
call fcn.00609d40
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], ebx
call fcn.0044aeb0
call fcn.0044b080
mov ecx, esi
call fcn.00412b20
mov edx, dword [0x6fcafc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x17c0]
push eax
push ecx
push ebx
push ebx
push str.szCustomUserAgent
push edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0xd0], 0x400
call edi
test eax, eax
jne 0x415bae
lea eax, [ebp - 0x17c0]
push eax
push 0x6c910c
push 0x6fdff0
call fcn.0061fae1
add esp, 0xc
mov ecx, esi
call fcn.00413a80
mov ecx, esi
call fcn.00413f70
cmp dword [0x6fcaec], ebx
jne 0x415c7b
mov eax, dword [0x6fcafc]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x110]
push ecx
push edx
push ebx
push ebx
push str.idmvers
push eax
mov dword [ebp - 0x20], 0x40
call edi
test eax, eax
jne 0x415c71
mov edx, dword [0x6fc934]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [ebp - 0x110]
push edx
push ecx
call fcn.00609d70
add esp, 0xc
test eax, eax
je 0x415c31
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x415c31
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x415c31
mov dword [0x6fcaec], 1
push 8
lea edx, [ebp - 0x110]
push str.v6.35b09
push edx
call fcn.0060bf70
add esp, 0xc
test eax, eax
je 0x415c65
push 8
lea eax, [ebp - 0x110]
push str.v6.35b10
push eax
call fcn.0060bf70
add esp, 0xc
test eax, eax
jne 0x415c7b
mov dword [0x6fcaf0], 1
jmp 0x415c7b
mov dword [0x6fcaec], 1
cmp dword [0x6fcad8], ebx
je 0x415ca6
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x415c9c
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x415c9c
cmp dword [0x6fcaec], ebx
je 0x415ca6
call fcn.00420270
call fcn.00414c90
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x415cbf
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x415cbf
cmp dword [0x6fcaec], ebx
je 0x415cd8
mov edi, 1
push edi
call fcn.004589d0
add esp, 4
push ebx
call fcn.00458640
add esp, 4
jmp 0x415cdd
mov edi, 1
call fcn.00415a10
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x88], edi
push ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1a4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x415d40
cmp dword [ebp - 0x194], 2
jne 0x415d40
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x2c], edi
cmp eax, 6
jb 0x415d40
push 0x80000001
mov dword [ebp - 0x7c], edi
call fcn.00414240
add esp, 4
push 0x80000002
call fcn.00414240
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], 4
cmp eax, ebx
je 0x415db9
mov ecx, dword [0x6fcafc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x64]
push edx
push eax
push ebx
push ebx
push str.EnableDriver
push ecx
call edi
test eax, eax
jne 0x415d76
mov edx, dword [ebp - 0x64]
mov dword [esi + 0x1c], edx
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x64]
push eax
push ecx
push ebx
push ebx
push str.AdvancedIntegration
push edx
call edi
test eax, eax
jne 0x415e04
cmp dword [ebp - 0x64], ebx
je 0x415e04
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.0040e350
xor edx, edx
cmp eax, ebx
sete dl
mov dword [ebp - 0x18], edx
jmp 0x415e04
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x64]
push eax
push ecx
push ebx
push ebx
push str.AdvancedIntegration
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415ddf
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], ebx
je 0x415e04
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x8c]
push ecx
push edx
lea ecx, [esi + 4]
call fcn.0040e350
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp ecx, ebx
sete dl
cmp eax, ebx
mov dword [ebp - 0x68], edx
je 0x415f1e
lea eax, [ebp - 0x1c]
mov edi, 1
push eax
push 0x20019
push ebx
push 0x6c9034
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415e76
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x64]
push ecx
push edx
push ebx
push ebx
push str.AdvIntDriverEnabled2
push eax
mov dword [ebp - 0x6c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415e6c
mov edi, dword [ebp - 0x64]
mov dword [esi + 0x1c], edi
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x1c], ebx
jne 0x415ed1
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x64]
push edx
push eax
push ebx
push ebx
push str.bVistaAdvInt
push ecx
mov dword [ebp - 0x6c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x415ec9
lea edx, [ebp - 0x20]
mov eax, 1
push 4
push edx
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [0x6fcafc]
push 4
push ebx
push str.bVistaAdvInt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x415ecc
mov dword [esi + 0x1c], edi
cmp dword [esi + 0x1c], ebx
je 0x415f1e
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00417b30
mov ecx, dword [ebp - 0x20]
xor edx, edx
cmp eax, ebx
push 4
sete dl
xor eax, eax
cmp ecx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], edx
mov edx, dword [0x6fcafc]
push ecx
push 4
push ebx
sete al
push str.EnableDriver
push edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
mov ecx, esi
call fcn.004a47a0
cmp dword [0x6fcaec], ebx
je 0x415f60
lea ecx, [ebp - 0x14]
call fcn.00506090
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00506e20
cmp eax, ebx
je 0x415f54
lea ecx, [ebp - 0x14]
call fcn.00506de0
cmp eax, ebx
jne 0x415f54
push 1
lea ecx, [ebp - 0x14]
call fcn.005060d0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005060c0
cmp dword [ebp - 0x68], ebx
jne 0x415f6e
cmp dword [ebp - 0x4c], ebx
je 0x4161f9
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], 1
call fcn.00506090
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00506e20
cmp eax, ebx
jne 0x416122
cmp dword [0x6fcae4], ebx
jne 0x415fb2
push ebx
lea ecx, [ebp - 0x14]
call fcn.005060d0
lea ecx, [ebp - 0x14]
call fcn.00506d30
lea ecx, [ebp - 0x14]
call fcn.00506fd0
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x5c], bx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0041de80
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x60]
push eax
push ecx
mov ecx, esi
call fcn.0041d580
cmp eax, ebx
je 0x41604c
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x416048
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x41604c
mov edx, dword [esi + 0x24]
mov ecx, dword [edx + ebx*4]
cmp eax, dword [ecx + 8]
jne 0x416104
xor edi, edi
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ebx*4]
cmp edi, dword [eax + 0x1c]
jge 0x41604c
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x416016
lea ecx, [ebp - 0x5c]
mov eax, dword [eax + 0x18]
lea esi, [edi + edi*8]
shl esi, 2
push ecx
mov eax, dword [eax + esi]
push eax
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x4160fb
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + esi + 8]
test eax, eax
je 0x41604c
mov byte [ebp - 0x25], 0
mov al, byte [ebp - 0x25]
xor ebx, ebx
xor edi, edi
test al, al
je 0x4160b9
cmp dword [ebp - 0x2c], ebx
jne 0x4160b9
mov edx, dword [0x6f7b78]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x6fd754]
mov ecx, dword [0x6fd8c4]
push eax
push ecx
lea edx, [ebp - 0x1c]
push str._s_r_n_r_n_s
push edx
mov byte [ebp - 4], 4
call fcn.0061fae1
mov eax, dword [0x6fd900]
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
push 0x50004
push eax
push ecx
push ebx
call fcn.00457010
add esp, 0x10
cmp eax, 6
jne 0x4160a9
mov edi, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
cmp edi, ebx
jne 0x41610a
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x50]
cmp eax, ebx
mov dword [ebp - 0x54], ebx
jne 0x4160e6
lea edx, [ebp - 0x1c]
push 4
push edx
mov dword [esi + 0x1c], ebx
mov eax, dword [0x6fcafc]
push 4
push ebx
push str.AdvancedIntegration
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
mov ecx, esi
call fcn.0041d110
mov dword [0x6fc45c], 1
jmp 0x416114
mov esi, dword [ebp - 0x50]
inc edi
jmp 0x416001
inc ebx
jmp 0x415feb
mov esi, dword [ebp - 0x50]
mov ecx, esi
call fcn.00421460
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x416191
cmp dword [ebp - 0x7c], ebx
je 0x416191
call fcn.0051f850
mov edi, eax
cmp edi, ebx
je 0x416191
mov eax, dword [0x6fcafc]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x24]
push ecx
push edx
push ebx
push ebx
push str.StEnableBFEMsg
push eax
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41618b
mov edx, dword [0x6fcafc]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push ebx
push str.StEnableBFEMsg
push edx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push ebx
push ebx
push edi
push 0x414640
call fcn.00626cae
jmp 0x416191
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
cmp dword [esi + 0x1c], ebx
je 0x4161ed
cmp dword [ebp - 0x2c], ebx
jne 0x4161ed
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 1
lea ecx, [ebp - 0x14]
call fcn.00506e60
mov ecx, dword [0x6fcafc]
mov edx, dword [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.ClChIDMRes
push ecx
mov dword [ebp - 0x1c], edx
call edi
mov ecx, dword [0x6fcafc]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.ClChIERes
push ecx
mov dword [ebp - 0x1c], edx
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005060c0
cmp dword [esi + 0x1c], ebx
je 0x416875
mov edi, dword [ebp - 0x18]
cmp edi, ebx
jne 0x41631f
cmp dword [ebp - 0x4c], ebx
jne 0x41631f
cmp dword [ebp - 0x2c], ebx
jne 0x41685b
lea edx, [ebp - 0x2a8]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x416306
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x2a8]
push str.idmmbc.dll
push ecx
lea edx, [ebp - 0x18]
push 0x6c9ce8
push edx
mov byte [ebp - 4], 9
call fcn.0061fae1
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
push eax
call edi
cmp eax, 0xffffffff
jne 0x4162fa
lea ecx, [ebp - 0x2a8]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4162fa
lea edx, [ebp - 0x4a8]
lea eax, [ebp - 0x13c0]
push edx
lea ecx, [ebp - 0x3a8]
push eax
lea edx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x2a8]
push edx
push eax
call fcn.0060a5e5
add esp, 0x14
lea ecx, [ebp - 0x3a8]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2a8]
push str.idmmbc.dll
push ecx
push edx
push 0x6c9cb0
push eax
call fcn.0060a593
add esp, 0x14
lea ecx, [ebp - 0x2a8]
push ecx
call edi
cmp eax, 0xffffffff
je 0x4162fa
mov edx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x2a8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00622d8a
cmp dword [ebp - 0x8c], ebx
je 0x41687a
lea ecx, [esi + 4]
call fcn.0040e880
jmp 0x41687a
mov eax, dword [0x6fcafc]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x90]
push ecx
push edx
push ebx
push ebx
push str.lastintres
push eax
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41638b
cmp dword [ebp - 0x90], 1
jne 0x41638b
cmp dword [ebp - 0x2c], ebx
jne 0x41638b
mov eax, dword [ebp - 0x68]
cmp eax, ebx
mov eax, 0x6fd914
jne 0x416367
mov eax, 0x6fd910
mov ecx, dword [0x6fd91c]
mov eax, dword [eax]
push 0x50004
push ecx
push eax
push ebx
call fcn.00457010
add esp, 0x10
cmp eax, 6
je 0x41638b
xor edi, edi
mov dword [ebp - 0x18], edi
jmp 0x41638f
cmp edi, ebx
jne 0x416398
cmp dword [ebp - 0x4c], ebx
je 0x416856
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4167ee
cmp dword [ebp - 0x4c], ebx
je 0x41681b
mov ecx, esi
call fcn.0041b350
cmp dword [ebp - 0x7c], ebx
jne 0x4163f4
push 1
mov ecx, esi
call fcn.00417f00
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov dword [0x6fc458], 1
mov ecx, esi
je 0x4163e7
call fcn.00417470
mov dword [ebp - 0x48], ebx
jmp 0x416801
call fcn.004173b0
mov dword [ebp - 0x48], ebx
jmp 0x416801
xor edx, edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], edx
mov word [ebp - 0x34], bx
mov eax, dword [0x6fca20]
mov byte [ebp - 4], 5
cmp eax, ebx
mov ebx, eax
jne 0x416414
mov ebx, 0x6fca24
mov eax, 0x6c900c
test eax, eax
je 0x416576
xor eax, eax
cmp ebx, eax
je 0x416576
mov ecx, str.Uninstall.exe
test ecx, ecx
je 0x416576
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00401070
mov edi, 0x6c900c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4164a2
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push 0x6c900c
push eax
push eax
call edi
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x4164a2
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4164a2
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
push 0xffffffffffffffff
push 0x6c900c
push 0
push 0
call edi
mov dword [ebp - 0x3c], eax
push ebx
lea ecx, [ebp - 0x78]
call fcn.00401ee0
push str.Uninstall.exe
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00401ee0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x78]
mov ebx, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add edi, ebx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x41654f
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x60]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x78]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x416643
mov ecx, dword [0x6fcaec]
test ecx, ecx
jne 0x416643
mov cl, byte [eax + 0x25]
test cl, cl
je 0x416643
mov eax, dword [ebp - 0x18]
mov ebx, 1
mov dword [esi + 0x4c], ebx
xor esi, esi
cmp eax, esi
jne 0x4167d9
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
cmp edx, esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0xcc], 0x3c
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - 0xc0], str.open
jne 0x4165e6
lea edx, [ebp - 0x34]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], 3
mov dword [ebp - 0xac], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xb8], str._uninstlsp
call dword [0x6fc2d0]
test eax, eax
je 0x416638
mov ecx, dword [ebp - 0x94]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x84], ebx
jmp 0x4167d9
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0xcc], 0x3c
cmp edx, edi
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - 0xc0], str.open
jne 0x416679
lea edx, [ebp - 0x34]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], 3
mov dword [ebp - 0xac], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x38]
cmp eax, edi
mov dword [ebp - 0xb8], str._instdriv
jne 0x4166b5
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4167d9
mov eax, dword [ebp - 0x38]
cmp eax, edi
jne 0x4166cf
lea eax, [ebp - 0x34]
push edi
push eax
mov ecx, esi
call fcn.00414110
test al, al
je 0x4167d9
mov ebx, dword [0x6fc2d0]
lea eax, [ebp - 0xcc]
push eax
call ebx
test eax, eax
je 0x4167d3
mov ecx, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, 1
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0x14], edi
call esi
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41672b
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x18]
mov dword [0x6fc458], edi
test eax, eax
jne 0x4167d9
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xcc], 0x3c
test eax, eax
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - 0xc0], str.open
je 0x416778
mov dword [ebp - 0xbc], eax
jmp 0x416781
lea edx, [ebp - 0x34]
mov dword [ebp - 0xbc], edx
xor eax, eax
mov dword [ebp - 0xb0], 3
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xb8], str._uninstlsp
call ebx
test eax, eax
je 0x4167c7
mov ecx, dword [ebp - 0x94]
push 0xffffffffffffffff
push ecx
call esi
mov dword [ebp - 0x84], 1
jmp 0x4167d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x416801
cmp edi, ebx
je 0x41681b
mov edx, dword [ebp - 0x68]
lea ecx, [esi + 4]
push edx
call fcn.0040ce90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41681b
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x416822
mov dword [0x6fc454], 1
jmp 0x416822
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6fcafc]
xor eax, eax
push 4
test ecx, ecx
lea ecx, [ebp - 0x90]
push ecx
push 4
push 0
push str.lastintres
setne al
push edx
mov dword [ebp - 0x90], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebp - 0x50]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
je 0x41687a
cmp dword [ebp - 0x48], ebx
je 0x416869
mov ecx, esi
call fcn.00417470
jmp 0x416875
cmp dword [ebp - 0x7c], ebx
jne 0x416875
mov ecx, esi
call fcn.004173b0
cmp dword [ebp - 0x2c], ebx
jne 0x4168cd
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4168cd
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.Adsoff_Startup
push ecx
call edi
mov edx, dword [ebp - 0x18]
push str.OSSPoxy
push edx
call edi
mov eax, dword [ebp - 0x18]
push str.New.net_Startup
push eax
call edi
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.0041ba00
cmp dword [0x6fc454], ebx
je 0x416923
mov eax, dword [0x6fcafc]
lea edx, [ebp - 0x24]
push 4
push edx
push 4
push ebx
push str.NeedChAfRb
push eax
mov dword [ebp - 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x6fd91c]
mov edx, dword [0x6fd8c8]
push 0x50030
push ecx
push edx
push ebx
call fcn.00457010
add esp, 0x10
push 1
call fcn.00413520
add esp, 4
cmp dword [ebp - 0x2c], ebx
jne 0x41692d
cmp dword [ebp - 0x54], ebx
jne 0x416974
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
push ecx
push ebx
push ebx
push str.NeedChAfRb
push edx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416ba2
mov eax, dword [0x6fcafc]
mov edi, dword [ebp - 0x20]
push str.NeedChAfRb
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x416ba2
mov ecx, dword [0x6fcafc]
push str.NeedChAfRb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [0x6fcafc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x1c]
xor esi, esi
push edx
push eax
push esi
push esi
push str.ClChIDMRes
push ecx
xor ebx, ebx
mov dword [ebp - 0x68], 4
call edi
test eax, eax
jne 0x4169b6
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.ClChIERes
push ecx
mov dword [ebp - 0x68], 4
call edi
test eax, eax
jne 0x4169e5
mov eax, dword [ebp - 0x1c]
cmp eax, 1
mov ebx, eax
je 0x4169ee
cmp esi, 1
jne 0x416ba2
lea ecx, [ebp - 0x14]
mov edi, 1
call fcn.00506090
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x54]
push edx
push eax
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00506e60
cmp ebx, edi
jne 0x416a1d
cmp dword [ebp - 0x48], 0xffffffff
jne 0x416a1d
xor edi, edi
cmp esi, 1
jne 0x416a28
cmp dword [ebp - 0x54], 0xffffffff
je 0x416a30
test edi, edi
jne 0x416b3f
mov ecx, dword [0x6fd900]
mov edx, dword [0x6fd8f0]
push 0x50030
push ecx
push edx
push 0
call fcn.00457010
mov edi, dword [ebp - 0x50]
add esp, 0x10
lea ecx, [edi + 4]
call fcn.0040de30
mov ecx, dword [0x6fcafc]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push str.AdvancedIntegration
push ecx
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x4c]
mov dword [edi + 0x1c], 0
call fcn.00506090
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x54]
push edx
push eax
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00506e60
mov edi, 1
cmp ebx, edi
mov eax, edi
jne 0x416ab3
cmp dword [ebp - 0x48], 0xffffffff
jne 0x416ab3
xor eax, eax
cmp esi, edi
jne 0x416abd
cmp dword [ebp - 0x54], 0xffffffff
je 0x416ac1
test eax, eax
jne 0x416b2e
mov edx, dword [0x6fcafc]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push 0
push str.NeedSnRpAfRb
push edx
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [0x6fd900]
mov ecx, dword [0x6fd8ec]
push 0x50030
push eax
push ecx
push 0
call fcn.00457010
add esp, 0x10
push edi
call fcn.00413520
add esp, 4
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.005060c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005060c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 0xa
call fcn.005060c0
jmp 0x416b96
mov eax, dword [ebp - 0x54]
push 0x50000
cmp eax, 1
jne 0x416b5b
mov edx, dword [0x6fd900]
mov eax, dword [0x6fd8c0]
push edx
push eax
jmp 0x416b69
mov ecx, dword [0x6fd900]
mov edx, dword [0x6fd8e8]
push ecx
push edx
push 0
call fcn.00457010
mov ecx, dword [0x6fcafc]
add esp, 0x10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push 4
push eax
push 4
push 0
push str.AdvancedIntegration
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005060c0
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x416bf3
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x80]
push edx
push eax
push 0
push 0
push str.NeedSnRpAfRb
push ecx
mov dword [ebp - 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416c89
mov edx, dword [0x6fcafc]
mov edi, dword [ebp - 0x80]
push str.NeedSnRpAfRb
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x416c89
push 0
lea ecx, [ebp - 0x12c0]
call fcn.00534af0
lea ecx, [ebp - 0x12c0]
mov byte [ebp - 4], 0xc
call fcn.006226c5
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0x14
call fcn.00622d8a
lea ecx, [ebp - 0x1188]
mov byte [ebp - 4], 0x13
call fcn.005c6d50
lea ecx, [ebp - 0x1190]
mov byte [ebp - 4], 0x12
call fcn.00622d8a
mov eax, 0x657cdc
lea ecx, [ebp - 0x11ec]
mov dword [ebp - 0x11a0], eax
mov dword [ebp - 0x11b0], eax
mov byte [ebp - 4], 0xf
call fcn.0062e243
lea ecx, [ebp - 0x1228]
mov byte [ebp - 4], 0xe
call fcn.0062e243
lea ecx, [ebp - 0x1264]
mov byte [ebp - 4], 0xd
call fcn.0062e243
lea ecx, [ebp - 0x12c0]
mov byte [ebp - 4], 0
call fcn.00622306
mov edi, dword [ebp - 0x50]
mov ecx, edi
call fcn.004192b0
mov ecx, edi
call fcn.0041b350
mov ecx, edi
call fcn.00417390
xor esi, esi
cmp eax, esi
jne 0x416cd2
push esi
push esi
mov ecx, edi
call fcn.00419ae0
push esi
push esi
mov ecx, edi
call fcn.0041a650
push esi
push esi
mov ecx, edi
call fcn.0041a6c0
push esi
push esi
mov ecx, edi
call fcn.00419d40
mov ecx, edi
call fcn.004173a0
cmp dword [edi + 0x1c], esi
je 0x416ce2
push 1
mov ecx, edi
call fcn.00421f40
jmp 0x416cf5
mov ecx, edi
call fcn.0041d0c0
cmp eax, esi
jne 0x416cf5
push esi
mov ecx, edi
call fcn.0041d110
cmp dword [0x6fcaec], esi
je 0x416d04
mov ecx, edi
call fcn.004221a0
cmp dword [ebp - 0x2c], esi
je 0x417292
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x8c]
add edi, 4
push eax
push ecx
mov ecx, edi
call fcn.0040e350
cmp eax, esi
je 0x416fb6
cmp dword [ebp - 0x7c], esi
jne 0x416d3e
mov ecx, edi
call fcn.0040de30
jmp 0x41729e
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
mov word [ebp - 0x34], si
mov ecx, dword [0x6fca20]
mov byte [ebp - 4], 0x15
cmp ecx, esi
mov ebx, ecx
jne 0x416d5f
mov ebx, 0x6fca24
mov edx, 0x6c900c
test edx, edx
je 0x416edc
cmp ebx, esi
je 0x416edc
mov ecx, str.Uninstall.exe
test ecx, ecx
je 0x416edc
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x40], si
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x16
call fcn.00401070
mov edi, 0x6c900c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x416de9
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push esi
push 0xffffffffffffffff
push 0x6c900c
push esi
push esi
call edi
cmp eax, esi
mov dword [ebp - 0x3c], eax
je 0x416de9
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
cmp eax, esi
mov dword [ebp - 0x44], eax
je 0x416de9
mov ecx, dword [ebp - 0x3c]
push ecx
push eax
push 0xffffffffffffffff
push 0x6c900c
push esi
push esi
call edi
mov dword [ebp - 0x3c], eax
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x5c], si
call fcn.00401f20
push str.Uninstall.exe
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x74], si
call fcn.00401f20
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov ebx, dword [ebp - 0x60]
cmp ebx, esi
jne 0x416e2d
lea ebx, [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
cmp eax, esi
jne 0x416e37
lea eax, [ebp - 0x74]
mov edi, dword [ebp - 0x3c]
push eax
call fcn.00609a4e
mov edx, eax
push ebx
mov dword [ebp - 0x24], edx
call fcn.00609a4e
mov edx, dword [ebp - 0x24]
add edi, edx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.00622acb
mov edx, eax
add esp, 0xc
cmp edx, esi
mov dword [ebp - 0x38], edx
je 0x416eb5
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x78]
cmp eax, esi
jne 0x416e87
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x60]
cmp ecx, esi
jne 0x416e91
lea ecx, [ebp - 0x5c]
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x416ee3
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416faa
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x416efd
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
push esi
push eax
call fcn.00414110
test al, al
je 0x416faa
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xcc], 0x3c
cmp eax, esi
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - 0xc0], str.open
je 0x416f4b
mov dword [ebp - 0xbc], eax
jmp 0x416f54
lea edx, [ebp - 0x34]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], 3
mov dword [ebp - 0xac], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xb8], str._uninstlsp
call dword [0x6fc2d0]
test eax, eax
je 0x416fa0
mov ecx, dword [ebp - 0x94]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x84], 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x7c], esi
je 0x417292
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push str..IDMTDI
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x416fe4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41701f
call fcn.0044bfc0
neg eax
sbb eax, eax
lea edx, [ebp - 0x24]
and eax, 0x100
push edx
add eax, 0x20019
push eax
push esi
push str.SYSTEMCurrentControlSetServicesIDMTDI
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x417292
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], si
mov ecx, dword [0x6fca20]
mov byte [ebp - 4], 0x19
cmp ecx, esi
mov ebx, ecx
jne 0x417040
mov ebx, 0x6fca24
mov ecx, 0x6c900c
test ecx, ecx
je 0x4171c1
cmp ebx, esi
je 0x4171c1
mov edx, str.Uninstall.exe
test edx, edx
je 0x4171c1
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x34], si
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00401070
mov edi, 0x6c900c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4170ca
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push esi
push 0xffffffffffffffff
push 0x6c900c
push esi
push esi
call edi
cmp eax, esi
mov dword [ebp - 0x30], eax
je 0x4170ca
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
cmp eax, esi
mov dword [ebp - 0x38], eax
je 0x4170ca
mov ecx, dword [ebp - 0x30]
push ecx
push eax
push 0xffffffffffffffff
push 0x6c900c
push esi
push esi
call edi
mov dword [ebp - 0x30], eax
push ebx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x74], si
call fcn.00401f20
push str.Uninstall.exe
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x5c], si
call fcn.00401f20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
call fcn.00401070
mov ebx, dword [ebp - 0x78]
cmp ebx, esi
jne 0x41710e
lea ebx, [ebp - 0x74]
mov eax, dword [ebp - 0x60]
cmp eax, esi
jne 0x417118
lea eax, [ebp - 0x5c]
mov edi, dword [ebp - 0x30]
push eax
call fcn.00609a4e
mov edx, eax
push ebx
mov dword [ebp - 0x24], edx
call fcn.00609a4e
mov edx, dword [ebp - 0x24]
add edi, edx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.00622acb
mov edx, eax
add esp, 0xc
cmp edx, esi
mov dword [ebp - 0x44], edx
je 0x41719a
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x60]
cmp eax, esi
mov edx, eax
jne 0x41716a
lea edx, [ebp - 0x5c]
mov ecx, dword [ebp - 0x78]
cmp ecx, esi
jne 0x417174
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x41717e
lea eax, [ebp - 0x34]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x44]
push ebx
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x19
call fcn.00401070
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x4171c8
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417286
mov eax, dword [ebp - 0x44]
cmp eax, esi
jne 0x4171e2
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
push 1
push eax
call fcn.00414110
test al, al
je 0x417286
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x10c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10c], 0x3c
cmp eax, esi
mov dword [ebp - 0x108], 0x40
mov dword [ebp - 0x100], str.open
je 0x417231
mov dword [ebp - 0xfc], eax
jmp 0x41723a
lea edx, [ebp - 0x40]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], 3
mov dword [ebp - 0xec], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x10c]
push eax
mov dword [ebp - 0xf8], str._uninsttdi
call dword [0x6fc2d0]
test eax, eax
je 0x417286
mov ecx, dword [ebp - 0xd4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x84], esi
je 0x416b1d
mov edx, dword [0x6fd91c]
mov eax, dword [0x6fd8c8]
push 0x50030
push edx
push eax
push esi
call fcn.00457010
add esp, 0x10
push 1
call fcn.00413520
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret