Function at 0x413350
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f380
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5d1858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push str._EffectExtractor___ExtractorStock::CDZTRExtractor::Extract_BEGIN
push 0x3b6
call fcn.00401d90
mov eax, dword [ebx + 0xc]
sub eax, 0x10
push eax
call fcn.00402240
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
push 0x574218
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0
call fcn.0040e6d0
push 0x5d41c0
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.004042b0
add esp, 0x24
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4133f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
mov dword [ebx + 0x18], 0x18
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x413411
push eax
push dword [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call ebx
test eax, eax
jne 0x413432
push esi
push str._EffectExtractor___ExtractorStock::CDZTRExtractor::Extract_unpackFileName:__s_not_exist
push 0x3c2
call fcn.00401d90
add esp, 0xc
xor bl, bl
jmp 0x413530
push 0x574218
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040e6d0
push 0x5d421c
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.004042b0
add esp, 0x18
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41347a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
push esi
call fcn.004163a0
add esp, 8
test eax, eax
jne 0x4134aa
push str._EffectExtractor___ExtractorStock::CDZTExtractor::Extract_Unzip_Failed
push 0x3ca
call fcn.00401d90
mov ecx, dword [ebp - 0x18]
add esp, 8
mov dword [ecx + 0x20], 2
xor bl, bl
jmp 0x413510
push dword [0x5d417c]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call fcn.004148e0
add esp, 0xc
mov ebx, dword [ebp - 0x18]
add ebx, 4
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401fa0
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4134f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push str._EffectExtractor___ExtractorStock::CDZTRExtractor::Extract_END
push 0x3df
call fcn.00401d90
add esp, 8
mov bl, 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413530
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413550
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41356e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret