Function at 0x488fd0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f666
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x47c], eax
test ebx, ebx
je 0x4893c9
mov esi, dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push str.FileGroupDescriptorW
call esi
push str.FileContents
movzx edi, ax
call esi
movzx eax, ax
lea ecx, [ebp - 0x4d0]
mov word [ebp - 0x4bc], ax
mov eax, dword [ebx]
push ecx
push ebx
mov word [ebp - 0x4d0], di
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4c8], 1
mov dword [ebp - 0x4c4], 0xffffffff
mov dword [ebp - 0x4c0], 1
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 1
mov dword [ebp - 0x4b0], 0xffffffff
mov dword [ebp - 0x4ac], 0xc
call dword [eax + 0x14]
test eax, eax
jne 0x4893c9
mov eax, dword [ebx]
lea ecx, [ebp - 0x4bc]
push ecx
push ebx
call dword [eax + 0x14]
test eax, eax
jne 0x4893c9
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x4a0], eax
push ecx
mov dword [ebp - 0x49c], eax
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x498], eax
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x4a8], edi
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x489110
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x474], ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
or esi, 0xffffffff
mov dword [ebp - 0x484], eax
cmp dword [edi], eax
jbe 0x489386
lea edx, [edi + 4]
mov dword [ebp - 0x480], edx
jmp 0x489160
mov esi, edx
mov dword [ebp - 0x494], 0
mov ecx, 0x94
mov dword [ebp - 0x490], 0
lea edi, [ebp - 0x470]
mov dword [ebp - 0x48c], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4a4]
lea edx, [ebp - 0x494]
push edx
mov dword [ebp - 0x4b0], eax
lea edx, [ebp - 0x4bc]
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov esi, dword [ebp - 0x44c]
shr esi, 4
and esi, 1
test eax, eax
jne 0x489356
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x474]
push 0x5c3fd0
push eax
call fcn.00422de0
mov ebx, dword [ebp - 0x474]
add esp, 0x10
test esi, esi
je 0x4891f8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x48924d
mov eax, dword [ebp - 0x494]
cmp eax, 4
jne 0x489220
push ecx
lea ecx, [ebx - 0x10]
mov esi, esp
call fcn.0040c3c0
add eax, 0x10
mov dword [esi], eax
push dword [ebp - 0x490]
call fcn.00488ec0
jmp 0x489240
cmp eax, 8
jne 0x489240
push ecx
lea ecx, [ebx - 0x10]
mov esi, esp
call fcn.0040c3c0
add eax, 0x10
mov dword [esi], eax
push dword [ebp - 0x490]
call fcn.00488df0
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [ebp - 0x47c]
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, eax
je 0x48931b
xor eax, eax
test ebx, ebx
setne al
mov dword [ebp - 0x478], eax
lea esp, [esp]
mov ecx, dword [edi + 8]
sub ecx, 0x10
call fcn.0040c3c0
add eax, 0x10
mov dword [ebp - 0x488], eax
push 0x5bcf3c
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 1
call fcn.004474b0
cmp dword [ebp - 0x478], 0
je 0x489106
mov esi, dword [ebp - 0x488]
push ebx
push esi
call fcn.00551d79
add esp, 8
test eax, eax
je 0x4893ec
push dword [esi - 0xc]
push esi
push ebx
call fcn.00555998
add esp, 0xc
test eax, eax
jne 0x4892ed
mov eax, dword [esi - 0xc]
test eax, eax
js 0x489413
cmp eax, dword [ebx - 0xc]
jg 0x489413
cmp word [ebx + eax*2], 0x5c
je 0x4893ec
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48930b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x47c]
mov edi, dword [edi]
cmp edi, dword [eax]
jne 0x489270
mov edi, dword [ebp - 0x47c]
lea eax, [ebp - 0x474]
push eax
mov esi, dword [edi]
push dword [esi + 4]
push esi
call fcn.0043ac00
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x48941d
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0x4a8]
inc eax
mov edx, dword [ebp - 0x480]
add edx, 0x250
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x480], edx
cmp eax, dword [ecx]
jb 0x489160
or esi, 0xffffffff
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4893c9
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 8
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489356
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x489356
push 0x80070057
call fcn.0040c390
push str.list_T__too_long
call fcn.005502bf
int3