Function at 0x41b5b0
Capabilities:
Copy file
Delete file
Get common file path
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548c8c
mov eax, dword fs:[0]
push eax
sub esp, 0x494
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x464], eax
xor eax, eax
xor edx, edx
mov dword [ebp - 0x46c], ecx
mov edi, 0x100
mov dword [ebp - 0x44c], 7
mov dword [ebp - 0x450], eax
mov word [ebp - 0x460], dx
lea ecx, [ebp - 0x484]
mov dword [ebp - 4], eax
call fcn.0043a090
xor eax, eax
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], 0
mov word [ebp - 0x444], ax
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection__________________________IN._n
push 5
mov byte [ebp - 4], 2
call fcn.00411380
add esp, 8
test ebx, ebx
je 0x41ba44
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41ba44
push 0xffffffffffffffff
push 0
add esi, 0xc
push esi
lea ecx, [ebp - 0x444]
call fcn.004025d0
push 0x20a
lea ecx, [ebp - 0x428]
push 0
push ecx
call fcn.00531b10
push 0x20a
lea edx, [ebp - 0x21c]
push 0
push edx
call fcn.00531b10
add esp, 0x18
lea eax, [ebp - 0x428]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41b72e
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x56667c
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41b72e
cmp dword [esi + 0x14], 8
jb 0x41b6e3
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41b72e
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x80
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004066b0
cmp dword [ebp - 0x430], 8
mov eax, dword [ebp - 0x444]
jae 0x41b743
lea eax, [ebp - 0x444]
push eax
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection_strTargetInfFile___1_s__IN_n
push 5
call fcn.00411380
push 0xfff
push str...CommonDeviceInf.cpp
push 0x200
call fcn.0042d8c0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41b7ea
cmp dword [ebp - 0x430], 8
mov eax, dword [ebp - 0x444]
jae 0x41b782
lea eax, [ebp - 0x444]
push eax
push 2
lea ecx, [ebp - 0x488]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0x430], 8
mov eax, dword [ebp - 0x444]
jae 0x41b7ad
lea eax, [ebp - 0x444]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea edx, [edi - 2]
cmp edx, eax
jne 0x41b8ea
push esi
call fcn.0042d8e0
push 0x100a
add edi, 0x100
lea eax, [edi + edi]
push str...CommonDeviceInf.cpp
push eax
call fcn.0042d8c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41b76d
cmp word [ebp - 0x21c], 0
je 0x41b829
lea ecx, [ebp - 0x21c]
push ecx
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection_Delete_the_temp_file.___1_s___n
push 5
call fcn.00411380
add esp, 0xc
push 0x80
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x41ba5b
push esi
lea ecx, [ebp - 0x484]
call fcn.0043a7a0
push esi
call fcn.0042d8e0
add esp, 4
lea ecx, [ebp - 0x484]
xor ebx, ebx
call fcn.00438c50
test eax, eax
je 0x41b9cd
jmp 0x41b860
lea ecx, [ebp - 0x4a0]
call fcn.0043a1a0
push 0x2c
push ebx
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 3
call fcn.00438e80
push eax
lea ecx, [ebp - 0x4a0]
call fcn.0043a510
push 0x20
lea ecx, [ebp - 0x4a0]
call fcn.00439de0
mov edi, dword [ebp - 0x464]
test edi, edi
je 0x41b900
push 0x5c
push edi
call fcn.0053193f
mov esi, eax
mov eax, edi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b8b2
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x460]
call fcn.004026d0
test esi, esi
je 0x41b912
cmp word [esi + 2], 0
je 0x41b912
push 0x5c
push 1
lea ecx, [ebp - 0x460]
call fcn.00405be0
jmp 0x41b912
test eax, eax
jne 0x41b7ea
push esi
call fcn.0042d8e0
add esp, 4
jmp 0x41ba5b
push 0
push 0x55a24c
lea ecx, [ebp - 0x460]
call fcn.004026d0
push 0
lea ecx, [ebp - 0x4a0]
call fcn.00438e80
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41b924
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.00405db0
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x460]
mov esi, edx
cmp eax, 8
jae 0x41b98e
lea esi, [ebp - 0x460]
mov ecx, esi
mov edi, dword [ebp - 0x450]
cmp eax, 8
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x41b971
lea eax, [ebp - 0x460]
cmp eax, ecx
je 0x41b992
push fcn.00531913
push esi
push ecx
push eax
lea ecx, [ebp - 0x468]
push ecx
call fcn.00402390
add esp, 0x14
jmp 0x41b998
mov ecx, edx
jmp 0x41b95b
mov dword [ebp - 0x468], esi
mov ecx, dword [ebp - 0x46c]
lea edx, [ebp - 0x460]
push edx
call fcn.0040a1d0
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 2
call fcn.0043a1b0
lea ecx, [ebp - 0x484]
inc ebx
call fcn.00438c50
cmp ebx, eax
jb 0x41b860
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection__________________________OUT._n
push 5
call fcn.00411380
mov esi, 8
add esp, 8
cmp dword [ebp - 0x430], esi
jb 0x41b9f8
mov eax, dword [ebp - 0x444]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov word [ebp - 0x444], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], 0
call fcn.0043a0f0
cmp dword [ebp - 0x44c], esi
jb 0x41ba3a
mov edx, dword [ebp - 0x460]
push edx
call fcn.0043c798
add esp, 4
mov eax, 1
jmp 0x41baca
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection_pSection_is_invalid._n
push 5
call fcn.00411380
add esp, 8
push str.CPrinterDriverInf::GetFilesFromCopyFilesSection__________________________Error_OUT._n
push 5
call fcn.00411380
mov esi, 8
add esp, 8
cmp dword [ebp - 0x430], esi
jb 0x41ba86
mov eax, dword [ebp - 0x444]
push eax
call fcn.0043c798
add esp, 4
xor ecx, ecx
mov word [ebp - 0x444], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x430], 7
mov dword [ebp - 0x434], 0
call fcn.0043a0f0
cmp dword [ebp - 0x44c], esi
jb 0x41bac8
mov edx, dword [ebp - 0x460]
push edx
call fcn.0043c798
add esp, 4
xor eax, eax
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 0xc