Function at 0x10035910
Capabilities:
Check if file exists
Create directory
Enumerate files on windows
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044eda
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x1005500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x194], esi
push 0x1004e0f8
mov dword [ebp - 0x174], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1003597d
test al, 0x10
jne 0x1003598a
push 0
push 0x1004e0f8
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 5
push str..JSON
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
call fcn.100331b0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x174], 1
push eax
mov edx, str.SkadyHOOK
lea ecx, [ebp - 0x1ac]
call fcn.1003d610
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x10035a0f
mov eax, dword [eax]
lea ecx, [ebp - 0x170]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [ebp - 0x198]
mov edi, eax
cmp edx, 0x10
jb 0x10035a5b
mov ecx, dword [ebp - 0x1ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035a51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035a51
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040804
add esp, 8
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0xf
mov byte [ebp - 0x1ac], 0
cmp edi, 0xffffffff
je 0x10035b77
nop
test byte [ebp - 0x170], 0x10
jne 0x10035b5a
mov dword [ebp - 0x18c], 0
lea eax, [ebp - 0x144]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 2
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10035ac0
sub eax, edx
lea ecx, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.100331b0
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10035b11
movups xmm0, xmmword [ebp - 0x18c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x17c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
mov edx, 0xf
mov byte [ebp - 0x18c], 0
jmp 0x10035b26
lea ecx, [ebp - 0x18c]
push ecx
push eax
mov ecx, esi
call fcn.1003ddf0
mov edx, dword [ebp - 0x178]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10035b5a
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035b50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035b9d
push edx
push ecx
call fcn.10040804
add esp, 8
lea eax, [ebp - 0x170]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10035a80
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10035bad
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035ba3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040804
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100401be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret