Function at 0x4bcfd0
Capabilities:
Copy file
Create directory
Delete directory
Delete file
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x862d50
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
test ebp, ebp
push edi
je 0x4bd494
cmp word [ebp], 0
je 0x4bd494
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4bd494
cmp word [esi], 0
je 0x4bd494
push esi
call fcn.004b9330
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 4
push esi
call edi
or ebx, 0xffffffff
cmp eax, ebx
je 0x4bd040
test al, 0x10
je 0x4bd040
push 0x8a9
jmp 0x4bd499
push esi
lea ecx, [esp + 0x14]
call fcn.00617650
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0
call fcn.00617650
push esi
mov byte [esp + 0x64], 1
call fcn.00664290
add esp, 4
lea ecx, [esp + 0x70]
push eax
call fcn.00617650
push 0x2e
lea ecx, [esp + 0x74]
mov byte [esp + 0x64], 2
call fcn.006190d0
test eax, eax
jle 0x4bd0b4
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
call fcn.0061a690
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x64], 3
call fcn.00618070
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 2
call fcn.00617ec0
push 0x5c
lea ecx, [esp + 0x6c]
call fcn.006190d0
cmp eax, 3
jle 0x4bd0f0
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.0061a690
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 4
call fcn.00618070
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 2
call fcn.00617ec0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x68]
push eax
push edx
lea eax, [esp + 0x18]
push str._sOeaTmp__08x
push eax
call fcn.0061aed0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call edi
cmp eax, ebx
jne 0x4bd12a
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x4bd12c
test al, 0x10
jne 0x4bd15c
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], 1
call fcn.00617ec0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], ebx
call fcn.00617ec0
jmp 0x4bd4a3
lea eax, [esp + 0x10]
push 0x92edb8
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00618620
lea edx, [esp + 0x70]
mov byte [esp + 0x60], 5
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00618450
push str..oeax
lea ecx, [esp + 0x1c]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x6c], bl
call fcn.00618620
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 7
call fcn.00618070
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], bl
call fcn.00617ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 5
call fcn.00617ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 2
call fcn.00617ec0
lea edx, [esp + 0x10]
push 0x92edb8
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00618620
lea ecx, [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x6c], 8
call fcn.00618450
push 0x935324
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x68], 9
push eax
call fcn.00618620
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xc
call fcn.00617ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0xb
call fcn.00617ec0
mov eax, dword [0x9dce80]
test eax, eax
je 0x4bd25f
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
push esi
push str.COEAFileMgr::CreateZipFile_1_lpDstFile__s__wstrTempFile__s__wstrViewerFile__s__wstrDstFileName__s_
push str.oeazip
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x20
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push ecx
push edx
push eax
xor edi, edi
call fcn.004b8900
add esp, 0x3c
test eax, eax
je 0x4bd403
mov ecx, dword [esp + 0x14]
push 1
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4bd3f8
lea ecx, [esp + 0x24]
call fcn.00702fd0
push esi
lea ecx, [esp + 0xa4]
mov byte [esp + 0x64], 0xd
call fcn.00831f5f
mov edx, dword [esp + 0xa0]
mov bl, 0xe
push edi
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], bl
call fcn.00703200
lea eax, [esp + 0x14]
push 0x92f588
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.00618620
lea edx, [esp + 0x68]
mov byte [esp + 0x60], 0xf
push edx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00618450
mov eax, dword [eax]
lea ecx, [esp + 0xa4]
push eax
mov byte [esp + 0x64], 0x10
call fcn.00831f5f
lea ecx, [esp + 0x9c]
mov byte [esp + 0x60], 0x13
call fcn.00617ec0
lea ecx, [esp + 0x98]
mov byte [esp + 0x60], 0x12
call fcn.00617ec0
mov ecx, dword [esp + 0xa4]
push edi
push edi
push ecx
lea ecx, [esp + 0x30]
call fcn.00703440
test eax, eax
je 0x4bd3b3
mov edi, 1
mov edx, dword [esp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0xa4]
mov byte [esp + 0x60], bl
call fcn.00831eeb
lea ecx, [esp + 0xa0]
mov byte [esp + 0x60], 0xd
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0xb
call fcn.007030f0
jmp 0x4bd403
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x4bd421
push 0x8ed
push 4
call fcn.004b8630
add esp, 8
mov eax, dword [0x9dce80]
test eax, eax
je 0x4bd444
push edi
push str.COEAFileMgr::CreateZipFile_2_bRet__lu_
push str.oeazip
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call fcn.00617ec0
lea ecx, [esp + 0x70]
mov byte [esp + 0x60], 1
call fcn.00617ec0
lea ecx, [esp + 0x68]
mov byte [esp + 0x60], 0
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.00617ec0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
push 0x89f
push 1
call fcn.004b8630
add esp, 8
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret