Function at 0x42c410
Capabilities:
Create process on windows
Enumerate files on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468b82
mov eax, dword fs:[0]
push eax
mov eax, 0x1d24
call fcn.00454790
mov eax, dword [0x48807c]
xor eax, esp
mov dword [esp + 0x1d20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48807c]
xor eax, esp
push eax
lea eax, [esp + 0x1d38]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1d48]
mov ebx, ecx
push edi
xor esi, esi
push str.ProcessSectionRemoveDriverPackage_____s__n
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], esi
call fcn.004454c0
inc dword [ebx + 0x8ee0]
mov eax, dword [ebx + 0x8ee0]
push eax
push edi
push str.Push___s____index___d__n
call fcn.004454c0
mov eax, dword [ebx + 0x8ee0]
imul eax, eax, 0x88
mov dword [eax + ebx + 0x4b64], 0xffffffff
mov edx, dword [ebx + 0x8ee0]
add esp, 0x14
imul edx, edx, 0x88
mov ecx, edi
lea edx, [edx + ebx + 0x4ae4]
jmp 0x42c4c0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x42c4c0
mov ecx, dword [ebx + 4]
push esi
lea eax, [esp + 0xd38]
push eax
push esi
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
call fcn.00409a10
test al, al
je 0x42ccfc
lea ecx, [esp + 0xd34]
push ecx
push esi
push edi
push str.__s___d____s__n
call fcn.004454c0
add esp, 0x10
lea edx, [esp + 0xd34]
push edx
mov ecx, ebx
call fcn.004190c0
push 0x1c2d0
call fcn.004534f0
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x1d40], 0
test eax, eax
je 0x42c549
mov ecx, eax
call fcn.00444be0
mov ebp, eax
mov dword [esp + 0x38], eax
jmp 0x42c54f
xor ebp, ebp
mov dword [esp + 0x38], ebp
push 0x474298
lea eax, [esp + 0xd38]
push eax
mov ecx, ebp
mov dword [esp + 0x1d48], 0xffffffff
call fcn.00444e30
cmp byte [ebp + 0x1c2cc], 0
je 0x42c58c
cmp dword [ebp + 0x1c2c8], 0
jg 0x42c584
xor eax, eax
jmp 0x42c59a
lea eax, [ebp + 0x32c8]
jmp 0x42c59a
xor eax, eax
cmp dword [ebp + 0x1c2c8], eax
setle al
dec eax
and eax, ebp
push str.Package
push eax
call fcn.00453ad3
add esp, 8
test eax, eax
jne 0x42cc08
mov edi, 1
add dword [ebx + 0x8ee0], edi
mov ecx, dword [ebx + 0x8ee0]
cmp byte [ebp + 0x1c2cc], al
je 0x42c5d9
cmp dword [ebp + 0x1c2c8], eax
jle 0x42c5e7
lea eax, [ebp + 0x32c8]
jmp 0x42c5e7
xor eax, eax
cmp dword [ebp + 0x1c2c8], eax
setle al
dec eax
and eax, ebp
push ecx
push eax
push str.__Push___s_m_nCurSct___Index___d__n
call fcn.004454c0
mov ecx, dword [ebx + 0x8ee0]
imul ecx, ecx, 0x88
or esi, 0xffffffff
add esp, 0xc
mov dword [ecx + ebx + 0x4b64], esi
cmp byte [ebp + 0x1c2cc], 0
je 0x42c62a
cmp dword [ebp + 0x1c2c8], 0
jg 0x42c622
xor ecx, ecx
jmp 0x42c638
lea ecx, [ebp + 0x32c8]
jmp 0x42c638
xor ecx, ecx
cmp dword [ebp + 0x1c2c8], ecx
setle cl
dec ecx
and ecx, ebp
mov edx, dword [ebx + 0x8ee0]
imul edx, edx, 0x88
lea edx, [edx + ebx + 0x4ae4]
jmp 0x42c650
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42c650
add dword [esp + 0x18], edi
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x39e]
push ecx
mov dword [esp + 0x28], esi
mov word [esp + 0x3a0], ax
call fcn.00453450
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x32a]
push eax
mov word [esp + 0x32c], dx
call fcn.00453450
mov bl, byte [ebp + 0x1c2cc]
mov esi, dword [ebp + 0x1c2c8]
add esp, 0x18
test bl, bl
je 0x42c6c1
cmp esi, 1
jg 0x42c6b9
xor ecx, ecx
jmp 0x42c6d0
lea ecx, [ebp + 0x3ac8]
jmp 0x42c6d0
cmp esi, 1
jg 0x42c6ca
xor ecx, ecx
jmp 0x42c6d0
lea ecx, [ebp + 0x104]
lea edx, [esp + 0x394]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42c6d7
test bl, bl
je 0x42c6fd
cmp esi, 2
jg 0x42c6f5
xor ecx, ecx
jmp 0x42c70c
lea ecx, [ebp + 0x42c8]
jmp 0x42c70c
cmp esi, 2
jg 0x42c706
xor ecx, ecx
jmp 0x42c70c
lea ecx, [ebp + 0x208]
lea edx, [esp + 0x314]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42c713
lea ecx, [esp + 0x394]
push ecx
push str.___wszCommand_____s__n
call fcn.004454c0
lea edx, [esp + 0x31c]
push edx
push str.___wszClass_____s__n
call fcn.004454c0
lea eax, [esp + 0x3a4]
push str.REG_DB
push eax
call fcn.00453ad3
add esp, 0x18
test eax, eax
jne 0x42cbbe
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x92e]
push edx
mov word [esp + 0x930], cx
call fcn.00453450
add esp, 0xc
cmp byte [ebp + 0x1c2cc], 0
je 0x42c7a3
cmp dword [ebp + 0x1c2c8], 3
jg 0x42c79b
xor eax, eax
jmp 0x42c7b6
lea eax, [ebp + 0x4ac8]
jmp 0x42c7b6
cmp dword [ebp + 0x1c2c8], 3
jg 0x42c7b0
xor eax, eax
jmp 0x42c7b6
lea eax, [ebp + 0x30c]
push eax
lea eax, [esp + 0x928]
push str._sDrivers
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x930]
push ecx
push str.___Driver_DB_key___s__n
call fcn.004454c0
push 0x20019
lea edx, [esp + 0x93c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00451bc0
mov esi, eax
add esp, 0x20
test esi, esi
jbe 0x42cbbe
imul eax, eax, 0x104
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453c61
mov edi, eax
add esp, 4
test edi, edi
je 0x42cbbe
push 0x20019
push esi
push edi
lea eax, [esp + 0x930]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00451be0
add esp, 0x14
test eax, eax
jle 0x42cbbe
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
push edi
push str._______Driver___s__n
call fcn.004454c0
add esp, 8
push 0x104
lea ecx, [esp + 0xb30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xb2c]
push edx
lea eax, [esp + 0x720]
push str._sinfoem.inf
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x720]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x42cba5
jmp 0x42c8c0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xb30]
push ecx
lea edx, [esp + 0x724]
push str._sinf_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x4fc8
call fcn.004534f0
add esp, 0x14
mov dword [esp + 0x20], eax
mov dword [esp + 0x1d40], 1
test eax, eax
je 0x42c918
push 0
lea ecx, [esp + 0x720]
push ecx
mov ecx, eax
call fcn.00446910
mov ebp, eax
jmp 0x42c91a
xor ebp, ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0xc]
push edx
lea eax, [esp + 0x720]
push eax
mov dword [esp + 0x1d48], 0xffffffff
call fcn.00449760
test al, al
je 0x42cb67
lea edx, [esp + 0x314]
push edx
mov ecx, ebp
call fcn.00445ce0
push eax
call fcn.00453ad3
add esp, 8
test eax, eax
jne 0x42cb67
lea ecx, [esp + 0x68]
xor bl, bl
call fcn.00407e20
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
mov dword [esp + 0x1d44], 2
call fcn.00446b20
test eax, eax
je 0x42cb53
lea ecx, [esp + 0x50]
call fcn.00407e20
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push eax
push str.MANUF____s__n
mov byte [esp + 0x1d48], 3
call fcn.004454c0
mov edx, dword [esp + 0x70]
mov ecx, dword [edx]
add esp, 8
lea edx, [esp + 0x514]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42c9c2
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x518]
push ecx
mov ecx, ebp
call fcn.00446c10
mov edi, eax
xor esi, esi
test edi, edi
jle 0x42ca23
nop
mov edx, dword [esp + 0x50]
mov eax, dword [edx + esi*8]
push eax
push esi
push str._____saModels__d___s_n
call fcn.004454c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + esi*8]
push ecx
push eax
call fcn.00453ad3
add esp, 0x14
test eax, eax
jne 0x42ca1e
mov bl, 1
inc esi
cmp esi, edi
jl 0x42c9f0
lea ecx, [esp + 0x50]
call fcn.00401b40
lea ecx, [esp + 0x68]
call fcn.00401b40
lea ecx, [esp + 0x50]
mov byte [esp + 0x1d40], 2
call fcn.00405350
test bl, bl
je 0x42cb53
lea edx, [esp + 0x71c]
push edx
push str.____Found_Inf___s__n
call fcn.004454c0
push 0x206
xor edi, edi
lea ecx, [esp + 0x522]
xor eax, eax
push edi
push ecx
mov word [esp + 0x528], ax
call fcn.00453450
lea edx, [esp + 0x730]
push edx
lea eax, [esp + 0x52c]
push str.pnputil__f__d__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x534]
push ecx
push str.____Run___s__n
call fcn.004454c0
xor eax, eax
push 0x44
lea edx, [esp + 0xac]
push edi
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call fcn.00453450
add esp, 0x34
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x84]
push edx
push edi
push edi
push edi
push edi
xor eax, eax
push edi
mov word [esp + 0xcc], ax
push edi
lea eax, [esp + 0x534]
push eax
mov esi, 1
push edi
mov dword [esp + 0xa8], 0x44
mov dword [esp + 0xd4], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42cb4f
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [esp + 0x1c], esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x103
push 0x1f4
call esi
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push edx
call edi
cmp dword [esp + 0x20], ebx
je 0x42cb34
jmp 0x42cb53
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d40], 0xffffffff
call fcn.00405350
test ebp, ebp
je 0x42cb7b
mov ecx, ebp
call fcn.00447670
push ebp
call fcn.004534ca
add esp, 4
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c8c0
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
add edi, 0x208
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], edi
jne 0x42c855
mov esi, dword [esp + 0x1c]
push esi
push str.__nKeyResult_____d__n
call fcn.004454c0
add esp, 8
cmp esi, 0xffffffff
jne 0x42cbe7
push str.__Set_nKeyResult_to__1__n
mov esi, 1
call fcn.004454c0
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x8ee0]
mov edi, dword [esp + 0x3c]
imul ecx, ecx, 0x88
mov dword [ecx + eax + 0x4b64], esi
mov esi, dword [esp + 0x30]
mov ebx, eax
cmp byte [ebp + 0x1c2cc], 0
je 0x42cc26
cmp dword [ebp + 0x1c2c8], 0
jg 0x42cc1e
xor eax, eax
jmp 0x42cc34
lea eax, [ebp + 0x32c8]
jmp 0x42cc34
xor eax, eax
cmp dword [ebp + 0x1c2c8], eax
setle al
dec eax
and eax, ebp
push str.Return
push eax
call fcn.00453ad3
add esp, 8
test eax, eax
jne 0x42cccb
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x41e]
push eax
mov word [esp + 0x420], dx
call fcn.00453450
add esp, 0xc
cmp byte [ebp + 0x1c2cc], 0
je 0x42cc88
cmp dword [ebp + 0x1c2c8], 1
jg 0x42cc80
xor ecx, ecx
jmp 0x42cc9b
lea ecx, [ebp + 0x3ac8]
jmp 0x42cc9b
cmp dword [ebp + 0x1c2c8], 1
jg 0x42cc95
xor ecx, ecx
jmp 0x42cc9b
lea ecx, [ebp + 0x104]
lea edx, [esp + 0x414]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x42cca2
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x418]
push edx
mov ecx, ebx
call fcn.00420020
mov dword [esp + 0x34], eax
mov ecx, ebp
call fcn.0043df40
push ebp
call fcn.004534ca
mov ecx, dword [ebx + 4]
add esp, 4
push 0
lea eax, [esp + 0xd38]
push eax
inc esi
push esi
push edi
mov dword [esp + 0x40], esi
call fcn.00409a10
test al, al
jne 0x42c4f4
mov esi, dword [esp + 0x18]
cmp esi, 1
jl 0x42cd7d
or ebp, 0xffffffff
jmp 0x42cd10
mov eax, dword [ebx + 0x8ee0]
push eax
imul eax, eax, 0x88
lea ecx, [eax + ebx + 0x4ae4]
push ecx
push str.Pop___s__index___d__n
call fcn.004454c0
mov edx, dword [ebx + 0x8ee0]
imul edx, edx, 0x88
mov dword [edx + ebx + 0x4b64], ebp
mov eax, dword [ebx + 0x8ee0]
imul eax, eax, 0x88
mov dword [eax + ebx + 0x4ae0], 0
mov ecx, dword [ebx + 0x8ee0]
imul ecx, ecx, 0x88
xor edx, edx
mov word [ecx + ebx + 0x4ae4], dx
add dword [ebx + 0x8ee0], ebp
add esp, 0xc
sub esi, 1
jne 0x42cd10
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x8ee0]
push esi
push eax
push edi
push str.Look_at___s____index___d__Res___d__n_n
call fcn.004454c0
mov ecx, dword [ebx + 0x8ee0]
add esp, 0x10
imul ecx, ecx, 0x88
mov dword [ecx + ebx + 0x4b64], esi
mov eax, esi
mov ecx, dword [esp + 0x1d38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d20]
xor ecx, esp
call fcn.00453432
add esp, 0x1d30
ret 4