Function at 0x413880
Capabilities:
Check if file exists
Check os version
Copy file
Create process on windows
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 0x613feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x13c8
call fcn.005e5310
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], ebx
call fcn.004450c0
call fcn.00445290
mov ecx, esi
call fcn.00411930
mov ecx, esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x84], ebx
call fcn.004127f0
mov ecx, esi
call fcn.00412ce0
cmp dword [0x6f6340], ebx
je 0x413907
mov eax, dword [esi + 0x48]
mov cl, byte [eax + 0x3b]
test cl, cl
jne 0x413902
mov cl, byte [eax + 0x3d]
test cl, cl
jne 0x413902
cmp dword [0x6f6354], ebx
je 0x413907
call fcn.0041d830
lea eax, [ebp - 0x19c]
mov edi, 1
push eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x19c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41396a
cmp dword [ebp - 0x18c], 2
jne 0x41396a
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x2c], edi
cmp eax, 6
jb 0x41396a
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x7c], edi
call fcn.00412fb0
add esp, 4
push reloc.WS2_32.dll_bind
call fcn.00412fb0
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 4
cmp eax, ebx
je 0x4139e2
mov eax, dword [0x6f6360]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x64]
push ecx
push edx
push ebx
push ebx
push str.EnableDriver
push eax
call edi
test eax, eax
jne 0x41399f
mov ecx, dword [ebp - 0x64]
mov dword [esi + 0x1c], ecx
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x64]
push edx
push eax
push ebx
push ebx
push str.AdvancedIntegration
push ecx
call edi
test eax, eax
jne 0x413a2d
cmp dword [ebp - 0x64], ebx
je 0x413a2d
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x90]
push edx
push eax
lea ecx, [esi + 4]
call fcn.0040d2a0
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 0x18], ecx
jmp 0x413a2d
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x64]
push edx
push eax
push ebx
push ebx
push str.AdvancedIntegration
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413a08
mov edx, dword [ebp - 0x64]
mov dword [esi + 0x1c], edx
cmp dword [esi + 0x1c], ebx
je 0x413a2d
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x90]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.0040d2a0
xor edx, edx
cmp eax, ebx
sete dl
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x88]
xor eax, eax
cmp ecx, ebx
sete al
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x413b48
lea ecx, [ebp - 0x1c]
mov edi, 1
push ecx
push 0x20019
push ebx
push 0x6c4f9c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413a9f
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x64]
push edx
push eax
push ebx
push ebx
push str.AdvIntDriverEnabled2
push ecx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413a95
mov edi, dword [ebp - 0x64]
mov dword [esi + 0x1c], edi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x1c], ebx
jne 0x413afb
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x64]
push eax
push ecx
push ebx
push ebx
push str.bVistaAdvInt
push edx
mov dword [ebp - 0x78], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x413af3
mov eax, 1
push 4
mov dword [esi + 0x1c], eax
mov ecx, dword [0x6f6360]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 4
push ebx
push str.bVistaAdvInt
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x413af6
mov dword [esi + 0x1c], edi
cmp dword [esi + 0x1c], ebx
je 0x413b48
lea edx, [ebp - 0x28]
mov ecx, esi
push edx
call fcn.00415670
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0x28]
push 4
sete cl
xor edx, edx
cmp eax, ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [0x6f6360]
push eax
push 4
push ebx
sete dl
push str.EnableDriver
push ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
mov ecx, esi
call fcn.00413400
cmp dword [0x6f6354], ebx
je 0x413b8a
lea ecx, [ebp - 0x14]
call fcn.004f02b0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004f11e0
cmp eax, ebx
je 0x413b7e
lea ecx, [ebp - 0x14]
call fcn.004f11a0
cmp eax, ebx
jne 0x413b7e
push 1
lea ecx, [ebp - 0x14]
call fcn.004f02f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004f02e0
cmp dword [ebp - 0x74], ebx
jne 0x413b98
cmp dword [ebp - 0x40], ebx
je 0x413e22
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], 1
call fcn.004f02b0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004f11e0
cmp eax, ebx
jne 0x413d4c
cmp dword [0x6f634c], ebx
jne 0x413bdc
push ebx
lea ecx, [ebp - 0x14]
call fcn.004f02f0
lea ecx, [ebp - 0x14]
call fcn.004f10f0
lea ecx, [ebp - 0x14]
call fcn.004f13f0
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x28], 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.0041b360
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x60]
push edx
push eax
mov ecx, esi
call fcn.0041aaf0
cmp eax, ebx
je 0x413c76
mov eax, dword [ebp - 0x28]
cmp eax, 1
je 0x413c72
xor ebx, ebx
cmp ebx, dword [esi + 0x28]
jge 0x413c76
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx + ebx*4]
cmp eax, dword [edx + 8]
jne 0x413d2e
xor edi, edi
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ebx*4]
cmp edi, dword [eax + 0x1c]
jge 0x413c76
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x413c40
lea ecx, [ebp - 0x5c]
mov edx, dword [eax + 0x18]
lea esi, [edi + edi*8]
shl esi, 2
push ecx
mov eax, dword [edx + esi]
push eax
call fcn.005e783c
add esp, 8
test eax, eax
jne 0x413d25
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + esi + 8]
test ecx, ecx
je 0x413c76
mov byte [ebp - 0x21], 0
mov al, byte [ebp - 0x21]
xor ebx, ebx
xor edi, edi
test al, al
je 0x413ce2
cmp dword [ebp - 0x2c], ebx
jne 0x413ce2
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x6f6ecc]
mov eax, dword [0x6f703c]
push edx
push eax
lea ecx, [ebp - 0x1c]
push str._s_r_n_r_n_s
push ecx
mov byte [ebp - 4], 4
call fcn.005fa6fb
mov edx, dword [0x6f7078]
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push 0x50004
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x413cd2
mov edi, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
cmp edi, ebx
jne 0x413d34
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
cmp eax, ebx
mov dword [ebp - 0x54], ebx
jne 0x413d10
lea ecx, [ebp - 0x1c]
push 4
push ecx
mov dword [esi + 0x1c], ebx
mov edx, dword [0x6f6360]
push 4
push ebx
push str.AdvancedIntegration
push edx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
mov ecx, esi
call fcn.0041a690
mov dword [0x6f5cfc], 1
jmp 0x413d3e
mov esi, dword [ebp - 0x44]
inc edi
jmp 0x413c2b
inc ebx
jmp 0x413c15
mov esi, dword [ebp - 0x44]
mov ecx, esi
call fcn.0041e9b0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x413dbc
cmp dword [ebp - 0x7c], ebx
je 0x413dbc
call fcn.00508930
mov edi, eax
cmp edi, ebx
je 0x413dbc
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x20]
push eax
push ecx
push ebx
push ebx
push str.StEnableBFEMsg
push edx
mov dword [ebp - 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x413db6
mov ecx, dword [0x6f6360]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.StEnableBFEMsg
push ecx
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push ebx
push ebx
push ebx
push edi
push 0x4133a0
call fcn.00601eca
jmp 0x413dbc
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
cmp dword [esi + 0x1c], ebx
je 0x413e16
cmp dword [ebp - 0x2c], ebx
jne 0x413e16
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x28]
push edx
push eax
push 1
lea ecx, [ebp - 0x14]
call fcn.004f1220
mov eax, dword [0x6f6360]
mov ecx, dword [ebp - 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push ebx
push str.ClChIDMRes
push eax
mov dword [ebp - 0x1c], ecx
call edi
mov eax, dword [0x6f6360]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push ebx
push str.ClChIERes
push eax
mov dword [ebp - 0x1c], ecx
call edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004f02e0
cmp dword [esi + 0x1c], ebx
je 0x41445f
mov edi, dword [ebp - 0x18]
cmp edi, ebx
jne 0x413f49
cmp dword [ebp - 0x40], ebx
jne 0x413f49
cmp dword [ebp - 0x2c], ebx
jne 0x414445
lea ecx, [ebp - 0x2a0]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x413f30
mov edx, dword [0x6f175c]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x2a0]
push str.idmmbc.dll
push eax
lea ecx, [ebp - 0x18]
push 0x6c5c64
push ecx
mov byte [ebp - 4], 9
call fcn.005fa6fb
mov edx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
jne 0x413f24
lea eax, [ebp - 0x2a0]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x413f24
lea ecx, [ebp - 0x4a0]
lea edx, [ebp - 0x5a0]
push ecx
lea eax, [ebp - 0x3a0]
push edx
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2a0]
push ecx
push edx
call fcn.005e5c0a
add esp, 0x14
lea eax, [ebp - 0x3a0]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x2a0]
push str.idmmbc.dll
push eax
push ecx
push 0x6c5c2c
push edx
call fcn.005e5bb8
add esp, 0x14
lea eax, [ebp - 0x2a0]
push eax
call edi
cmp eax, 0xffffffff
je 0x413f24
mov ecx, dword [ebp - 0x18]
push ebx
lea edx, [ebp - 0x2a0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.006018cc
cmp dword [ebp - 0x90], ebx
je 0x414464
lea ecx, [esi + 4]
call fcn.0040d7d0
jmp 0x414464
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x8c]
push eax
push ecx
push ebx
push ebx
push str.lastintres
push edx
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413fb4
cmp dword [ebp - 0x8c], 1
jne 0x413fb4
cmp dword [ebp - 0x2c], ebx
jne 0x413fb4
mov eax, dword [ebp - 0x74]
cmp eax, ebx
mov eax, 0x6f708c
jne 0x413f92
mov eax, 0x6f7088
mov ecx, dword [0x6f7094]
mov eax, dword [eax]
push 0x50004
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x413fb4
xor edi, edi
mov dword [ebp - 0x18], edi
jmp 0x413fb8
cmp edi, ebx
jne 0x413fc1
cmp dword [ebp - 0x40], ebx
je 0x414440
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x4143d8
cmp dword [ebp - 0x40], ebx
je 0x414405
mov ecx, esi
call fcn.00418940
cmp dword [ebp - 0x7c], ebx
jne 0x41401d
push 1
mov ecx, esi
call fcn.00415a40
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov dword [0x6f5cf8], 1
mov ecx, esi
je 0x414010
call fcn.00414fc0
mov dword [ebp - 0x3c], ebx
jmp 0x4143eb
call fcn.00414f00
mov dword [ebp - 0x3c], ebx
jmp 0x4143eb
xor edx, edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], edx
mov word [ebp - 0x34], bx
mov edi, dword [0x6f62f8]
mov byte [ebp - 4], 5
cmp edi, ebx
jne 0x41403c
mov edi, 0x6f62fc
mov eax, 0x6c5124
test eax, eax
je 0x414160
cmp edi, ebx
je 0x414160
mov ecx, str.Uninstall.exe
test ecx, ecx
je 0x414160
xor ebx, ebx
lea ecx, [ebp - 0x50]
push ebx
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x4c], bx
call fcn.00402ce0
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x6c], bx
call fcn.004023c0
push str.Uninstall.exe
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x5c], bx
call fcn.004023c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [ebp - 0x70]
mov ebx, eax
call fcn.004023b0
push eax
call fcn.005e519b
add edi, ebx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x38], edx
je 0x414139
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.004023b0
push eax
lea ecx, [ebp - 0x70]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x50]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00401070
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x50]
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 0x41422d
mov ecx, dword [0x6f6354]
test ecx, ecx
jne 0x41422d
mov cl, byte [eax + 0x25]
test cl, cl
je 0x41422d
mov eax, dword [ebp - 0x18]
mov ebx, 1
mov dword [esi + 0x4c], ebx
xor esi, esi
cmp eax, esi
jne 0x4143c3
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 0x4141d0
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 [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x414222
mov ecx, dword [ebp - 0x94]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x84], ebx
jmp 0x4143c3
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 0x414263
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 0x41429f
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4143c3
mov eax, dword [ebp - 0x38]
cmp eax, edi
jne 0x4142b9
lea eax, [ebp - 0x34]
push edi
push eax
mov ecx, esi
call fcn.00412e80
test al, al
je 0x4143c3
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0xcc]
push eax
call ebx
test eax, eax
je 0x4143bd
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 - 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x414315
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x18]
mov dword [0x6f5cf8], edi
test eax, eax
jne 0x4143c3
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 0x414362
mov dword [ebp - 0xbc], eax
jmp 0x41436b
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 0x4143b1
mov ecx, dword [ebp - 0x94]
push 0xffffffffffffffff
push ecx
call esi
mov dword [ebp - 0x84], 1
jmp 0x4143c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x4143eb
cmp edi, ebx
je 0x414405
mov edx, dword [ebp - 0x74]
lea ecx, [esi + 4]
push edx
call fcn.0040bde0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x414405
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41440c
mov dword [0x6f5cf4], 1
jmp 0x41440c
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6f6360]
xor eax, eax
push 4
test ecx, ecx
lea ecx, [ebp - 0x8c]
push ecx
push 4
push 0
push str.lastintres
setne al
push edx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebp - 0x44]
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
je 0x414464
cmp dword [ebp - 0x3c], ebx
je 0x414453
mov ecx, esi
call fcn.00414fc0
jmp 0x41445f
cmp dword [ebp - 0x7c], ebx
jne 0x41445f
mov ecx, esi
call fcn.00414f00
cmp dword [ebp - 0x2c], ebx
jne 0x4144b7
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4144b7
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.00418fe0
cmp dword [0x6f5cf4], ebx
je 0x41450b
mov eax, dword [0x6f6360]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push ebx
push str.NeedChAfRb
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [0x6f7094]
mov edx, dword [0x6f7040]
push 0x50030
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00412270
add esp, 4
cmp dword [ebp - 0x2c], ebx
jne 0x414515
cmp dword [ebp - 0x54], ebx
jne 0x41455c
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push eax
push ecx
push ebx
push ebx
push str.NeedChAfRb
push edx
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414784
mov eax, dword [0x6f6360]
mov edi, dword [ebp - 0x28]
push str.NeedChAfRb
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x414784
mov ecx, dword [0x6f6360]
push str.NeedChAfRb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [0x6f6360]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x74]
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 - 0x74], 4
call edi
test eax, eax
jne 0x41459e
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push 0
push str.ClChIERes
push ecx
mov dword [ebp - 0x74], 4
call edi
test eax, eax
jne 0x4145cd
mov eax, dword [ebp - 0x1c]
cmp eax, 1
mov ebx, eax
je 0x4145d6
cmp esi, 1
jne 0x414784
lea ecx, [ebp - 0x14]
mov edi, 1
call fcn.004f02b0
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x54]
push edx
push eax
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004f1220
cmp ebx, edi
jne 0x414605
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x414605
xor edi, edi
cmp esi, 1
jne 0x414610
cmp dword [ebp - 0x54], 0xffffffff
je 0x414618
test edi, edi
jne 0x414723
mov ecx, dword [0x6f7078]
mov edx, dword [0x6f7068]
push 0x50030
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp - 0x44]
lea ecx, [edi + 4]
call fcn.0040cd80
mov ecx, dword [0x6f6360]
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 - 0x40]
mov dword [edi + 0x1c], 0
call fcn.004f02b0
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x54]
push edx
push eax
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.004f1220
mov edi, 1
cmp ebx, edi
mov eax, edi
jne 0x414699
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x414699
xor eax, eax
cmp esi, edi
jne 0x4146a3
cmp dword [ebp - 0x54], 0xffffffff
je 0x4146a7
test eax, eax
jne 0x414712
mov edx, dword [0x6f6360]
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 [0x6f7078]
mov ecx, dword [0x6f7064]
push 0x50030
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00412270
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.004f02e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004f02e0
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 - 0x40]
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 0xa
call fcn.004f02e0
jmp 0x414778
mov eax, dword [ebp - 0x54]
push 0x50000
cmp eax, 1
jne 0x41473f
mov edx, dword [0x6f7078]
mov eax, dword [0x6f7038]
push edx
push eax
jmp 0x41474d
mov ecx, dword [0x6f7078]
mov edx, dword [0x6f7060]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x6f6360]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push str.AdvancedIntegration
push ecx
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004f02e0
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x4147d5
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x80]
push edx
push eax
push 0
push 0
push str.NeedSnRpAfRb
push ecx
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414878
mov edx, dword [0x6f6360]
mov edi, dword [ebp - 0x80]
push str.NeedSnRpAfRb
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test edi, edi
je 0x414878
push 0
lea ecx, [ebp - 0x13d8]
call fcn.0051b710
lea ecx, [ebp - 0x13d8]
mov byte [ebp - 4], 0xc
call fcn.005fd8c6
lea ecx, [ebp - 0x5a4]
mov byte [ebp - 4], 0x14
call fcn.006018cc
lea ecx, [ebp - 0x1248]
mov byte [ebp - 4], 0x13
call fcn.005a8880
lea ecx, [ebp - 0x1250]
mov byte [ebp - 4], 0x12
call fcn.006018cc
lea ecx, [ebp - 0x128c]
mov byte [ebp - 4], 0x11
call fcn.0060955d
lea ecx, [ebp - 0x12c8]
mov byte [ebp - 4], 0x10
call fcn.0060955d
lea ecx, [ebp - 0x1304]
mov byte [ebp - 4], 0xf
call fcn.0060955d
lea ecx, [ebp - 0x1340]
mov byte [ebp - 4], 0xe
call fcn.006093d5
lea ecx, [ebp - 0x137c]
mov byte [ebp - 4], 0xd
call fcn.0060940d
lea ecx, [ebp - 0x13d8]
mov byte [ebp - 4], 0
call fcn.005fd507
mov ebx, dword [ebp - 0x44]
mov ecx, ebx
call fcn.00416de0
mov ecx, ebx
call fcn.00418940
mov ecx, ebx
call fcn.00414ef0
xor esi, esi
cmp eax, esi
jne 0x4148c1
push esi
push esi
mov ecx, ebx
call fcn.00417610
push esi
push esi
mov ecx, ebx
call fcn.00418190
push esi
push esi
mov ecx, ebx
call fcn.00418200
push esi
push esi
mov ecx, ebx
call fcn.00417870
mov ecx, ebx
call fcn.005a4260
cmp dword [ebx + 0x1c], esi
je 0x4148d1
push 1
mov ecx, ebx
call fcn.0041f440
jmp 0x4148e4
mov ecx, ebx
call fcn.0041a640
cmp eax, esi
jne 0x4148e4
push esi
mov ecx, ebx
call fcn.0041a690
cmp dword [0x6f6354], esi
je 0x4148f3
mov ecx, ebx
call fcn.0041f6b0
cmp dword [ebp - 0x2c], esi
je 0x414de3
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x90]
lea edi, [ebx + 4]
push eax
push ecx
mov ecx, edi
call fcn.0040d2a0
cmp eax, esi
je 0x414b59
cmp dword [ebp - 0x7c], esi
jne 0x41492d
mov ecx, edi
call fcn.0040cd80
jmp 0x414def
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
mov word [ebp - 0x34], si
mov edi, dword [0x6f62f8]
mov byte [ebp - 4], 0x15
cmp edi, esi
jne 0x41494c
mov edi, 0x6f62fc
mov edx, 0x6c5124
test edx, edx
je 0x414a80
cmp edi, esi
je 0x414a80
mov ecx, str.Uninstall.exe
test ecx, ecx
je 0x414a80
push esi
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x5c], si
call fcn.00402ce0
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
mov word [ebp - 0x6c], si
call fcn.004023c0
push str.Uninstall.exe
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x4c], si
call fcn.004023c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov eax, dword [ebp - 0x70]
cmp eax, esi
jne 0x4149ca
lea eax, [ebp - 0x6c]
mov ebx, dword [ebp - 0x50]
cmp ebx, esi
jne 0x4149d4
lea ebx, [ebp - 0x4c]
mov edi, dword [ebp - 0x58]
push eax
call fcn.005e519b
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.005e519b
mov edx, dword [ebp - 0x20]
add edi, edx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 0xc
cmp edx, esi
mov dword [ebp - 0x38], edx
je 0x414a56
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 - 0x50]
cmp eax, esi
mov edx, eax
jne 0x414a26
lea edx, [ebp - 0x4c]
mov ecx, dword [ebp - 0x70]
cmp ecx, esi
jne 0x414a30
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
cmp eax, esi
jne 0x414a3a
lea eax, [ebp - 0x5c]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x44]
cmp eax, esi
jne 0x414a87
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414b4d
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x414aa1
lea eax, [ebp - 0x34]
push esi
push eax
mov ecx, ebx
call fcn.00412e80
test al, al
je 0x414b4d
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 0x414aee
mov dword [ebp - 0xbc], eax
jmp 0x414af7
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 [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x414b43
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 0x414de3
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 0x414b87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414bc2
call fcn.00446240
neg eax
sbb eax, eax
lea edx, [ebp - 0x20]
and eax, 0x100
push edx
add eax, 0x20019
push eax
push esi
push str.SYSTEMCurrentControlSetServicesIDMTDI
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x414de3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], eax
mov word [ebp - 0x4c], si
mov edi, dword [0x6f62f8]
mov byte [ebp - 4], 0x19
cmp edi, esi
jne 0x414be1
mov edi, 0x6f62fc
mov ecx, 0x6c5124
test ecx, ecx
je 0x414d12
cmp edi, esi
je 0x414d12
mov edx, str.Uninstall.exe
test edx, edx
je 0x414d12
push esi
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x5c], si
call fcn.00402ce0
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x34], si
call fcn.004023c0
push str.Uninstall.exe
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
mov word [ebp - 0x6c], si
call fcn.004023c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1c
call fcn.00401070
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x414c5f
lea eax, [ebp - 0x34]
mov ebx, dword [ebp - 0x70]
cmp ebx, esi
jne 0x414c69
lea ebx, [ebp - 0x6c]
mov edi, dword [ebp - 0x58]
push eax
call fcn.005e519b
mov edx, eax
push ebx
mov dword [ebp - 0x20], edx
call fcn.005e519b
mov ecx, dword [ebp - 0x20]
add edi, ecx
lea ebx, [eax + edi + 3]
lea edi, [ebx + ebx]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 0xc
cmp edx, esi
mov dword [ebp - 0x50], edx
je 0x414ceb
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 - 0x70]
cmp eax, esi
mov edx, eax
jne 0x414cbb
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x38]
cmp ecx, esi
jne 0x414cc5
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x60]
cmp eax, esi
jne 0x414ccf
lea eax, [ebp - 0x5c]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x50]
push ebx
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x19
call fcn.00401070
mov eax, dword [ebp - 0x50]
cmp eax, esi
jne 0x414d19
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414dd7
mov eax, dword [ebp - 0x50]
cmp eax, esi
jne 0x414d33
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
push 1
push eax
call fcn.00412e80
test al, al
je 0x414dd7
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x108], 0x3c
cmp eax, esi
mov dword [ebp - 0x104], 0x40
mov dword [ebp - 0xfc], str.open
je 0x414d82
mov dword [ebp - 0xf8], eax
jmp 0x414d8b
lea edx, [ebp - 0x4c]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0xf4], str._uninsttdi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x414dd7
mov ecx, dword [ebp - 0xd0]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00401070
cmp dword [ebp - 0x84], esi
je 0x414701
mov edx, dword [0x6f7094]
mov eax, dword [0x6f7040]
push 0x50030
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00412270
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