Function at 0x433350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4857af
mov eax, dword fs:[0]
push eax
sub esp, 0x8c4
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8ac], ecx
mov ecx, dword [ebp - 0x8ac]
call fcn.00431e50
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x8ac]
call fcn.00433fd0
movzx ecx, al
test ecx, ecx
je 0x4333eb
push str.Driver_already_installed.
lea ecx, [ebp - 0x888]
call fcn.0040e440
mov dword [ebp - 4], 0
lea edx, [ebp - 0x888]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.0042de90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x888]
call fcn.0040e4c0
mov al, 1
jmp 0x433d2d
lea ecx, [ebp - 0x14]
call fcn.0040e380
mov dword [ebp - 4], 1
call fcn.00430450
movzx ecx, al
test ecx, ecx
je 0x433425
mov ecx, dword [ebp - 0x8ac]
call fcn.004332a0
push eax
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_x64DriversVersion__d_
lea edx, [ebp - 0x14]
push edx
call fcn.00412a80
add esp, 0xc
jmp 0x43345d
call fcn.00430380
movzx eax, al
test eax, eax
je 0x433450
mov ecx, dword [ebp - 0x8ac]
call fcn.004332a0
push eax
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_NT_x86DriversVersion__d_
lea ecx, [ebp - 0x14]
push ecx
call fcn.00412a80
add esp, 0xc
jmp 0x43345d
push str.SystemCurrentControlSetControlPrintEnvironmentsWindows_4.0Drivers_
lea ecx, [ebp - 0x14]
call fcn.0040e530
mov edx, dword [ebp - 0x8ac]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x38
call fcn.004352e0
movzx ecx, al
test ecx, ecx
jne 0x43349d
mov byte [ebp - 0x889], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov al, byte [ebp - 0x889]
jmp 0x433d2d
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x24
call fcn.0040e560
test eax, eax
jle 0x433513
mov edx, dword [ebp - 0x8ac]
add edx, 0x24
push ecx
mov ecx, esp
mov dword [ebp - 0x890], esp
push edx
call fcn.0040e3e0
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x8b0]
mov dword [ebp - 0x8b4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8ac]
mov ecx, dword [ecx + 0x34]
call fcn.00434130
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00436f30
mov dword [ebp - 0x8b8], eax
mov edx, dword [ebp - 0x8b8]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x433513
mov ecx, dword [ebp - 0x18]
call fcn.00436a90
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x82c]
call fcn.0040e3e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x82c]
call fcn.0040e550
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4335ee
mov ecx, dword [ebp - 0x8ac]
call fcn.004332a0
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x834], 0
mov eax, dword [ebp - 0x830]
push eax
push 0x48fffc
lea ecx, [ebp - 0x854]
push ecx
call fcn.0046e183
add esp, 0xc
lea edx, [ebp - 0x854]
push edx
push str.Directory
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x8ac]
mov ecx, dword [ecx + 0x34]
call fcn.00430670
push 4
lea edx, [ebp - 0x830]
push edx
push 4
push 0
push str.MajorVersion
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x834]
push ecx
push 4
push 0
push str.MinorVersion
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00414600
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x82c]
call fcn.0040e550
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x824], 0
push 0x7ff
push 0
lea eax, [ebp - 0x823]
push eax
call fcn.0046ac10
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x433c74
call fcn.00430380
movzx ecx, al
test ecx, ecx
je 0x43367a
mov edx, dword [ebp - 0x8ac]
add edx, 0x14
mov dword [ebp - 0x8bc], edx
jmp 0x433689
mov eax, dword [ebp - 0x8ac]
add eax, 0x20
mov dword [ebp - 0x8bc], eax
mov ecx, dword [ebp - 0x8bc]
mov dword [ebp - 0x894], ecx
mov ecx, dword [ebp - 0x894]
call fcn.0040e550
push eax
lea edx, [ebp - 0x824]
push edx
call fcn.0046a830
add esp, 8
lea eax, [ebp - 0x824]
push eax
push str.Configuration_File
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x18
call fcn.0040e550
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0046a830
add esp, 8
lea ecx, [ebp - 0x824]
push ecx
push str.Data_File
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x20
call fcn.0040e550
push eax
lea ecx, [ebp - 0x824]
push ecx
call fcn.0046a830
add esp, 8
lea edx, [ebp - 0x824]
push edx
push 0x4900f0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x8ac]
mov ecx, dword [ecx + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x1c
call fcn.0040e550
push eax
lea edx, [ebp - 0x824]
push edx
call fcn.0046a830
add esp, 8
lea eax, [ebp - 0x824]
push eax
push str.Help_File
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x24
call fcn.0040e550
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0046a830
add esp, 8
lea ecx, [ebp - 0x824]
push ecx
push str.Monitor
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
call fcn.00430380
movzx ecx, al
test ecx, ecx
je 0x4337e8
push 0x48fe4b
push 0x49010c
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
jmp 0x433804
push 0x490118
push str.Datatype
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.00430670
call fcn.00430390
movzx eax, al
test eax, eax
je 0x433ac4
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x864]
call fcn.0040e3e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x864]
call fcn.00415690
push 0
push 0x2c
lea ecx, [ebp - 0x864]
call fcn.00415620
test eax, eax
jl 0x43389e
push 0
push 0x2c
lea ecx, [ebp - 0x864]
call fcn.00415620
push eax
lea edx, [ebp - 0x898]
push edx
lea ecx, [ebp - 0x864]
call fcn.00411540
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebp - 0x8c0]
mov dword [ebp - 0x8c4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8c4]
push ecx
lea ecx, [ebp - 0x864]
call fcn.0040e510
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x898]
call fcn.0040e4c0
lea ecx, [ebp - 0x864]
call fcn.0040e550
push eax
lea edx, [ebp - 0x824]
push edx
call fcn.0046a830
add esp, 8
lea eax, [ebp - 0x824]
push eax
push str.HardwareID
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.00430670
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0046a830
add esp, 8
lea ecx, [ebp - 0x824]
push ecx
push 0x490134
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
push 0x48fe59
push str.OEM_URL
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x30
call fcn.0040e550
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0046a830
add esp, 8
lea ecx, [ebp - 0x824]
push ecx
push str.Provider
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
push 2
push 0x490158
push 7
push 0
push str.Previous_Names
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.004303c0
movzx edx, al
test edx, edx
je 0x433a08
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x28
call fcn.0040e550
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0046a830
add esp, 8
lea ecx, [ebp - 0x824]
push ecx
push 0x49016c
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.00430670
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x2c
call fcn.0040e550
push eax
lea ecx, [ebp - 0x824]
push ecx
call fcn.0046a830
add esp, 8
lea edx, [ebp - 0x824]
push edx
push 0x49017c
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x8ac]
mov ecx, dword [ecx + 0x34]
call fcn.00430670
jmp 0x433a8f
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x874], 0
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x28
call fcn.0040de50
movzx edx, al
test edx, edx
jne 0x433a57
lea eax, [ebp - 0x870]
push eax
mov ecx, dword [ebp - 0x8ac]
call fcn.00433df0
push 8
lea ecx, [ebp - 0x870]
push ecx
push 3
push 0
push str.DriverVersion
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 8
lea eax, [ebp - 0x878]
push eax
push 3
push 0
push str.DriverDate
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x868], 0
push 4
lea edx, [ebp - 0x868]
push edx
push 4
push 0
push str.TempDir
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x864]
call fcn.0040e4c0
call fcn.00430380
movzx ecx, al
test ecx, ecx
je 0x433ae3
mov ecx, dword [ebp - 0x8ac]
call fcn.004332a0
mov dword [ebp - 0x8c8], eax
jmp 0x433aed
mov dword [ebp - 0x8c8], 0x400
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x85c], edx
push 4
lea eax, [ebp - 0x85c]
push eax
push 4
push 0
push str.Version
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.004303a0
movzx edx, al
test edx, edx
je 0x433b47
mov dword [ebp - 0x87c], 2
push 4
lea eax, [ebp - 0x87c]
push eax
push 4
push 0
push str.Attributes
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x824]
mov dword [ebp - 0x860], edx
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x38
call fcn.0043fec0
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x880], 0
jmp 0x433b82
mov eax, dword [ebp - 0x880]
add eax, 1
mov dword [ebp - 0x880], eax
mov ecx, dword [ebp - 0x880]
cmp ecx, dword [ebp - 0x858]
jge 0x433c25
mov edx, dword [ebp - 0x880]
push edx
mov ecx, dword [ebp - 0x8ac]
add ecx, 0x38
call fcn.00434200
mov dword [ebp - 0x884], eax
lea eax, [ebp - 0x89c]
push eax
mov ecx, dword [ebp - 0x884]
call fcn.00434900
mov dword [ebp - 0x8cc], eax
mov ecx, dword [ebp - 0x8cc]
mov dword [ebp - 0x8d0], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8d0]
call fcn.0040e550
push eax
mov edx, dword [ebp - 0x860]
push edx
call fcn.0046a830
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x89c]
call fcn.0040e4c0
mov eax, dword [ebp - 0x860]
push eax
call fcn.0046a7a0
add esp, 4
mov ecx, dword [ebp - 0x860]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x860], edx
jmp 0x433b73
mov eax, dword [ebp - 0x860]
mov byte [eax], 0
mov ecx, dword [ebp - 0x860]
add ecx, 1
mov dword [ebp - 0x860], ecx
mov edx, dword [ebp - 0x860]
lea eax, [ebp - 0x824]
sub edx, eax
push edx
lea ecx, [ebp - 0x824]
push ecx
push 7
push 0
push str.Dependent_Files
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x82c]
call fcn.0040e4c0
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x433cd7
push str.Driver_installed.
lea ecx, [ebp - 0x8a0]
call fcn.0040e440
mov byte [ebp - 4], 7
lea edx, [ebp - 0x8a0]
push edx
mov eax, dword [ebp - 0x8ac]
mov ecx, dword [eax + 0x34]
call fcn.0042de80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a0]
call fcn.0040e4c0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x8ac]
mov ecx, dword [edx + 0x34]
call fcn.004306d0
jmp 0x433d0f
push str.Driver_failed_to_install.
lea ecx, [ebp - 0x8a4]
call fcn.0040e440
mov byte [ebp - 4], 8
lea eax, [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x8ac]
mov ecx, dword [ecx + 0x34]
call fcn.0042dea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a4]
call fcn.0040e4c0
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x8a5], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov al, byte [ebp - 0x8a5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 0xc