Function at 0x415dcb
Capabilities:
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, edx
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0043c2b8
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [edi - 0xc]
dec eax
push eax
call fcn.0043b8a7
push 0x5c
pop ecx
cmp ax, cx
je 0x415e06
push ecx
lea ecx, [ebp - 0x10]
call fcn.0043c971
mov edi, dword [ebp - 0x10]
xor esi, esi
lea edx, [ebp - 0x10]
push 0x494a54
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0043baed
pop ecx
push esi
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call fcn.0044d9a9
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp dword [ebp - 0x24], 0x60000
jbe 0x415e4c
mov eax, dword [ebp + 8]
sub eax, 1
je 0x415e61
sub eax, 1
je 0x415e56
mov ebx, 0x80004002
jmp 0x416199
cmp dword [ebp - 0x24], 0x60004
jb 0x415e9d
jmp 0x415e93
cmp dword [ebp - 0x24], 0x60003
jb 0x415e9d
push str.WindowsSystem32WimBootCompress.ini
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044d9e7
mov ecx, dword [ebp - 0x14]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043d912
test esi, esi
je 0x415e9b
push 0x50
pop ebx
jmp 0x416199
xor esi, esi
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x14]
call fcn.0043bbe8
lea eax, [ebp - 0x14]
mov edx, str.ControlSession_ManagerEnvironment
push eax
push str.PROCESSOR_ARCHITECTURE
mov ecx, ebx
call fcn.0044defb
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x41618e
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0xc]
call fcn.0043bbe8
mov eax, 0x104
lea ecx, [ebp - 0xc]
push eax
push eax
call fcn.0043d810
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043d882
push 0x5c
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
jne 0x415f10
or eax, 0xffffffff
jmp 0x415f15
sub eax, dword [ebp - 0xc]
sar eax, 1
inc eax
lea ecx, [ebp - 0xc]
push eax
call fcn.0043d882
lea eax, [ebp - 0x14]
mov edx, str.Config_
push str.wofadk.sys
push eax
lea ecx, [ebp - 0x24]
call fcn.00431d43
pop ecx
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0043baed
pop ecx
lea ecx, [ebp - 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043c99e
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x34]
push esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call fcn.0044d9a9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x416183
push str.WindowsSystem32driverswofadk.sys
lea edx, [ebp - 0x10]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], esi
call fcn.0043baed
pop ecx
push esi
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov ecx, esi
call fcn.0044d9a9
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x30], ecx
jb 0x415fd6
ja 0x415fba
cmp dword [ebp - 0x34], eax
jbe 0x415fd6
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x415fe2
call fcn.0044cc8a
mov ebx, eax
jmp 0x41617b
or eax, ecx
jne 0x415fe2
push 2
pop ebx
jmp 0x41617b
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push 0x20006
push dword [0x4ad198]
mov dword [ebp - 8], ecx
push ecx
push ecx
push str.servicesWofAdk
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x416173
mov ecx, dword [ebp - 8]
mov edx, str.Instances
push str.WofAdk_Instance
push str.DefaultInstance
call fcn.0044df3d
mov ecx, dword [ebp - 8]
mov ebx, str.InstancesWofAdk_Instance
push str.40730
push str.Altitude
mov edx, ebx
call fcn.0044df3d
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x24]
and dword [ebp - 0x24], 0
mov edx, ebx
push 4
push eax
push 4
push str.Flags
call fcn.0044de71
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x20
push 0x10
push str.FltMgr
push 7
push 0
push str.DependOnService
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
mov edx, str.Discription
push str.WofAdk_Mini_Filter_Driver
call fcn.0044ddbc
mov ecx, dword [ebp - 8]
mov edx, str.DisplayName
mov dword [esp], 0x4911d4
call fcn.0044ddbc
pop ecx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 4
push 0
push str.ErrorControl
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp - 8]
mov edx, str.Group
push str.FSFilter_Compression
call fcn.0044ddbc
pop ecx
push 0x50
push str.SystemRootSystem32driverswofadk.sys
push 2
push 0
push str.ImagePath
push dword [ebp - 8]
call ebx
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push 4
push eax
push 4
push 0
push str.Start
push dword [ebp - 8]
call ebx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 3
push eax
push 4
push 0
push str.SupportedFeatures
push dword [ebp - 8]
call ebx
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 2
push eax
push 4
push 0
push 0x4916c8
push dword [ebp - 8]
call ebx
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
push str.Start
mov edx, str.servicesWof
mov ecx, ebx
call fcn.0044de32
pop ecx
pop ecx
test eax, eax
jne 0x416171
push 4
pop ecx
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
push ecx
push str.Start
mov edx, str.servicesWof
mov ecx, ebx
call fcn.0044de71
add esp, 0x10
xor ebx, ebx
lea ecx, [ebp - 8]
call fcn.0043b8cb
lea ecx, [esi - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0043d912
lea ecx, [edi - 0x10]
call fcn.0043d912
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret