Function at 0x43dd90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5274ce
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x58e5a4]
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 esi, ecx
mov dword [ebp - 0x78], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x74], 0
mov al, byte [0x598289]
nop
test al, al
je 0x43ddde
xor al, al
jmp 0x43e181
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
push 1
push ebx
push dword [eax]
call fcn.0041d0c0
cmp dword [ebp - 0x1c], 0
je 0x43e17f
push str.Driver
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042e130
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x43de79
push str.Name
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0042e130
add esp, 0xc
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040bfb0
lea ecx, [ebp - 0x90]
call fcn.00409020
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e169
cmp dword [ebp - 0x28], 8
lea edi, [ebp - 0x3c]
cmovae edi, dword [ebp - 0x3c]
test ecx, ecx
je 0x43debb
xor esi, esi
mov edx, edi
test ecx, ecx
je 0x43dea7
cmp word [edi], 0x5c
je 0x43dea5
cmp ecx, 1
je 0x43dea7
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x43de96
mov esi, edx
test esi, esi
je 0x43deb8
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
jne 0x43df8e
mov esi, dword [ebp - 0x78]
call fcn.00436220
test al, al
je 0x43dece
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push str._spoolPrtprocs_
mov byte [ebp - 4], 2
call fcn.004103b0
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00410940
mov byte [ebp - 4], 3
push dword [esi + 4]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0041ad50
push 0x560f9c
push eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 4
push eax
call fcn.0040d9b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ad50
add esp, 0x30
lea ecx, [ebp - 0xa8]
call fcn.00409020
lea ecx, [ebp - 0xc0]
call fcn.00409020
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.00409020
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43df70
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040bf80
lea ecx, [ebp - 0x58]
call fcn.00409020
mov byte [ebp - 4], 1
call fcn.00436220
test al, al
je 0x43df8e
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.0040d800
push str.DisplayName
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042e130
add esp, 0x10
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 0
jne 0x43dfd5
push ebx
lea ecx, [ebp - 0x108]
call fcn.004082e0
mov ebx, 1
jmp 0x43dfe9
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041b5a0
mov ebx, 2
mov esi, dword [ebp - 0x24]
mov ecx, esi
push eax
mov dword [ebp - 0x74], ebx
call fcn.0040bfb0
test bl, 2
je 0x43e00d
and ebx, 0xfffffffd
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x74], ebx
call fcn.00409020
mov dword [ebp - 4], 0xb
test bl, 1
je 0x43e02a
and ebx, 0xfffffffe
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x74], ebx
call fcn.00409020
mov eax, dword [ebp - 0x78]
xor edx, edx
mov ecx, 2
mov eax, dword [eax + 8]
cmp byte [eax], dl
lea eax, [ebp - 0x3c]
cmovne ecx, edx
or ecx, 0x40000
mov dword [esi + 0xd0], ecx
lea ecx, [esi + 0x60]
cmp ecx, eax
je 0x43e063
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.00408af0
cmp dword [ebp - 0x28], 8
lea edi, [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
cmovae edi, dword [ebp - 0x3c]
test ecx, ecx
je 0x43e0b5
xor esi, esi
mov edx, edi
test ecx, ecx
je 0x43e094
cmp word [edi], 0x5c
je 0x43e092
cmp ecx, 1
je 0x43e094
add edx, 2
dec ecx
cmp word [edx], 0x5c
jne 0x43e083
mov esi, edx
test esi, esi
je 0x43e0b5
sub esi, edi
sar esi, 1
cmp esi, 0xffffffff
je 0x43e0b5
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x138]
call fcn.0041b5a0
or ebx, 4
jmp 0x43e0c6
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x120]
call fcn.00434ca0
or ebx, 8
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [esi + 0x48]
call fcn.0040bfb0
test bl, 8
je 0x43e0e5
lea ecx, [ebp - 0x120]
and ebx, 0xfffffff7
call fcn.00409020
mov dword [ebp - 4], 0xb
test bl, 4
je 0x43e0fc
lea ecx, [ebp - 0x138]
call fcn.00409020
mov edi, dword [ebp - 0x20]
sub esp, 8
mov eax, esp
xor dl, dl
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x43e11b
lock inc dword [edi + 4]
xor ecx, ecx
mov dword [eax], esi
mov dword [eax + 4], edi
call fcn.0042e240
add esp, 8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0xc]
call fcn.0040bbe0
lea ecx, [ebp - 0x70]
call fcn.00409020
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x43e169
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43e169
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43e169
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00409020
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e17f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 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.004d2a60
mov esp, ebp
pop ebp
ret 8