Function at 0x433130
Capabilities:
Check if file exists
Copy file
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54490a
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x140]
xor ebx, ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0x110], str.SrTasksa.dat
mov dword [ebp - 0x10c], str.chkdska.dat
mov dword [ebp - 0x108], str.CIDiaga.dat
mov dword [ebp - 0x104], str.ctfmona.dat
mov dword [ebp - 0x100], str.curla.dat
mov dword [ebp - 0xfc], str.d3dconfiga.dat
mov dword [ebp - 0xf8], str.diskperfa.dat
mov dword [ebp - 0xf4], str.Disma.dat
mov dword [ebp - 0xf0], str.djoina.dat
mov dword [ebp - 0xec], str.driverquerya.dat
call fcn.00436070
mov edx, eax
mov dword [ebp - 4], ebx
cmp dword [edx + 0x14], 0x10
jb 0x4331eb
mov edx, dword [edx]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
cmp byte [edx], 0
jne 0x43320f
xor ecx, ecx
jmp 0x43321d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433214
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xc4]
call fcn.004258a0
cmp dword [ebp - 0xb0], 0x10
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push ecx
push eax
call fcn.0052bab4
add esp, 8
cmp eax, 0xffffffff
jne 0x43327a
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x43326e
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00426030
mov dword [ebp - 0xe0], 0
jmp 0x4332a1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x4332a1
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00426030
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
cmp eax, 0x10
jb 0x4332e1
inc eax
lea ecx, [ebp - 0x140]
push eax
push dword [ebp - 0x140]
call fcn.00426030
xor eax, eax
mov dword [ebp - 0xa8], eax
nop dword [eax]
mov edi, dword [ebp + eax*4 - 0x110]
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
cmp byte [edi], 0
jne 0x43331b
xor ecx, ecx
jmp 0x433329
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433320
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0xdc]
call fcn.004258a0
cmp dword [ebp - 0xc8], 0x10
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push ecx
push eax
call fcn.0052bab4
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [ebp - 0xc8]
jne 0x433381
cmp eax, 0x10
jb 0x43337d
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.00426030
xor esi, esi
jmp 0x43339f
mov esi, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x43339f
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.00426030
mov byte [ebp - 0xdc], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
cmp dword [ebp - 0xe0], esi
jne 0x433477
sub esp, 0x18
mov ecx, esp
call fcn.00436070
lea ecx, [ebp - 0x58]
call fcn.004363b0
mov esi, eax
mov edx, esp
mov dword [ebp - 4], 1
or ebx, 1
mov dword [ebp - 0xe8], ebx
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x433404
mov eax, dword [edx]
jmp 0x433406
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x433412
xor ecx, ecx
jmp 0x43342d
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0xac], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433420
sub ecx, dword [ebp - 0xac]
push ecx
push edi
mov ecx, edx
call fcn.004258a0
lea ecx, [ebp - 0x128]
call fcn.004363b0
add esp, 0x18
lea ecx, [esi + 0x10]
or ebx, 2
cmp dword [esi + 0x14], 0x10
jb 0x433452
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
lea edx, [eax + 0x10]
jb 0x43345d
mov eax, dword [eax]
push dword [ecx]
mov edx, dword [edx]
mov ecx, eax
push esi
call fcn.00425740
add esp, 8
mov byte [ebp - 0xa1], 1
test eax, eax
je 0x43347e
mov byte [ebp - 0xa1], 0
test bl, 2
je 0x4334bf
mov eax, dword [ebp - 0x114]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x4334a4
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.00426030
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4334f5
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffe
cmp eax, 0x10
jb 0x4334e3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00426030
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [ebp - 0xa1], 0
mov eax, dword [ebp - 0xa8]
jne 0x433677
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, 0xa
jb 0x4332f0
call fcn.005290b9
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov edx, dword [ebp + edx*4 - 0x110]
cmp byte [edx], 0
jne 0x433547
xor ecx, ecx
jmp 0x433559
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433550
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004258a0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
call fcn.00436070
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4335d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, 0x596028
cmovae edx, dword [ebp - 0x28]
call fcn.004395e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004259a0
mov ebx, dword [ebp - 0xe4]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jae 0x433611
mov eax, dword [ebp - 0x18]
add eax, 1
je 0x43361d
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.0051c8d0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x43361d
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x14], ecx
mov ecx, 0xf
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x433651
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00426030
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x4336b5
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00426030
jmp 0x4336b5
mov ebx, dword [ebp - 0xe4]
mov edx, dword [ebp + eax*4 - 0x110]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x43369e
xor ecx, ecx
jmp 0x4336ac
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4336a3
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.004258a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4