Function at 0x100238c0
Capabilities:
Check if file exists
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d49f3
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
push edi
mov eax, dword [0x10109610]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], cx
mov dword [esp + 0x348], ebx
cmp dword [esi + 0x14], 8
jb 0x1002393c
mov eax, dword [esi]
jmp 0x1002393e
mov eax, esi
push eax
push str.parsing_all_files_in_directory:_ls
call fcn.10006760
mov ecx, 0x100dcd14
call fcn.10006d80
push 0x100dc9f4
lea edx, [esp + 0xb8]
push esi
push edx
call fcn.1001b600
add esp, 0x14
push eax
mov edx, 0x100e3f60
lea eax, [esp + 0x40]
mov byte [esp + 0x34c], 1
call fcn.10001fd0
add esp, 4
mov edi, eax
lea esi, [esp + 0x90]
mov byte [esp + 0x348], 2
call fcn.10002040
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x100239b1
mov eax, dword [esp + 0x3c]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov edi, 7
mov byte [esp + 0x348], bl
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp dword [esp + 0xc0], esi
jb 0x100239e5
mov edx, dword [esp + 0xac]
push edx
call fcn.100b2e51
add esp, 4
mov eax, dword [esp + 0x90]
cmp dword [esp + 0xa4], esi
jae 0x100239fc
lea eax, [esp + 0x90]
lea ecx, [esp + 0xe4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x10023a4b
push str.Failed_to_get_handle_n
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b80
add esp, 4
cmp dword [esp + 0xa4], esi
jb 0x10023a44
mov edx, dword [esp + 0x90]
push edx
call fcn.100b2e51
add esp, 4
xor al, al
jmp 0x10023e6b
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], 1
mov dword [eax], ebx
jmp 0x10023a60
mov ecx, 0x100e3f64
lea eax, [esp + 0x110]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10023a96
cmp dx, bx
je 0x10023a92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10023a96
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10023a70
xor eax, eax
jmp 0x10023a9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10023d2a
mov ecx, 0x100e3f68
lea eax, [esp + 0x110]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10023ad6
cmp dx, bx
je 0x10023ad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10023ad6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10023ab0
xor eax, eax
jmp 0x10023adb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10023d2a
test byte [esp + 0xe4], 0x10
je 0x10023d2a
xor ecx, ecx
lea eax, [esp + 0x110]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10023b10
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x114]
lea esi, [esp + 0x40]
call fcn.10001b30
mov edx, dword [esp + 0x18]
push 0x100dc9f4
push edx
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x354], 3
call fcn.1001b600
add esp, 0xc
mov ecx, eax
lea edx, [esp + 0xc8]
push edx
mov eax, esi
mov byte [esp + 0x34c], 4
call fcn.1001b8b0
add esp, 4
push eax
mov edx, str.RefCount.txt
lea eax, [esp + 0x5c]
mov byte [esp + 0x34c], 5
call fcn.10001fd0
add esp, 4
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x10023ba6
mov eax, dword [esp + 0xc8]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], cx
mov byte [esp + 0x348], 8
cmp dword [esp + 0xc0], esi
jb 0x10023bdf
mov edx, dword [esp + 0xac]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
mov word [esp + 0xac], ax
xor ecx, ecx
push edi
mov eax, str..aamref
lea esi, [esp + 0x24]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
call fcn.10001b30
mov byte [esp + 0x348], 9
mov ecx, dword [esp + 0x4c]
push ecx
sub ecx, dword [esp + 0x34]
lea esi, [esp + 0x78]
lea edx, [esp + 0x40]
call fcn.10025120
mov byte [esp + 0x348], 0xa
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x10023c4a
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x78]
call fcn.1001bec0
mov esi, 8
test eax, eax
jne 0x10023c9c
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x10023c76
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10023d4a
push str.File_does_not_exist
call fcn.10006760
mov ecx, str.Utilities
call fcn.10006de0
add esp, 4
cmp dword [esp + 0x88], esi
jb 0x10023cb2
mov edx, dword [esp + 0x74]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
cmp dword [esp + 0x34], esi
jb 0x10023cdf
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100b2e51
add esp, 4
xor edx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
cmp dword [esp + 0x6c], esi
jb 0x10023d01
mov eax, dword [esp + 0x58]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov byte [esp + 0x348], bl
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp dword [esp + 0x50], esi
jb 0x10023d2a
mov edx, dword [esp + 0x3c]
push edx
call fcn.100b2e51
add esp, 4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xe4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10023a60
jmp 0x10023e0d
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], esi
jb 0x10023d55
mov eax, dword [eax]
push eax
lea edx, [esp + 0x114]
push edx
push str.AAMRef_file_:_ls_exists_at_path_:_ls
call fcn.10006760
mov ecx, 0x100dcd14
call fcn.10006de0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], 1
cmp dword [esp + 0x88], esi
jb 0x10023d95
mov ecx, dword [esp + 0x74]
push ecx
call fcn.100b2e51
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
cmp dword [esp + 0x34], esi
jb 0x10023dc2
mov eax, dword [esp + 0x20]
push eax
call fcn.100b2e51
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp dword [esp + 0x6c], esi
jb 0x10023de4
mov edx, dword [esp + 0x58]
push edx
call fcn.100b2e51
add esp, 4
xor eax, eax
mov byte [esp + 0x348], bl
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
cmp dword [esp + 0x50], esi
jb 0x10023e0d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100b2e51
add esp, 4
mov esi, dword [esp + 0x14]
cmp dword [esi], ebx
jne 0x10023e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10023e40
push eax
push str.Last_Error_Incurred:_d
call fcn.10006760
mov ecx, 0x100dcd14
call fcn.10006e40
add esp, 8
mov dword [esi], 0xffffffff
jmp 0x10023e44
mov bl, byte [esp + 0x13]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xa4], 8
jb 0x10023e69
mov eax, dword [esp + 0x90]
push eax
call fcn.100b2e51
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret