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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f324
mov eax, dword fs:[0]
push eax
sub esp, 0x494
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::CDZTExtractor::Extract_BEGIN
push 0x35f
call fcn.00401d90
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00402240
lea edi, [eax + 0x10]
mov dword [ebp - 0x494], edi
push 0x574218
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4a0]
push eax
mov dword [ebp - 4], 0
call fcn.0040e6d0
push 0x5d41f8
push eax
lea eax, [ebp - 0x47c]
push eax
mov byte [ebp - 4], 1
call fcn.004042b0
add esp, 0x24
mov edx, dword [ebp - 0x4a0]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x412eb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x47c]
mov dword [esi + 0x18], 4
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x412edc
push eax
push dword [ebp - 0x47c]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
call esi
test eax, eax
jne 0x412f02
push edi
push str._EffectExtractor___ExtractorStock::CDZTExtractor::Extract_unpackFileName:__s_not_exist
push 0x36b
call fcn.00401d90
add esp, 0xc
mov byte [ebp - 0x469], 0
jmp 0x4132e6
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff0
push eax
call fcn.00402240
lea esi, [eax + 0x10]
mov dword [ebp - 0x474], esi
push 0x574218
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x49c]
push eax
mov byte [ebp - 4], 4
call fcn.0040e6d0
push 0x5d421c
push eax
lea eax, [ebp - 0x470]
push eax
mov byte [ebp - 4], 5
call fcn.004042b0
add esp, 0x1c
mov edx, dword [ebp - 0x49c]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412f72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412f8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x470]
push edi
call fcn.004163a0
add esp, 8
test eax, eax
jne 0x412fcd
push str._EffectExtractor___ExtractorStock::CDZTExtractor::Extract_Unzip_Failed
push 0x373
call fcn.00401d90
mov ecx, dword [ebp - 0x488]
add esp, 8
mov dword [ecx + 0x20], 2
mov byte [ebp - 0x469], 0
jmp 0x4132c3
push str.TitleTemplate.xml
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0040e6d0
push dword [eax]
mov byte [ebp - 4], 9
call fcn.00414c10
mov edx, dword [ebp - 0x474]
add edx, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413016
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x470]
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 - 0x48c], eax
xor eax, eax
mov dword [ebp - 0x484], eax
xor esi, esi
call fcn.0042125e
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x413097
push 0x80004005
call fcn.004021e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x474], eax
mov edi, dword [ebp - 0x48c]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x468]
and eax, 0x10
je 0x4130ea
cmp word [ebp - 0x43c], 0x2e
jne 0x4130ea
mov cx, word [ebp - 0x43a]
test cx, cx
je 0x4131c1
cmp cx, 0x2e
jne 0x4130ea
cmp word [ebp - 0x438], 0
je 0x4131c1
test eax, eax
je 0x4131c0
mov eax, dword [ebp - 0x470]
inc dword [ebp - 0x484]
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 - 0x490]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040e6d0
lea ecx, [ebp - 0x43c]
push ecx
push eax
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040e6d0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0xd
call fcn.00401fa0
mov edx, dword [ebp - 0x498]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41317a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x490]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41319d
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], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4131c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc esi
lea eax, [ebp - 0x468]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4130b1
push dword [ebp - 0x48c]
mov dword [ebp - 0x478], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [0x5d41bc]
lea eax, [ebp - 0x480]
push dword [ebp - 0x47c]
push eax
call fcn.004148e0
add esp, 0xc
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x480]
add ecx, 4
push eax
mov byte [ebp - 4], 0xe
call fcn.00401fa0
cmp dword [ebp - 0x484], 1
mov esi, dword [ebp - 0x474]
mov edi, dword [ebp - 0x494]
jne 0x413258
cmp dword [ebp - 0x478], 1
jne 0x413258
push dword [ebp - 0x480]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp - 0x470]
call fcn.00415670
add esp, 4
jmp 0x41326a
push dword [ebp - 0x480]
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str._EffectExtractor___ExtractorStock::CDZTExtractor::Extract_END
push 0x3b0
call fcn.00401d90
mov edx, dword [ebp - 0x480]
add edx, 0xfffffff0
add esp, 8
mov byte [ebp - 0x469], 1
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4132a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4132c3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x470]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4132e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x47c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413309
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x413327
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