Function at 0x103dd34
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10619c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0
or dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], ecx
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
test esi, esi
je 0x103dfed
cmp esi, edi
je 0x103dfed
push dword [ebp + 0xc]
mov ebx, 0x104
push ebx
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call fcn.0101b116
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call edi
test eax, eax
jne 0x103dddc
mov eax, dword [section..data]
cmp eax, section..data
je 0x103e026
test byte [eax + 0x1c], 4
je 0x103e026
push 0x100aaac
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01017c98
jmp 0x103e026
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
je 0x103de01
test al, 0x10
jne 0x103de01
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 1
jmp 0x103e026
cmp dword [ebp + 0x10], 0
je 0x103e026
push dword [ebp + 0xc]
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push ebx
push eax
call fcn.0101b116
push 0x1005d74
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call edi
test eax, eax
jne 0x103de53
mov eax, dword [section..data]
cmp eax, section..data
je 0x103e026
test byte [eax + 0x1c], 4
je 0x103e026
push 0x100aaac
push 0x22
jmp 0x103ddcc
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test byte [ebp - 0x45c], 0x10
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], eax
je 0x103df64
mov ecx, 0x100ab68
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x103deab
test dx, dx
je 0x103dea7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x103deab
add eax, 4
add ecx, 4
test dx, dx
jne 0x103de85
xor eax, eax
jmp 0x103deb0
sbb eax, eax
sbb eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
test eax, eax
je 0x103df64
mov ecx, 0x100ab60
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x103dee9
test dx, dx
je 0x103dee5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x103dee9
add eax, 4
add ecx, 4
test dx, dx
jne 0x103dec3
xor eax, eax
jmp 0x103deee
sbb eax, eax
sbb eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
test eax, eax
je 0x103df64
push dword [ebp + 0xc]
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push ebx
push eax
call fcn.0101b116
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call edi
test eax, eax
jne 0x103df3c
mov eax, dword [section..data]
cmp eax, section..data
je 0x103e011
test byte [eax + 0x1c], 4
je 0x103e011
push 0x100aaac
push 0x23
jmp 0x103e006
mov ecx, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
push 0
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push dword [ebp - 0x468]
call fcn.0103dd34
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], eax
test eax, eax
jne 0x103e011
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x103dfbd
test byte [ebp - 0x45c], 0x10
je 0x103dfbd
push dword [ebp + 0xc]
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push ebx
push eax
call fcn.0101b116
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call edi
test eax, eax
je 0x103dfd2
mov ecx, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
push 0
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push dword [ebp - 0x468]
call fcn.0103dd34
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], eax
test eax, eax
jne 0x103e011
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push dword [ebp - 0x460]
call esi
test eax, eax
jne 0x103df6c
jmp 0x103e011
mov eax, dword [section..data]
cmp eax, section..data
je 0x103e011
test byte [eax + 0x1c], 4
je 0x103e011
push 0x100aaac
push 0x24
jmp 0x103e006
mov eax, dword [section..data]
cmp eax, section..data
je 0x103e026
test byte [eax + 0x1c], 4
je 0x103e026
push 0x100aaac
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01017c98
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0xffffffff
je 0x103e026
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01041ea8
leave
ret 0xc