Function at 0x413f80
Capabilities:
Check if file exists
Create directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f40e
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x5d1858]
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 esi, ecx
mov dword [ebp - 0x488], esi
push str._EffectExtractor___ExtractorStock::CPDLAYExtractor::Extract_BEGIN
push 0x621
call fcn.00401d90
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00402240
lea edi, [eax + 0x10]
mov dword [ebp - 0x490], edi
mov eax, dword [esi + 0x10]
sub eax, 0x10
push eax
mov dword [ebp - 4], 0
call fcn.00402240
lea ebx, [eax + 0x10]
add esp, 0x10
mov dword [ebp - 0x48c], ebx
mov dword [esi + 0x18], 0x1c
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
mov byte [ebp - 4], 1
call esi
test eax, eax
jne 0x41401a
push eax
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
call esi
or esi, 0xffffffff
test eax, eax
jne 0x414043
push edi
push str._EffectExtractor___ExtractorStock::CPDLAYExtractor::Extract_unpackFileName:__s_not_exist
push 0x62d
call fcn.00401d90
add esp, 0xc
mov byte [ebp - 0x469], 0
jmp 0x4143ea
lea eax, [ebx - 0x10]
push eax
call fcn.00402240
add eax, 0x10
mov dword [ebp - 0x470], eax
push 0x574218
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 2
call fcn.0040e6d0
push 0x5d421c
push eax
lea eax, [ebp - 0x474]
push eax
mov byte [ebp - 4], 3
call fcn.004042b0
add esp, 0x1c
mov edx, dword [ebp - 0x498]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4140ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x470]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4140d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x474]
push edi
call fcn.004163a0
add esp, 8
test eax, eax
jne 0x41410e
push str._EffectExtractor___ExtractorStock::CPDLAYExtractor::Extract_Unzip_Failed
push 0x635
call fcn.00401d90
mov ecx, dword [ebp - 0x488]
add esp, 8
mov dword [ecx + 0x20], 2
mov byte [ebp - 0x469], 0
jmp 0x4143c7
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00543da0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x474]
push eax
call esi
push 0x573cd8
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
xor eax, eax
mov dword [ebp - 0x470], eax
xor esi, esi
call fcn.0042125e
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41418f
push 0x80004005
call fcn.004021e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x480], eax
mov ebx, dword [ebp - 0x484]
mov byte [ebp - 4], 7
or edi, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp - 0x468]
and eax, 0x10
je 0x4141e9
cmp word [ebp - 0x43c], 0x2e
jne 0x4141e9
mov cx, word [ebp - 0x43a]
test cx, cx
je 0x4142c0
cmp cx, 0x2e
jne 0x4141e9
cmp word [ebp - 0x438], 0
je 0x4142c0
test eax, eax
je 0x4142bf
mov eax, dword [ebp - 0x474]
inc dword [ebp - 0x470]
add eax, 0xfffffff0
push eax
call fcn.00402240
add eax, 0x10
mov dword [ebp - 0x478], eax
push 0x574218
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x49c]
push eax
mov byte [ebp - 4], 8
call fcn.0040e6d0
lea ecx, [ebp - 0x43c]
push ecx
push eax
lea eax, [ebp - 0x494]
push eax
mov byte [ebp - 4], 9
call fcn.0040e6d0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0xa
call fcn.00401fa0
mov edx, dword [ebp - 0x494]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414279
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x49c]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41429c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4142bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4141b0
push dword [ebp - 0x484]
mov dword [ebp - 0x478], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [0x5d4188]
mov ebx, dword [ebp - 0x48c]
lea eax, [ebp - 0x47c]
push ebx
push eax
call fcn.004148e0
add esp, 0xc
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x47c]
add ecx, 4
push eax
mov byte [ebp - 4], 0xb
call fcn.00401fa0
cmp dword [ebp - 0x470], 1
mov esi, dword [ebp - 0x480]
mov edi, dword [ebp - 0x490]
jne 0x414358
cmp dword [ebp - 0x478], 1
jne 0x414358
push dword [ebp - 0x47c]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp - 0x474]
call fcn.00415670
add esp, 4
jmp 0x41436a
push dword [ebp - 0x47c]
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str._EffectExtractor___ExtractorStock::CPDLAYExtractor::Extract_END
push 0x66a
call fcn.00401d90
mov edx, dword [ebp - 0x47c]
add edx, 0xfffffff0
add esp, 8
mov byte [ebp - 0x469], 1
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4143a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4143c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x474]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4143ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414407
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x414425
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x469]
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.00543154
mov esp, ebp
pop ebp
ret