Function at 0x10000a4c8
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x10001e110]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov r12, rdx
mov rsi, rcx
mov edi, 1
mov eax, dword [0x100080400]
xor r15d, r15d
cmp eax, r15d
je 0x10000a51f
cmp dword [0x100080404], eax
cmovge edi, r15d
movsxd rbx, edi
mov qword [rsp + 0x50], rbx
cmp dword [0x100080324], r15d
je 0x10000a9c8
call fcn.100009d80
lea rbp, [0x100001c40]
mov rdx, rbp
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r15d, dword [0x10001e15c]
mov r14d, dword [0x100080430]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.10001330c
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor r13d, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 2
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rdi, 0xffffffffffffffff
jne 0x10000a5e6
cmp eax, 2
je 0x10000a734
jmp 0x10000a715
test byte [rsp + 0x70], 0x10
je 0x10000a680
test rbx, rbx
je 0x10000a6ca
lea rdx, [0x100002974]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10000a6ca
lea rdx, [0x100002978]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10000a6ca
mov ecx, 0x70
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
test rax, rax
je 0x10000a655
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000a657
xor ebx, ebx
mov r9d, r14d
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.100013a90
lea rdx, [rsi + 0x60]
mov r8, rbx
mov rcx, rsi
call fcn.10001298c
mov rbx, qword [rsp + 0x50]
jmp 0x10000a6ca
mov ecx, 0x70
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
test rax, rax
je 0x10000a6a1
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000a6a3
xor ebx, ebx
mov r9d, r14d
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.100013a90
lea rdx, [rsi + 0x28]
mov r8, rbx
mov rcx, rsi
call fcn.10001298c
mov rbx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10000a5e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x12
je 0x10000a755
mov rbx, qword [rsp + 0x50]
inc r13d
mov r9d, r13d
mov r8d, r15d
mov edx, 0x238f
mov rcx, rsi
call fcn.100009c24
test eax, eax
je 0x10000a746
jmp 0x10000a58a
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
jmp 0x10000a765
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor r11d, r11d
jmp 0x10000a765
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
test r11d, r11d
sete bl
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test bl, bl
je 0x10000a780
xor eax, eax
jmp 0x10000ad78
cmp dword [rsi + 0x18], 1
je 0x10000ad73
call fcn.100009d80
mov rdx, rbp
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r13d, dword [0x10001e15c]
mov ebp, dword [0x100080430]
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.10001330c
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor esi, esi
lea r14d, [rsi + 0x70]
mov r15, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 2
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rdi, 0xffffffffffffffff
jne 0x10000a83c
cmp eax, 2
je 0x10000a978
jmp 0x10000a95a
test byte [rsp + 0x70], 0x10
je 0x10000a8d0
test r15, r15
je 0x10000a914
lea rdx, [0x100002974]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10000a914
lea rdx, [0x100002978]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10000a914
mov rcx, r14
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
test rax, rax
je 0x10000a8a9
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000a8ab
xor ebx, ebx
mov r9d, ebp
lea r8, [rsp + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.100013a90
lea rdx, [r12 + 0x60]
mov r8, rbx
mov rcx, r12
call fcn.10001298c
jmp 0x10000a914
mov rcx, r14
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
test rax, rax
je 0x10000a8ef
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000a8f1
xor ebx, ebx
mov r9d, ebp
lea r8, [rsp + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.100013a90
lea rdx, [r12 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.10001298c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10000a83c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x12
je 0x10000a999
inc esi
mov r9d, esi
mov r8d, r13d
mov edx, 0x2390
mov rcx, r12
call fcn.100009c24
test eax, eax
je 0x10000a98a
jmp 0x10000a7e0
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
jmp 0x10000a9a9
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor r11d, r11d
jmp 0x10000a9a9
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
test r11d, r11d
sete bl
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test bl, bl
je 0x10000ad73
xor eax, eax
jmp 0x10000ad78
call fcn.100009d80
mov r11d, dword [0x10001e15c]
mov dword [rsp + 0x20], r11d
mov r9d, 0x238f
mov r8d, edi
mov edx, 1
mov rcx, rsi
call fcn.10000a3dc
cmp eax, r15d
jne 0x10000a9fb
xor eax, eax
jmp 0x10000ad78
lea rbp, [0x100001c40]
cmp dword [0x100080360], r15d
jne 0x10000aa16
mov eax, dword [0x100080334]
cmp eax, r15d
je 0x10000aa7d
call fcn.100009d80
mov rdx, rbp
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov eax, dword [0x10001e15c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x238f
mov eax, dword [0x100080430]
mov dword [rsp + 0x20], eax
mov r9d, edi
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.100012a4c
cmp eax, r15d
sete bl
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
cmp bl, r15b
je 0x10000aa74
xor eax, eax
jmp 0x10000ad78
mov eax, dword [0x100080334]
movsxd rbx, edi
cmp dword [rsi + 0x18], 1
je 0x10000ad73
cmp eax, r15d
je 0x10000acdf
call fcn.100009d80
mov rdx, rbp
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r13d, dword [0x10001e15c]
mov ebp, dword [0x100080430]
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.10001330c
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov esi, r15d
mov r14d, 0x250
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rdi, 0xffffffffffffffff
jne 0x10000ab3c
cmp eax, 2
je 0x10000ac8e
jmp 0x10000ac6a
test byte [rsp + 0x70], 0x10
je 0x10000abda
cmp rbx, r15
je 0x10000ac26
lea rdx, [0x100002974]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r15d
je 0x10000ac26
lea rdx, [0x100002978]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r15d
je 0x10000ac26
mov ecx, 0x70
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
cmp rax, r15
je 0x10000abad
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000abb0
mov rbx, r15
mov r9d, ebp
lea r8, [rsp + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.100013a90
lea rdx, [r12 + 0x60]
mov r8, rbx
mov rcx, r12
call fcn.10001298c
mov rbx, qword [rsp + 0x50]
jmp 0x10000ac26
mov ecx, 0x70
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x60], rax
cmp rax, r15
je 0x10000abfb
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000abfe
mov rbx, r15
mov r9d, ebp
lea r8, [rsp + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.100013a90
lea rdx, [r12 + 0x28]
mov r8, rbx
mov rcx, r12
call fcn.10001298c
mov rbx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r15d
jne 0x10000ab3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x12
je 0x10000acaf
inc esi
mov r9d, esi
mov r8d, r13d
mov edx, 0x2390
mov rcx, r12
call fcn.100009c24
cmp eax, r15d
je 0x10000aca0
mov rbx, qword [rsp + 0x50]
jmp 0x10000aae4
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
jmp 0x10000acbf
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, r15d
jmp 0x10000acbf
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r11d, 1
cmp r11d, r15d
sete bl
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
cmp bl, r15b
je 0x10000ad73
xor eax, eax
jmp 0x10000ad78
call fcn.100009d80
mov r11d, dword [0x10001e15c]
mov dword [rsp + 0x20], r11d
mov r9d, 0x2390
mov r8d, edi
mov edx, 1
mov rcx, r12
call fcn.10000a3dc
cmp eax, r15d
jne 0x10000ad0f
xor eax, eax
jmp 0x10000ad78
cmp dword [0x100080360], r15d
je 0x10000ad73
call fcn.100009d80
mov rdx, rbp
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov eax, dword [0x10001e15c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x2390
mov eax, dword [0x100080430]
mov dword [rsp + 0x20], eax
mov r9d, edi
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.100012a4c
cmp eax, r15d
sete bl
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
cmp bl, r15b
je 0x10000ad73
xor eax, eax
jmp 0x10000ad78
mov eax, 1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.100018470
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret