Function at 0x10004550
Capabilities:
Check if file exists
Create directory
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10013034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
lea eax, [esi + 0x58]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, str.From
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x100045e8
mov ecx, eax
movzx edi, cx
push edi
call fcn.10001980
add esp, 4
test eax, eax
je 0x100045fb
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.10001590
jmp 0x100045fb
push str.From
lea edx, [ebp - 0x18]
push edx
mov ebx, 4
call fcn.10007ca0
add esi, 0x70
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.100074a0
mov eax, dword [eax]
sub eax, 0x10
call fcn.10007d50
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, str.Tieba
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000467a
test dx, dx
je 0x10004676
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000467a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10004654
xor eax, eax
jmp 0x1000467f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x10004778
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10004778
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10004772
push 4
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_CopyImage]
lea esi, [ebp - 0x60]
mov edi, eax
call fcn.10001d80
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x5c], edi
call fcn.10002cc0
lea edx, [ebp - 0x18]
push 0x100136d8
push edx
mov ebx, str.temp_
call fcn.10006fd0
add esp, 8
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10006910
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000471b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004731
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._d.jpg
lea edi, [ebp - 0x14]
call fcn.10008f80
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
mov ecx, 0x1000f3ec
lea edx, [ebp - 0x60]
call fcn.10002a40
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.10001e00
mov esi, dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, str.SeqID
mov byte [ebp - 4], 7
test ecx, 0xffff0000
jne 0x100047c8
mov edx, ecx
movzx edi, dx
push edi
call fcn.10001980
add esp, 4
test eax, eax
je 0x100047db
push eax
mov eax, edi
lea edi, [ebp - 0x18]
call fcn.10001590
jmp 0x100047db
push str.SeqID
lea eax, [ebp - 0x18]
push eax
mov ebx, 5
call fcn.10007ca0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.100074a0
mov eax, dword [eax]
sub eax, 0x10
call fcn.10007d50
lea ebx, [eax + 0x10]
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000481d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x14]
xor esi, esi
cmp dword [edx - 0xc], esi
je 0x10004963
cmp dword [ebx - 0xc], esi
je 0x10004963
push 0x1000fb04
push 0x1000fb0c
lea eax, [ebp - 0x14]
push eax
call fcn.10006a00
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push str._cmd_:_tieba.screenshotback___param_:_nid_:__s___path_:__s_
lea edi, [ebp - 0x1c]
call fcn.10008f60
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [edi + 8], esi
je 0x10004940
mov ecx, dword [0x100136d4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
cmp ecx, esi
je 0x100048b1
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x24]
push eax
push str.AppService.Special.CreateExtKVMap
call edx
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
cmp eax, esi
je 0x100048c9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
push 0x1000fa08
call eax
jmp 0x100048cb
xor eax, eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push 0x100130c0
call eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, esi
je 0x100048f4
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push str.StrParam
call eax
jmp 0x100048f6
xor eax, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
push str.AppService.CommonCmd.Notify.MessageToLibEx
call eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], esi
jne 0x1000493d
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x1000493d
mov ecx, dword [0x100136d4]
cmp ecx, esi
je 0x1000493d
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
push str.AppService.Special.DeletePtr
call eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100049a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100049cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4