Function at 0x43d9c1
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xea8
mov eax, 0x5b1471
call fcn.0058f792
mov dword [ebp - 0xe20], ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0xe48]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, edi
mov dword [ebp - 0xe1c], eax
mov dword [ebp - 0xe24], ebx
call fcn.0047409e
mov dword [ebp - 4], edi
call fcn.00473f1b
push eax
lea ecx, [ebp - 0xe08]
call fcn.00406a4a
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0xa98], ecx
mov dword [ebp - 0xa9c], edi
mov word [ebp - 0xaac], ax
mov dword [ebp - 0xac8], ecx
mov dword [ebp - 0xacc], edi
mov word [ebp - 0xadc], ax
push 0x5cff40
push str.CInstallAction::CopyInf
push 5
mov byte [ebp - 4], 3
call fcn.00424dad
add esp, 0xc
test esi, esi
jne 0x43da73
push 0x5cff78
push str.CInstallAction::CopyInf
push 5
call fcn.00424dad
mov edi, dword [ebp - 0xe08]
mov ebx, 0x2af9
jmp 0x43e471
push edi
push 0x5c4f10
lea ecx, [ebp - 0xaac]
call fcn.00404be0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x43dabb
push 0x2e
pop eax
cmp ax, word [esi]
je 0x43dabb
push 0x5c
pop eax
cmp ax, word [esi + 2]
je 0x43dabb
mov edi, 0x5c6e08
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0xaac]
call fcn.00404be0
xor edi, edi
cmp word [esi], di
jne 0x43dac4
mov eax, edi
jmp 0x43dacb
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0xaac]
call fcn.00404a83
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call edi
cmp eax, 0xffffffff
je 0x43db00
push esi
call edi
test al, 0x10
je 0x43db00
lea eax, [ebp - 0xaac]
push 0x5c7af8
push eax
call fcn.0047026a
pop ecx
pop ecx
cmp dword [ebp - 0xa98], 8
lea eax, [ebp - 0xaac]
lea ecx, [ebp - 0xe48]
cmovae eax, dword [ebp - 0xaac]
xor esi, esi
push esi
push eax
call fcn.004741ba
test eax, eax
je 0x43e45a
call fcn.00473f1b
push eax
lea ecx, [ebp - 0xe14]
call fcn.00406a4a
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 4
call sym.SETUP.exe_public:_void___thiscall_CDeviceInfSection::constructor_void_
lea ecx, [ebp - 0xe48]
mov byte [ebp - 4], 5
call fcn.00474362
test eax, eax
je 0x43dc04
lea eax, [ebp - 0xe0c]
push eax
lea ecx, [ebp - 0xe48]
call fcn.004746f7
push eax
lea ecx, [ebp - 0xe14]
mov byte [ebp - 4], 6
call fcn.0040813e
mov ecx, dword [ebp - 0xe0c]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea eax, [ebp - 0xe14]
push eax
call fcn.00409001
lea ecx, [ebp - 0xe14]
mov dword [esp], str._LANGDIR_.INI
call fcn.00409054
call fcn.00474a71
mov esi, dword [eax + 4]
call fcn.00474a71
lea ecx, [esi + 0xcc]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0xe14]
mov dword [ebp - 0xe0c], eax
mov ebx, dword [eax - 0xc]
call fcn.00413f8c
movzx eax, ax
push eax
lea eax, [ebp - 0xe04]
push eax
lea eax, [edi + 0xd0]
push eax
lea eax, [ebx + 1]
push eax
push dword [ebp - 0xe0c]
call fcn.004125dd
add esp, 0x14
xor esi, esi
lea ecx, [ebp - 0xe48]
call fcn.0047416e
cmp dword [ebp - 0xa98], 8
lea eax, [ebp - 0xaac]
push esi
cmovae eax, dword [ebp - 0xaac]
lea ecx, [ebp - 0xe48]
push eax
call fcn.004741ba
mov edi, dword [ebp - 0xe08]
lea ecx, [ebp - 0xe48]
call fcn.00474362
lea ecx, [ebp - 0xe48]
mov dword [ebp - 0xe68], eax
call fcn.00474720
test eax, eax
jne 0x43e3c1
mov edx, dword [ebp - 0xe48]
lea ecx, [ebp - 0xe48]
push 0x10
call dword [edx + 0x38]
lea ecx, [ebp - 0xe48]
test eax, eax
je 0x43ddb4
lea eax, [ebp - 0xe10]
push eax
call fcn.0047447b
lea eax, [ebp - 0xe10]
mov byte [ebp - 4], 7
push eax
call fcn.00409001
lea ecx, [ebp - 0xe10]
mov dword [esp], 0x5c7af8
call fcn.00409054
lea ecx, [ebp - 0xe04]
call sym.SETUP.exe_public:_unsigned_long_int___thiscall_CDeviceInfSection::Count_void_
test eax, eax
je 0x43dd74
lea ecx, [ebp - 0xe04]
call sym.SETUP.exe_public:_unsigned_long_int___thiscall_CDeviceInfSection::Count_void_
test eax, eax
je 0x43dd9d
lea eax, [ebp - 0xe84]
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047442e
push dword [eax]
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 8
push esi
call sym.SETUP.exe_public:_wchar_t_const____thiscall_CDeviceInfSection::GetValue_unsigned_long_int_
push eax
call fcn.005921d4
pop ecx
pop ecx
mov ecx, dword [ebp - 0xe84]
test eax, eax
mov byte [ebp - 4], 7
setne bl
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
test bl, bl
je 0x43dd26
lea ecx, [ebp - 0xe04]
inc esi
call sym.SETUP.exe_public:_unsigned_long_int___thiscall_CDeviceInfSection::Count_void_
cmp esi, eax
jb 0x43dccd
jmp 0x43dd9d
lea eax, [ebp - 0xe78]
push eax
lea ecx, [ebp - 0xe48]
call fcn.004746f7
push dword [ebp - 0xe1c]
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 9
push ecx
push dword [eax]
mov ecx, dword [ebp - 0xe20]
push dword [ebp - 0xe10]
call fcn.0043d9c1
mov ecx, dword [ebp - 0xe78]
mov ebx, eax
mov dword [ebp - 0xe24], ebx
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
jmp 0x43dd95
push dword [ebp - 0xe1c]
mov ecx, dword [ebp - 0xe20]
push esi
push esi
push dword [ebp - 0xe10]
call fcn.0043d9c1
mov ebx, eax
mov dword [ebp - 0xe24], ebx
test ebx, ebx
jne 0x43e3d1
mov ecx, dword [ebp - 0xe10]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
jmp 0x43e3c1
lea eax, [ebp - 0xe50]
push eax
call fcn.0047442e
push 0x101
lea ecx, [ebp - 0x294]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push dword [eax]
call fcn.00592b69
mov ecx, dword [ebp - 0xe50]
add esp, 0x24
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea eax, [ebp - 0x294]
push str..inf
push eax
call fcn.005921d4
pop ecx
pop ecx
test eax, eax
jne 0x43e3c1
lea eax, [ebp - 0xe64]
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047442e
push eax
lea ecx, [ebp - 0xe08]
mov byte [ebp - 4], 0xa
call fcn.0040813e
mov ecx, dword [ebp - 0xe64]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea ecx, [ebp - 0xe08]
call fcn.00442cd5
lea eax, [ebp - 0xe6c]
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047447b
push dword [eax]
mov ebx, str.CInstallAction::CopyInf
mov byte [ebp - 4], 0xb
push str.infFile____1_s___n
push ebx
push 4
call fcn.00424dad
mov ecx, dword [ebp - 0xe6c]
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea eax, [ebp - 0xe74]
push eax
lea ecx, [ebp - 0xe48]
call fcn.004746f7
push dword [eax]
mov byte [ebp - 4], 0xc
push str.infPath____1_s___n
push ebx
push 4
call fcn.00424dad
mov ecx, dword [ebp - 0xe74]
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
mov edi, dword [ebp - 0xe08]
push edi
push str.FileName_LOWER_____1_s___n
push ebx
push 4
call fcn.00424dad
add esp, 0x10
call fcn.00474a71
push edi
mov ecx, dword [eax + 4]
add ecx, 0xcc
call fcn.0041b5a2
test eax, eax
je 0x43df01
push str.The_specified_inf_is_registered_on_NotCopyInf._Dont_copy_it._n
push ebx
push 4
call fcn.00424dad
add esp, 0xc
jmp 0x43e3c1
call fcn.00474a71
lea ecx, [ebp - 0xeb4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0xe28], ebx
call fcn.0046d5d4
mov edx, esi
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x3b4]
mov dword [ebp - 0xe2c], edx
mov dword [ebp - 0xe0c], ecx
mov eax, dword [ecx]
mov esi, dword [eax]
mov dword [ebp - 0xe18], esi
cmp esi, eax
je 0x43e00e
cmp dword [esi + 0x60], 0
je 0x43dfe9
lea eax, [esi + 0x50]
cmp dword [eax + 0x14], 8
jb 0x43df59
mov eax, dword [eax]
push eax
push str.Cached__inf_file___1_s_._n
mov ebx, str.CInstallAction::CopyInf
push ebx
push 4
call fcn.00424dad
add esp, 0x10
lea eax, [ebp - 0xe7c]
lea ecx, [ebp - 0xe48]
push eax
call fcn.0047447b
push dword [eax]
mov byte [ebp - 4], 0xe
push str.Install_inf_file___1_s_._n
push ebx
push 4
call fcn.00424dad
mov ecx, dword [ebp - 0xe7c]
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea eax, [ebp - 0xe4c]
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047447b
mov ecx, dword [eax]
lea eax, [esi + 0x50]
cmp dword [eax + 0x14], 8
jb 0x43dfc8
mov eax, dword [eax]
push ecx
push eax
call fcn.005921d4
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0xe4c]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.0041d6f2
inc bl
jne 0x43e02c
lea ecx, [ebp - 0xe18]
call fcn.004212e4
mov ecx, dword [ebp - 0xe0c]
mov esi, dword [ebp - 0xe18]
cmp esi, dword [ecx]
jne 0x43df44
mov edx, dword [ebp - 0xe2c]
inc edx
add ecx, 8
mov dword [ebp - 0xe2c], edx
mov dword [ebp - 0xe0c], ecx
cmp edx, 5
jb 0x43df32
jmp 0x43e3b2
lea eax, [esi + 0x50]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xe0c], eax
jb 0x43e03d
mov eax, dword [eax]
push eax
push str.driver_info_INF_1_s__n
push str.CInstallAction::CopyInf
push 4
call fcn.00424dad
add esp, 0x10
cmp dword [ebp - 0xe2c], 4
je 0x43e06c
mov ecx, dword [ebp - 0xe20]
add esi, 0x28
push 1
push esi
call fcn.0043f0d5
lea eax, [ebp - 0xe58]
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047447b
push dword [eax]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0
push str.Class
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0xe58]
test eax, eax
setne bl
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea ecx, [ebp - 0xe48]
test bl, bl
je 0x43e37e
lea eax, [ebp - 0xe54]
push eax
call fcn.0047447b
push dword [eax]
mov esi, str.CInstallAction::CopyInf
mov byte [ebp - 4], 0xf
push str.__1_s___has_Version_Class_key._n_n
push esi
push 4
call fcn.00424dad
mov ecx, dword [ebp - 0xe54]
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
mov ebx, dword [ebp - 0xe1c]
test ebx, ebx
je 0x43e197
push str.Notify_inf_file_information_to_ExternalIF._n
push esi
push 4
call fcn.00424dad
add esp, 0xc
lea eax, [ebp - 0xe5c]
lea ecx, [ebp - 0xe48]
push eax
call fcn.0047447b
push dword [eax]
lea eax, [ebp - 0xe08]
mov byte [ebp - 4], 0x10
push str._log__Processing_inf_name___s_._n
push eax
call fcn.0040b5ea
mov ecx, dword [ebp - 0xe5c]
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
mov eax, dword [ebx]
mov ecx, ebx
push 0xb
call dword [eax + 0xc]
mov ebx, dword [ebp - 0xe28]
mov edi, dword [ebp - 0xe08]
push edi
push str.__EXTIF_MSGBUF__
lea esi, [ebx + 0xd0]
mov ecx, esi
call fcn.0046f76b
test eax, eax
jne 0x43e18a
push edi
push str.__EXTIF_MSGBUF__
mov ecx, esi
call fcn.0046d72a
mov ecx, dword [ebp - 0xe1c]
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x43e19d
mov ebx, dword [ebp - 0xe28]
push 0x800
lea eax, [ebp - 0xa94]
push 0
push eax
call fcn.0058e700
add esp, 0xc
lea eax, [ebp - 0xe60]
lea ecx, [ebp - 0xe48]
push eax
call fcn.004746f7
mov esi, eax
lea eax, [ebp - 0xe70]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0xe48]
call fcn.0047447b
xor edx, edx
mov byte [ebp - 4], 0x12
push edx
push edx
push 0x400
lea ecx, [ebp - 0xa94]
push ecx
mov ecx, dword [ebp - 0xe20]
push edx
push 1
push dword [esi]
push dword [eax]
call fcn.00443093
mov ecx, dword [ebp - 0xe70]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0041d6f2
mov ecx, dword [ebp - 0xe60]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.0041d6f2
test esi, esi
je 0x43e3e5
lea eax, [ebp - 0xa94]
push eax
push str.__replace_to__1_s__n
push str.CInstallAction::CopyInf
push 4
call fcn.00424dad
add esp, 0x10
cmp word [ebp - 0xa94], 0
jne 0x43e256
xor eax, eax
jmp 0x43e263
lea eax, [ebp - 0xa94]
push eax
call fcn.0058edd4
pop ecx
mov ecx, dword [ebp - 0xe0c]
push eax
lea eax, [ebp - 0xa94]
push eax
call fcn.00404be0
lea eax, [ebp - 0x90]
push str.image
push eax
call fcn.005921d4
pop ecx
pop ecx
test eax, eax
jne 0x43e3b2
mov eax, dword [ebx + 0x3c4]
mov esi, dword [eax]
mov dword [ebp - 0xe18], esi
cmp esi, eax
je 0x43e3b2
lea ecx, [ebp - 0xe9c]
call fcn.0046d5d4
sub esi, 0xffffff80
mov byte [ebp - 4], 0x13
cmp dword [esi + 0x14], 8
jb 0x43e2c1
mov esi, dword [esi]
push 0x2c
push esi
lea ecx, [ebp - 0xe9c]
call fcn.0046eb6a
push 0x20
lea ecx, [ebp - 0xe9c]
call fcn.0046f50b
lea ecx, [ebp - 0xe9c]
call fcn.0046d95f
cmp eax, 2
jne 0x43e350
push 1
lea ecx, [ebp - 0xe9c]
call fcn.0046dbf8
push eax
lea ecx, [ebp - 0xac4]
call fcn.00401c0c
cmp dword [ebp - 0xab0], 8
lea ebx, [ebp - 0xac4]
mov esi, dword [ebp - 0xab4]
cmovae ebx, dword [ebp - 0xac4]
mov byte [ebp - 4], 0x14
call fcn.00474a71
mov ecx, dword [eax + 4]
lea eax, [esi + 1]
push eax
push ebx
add ecx, 0xcc
call fcn.0041ee3e
push 0
push 1
lea ecx, [ebp - 0xac4]
call fcn.00404970
mov ebx, dword [ebp - 0xe28]
lea ecx, [ebp - 0xe9c]
mov byte [ebp - 4], 0xd
call fcn.0046d690
lea ecx, [ebp - 0xe18]
call fcn.004212e4
mov esi, dword [ebp - 0xe18]
cmp esi, dword [ebx + 0x3c4]
jne 0x43e2a7
jmp 0x43e3b2
lea eax, [ebp - 0xe80]
push eax
call fcn.0047447b
push dword [eax]
mov byte [ebp - 4], 0x15
push str.__1_s___does_not_have_Version_Class_key._n_n
push str.CInstallAction::CopyInf
push 4
call fcn.00424dad
mov ecx, dword [ebp - 0xe80]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
lea ecx, [ebp - 0xeb4]
mov byte [ebp - 4], 5
call fcn.0046d690
cmp dword [ebp - 0xe68], 0
je 0x43e426
xor esi, esi
jmp 0x43dc36
mov ecx, dword [ebp - 0xe10]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
jmp 0x43e42c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.SetupCopyOEMInf_failed._0x_x__n
push str.CInstallAction::CopyInf
push 4
call fcn.00424dad
add esp, 0x10
call esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xeb4]
cmp eax, 0x7a
jne 0x43e41f
mov ebx, 0x2711
call fcn.0046d690
jmp 0x43e42c
mov ebx, 0x2af9
jmp 0x43e418
mov ebx, dword [ebp - 0xe24]
lea ecx, [ebp - 0xe48]
call fcn.0047416e
lea ecx, [ebp - 0xe04]
mov byte [ebp - 4], 4
call sym.SETUP.exe_public_virtual:_void___thiscall_CDeviceInfSection::destructor_void_
mov ecx, dword [ebp - 0xe14]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.0041d6f2
jmp 0x43e460
mov edi, dword [ebp - 0xe08]
push 0x5cff5c
push str.CInstallAction::CopyInf
push 5
call fcn.00424dad
add esp, 0xc
lea ecx, [ebp - 0xadc]
push 0
push 1
call fcn.00404970
push 0
push 1
lea ecx, [ebp - 0xaac]
call fcn.00404970
lea ecx, [edi - 0x10]
call fcn.0041d6f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe48]
call fcn.004740ce
mov eax, ebx
call fcn.0058f741
ret 0x10