Function at 0x100009fb4
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, 0x2e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x10001e110]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r15d, edx
mov rbp, rcx
mov qword [rsp + 0x60], rcx
mov ecx, 0xb0
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x58], rax
test rax, rax
je 0x10000a014
mov rcx, rax
call fcn.100011820
mov rdi, rax
jmp 0x10000a016
xor edi, edi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.10001340c
nop
mov rdx, rax
mov rcx, rdi
call fcn.100013264
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rsi, qword [0x1000805e8]
mov r12d, 1
test rsi, rsi
je 0x10000a240
mov rbx, rsi
mov r8d, r12d
mov edx, 0x18
mov rcx, rsi
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x10000a234
mov rsi, qword [rsi]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0x10]
call fcn.10001657c
nop
call fcn.100009d80
mov r14d, dword [0x10001e15c]
mov eax, dword [0x100080430]
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.10001330c
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x48]
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 + 0x80]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], 2
and qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x80]
mov edx, r12d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp r12, 0xffffffffffffffff
jne 0x10000a122
cmp eax, 2
je 0x10000a1ec
jmp 0x10000a1c9
mov ebp, dword [rsp + 0x50]
test byte [rsp + 0x80], 0x10
jne 0x10000a178
mov ecx, 0x70
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x70], rax
test rax, rax
je 0x10000a151
mov rcx, rax
call fcn.1000138d0
mov rbx, rax
jmp 0x10000a153
xor ebx, ebx
mov r9d, ebp
lea r8, [rsp + 0x80]
mov rdx, rdi
mov rcx, rbx
call fcn.100013a90
lea rdx, [rdi + 0x28]
mov r8, rbx
mov rcx, rdi
call fcn.10001298c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10000a126
mov rbp, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x12
je 0x10000a1f8
mov r12d, 1
add r13d, r12d
mov r9d, r13d
mov r8d, r14d
mov edx, r15d
mov rcx, rdi
call fcn.100009c24
test eax, eax
je 0x10000a21d
jmp 0x10000a0c1
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x10000a203
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test rsi, rsi
je 0x10000a23a
mov r12d, 1
jmp 0x10000a050
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x10000a240
call sub.MFC42u.dll_CTreeCtrl::SetCheck
int3
mov r12d, 1
mov rbx, qword [0x100080660]
test rbx, rbx
je 0x10000a2d3
mov rsi, rbx
mov r8d, r12d
mov edx, 0x18
mov rcx, rbx
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x10000a2cd
mov rbx, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x10]
call fcn.10001657c
nop
call fcn.100009d80
mov r11d, dword [0x10001e15c]
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r15d
mov eax, dword [0x100080430]
mov dword [rsp + 0x20], eax
mov r9d, r12d
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.100012a4c
test eax, eax
je 0x10000a2c1
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test rbx, rbx
jne 0x10000a250
jmp 0x10000a2d3
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x10000a2d3
call sub.MFC42u.dll_CTreeCtrl::SetCheck
int3
mov rbx, qword [rbp + 0x30]
mov r13d, 9
test rbx, rbx
je 0x10000a332
mov rsi, rbx
mov r8d, r12d
mov edx, 0x18
mov rcx, rbx
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x10000a32c
mov rbx, qword [rbx]
mov rsi, qword [rsi + 0x10]
lea rdx, [rdi + 0x28]
mov r8, rsi
mov rcx, rdi
call fcn.100012fd0
test rax, rax
je 0x10000a325
mov dword [rsi + 0x50], r13d
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8 + 8]
test rbx, rbx
jne 0x10000a2e2
jmp 0x10000a332
call sub.MFC42u.dll_CTreeCtrl::SetCheck
int3
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x10000a38b
mov rsi, rbx
mov r8d, r12d
mov edx, 0x18
mov rcx, rbx
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x10000a385
mov rbx, qword [rbx]
mov rsi, qword [rsi + 0x10]
lea rdx, [rdi + 0x60]
mov r8, rsi
mov rcx, rdi
call fcn.100012fd0
test rax, rax
je 0x10000a37e
mov dword [rsi + 0x50], r13d
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8 + 8]
test rbx, rbx
jne 0x10000a33b
jmp 0x10000a38b
call sub.MFC42u.dll_CTreeCtrl::SetCheck
int3
mov ecx, dword [rdi + 0x98]
lea eax, [rcx - 1]
mov dword [rdi + 0x98], eax
cmp ecx, r12d
jne 0x10000a3ab
mov rax, qword [rdi]
mov edx, r12d
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.100018470
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret