Function at 0x48c3e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10660
call fcn.0050b7c0
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 8], 0
je 0x48c434
test edi, edi
jne 0x48c40c
lea edi, [esi + 0x28]
push edi
call fcn.0048c840
test al, al
jne 0x48c449
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x48c434
mov eax, dword [ecx]
push edi
push str.Failed_to_create_destinationFolder:
push 0x5b4948
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x1065c]
mov ecx, esi
push eax
call fcn.0048c730
cmp byte [ebp - 0x1042c], 0
je 0x48c475
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc
push edi
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00528fca
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x48c4b4
push 0x5b5b4c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x105
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1065c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00535e59
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call fcn.0052cda6
add esp, 4
mov edi, eax
push 0x5c
push edi
call fcn.00548106
add esp, 8
xor bl, bl
test eax, eax
je 0x48c522
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.0048c840
mov bl, al
push edi
call fcn.00524165
add esp, 4
test bl, bl
jne 0x48c56c
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x48c434
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push str.Failed_to_CreateFilePath:
push 0x5b4948
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc
push 0
push dword [ebp - 0x10430]
lea eax, [ebp - 0x214]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48c5d0
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x48c434
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push str.Invalid_file_handle:
push 0x5b4948
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc
push dword [esi + 0x234]
mov ecx, dword [esi + 8]
sub esp, 8
call fcn.0048d4f0
add esp, 0xc
test eax, eax
je 0x48c625
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x48c434
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push str.Failed_to_unzOpenCurrentFilePassword:
push 0x5b4948
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0x18], 2
nop dword [eax]
push ecx
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x10424]
call fcn.0048d7e0
mov edi, eax
add esp, 4
test edi, edi
jle 0x48c68a
push 0
lea eax, [ebp - 0x10660]
mov dword [ebp - 0x10660], edi
push eax
push edi
lea eax, [ebp - 0x10424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48c687
mov eax, dword [ebp - 0x10660]
cmp eax, edi
jne 0x48c687
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 0x24]
call eax
add esp, 4
test eax, eax
je 0x48c630
or edi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 8]
call fcn.0048daa0
test edi, edi
jne 0x48c6b1
push dword [ebp - 0x10444]
lea eax, [ebp - 0x214]
push eax
call fcn.0048c8e0
test edi, edi
mov ecx, dword [ebp - 8]
sete al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ad85
mov esp, ebp
pop ebp
ret 0xc