Function at 0x10002910
Capabilities:
Create directory
Delete file
Get file attributes
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024c48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10033024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
or ebx, 0xffffffff
mov eax, dword [0x1003450c]
cmp dword [eax - 0xc], 0
jle 0x10002ba1
mov esi, dword [0x10034508]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x1000297a
cmp ecx, dword [esi - 0x10]
jne 0x1000297a
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x100029a7
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x10002be3
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.1000f640
add esp, 8
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
mov eax, ebx
sete byte [ebp - 0x2d]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100029cf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2d], 0
jne 0x100029e3
push 0
push dword [0x10034508]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 1
push 4
push dword [0x1003450c]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x10002a69
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x10002a86
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x1003450c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10002a4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteFile_failed_w_err_0x_08lx_n
call fcn.1000ee30
add esp, 8
mov byte [ebp - 0x2d], 0
jmp 0x10002ba5
push 0
push 0x80
push 4
push 0
push 1
push 4
push dword [0x1003450c]
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10002a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_failed_w_err_0x_08lx_n
call fcn.1000ee30
add esp, 8
mov byte [ebp - 0x2d], 0
jmp 0x10002ba5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.1000f150
mov ecx, eax
test ecx, ecx
je 0x10002be8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push dword [ebp + 8]
call fcn.1000d570
mov byte [ebp - 4], 2
push dword [eax]
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push str._4d__02d__02d__02d:_02d:_02d._03d_t_t_s_r_n
push eax
call fcn.1000e210
mov byte [ebp - 4], 1
add esp, 0x28
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10002b11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push 0
push ecx
mov eax, dword [esi - 0xc]
push eax
push esi
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10002b42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_failed_w_err_0x_08lx_n
jmp 0x10002b56
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], eax
je 0x10002b7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WriteFile_Len_failed_w_err_0x_08lx_n
call fcn.1000ee30
add esp, 8
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10002b79
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x2d], 0
jmp 0x10002ba5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10002ba1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x2d], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10002bc4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000fe6a
mov esp, ebp
pop ebp
ret
call fcn.1000e170
push 0x80004005
call fcn.1000f6f0
int3