Function at 0x467327
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x570e2c
call fcn.00566e38
sub esp, 0x2d8
push ebx
push edi
mov edi, ecx
xor eax, eax
mov dword [ebp + 4], edi
mov bl, byte [edi + 0x180]
mov byte [ebp + 0x73], bl
mov byte [ebp], bl
mov byte [edi + 0x180], al
mov dword [ebp - 4], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 1
push eax
call fcn.0046255d
cmp dword [ebp + 0x68], 0
je 0x467686
push esi
lea ecx, [ebp - 0x2c]
call fcn.004463e7
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00463a5a
mov ecx, edi
call fcn.00457847
test al, al
je 0x4674bc
cmp byte [ebp + 0x7c], 0
je 0x4674bc
xor ebx, ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
mov esi, ebx
call fcn.004576a7
mov byte [ebp - 4], 4
cmp dword [ebp + 0x68], ebx
jbe 0x467425
mov eax, dword [ebp + 0x64]
mov ecx, edi
push dword [eax + ebx*4]
lea eax, [ebp + 0x4c]
push eax
call fcn.00462231
push eax
lea edx, [ebp + 0x40]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x28]
call fcn.00402947
push dword [ebp + 0x4c]
mov byte [ebp - 4], 7
call fcn.00566e0e
mov eax, dword [ebp + 0x2c]
cmp eax, esi
pop ecx
cmova esi, eax
lea ecx, [ebp + 0x58]
inc eax
push eax
push dword [ebp + 0x28]
call fcn.00466c6e
push dword [ebp + 0x28]
mov byte [ebp - 4], 4
call fcn.00566e0e
inc ebx
pop ecx
cmp ebx, dword [ebp + 0x68]
jb 0x4673cf
push 1
lea ecx, [ebp + 0x58]
call fcn.004677c1
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
cmp esi, 0x104
jb 0x467461
push 0x17dc
call fcn.004579ee
push dword [ebp + 0x40]
call fcn.00566e0e
push dword [ebp + 0x58]
call fcn.00566e0e
mov bl, byte [ebp + 0x73]
pop ecx
jmp 0x467673
call fcn.0045770e
mov esi, dword [ebp + 0x58]
xor ecx, ecx
push 0x40
mov dword [ebp + 8], eax
pop eax
mov word [ebp + 0x18], ax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 0xc], 3
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x1a], ecx
mov dword [ebp + 0x1e], ecx
mov dword [ebp + 0x22], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push dword [ebp + 0x40]
call fcn.00566e0e
push esi
mov byte [ebp - 4], 2
call fcn.00566e0e
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00462edb
mov bl, byte [ebp + 0x73]
jmp 0x467674
push 0x17db
mov ecx, edi
call fcn.00464f7d
test al, al
je 0x467674
lea ecx, [ebp + 0x34]
call fcn.004025e6
cmp dword [ebp + 0x68], 1
mov byte [ebp - 4], 8
jne 0x467528
mov eax, dword [ebp + 0x64]
mov ecx, edi
mov esi, dword [eax]
lea eax, [ebp + 0x4c]
push esi
push eax
call fcn.00462231
push eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 9
call fcn.00402707
push dword [ebp + 0x4c]
mov byte [ebp - 4], 8
call fcn.00566e0e
pop ecx
push esi
mov ecx, edi
call fcn.00462c1b
movzx eax, al
lea esi, [eax + 0x17d4]
add eax, 0x17d7
mov dword [ebp + 0x7c], eax
jmp 0x46755c
xor ecx, ecx
mov dword [ebp + 0x7c], 0x17d9
push ecx
push dword [ebp + 0x68]
lea ecx, [ebp + 0x4c]
mov esi, 0x17d6
call fcn.00450df4
push eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0xa
call fcn.00402707
push dword [ebp + 0x4c]
mov byte [ebp - 4], 8
call fcn.00566e0e
pop ecx
mov edx, esi
lea ecx, [ebp + 0x40]
call fcn.00454153
mov esi, eax
mov edx, dword [ebp + 0x7c]
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00450daf
push 0x23
push dword [esi]
mov ecx, edi
mov byte [ebp - 4], 0xc
push dword [eax]
call fcn.0045770e
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp + 0x4c]
mov esi, eax
call fcn.00566e0e
push dword [ebp + 0x40]
mov byte [ebp - 4], 8
call fcn.00566e0e
pop ecx
pop ecx
cmp esi, 6
jne 0x46766b
lea ecx, [ebp + 0x5c]
mov dword [ebp + 0x60], edi
call fcn.00446b90
push 1
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xd
call fcn.00466b6f
push dword [edi + 0x104]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0040f64c
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.0042d4d4
mov edx, 0x17db
lea ecx, [ebp + 0x40]
call fcn.00454153
mov esi, eax
mov edx, 0x17da
mov byte [ebp - 4], 0xf
lea ecx, [ebp + 0x4c]
call fcn.00454153
push esi
push eax
push edi
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x10
call fcn.004676a8
push dword [ebp + 0x4c]
call fcn.00566e0e
push dword [ebp + 0x40]
call fcn.00566e0e
pop ecx
pop ecx
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xd
call fcn.00466bd5
mov ecx, dword [edi + 0x3c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00462edb
mov ecx, dword [ebp + 0x60]
mov al, byte [ebp + 0x5c]
mov byte [ecx + 0x181], al
mov al, byte [ebp + 0x5d]
mov byte [ecx + 0x182], al
push dword [ebp + 0x34]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x18]
call fcn.004058c1
push dword [ebp - 0x24]
call fcn.00566e0e
pop ecx
pop esi
push dword [ebp + 0x64]
call fcn.00566e0e
pop ecx
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x180], bl
pop edi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret 4