Function at 0x403477
Capabilities:
Copy file
Create service
Delete file
Delete registry value
Delete service
Get common file path
Print debug messages
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f1bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x55c
push esi
push edi
lea eax, [ebp - 0x328]
push eax
call fcn.0053534c
add esp, 4
push 0x58a22c
lea ecx, [ebp - 0x328]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x328]
push edx
push 0
push str.EnableFilterDriver
push 0x58a254
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x4034dc
jmp 0x404346
mov dword [ebp - 0xa4], 0
push 0
lea ecx, [ebp - 0x224]
call fcn.0042a770
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x338]
call fcn.004013e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1b8], 1
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 0x10], 1
mov byte [ebp - 0xf], 0
mov eax, dword [0x58a260]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [0x58a264]
mov dword [ebp - 0x1ac], ecx
mov dx, word [0x58a268]
mov word [ebp - 0x1a8], dx
mov eax, dword [str.usbmpid]
mov dword [ebp - 0x398], eax
mov ecx, dword [0x58a270]
mov dword [ebp - 0x394], ecx
mov ecx, 0x13
mov esi, str.SYSTEMCurrentControlSetControlClass36FC9E60_C465_11CF_8056_444553540000
lea edi, [ebp - 0x390]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [str.SoftwareSMI]
mov dword [ebp - 0x3d4], edx
mov eax, dword [0x58a2c8]
mov dword [ebp - 0x3d0], eax
mov ecx, dword [0x58a2cc]
mov dword [ebp - 0x3cc], ecx
mov dl, byte [0x58a2d0]
mov byte [ebp - 0x3c8], dl
mov ecx, 0xa
mov esi, str.SYSTEMCurrentControlSetControlUsbFlags
lea edi, [ebp - 0x3c4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x340]
call fcn.004013e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.004013e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e4]
call fcn.004013e0
mov byte [ebp - 4], 4
push str.Drivers_
lea ecx, [ebp - 0x4dc]
call fcn.00560f0f
mov byte [ebp - 4], 5
push str.smidriver.sys
lea ecx, [ebp - 0x33c]
call fcn.00560f0f
mov byte [ebp - 4], 6
mov byte [ebp - 0x1a4], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x1a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4d8]
push eax
call fcn.0053534c
add esp, 4
push 0x58a31c
lea ecx, [ebp - 0x4d8]
push ecx
call fcn.0054bed0
add esp, 8
cmp dword [ebp + 8], 0
je 0x403e63
push 0x1000
push 0
push 0x5cf320
call fcn.0054bfb0
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x330], eax
lea edx, [ebp - 0x33c]
push edx
push 0x58a338
lea eax, [ebp - 0x4f4]
push eax
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x51c], eax
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0x520], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x520]
push edx
lea eax, [ebp - 0x4f8]
push eax
call fcn.00561136
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0x528], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x528]
push edx
lea eax, [ebp - 0x4fc]
push eax
call fcn.005610d0
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x530]
push edx
lea ecx, [ebp - 0x334]
call fcn.00560fda
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4fc]
call fcn.00560ea1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4f8]
call fcn.00560ea1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4f4]
call fcn.00560ea1
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x500]
push edx
call fcn.005610d0
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x538]
push ecx
lea ecx, [ebp - 0x4e4]
call fcn.00560fda
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x500]
call fcn.00560ea1
push pe_nt_image_headers32
lea edx, [ebp - 0x1a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x504]
push edx
call fcn.005611aa
mov dword [ebp - 0x53c], eax
mov eax, dword [ebp - 0x53c]
mov dword [ebp - 0x540], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x540]
call fcn.00401440
push eax
lea ecx, [ebp - 0x334]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x504]
call fcn.00560ea1
cmp dword [ebp - 0x330], 0
je 0x403840
push 0
push 0
push 0
push 0
push 0
push str.System32Drivers_smidriver.sys
push 1
push 1
push 1
push 0xf01ff
push 0x58a368
push 0x58a374
mov ecx, dword [ebp - 0x330]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x32c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x330]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x4e0]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x3c4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a11
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
push eax
push 0x58a380
lea ecx, [ebp - 0x338]
push ecx
call fcn.0055ea77
add esp, 0xc
lea edx, [ebp - 0x4d8]
push edx
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0x5bdc2c
lea ecx, [ebp - 0x338]
call fcn.00401440
push eax
push 0x58a38c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x4039ff
lea ecx, [ebp - 0x20]
push ecx
push 0x58a39c
lea edx, [ebp - 0xa0]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0054c3e0
add esp, 4
push eax
lea ecx, [ebp - 0x10]
push ecx
push 3
push 0
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
push 0x58a3b0
lea eax, [ebp - 0x338]
push eax
call fcn.0055ea77
add esp, 0xc
lea ecx, [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x4ec]
push edx
push str._4X_4X
lea eax, [ebp - 0x20]
push eax
call fcn.0054c6fc
add esp, 0x10
lea ecx, [ebp - 0x20]
push ecx
call fcn.0054c3e0
add esp, 4
push eax
lea edx, [ebp - 0x20]
push edx
push 1
push 0
lea eax, [ebp - 0x398]
push eax
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x4e8]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x4ec]
and eax, 0xffff
push eax
push str.USBVID__.4XPID__.4X
mov ecx, dword [0x5d0340]
shl ecx, 7
add ecx, 0x5cf320
push ecx
call fcn.0054c45b
add esp, 0x10
push str.Set_Ignore_ID_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [0x5d0340]
shl edx, 7
add edx, 0x5cf320
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x5d0340]
add eax, 1
mov dword [0x5d0340], eax
cmp dword [0x5d0340], 0x20
jl 0x4039fa
jmp 0x4039ff
jmp 0x4038a7
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403b4d
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x4e0]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x3c4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403b4d
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
push edx
push 0x58a3ec
lea eax, [ebp - 0x338]
push eax
call fcn.0055ea77
add esp, 0xc
lea ecx, [ebp - 0x4d8]
push ecx
push 0x10
lea edx, [ebp - 0x20]
push edx
push 0x5bdc30
lea ecx, [ebp - 0x338]
call fcn.00401440
push eax
push 0x58a3f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x403b40
lea eax, [ebp - 0x20]
push eax
push 0x58a408
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
call fcn.0054c3e0
add esp, 4
push eax
lea eax, [ebp - 0x10]
push eax
push 3
push 0
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x20]
push eax
call fcn.0054c3e0
add esp, 4
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0
lea edx, [ebp - 0x398]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
push 0x58a41c
lea eax, [ebp - 0x338]
push eax
call fcn.0055ea77
add esp, 0xc
cmp dword [ebp - 0xa4], 0x20
jl 0x403b3b
jmp 0x403b40
jmp 0x403a6b
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x4e0]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x3d4]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c5e
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa4]
push ecx
push 0x58a428
lea edx, [ebp - 0x338]
push edx
call fcn.0055ea77
add esp, 0xc
lea eax, [ebp - 0x4d8]
push eax
push 0x10
lea ecx, [ebp - 0x20]
push ecx
push 0x5bdc34
lea ecx, [ebp - 0x338]
call fcn.00401440
push eax
push 0x58a434
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x403c4c
lea edx, [ebp - 0x20]
push edx
push 0x58a444
lea eax, [ebp - 0x340]
push eax
call fcn.0055ea77
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push ecx
push 0x58a448
lea ecx, [ebp - 0x340]
call fcn.00401440
push eax
call fcn.0054c6fc
add esp, 0xc
push 4
lea edx, [ebp - 0x1b4]
push edx
push 4
push 0
push 0x58a44c
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xa4]
add ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
push 0x58a454
lea eax, [ebp - 0x338]
push eax
call fcn.0055ea77
add esp, 0xc
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403d77
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x4e0]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x3d4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403d77
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
push edx
push 0x58a460
lea eax, [ebp - 0x338]
push eax
call fcn.0055ea77
add esp, 0xc
lea ecx, [ebp - 0x4d8]
push ecx
push 0x10
lea edx, [ebp - 0x20]
push edx
push 0x5bdc38
lea ecx, [ebp - 0x338]
call fcn.00401440
push eax
push 0x58a46c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x403d6a
lea eax, [ebp - 0x20]
push eax
push 0x58a47c
lea ecx, [ebp - 0x340]
push ecx
call fcn.0055ea77
add esp, 0xc
lea edx, [ebp - 0x1b4]
push edx
push 0x58a480
lea ecx, [ebp - 0x340]
call fcn.00401440
push eax
call fcn.0054c6fc
add esp, 0xc
push 4
lea eax, [ebp - 0x1b4]
push eax
push 4
push 0
push 0x58a484
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
push 0x58a48c
lea ecx, [ebp - 0x338]
push ecx
call fcn.0055ea77
add esp, 0xc
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x4e0]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x390]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403dda
lea edx, [ebp - 0x1b0]
push edx
call fcn.0054c3e0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x1b0]
push eax
push 7
push 0
push 0x58a498
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403e48
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea edx, [ebp - 0x390]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403e48
lea eax, [ebp - 0x1b0]
push eax
call fcn.0054c3e0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push 7
push 0
push 0x58a4a8
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Progress_Bar_Before_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Progress_Bar_After_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4042da
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0
je 0x403ed2
push 0xf01ff
push str.smidriver
mov ecx, dword [ebp - 0x330]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x403ed2
mov edx, dword [ebp - 0x32c]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x32c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x330]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x32c]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x330]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x4e0]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x3c4]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403fd1
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
push eax
push 0x58a4f4
lea ecx, [ebp - 0x338]
push ecx
call fcn.0055ea77
add esp, 0xc
lea edx, [ebp - 0x4d8]
push edx
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0x5bdc3c
lea ecx, [ebp - 0x338]
call fcn.00401440
push eax
push str.FilterDriver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x403fc4
mov ecx, dword [ebp - 0x340]
push ecx
push str.IgnoreHWSerNum_s
lea edx, [ebp - 0xa0]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
push str.VIDPID_d
lea ecx, [ebp - 0x338]
push ecx
call fcn.0055ea77
add esp, 0xc
jmp 0x403f39
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x4e0]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x3d4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404014
push str.VIDPID
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4f0], 0
mov ecx, dword [ebp - 0x4f0]
mov edx, dword [ebp - 0x4f0]
add edx, 1
mov dword [ebp - 0x4f0], edx
cmp ecx, 0xa
jge 0x40407f
lea eax, [ebp - 0x4e0]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x390]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40407d
push 0x58a538
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40407f
jmp 0x40401e
push 0x5bdc40
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0054bec0
add esp, 8
lea edx, [ebp - 0x4e0]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x390]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4040f6
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.0054c3e0
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x1b0]
push edx
push 7
push 0
push 0x58a548
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404164
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x4e0]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x390]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404164
lea edx, [ebp - 0x1b0]
push edx
call fcn.0054c3e0
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x1b0]
push eax
push 7
push 0
push str.LowerFilters
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x33c]
push eax
push str.UFD_MPDriver_
lea ecx, [ebp - 0x508]
push ecx
call fcn.004033ea
add esp, 4
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x548], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x548]
push eax
lea ecx, [ebp - 0x50c]
push ecx
call fcn.00561136
mov dword [ebp - 0x54c], eax
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x550]
push eax
lea ecx, [ebp - 0x510]
push ecx
call fcn.005610d0
mov dword [ebp - 0x554], eax
mov edx, dword [ebp - 0x554]
mov dword [ebp - 0x558], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x558]
push eax
lea ecx, [ebp - 0x334]
call fcn.00560fda
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x510]
call fcn.00560ea1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50c]
call fcn.00560ea1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x508]
call fcn.00560ea1
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x514]
push eax
call fcn.005610d0
mov dword [ebp - 0x55c], eax
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x560], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x560]
push edx
lea ecx, [ebp - 0x4e4]
call fcn.00560fda
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x514]
call fcn.00560ea1
push pe_nt_image_headers32
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x4e4]
push ecx
lea edx, [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x518]
push eax
call fcn.005611aa
mov dword [ebp - 0x564], eax
mov ecx, dword [ebp - 0x564]
mov dword [ebp - 0x568], ecx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x568]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x518]
call fcn.00560ea1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x33c]
call fcn.00560ea1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dc]
call fcn.00560ea1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e4]
call fcn.00560ea1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x334]
call fcn.00560ea1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x340]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x338]
call fcn.00560ea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00406d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret