Function at 0x432170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ccb1
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x608554]
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
push ecx
push str.CheckPrinterDriverInstall::FindRegisteredDriverSet
lea ecx, [ebp - 0x660]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4321f6
test byte [ecx + 0x1c], 1
je 0x4321f6
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5caa20
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x26
call fcn.00401840
add esp, 0xc
mov ecx, dword [0x6184f0]
xor edi, edi
push edi
mov dword [ebp - 0x668], edi
mov ecx, dword [ecx + 4]
call fcn.004feca0
test eax, eax
jne 0x43248c
mov ecx, dword [0x6184f0]
push 1
call fcn.004e6bc0
mov esi, eax
lea eax, [ebp - 0x218]
push 0x208
push edi
push eax
mov dword [ebp - 0x684], esi
call fcn.00571c00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.inf_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 1
push edi
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc]
xor ebx, ebx
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x670], ebx
test eax, eax
jle 0x43247a
test edi, edi
jne 0x43247a
lea ecx, [ebp - 0x698]
call fcn.0055b16f
push edi
push ebx
lea eax, [ebp - 0x698]
mov byte [ebp - 4], 1
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push 0x410
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00571c00
mov eax, dword [0x6184f0]
add esp, 0xc
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.004d7090
mov eax, dword [esi + 0x33c]
xor ebx, ebx
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x66c], ebx
test eax, eax
jle 0x432438
nop
test edi, edi
jne 0x432438
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x628]
push ebx
push 0x208
push eax
mov ecx, dword [ecx + 8]
call fcn.004d9bf0
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x432529
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x664], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x690]
mov ecx, eax
mov dword [ebp - 0x678], ecx
test ecx, ecx
jle 0x432403
nop word [eax + eax]
test edi, edi
js 0x432524
cmp edi, eax
jge 0x432524
mov eax, dword [ebp - 0x694]
lea ebx, [esi - 0x10]
mov edx, dword [eax + edi*4]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x4323d7
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4323c2
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4323c2
call fcn.00403af0
mov dword [ebp - 0x674], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4323b7
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x674]
lea esi, [eax + 0x10]
mov dword [ebp - 0x664], esi
jmp 0x4323d7
push dword [edx - 0xc]
lea ecx, [ebp - 0x664]
push edx
call fcn.00403bb0
mov esi, dword [ebp - 0x664]
push esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x432467
inc edi
cmp edi, dword [ebp - 0x678]
jge 0x4323fd
mov eax, dword [ebp - 0x690]
jmp 0x432360
mov ebx, dword [ebp - 0x66c]
mov edi, dword [ebp - 0x668]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432425
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
mov dword [ebp - 0x66c], ebx
cmp ebx, dword [ebp - 0x67c]
jl 0x432300
lea ecx, [ebp - 0x698]
mov byte [ebp - 4], 0
call fcn.0055b186
mov ebx, dword [ebp - 0x670]
inc ebx
mov dword [ebp - 0x670], ebx
cmp ebx, dword [ebp - 0x680]
jge 0x43247a
mov esi, dword [ebp - 0x684]
jmp 0x432297
mov ebx, dword [ebp - 0x66c]
mov edi, 1
mov dword [ebp - 0x668], edi
jmp 0x432409
mov ecx, dword [0x6184f0]
push 1
call fcn.004e6f10
cmp edi, 1
jne 0x4324b1
push 0x33
push dword [0x6184fc]
call fcn.00502d80
add esp, 8
test eax, eax
je 0x4324b1
mov ebx, 0x80010068
mov dword [0x6183ec], 0x68
jmp 0x4324b3
xor ebx, ebx
mov byte [ebp - 0x65c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4324fb
test byte [ecx + 0x1c], 1
je 0x4324fb
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5caa20
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x27
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x660]
call fcn.0040a570
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.0056d977
mov esp, ebp
pop ebp
ret
call fcn.005511b9
push 0x80004005
call fcn.004013a0
int3