Function at 0x419ab0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Get file attributes
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548b59
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x5c5b9c]
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 ebx, ecx
lea ecx, [ebp - 0x800]
mov dword [ebp - 0x7e4], ebx
mov edi, 0x100
call fcn.0043a090
xor esi, esi
lea ecx, [ebp - 0x7e0]
mov dword [ebp - 4], esi
call fcn.0043af70
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x450], esi
mov word [ebp - 0x460], cx
xor edx, edx
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x46c], esi
mov word [ebp - 0x47c], dx
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x488], esi
mov word [ebp - 0x498], cx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x434], esi
mov word [ebp - 0x444], dx
mov byte [ebp - 4], 5
cmp dword [ebx + 0x60], esi
jne 0x419c56
push 0x3e9
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 8
cmp dword [ebp - 0x430], esi
jb 0x419b8f
mov eax, dword [ebp - 0x444]
push eax
call fcn.0043c798
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x434], ebx
mov word [ebp - 0x444], cx
cmp dword [ebp - 0x484], esi
jb 0x419bc2
mov edx, dword [ebp - 0x498]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
mov dword [ebp - 0x484], edi
mov dword [ebp - 0x488], ebx
mov word [ebp - 0x498], ax
cmp dword [ebp - 0x468], esi
jb 0x419bee
mov ecx, dword [ebp - 0x47c]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x46c], ebx
mov word [ebp - 0x47c], dx
cmp dword [ebp - 0x44c], esi
jb 0x419c1a
mov eax, dword [ebp - 0x460]
push eax
call fcn.0043c798
add esp, 4
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x450], ebx
xor ecx, ecx
mov word [ebp - 0x460], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x7e0]
call fcn.0043ae50
lea ecx, [ebp - 0x800]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0f0
xor eax, eax
jmp 0x41a4bd
cmp dword [ebx + 0x38], 8
lea esi, [ebx + 0x24]
jb 0x419c63
mov eax, dword [esi]
jmp 0x419c65
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419d41
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 8
cmp dword [ebp - 0x430], ebx
jb 0x419c99
mov edx, dword [ebp - 0x444]
push edx
call fcn.0043c798
add esp, 4
xor edi, edi
xor eax, eax
mov esi, 7
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x434], edi
mov word [ebp - 0x444], ax
cmp dword [ebp - 0x484], ebx
jb 0x419ccc
mov ecx, dword [ebp - 0x498]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], dx
cmp dword [ebp - 0x468], ebx
jb 0x419cf8
mov eax, dword [ebp - 0x47c]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x46c], edi
mov word [ebp - 0x47c], cx
cmp dword [ebp - 0x44c], ebx
jb 0x419d24
mov edx, dword [ebp - 0x460]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x450], edi
mov word [ebp - 0x460], ax
mov byte [ebp - 4], al
jmp 0x419c32
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [ebp - 0x7e8]
push ecx
lea ecx, [ebx + 4]
call fcn.00408f60
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push eax
push ecx
lea eax, [ebp - 0x7e8]
push eax
lea ecx, [ebx + 0x14]
call fcn.00408f60
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
push eax
push ecx
lea ecx, [ebp - 0x7e8]
push ecx
lea ecx, [ebx + 0x64]
call fcn.00408f60
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x444]
call fcn.004025d0
push 0x20a
lea edx, [ebp - 0x428]
push 0
push edx
call fcn.00531b10
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00531b10
add esp, 0x18
lea ecx, [ebp - 0x428]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x419e47
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x56667c
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x419e47
cmp dword [esi + 0x14], 8
jb 0x419dfc
mov esi, dword [esi]
push 0
lea ecx, [ebp - 0x21c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x419e47
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x80
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x444]
call fcn.004066b0
cmp dword [ebp - 0x430], 8
mov eax, dword [ebp - 0x444]
jae 0x419e5c
lea eax, [ebp - 0x444]
push eax
push str.CManufacturers::GetList_strTargetInfFile___1_s__IN_n
push 5
call fcn.00411380
push 0x96c
push str...CommonDeviceInf.cpp
push 0x200
call fcn.0042d8c0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x419f1b
mov ebx, dword [ebp - 0x7e4]
cmp dword [ebp - 0x430], 8
mov eax, dword [ebp - 0x444]
jae 0x419ea5
lea eax, [ebp - 0x444]
push eax
push 2
lea edx, [ebp - 0x804]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x430], 8
mov ecx, dword [ebp - 0x444]
jae 0x419ed0
lea ecx, [ebp - 0x444]
cmp dword [ebx + 0x54], 8
jb 0x419edb
mov eax, dword [ebx + 0x40]
jmp 0x419ede
lea eax, [ebx + 0x40]
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [edi - 2]
cmp ecx, eax
jne 0x419f1b
push esi
call fcn.0042d8e0
push 0x977
add edi, 0x100
lea edx, [edi + edi]
push str...CommonDeviceInf.cpp
push edx
call fcn.0042d8c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x419e90
xor edi, edi
cmp word [ebp - 0x21c], di
je 0x419f5b
lea eax, [ebp - 0x21c]
push eax
push str.CManufacturers::GetList_Delete_the_temp_file.___1_s___n
push 5
call fcn.00411380
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, edi
jne 0x41a023
cmp dword [ebp - 0x430], 8
jb 0x419f7b
mov eax, dword [ebp - 0x444]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x484], 8
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], edi
mov word [ebp - 0x444], cx
jb 0x419fac
mov edx, dword [ebp - 0x498]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
cmp dword [ebp - 0x468], 8
mov dword [ebp - 0x484], 7
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], ax
jb 0x419fdd
mov ecx, dword [ebp - 0x47c]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
cmp dword [ebp - 0x44c], 8
mov dword [ebp - 0x468], 7
mov dword [ebp - 0x46c], edi
mov word [ebp - 0x47c], dx
jb 0x41a00e
mov eax, dword [ebp - 0x460]
push eax
call fcn.0043c798
add esp, 4
mov dword [ebp - 0x44c], 7
mov dword [ebp - 0x450], edi
jmp 0x419c26
push esi
lea ecx, [ebp - 0x800]
call fcn.0043a7a0
push esi
call fcn.0042d8e0
add esp, 4
lea ecx, [ebp - 0x800]
mov dword [ebp - 0x7e4], edi
call fcn.00438c50
test eax, eax
je 0x41a3de
lea ecx, [ebp - 0x50c]
call fcn.004390e0
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 6
call fcn.0043a1a0
mov edx, dword [ebp - 0x7e4]
push edx
lea ecx, [ebp - 0x800]
mov byte [ebp - 4], 7
call fcn.00438e80
push eax
lea ecx, [ebp - 0x50c]
call fcn.00439e10
lea ecx, [ebp - 0x50c]
cmp dword [ebx + 0x5c], edi
jne 0x41a0dd
call fcn.00438f20
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a0a2
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.004026d0
lea ecx, [ebp - 0x50c]
call fcn.00438f30
mov ecx, eax
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a0d0
jmp 0x41a130
call fcn.00438f20
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00439600
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a0f0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.004026d0
lea ecx, [ebp - 0x50c]
call fcn.00438f30
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00439600
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a125
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.004026d0
mov edx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x460]
mov ecx, eax
cmp edx, 8
jae 0x41a15a
lea ecx, [ebp - 0x460]
cmp word [ecx], 0x3b
jne 0x41a180
cmp edx, 8
jae 0x41a16b
lea eax, [ebp - 0x460]
push eax
push str.CManufacturers::GetList_strKey.data_____1_s__skipped._n
push 5
call fcn.00411380
add esp, 0xc
jmp 0x41a3a0
cmp dword [ebp - 0x7dc], edi
jne 0x41a1a4
cmp dword [ebp + 8], edi
jne 0x41a1a4
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x498]
call fcn.004025d0
jmp 0x41a20a
cmp dword [ebp - 0x468], 8
mov eax, dword [ebp - 0x47c]
jae 0x41a1b9
lea eax, [ebp - 0x47c]
push 0x2c
push eax
lea ecx, [ebp - 0x81c]
call fcn.0043a510
lea ecx, [ebp - 0x81c]
call fcn.00438c50
push edi
test eax, eax
je 0x41a1fa
lea ecx, [ebp - 0x81c]
call fcn.00438e80
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41a1e7
sub ecx, esi
sar ecx, 1
push ecx
push eax
jmp 0x41a1ff
push 0x5629d0
lea ecx, [ebp - 0x498]
call fcn.004026d0
cmp dword [ebp - 0x44c], 8
mov edx, dword [ebp - 0x460]
jae 0x41a21f
lea edx, [ebp - 0x460]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x4a0], 7
mov dword [ebp - 0x4a4], edi
mov word [ebp - 0x4b4], cx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a240
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4b4]
call fcn.004026d0
lea edx, [ebp - 0x4b4]
push edx
lea ecx, [ebx + 4]
mov byte [ebp - 4], 8
call 0x409ab0
cmp dword [ebp - 0x4a0], 8
mov byte [ebp - 4], 7
jb 0x41a28b
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.0043c798
add esp, 4
cmp dword [ebp - 0x468], 8
mov edx, dword [ebp - 0x47c]
jae 0x41a2a0
lea edx, [ebp - 0x47c]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x4a0], 7
mov dword [ebp - 0x4a4], edi
mov word [ebp - 0x4b4], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a2c0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4b4]
call fcn.004026d0
lea edx, [ebp - 0x4b4]
push edx
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 9
call 0x409ab0
cmp dword [ebp - 0x4a0], 8
mov byte [ebp - 4], 7
jb 0x41a30b
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.0043c798
add esp, 4
cmp dword [ebp - 0x484], 8
mov edx, dword [ebp - 0x498]
jae 0x41a320
lea edx, [ebp - 0x498]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x4a0], 7
mov dword [ebp - 0x4a4], edi
mov word [ebp - 0x4b4], cx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41a340
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4b4]
call fcn.004026d0
lea edx, [ebp - 0x4b4]
push edx
lea ecx, [ebx + 0x64]
mov byte [ebp - 4], 0xa
call 0x409ab0
cmp dword [ebp - 0x4a0], 8
jb 0x41a387
mov eax, dword [ebp - 0x4b4]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x4a0], 7
mov dword [ebp - 0x4a4], edi
mov word [ebp - 0x4b4], cx
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 6
call fcn.0043a1b0
lea ecx, [ebp - 0x50c]
mov byte [ebp - 4], 5
call fcn.00439120
mov esi, dword [ebp - 0x7e4]
inc esi
lea ecx, [ebp - 0x800]
mov dword [ebp - 0x7e4], esi
call fcn.00438c50
cmp esi, eax
jb 0x41a051
mov ebx, 8
cmp dword [ebp - 0x430], ebx
jb 0x41a3fa
mov edx, dword [ebp - 0x444]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x434], edi
mov word [ebp - 0x444], ax
cmp dword [ebp - 0x484], ebx
jb 0x41a42b
mov ecx, dword [ebp - 0x498]
push ecx
call fcn.0043c798
add esp, 4
xor edx, edx
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x488], edi
mov word [ebp - 0x498], dx
cmp dword [ebp - 0x468], ebx
jb 0x41a457
mov eax, dword [ebp - 0x47c]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x46c], edi
mov word [ebp - 0x47c], cx
cmp dword [ebp - 0x44c], ebx
jb 0x41a483
mov edx, dword [ebp - 0x460]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x7e0]
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x450], edi
mov word [ebp - 0x460], ax
mov byte [ebp - 4], al
call fcn.0043ae50
lea ecx, [ebp - 0x800]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0f0
mov eax, 1
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.00530f8d
mov esp, ebp
pop ebp
ret 4