Function at 0x10003a50
Capabilities:
Create directory
Delete file
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ea58
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x10013034]
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 eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x288], eax
mov eax, dword [esi]
push eax
mov dword [ebp - 0x278], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
je 0x10003feb
test al, 0x10
jne 0x10003feb
xor ebx, ebx
push 0x10013278
mov dword [ebp - 0x2bc], 0x1000fe7c
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov word [ebp - 0x2a0], bx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x10013290]
push 0x10013278
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [ebp - 0x2bc]
mov dword [ebp - 4], ebx
mov ecx, dword [esi]
push edx
call fcn.10002000
cmp dword [ebp - 0x2b0], ebx
je 0x10003fe0
cmp dword [ebp - 0x2ac], ebx
je 0x10003fe0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2ac], 0x37
jle 0x10003c99
lea esi, [ebp - 0x2f0]
call fcn.10001d80
mov byte [ebp - 4], 2
fild dword [ebp - 0x2ac]
push ebx
push 0x37
fdiv qword [0x100100b0]
fidivr dword [ebp - 0x2b0]
call fcn.1000dd90
push eax
mov eax, esi
push eax
lea ecx, [ebx + 0x20]
call fcn.10001e90
mov ebx, esi
call fcn.10001fb0
mov esi, eax
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
mov ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x2e4]
push ecx
push edx
push 0
push 0
mov eax, esi
lea ecx, [ebp - 0x2bc]
call fcn.10002c50
call fcn.10002660
lea eax, [ebp - 0x270]
push 0x100136d8
push eax
mov ebx, str.temp_
call fcn.10006fd0
add esp, 8
lea edi, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.10006910
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10003c56
test byte [ebp - 0x264], 0x10
jne 0x10003c5f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, str.weibo_Resized.jpg
lea eax, [ebp - 0x268]
call fcn.100069c0
mov esi, dword [ebp - 0x268]
push esi
mov ecx, 0x1000f36c
lea edx, [ebp - 0x2f0]
call fcn.10002a40
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 1
call fcn.10001e00
xor ebx, ebx
jmp 0x10003cac
mov eax, esi
lea edi, [ebp - 0x268]
call fcn.10006910
mov esi, dword [ebp - 0x268]
push 0x1000fb10
lea edx, [ebp - 0x274]
push esi
push edx
mov dword [ebp - 0x274], ebx
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10003fc0
mov eax, dword [ebp - 0x274]
cmp eax, ebx
je 0x10003fc0
push 2
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_fseek]
mov eax, dword [ebp - 0x274]
add esp, 0xc
push eax
call dword [sym.imp.MSVCR100.dll_ftell]
mov esi, eax
add esp, 4
cmp esi, ebx
jg 0x10003d11
lea eax, [ebp - 0x268]
call fcn.10009290
jmp 0x10003fe0
push 0x100132d8
push esi
call fcn.1000d395
push esi
mov edi, eax
push ebx
push edi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x274]
add esp, 0x14
push ebx
push ebx
push ecx
call dword [sym.imp.MSVCR100.dll_fseek]
mov edx, dword [ebp - 0x274]
add esp, 0xc
push edx
push 1
push esi
push edi
call dword [sym.imp.MSVCR100.dll_fread]
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x268]
add esp, 0x14
push ecx
call fcn.10007250
add esp, 4
test al, al
je 0x10003d82
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + esi]
mov dword [ebp - 0x26c], eax
inc eax
push 0x100132d8
push eax
mov dword [ebp - 0x270], eax
call fcn.1000d395
mov ebx, eax
mov eax, dword [ebp - 0x270]
push eax
push 0
push ebx
call sub.MSVCR100.dll_memset
add esp, 0x14
lea ecx, [ebp - 0x26c]
push ecx
push esi
mov eax, ebx
mov ecx, edi
call fcn.10002e20
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 0xc
lea esi, [ebp - 0x270]
call fcn.10006840
lea edx, [ebp - 0x27c]
push edx
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10001360
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x278]
mov eax, dword [eax]
sub eax, 0x10
call fcn.10007d50
add eax, 0x10
mov dword [ebp - 0x278], eax
push 0x1000fb04
push 0x1000fb0c
lea ecx, [ebp - 0x278]
push ecx
mov byte [ebp - 4], 6
call fcn.10006a00
push 0x1000fc48
push 0x1000fb00
lea edx, [ebp - 0x27c]
push edx
call fcn.10006a00
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x278]
push eax
push ecx
push str._from_:_extension_weibo____data_:_cmd_:_screenCut____t_t_t_t_t____path_:__s____base64_:__s____data_:_image_jpg_
mov edi, esi
call fcn.10008f60
add esp, 0xc
lea esi, [ebp - 0x284]
call fcn.1000cc70
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x10003e7a
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0x1000fa08
call eax
jmp 0x10003e7c
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push 0x100130c8
call eax
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x10003ea2
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push str.Name
call eax
jmp 0x10003ea4
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push 0x100130c4
call eax
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x26c], str.AppService.SnapImg.Notify.SnapFinish
test ecx, ecx
je 0x10003ed4
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push str.Command
call eax
jmp 0x10003ed6
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x26c], eax
test ecx, ecx
je 0x10003f0a
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push str.StrParam
call eax
jmp 0x10003f0c
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x26c], str.NotifyAction
test ecx, ecx
je 0x10003f3e
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push str.Action
call edx
jmp 0x10003f40
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x288]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
push str.AppService.Special.QueryMainThreadTask
call eax
push ebx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea esi, [ebp - 0x284]
mov byte [ebp - 4], 6
call fcn.1000cb60
lea eax, [ebp - 0x278]
call fcn.10009290
lea eax, [ebp - 0x27c]
call fcn.10009290
lea eax, [ebp - 0x270]
call fcn.10009290
lea eax, [ebp - 0x268]
call fcn.10009290
lea ecx, [ebp - 0x2bc]
call fcn.10001e00
xor eax, eax
jmp 0x10003ff0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003fe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x2bc]
call fcn.10001e00
mov eax, 0x80004005
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.1000d260
mov esp, ebp
pop ebp
ret 4