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

Disassembly:
push 0xffffffffffffffff
push 0x45fab2
mov eax, dword fs:[0]
push eax
mov eax, 0x1d24
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x1d20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
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.0043e2c0
inc dword [ebx + 0x8cd8]
mov eax, dword [ebx + 0x8cd8]
push eax
push edi
push str.Push___s____index___d__n
call fcn.0043e2c0
mov eax, dword [ebx + 0x8cd8]
imul eax, eax, 0x88
mov dword [eax + ebx + 0x495c], 0xffffffff
mov edx, dword [ebx + 0x8cd8]
add esp, 0x14
imul edx, edx, 0x88
mov ecx, edi
lea edx, [edx + ebx + 0x48dc]
jmp 0x428850
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x428850
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.004090a0
test al, al
je 0x42908c
lea ecx, [esp + 0xd34]
push ecx
push esi
push edi
push str.__s___d____s__n
call fcn.0043e2c0
add esp, 0x10
lea edx, [esp + 0xd34]
push edx
mov ecx, ebx
call fcn.004160e0
push 0x1c2d0
call fcn.0044ad7f
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x1d40], 0
test eax, eax
je 0x4288d9
mov ecx, eax
call fcn.0043d9e0
mov ebp, eax
mov dword [esp + 0x38], eax
jmp 0x4288df
xor ebp, ebp
mov dword [esp + 0x38], ebp
push 0x469868
lea eax, [esp + 0xd38]
push eax
mov ecx, ebp
mov dword [esp + 0x1d48], 0xffffffff
call fcn.0043dc30
cmp byte [ebp + 0x1c2cc], 0
je 0x42891c
cmp dword [ebp + 0x1c2c8], 0
jg 0x428914
xor eax, eax
jmp 0x42892a
lea eax, [ebp + 0x32c8]
jmp 0x42892a
xor eax, eax
cmp dword [ebp + 0x1c2c8], eax
setle al
dec eax
and eax, ebp
push str.Package
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x428f98
mov edi, 1
add dword [ebx + 0x8cd8], edi
mov ecx, dword [ebx + 0x8cd8]
cmp byte [ebp + 0x1c2cc], al
je 0x428969
cmp dword [ebp + 0x1c2c8], eax
jle 0x428977
lea eax, [ebp + 0x32c8]
jmp 0x428977
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.0043e2c0
mov ecx, dword [ebx + 0x8cd8]
imul ecx, ecx, 0x88
or esi, 0xffffffff
add esp, 0xc
mov dword [ecx + ebx + 0x495c], esi
cmp byte [ebp + 0x1c2cc], 0
je 0x4289ba
cmp dword [ebp + 0x1c2c8], 0
jg 0x4289b2
xor ecx, ecx
jmp 0x4289c8
lea ecx, [ebp + 0x32c8]
jmp 0x4289c8
xor ecx, ecx
cmp dword [ebp + 0x1c2c8], ecx
setle cl
dec ecx
and ecx, ebp
mov edx, dword [ebx + 0x8cd8]
imul edx, edx, 0x88
lea edx, [edx + ebx + 0x48dc]
jmp 0x4289e0
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4289e0
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.0044ac90
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x32a]
push eax
mov word [esp + 0x32c], dx
call fcn.0044ac90
mov bl, byte [ebp + 0x1c2cc]
mov esi, dword [ebp + 0x1c2c8]
add esp, 0x18
test bl, bl
je 0x428a51
cmp esi, 1
jg 0x428a49
xor ecx, ecx
jmp 0x428a60
lea ecx, [ebp + 0x3ac8]
jmp 0x428a60
cmp esi, 1
jg 0x428a5a
xor ecx, ecx
jmp 0x428a60
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 0x428a67
test bl, bl
je 0x428a8d
cmp esi, 2
jg 0x428a85
xor ecx, ecx
jmp 0x428a9c
lea ecx, [ebp + 0x42c8]
jmp 0x428a9c
cmp esi, 2
jg 0x428a96
xor ecx, ecx
jmp 0x428a9c
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 0x428aa3
lea ecx, [esp + 0x394]
push ecx
push str.___wszCommand_____s__n
call fcn.0043e2c0
lea edx, [esp + 0x31c]
push edx
push str.___wszClass_____s__n
call fcn.0043e2c0
lea eax, [esp + 0x3a4]
push str.REG_DB
push eax
call fcn.0044b362
add esp, 0x18
test eax, eax
jne 0x428f4e
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x92e]
push edx
mov word [esp + 0x930], cx
call fcn.0044ac90
add esp, 0xc
cmp byte [ebp + 0x1c2cc], 0
je 0x428b33
cmp dword [ebp + 0x1c2c8], 3
jg 0x428b2b
xor eax, eax
jmp 0x428b46
lea eax, [ebp + 0x4ac8]
jmp 0x428b46
cmp dword [ebp + 0x1c2c8], 3
jg 0x428b40
xor eax, eax
jmp 0x428b46
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.0043e2c0
push 0x20019
lea edx, [esp + 0x93c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044a4a0
mov esi, eax
add esp, 0x20
test esi, esi
jbe 0x428f4e
imul eax, eax, 0x104
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044b473
mov edi, eax
add esp, 4
test edi, edi
je 0x428f4e
push 0x20019
push esi
push edi
lea eax, [esp + 0x930]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044a4c0
add esp, 0x14
test eax, eax
jle 0x428f4e
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
push edi
push str._______Driver___s__n
call fcn.0043e2c0
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 0x428f35
jmp 0x428c50
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.0044ad7f
add esp, 0x14
mov dword [esp + 0x20], eax
mov dword [esp + 0x1d40], 1
test eax, eax
je 0x428ca8
push 0
lea ecx, [esp + 0x720]
push ecx
mov ecx, eax
call fcn.0043f710
mov ebp, eax
jmp 0x428caa
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.00442290
test al, al
je 0x428ef7
lea edx, [esp + 0x314]
push edx
mov ecx, ebp
call fcn.0043eae0
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x428ef7
lea ecx, [esp + 0x68]
xor bl, bl
call fcn.004031d0
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
mov dword [esp + 0x1d44], 2
call fcn.0043f920
test eax, eax
je 0x428ee3
lea ecx, [esp + 0x50]
call fcn.004031d0
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push eax
push str.MANUF____s__n
mov byte [esp + 0x1d48], 3
call fcn.0043e2c0
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 0x428d52
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x518]
push ecx
mov ecx, ebp
call fcn.0043fa10
mov edi, eax
xor esi, esi
test edi, edi
jle 0x428db3
nop
mov edx, dword [esp + 0x50]
mov eax, dword [edx + esi*8]
push eax
push esi
push str._____saModels__d___s_n
call fcn.0043e2c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + esi*8]
push ecx
push eax
call fcn.0044b362
add esp, 0x14
test eax, eax
jne 0x428dae
mov bl, 1
inc esi
cmp esi, edi
jl 0x428d80
lea ecx, [esp + 0x50]
call fcn.004031f0
lea ecx, [esp + 0x68]
call fcn.004031f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1d40], 2
call fcn.00404b90
test bl, bl
je 0x428ee3
lea edx, [esp + 0x71c]
push edx
push str.____Found_Inf___s__n
call fcn.0043e2c0
push 0x206
xor edi, edi
lea ecx, [esp + 0x522]
xor eax, eax
push edi
push ecx
mov word [esp + 0x528], ax
call fcn.0044ac90
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.0043e2c0
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.0044ac90
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 0x428edf
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 0x428ec4
jmp 0x428ee3
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d40], 0xffffffff
call fcn.00404b90
test ebp, ebp
je 0x428f0b
mov ecx, ebp
call fcn.00440470
push ebp
call fcn.0044ad0a
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 0x428c50
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 0x428be5
mov esi, dword [esp + 0x1c]
push esi
push str.__nKeyResult_____d__n
call fcn.0043e2c0
add esp, 8
cmp esi, 0xffffffff
jne 0x428f77
push str.__Set_nKeyResult_to__1__n
mov esi, 1
call fcn.0043e2c0
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x8cd8]
mov edi, dword [esp + 0x3c]
imul ecx, ecx, 0x88
mov dword [ecx + eax + 0x495c], esi
mov esi, dword [esp + 0x30]
mov ebx, eax
cmp byte [ebp + 0x1c2cc], 0
je 0x428fb6
cmp dword [ebp + 0x1c2c8], 0
jg 0x428fae
xor eax, eax
jmp 0x428fc4
lea eax, [ebp + 0x32c8]
jmp 0x428fc4
xor eax, eax
cmp dword [ebp + 0x1c2c8], eax
setle al
dec eax
and eax, ebp
push str.Return
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x42905b
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x41e]
push eax
mov word [esp + 0x420], dx
call fcn.0044ac90
add esp, 0xc
cmp byte [ebp + 0x1c2cc], 0
je 0x429018
cmp dword [ebp + 0x1c2c8], 1
jg 0x429010
xor ecx, ecx
jmp 0x42902b
lea ecx, [ebp + 0x3ac8]
jmp 0x42902b
cmp dword [ebp + 0x1c2c8], 1
jg 0x429025
xor ecx, ecx
jmp 0x42902b
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 0x429032
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x418]
push edx
mov ecx, ebx
call fcn.0041ce60
mov dword [esp + 0x34], eax
mov ecx, ebp
call fcn.0043d490
push ebp
call fcn.0044ad0a
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.004090a0
test al, al
jne 0x428884
mov esi, dword [esp + 0x18]
cmp esi, 1
jl 0x42910d
or ebp, 0xffffffff
jmp 0x4290a0
mov eax, dword [ebx + 0x8cd8]
push eax
imul eax, eax, 0x88
lea ecx, [eax + ebx + 0x48dc]
push ecx
push str.Pop___s__index___d__n
call fcn.0043e2c0
mov edx, dword [ebx + 0x8cd8]
imul edx, edx, 0x88
mov dword [edx + ebx + 0x495c], ebp
mov eax, dword [ebx + 0x8cd8]
imul eax, eax, 0x88
mov dword [eax + ebx + 0x48d8], 0
mov ecx, dword [ebx + 0x8cd8]
imul ecx, ecx, 0x88
xor edx, edx
mov word [ecx + ebx + 0x48dc], dx
add dword [ebx + 0x8cd8], ebp
add esp, 0xc
sub esi, 1
jne 0x4290a0
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x8cd8]
push esi
push eax
push edi
push str.Look_at___s____index___d__Res___d__n_n
call fcn.0043e2c0
mov ecx, dword [ebx + 0x8cd8]
add esp, 0x10
imul ecx, ecx, 0x88
mov dword [ecx + ebx + 0x495c], 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.0044ac80
add esp, 0x1d30
ret 4