Function at 0x45f9ff
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
mov eax, 0x5e57c6
call fcn.00594e8c
sub esp, 0x134
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x24]
call fcn.0058b106
and dword [ebp - 4], 0
push 0x104
call fcn.005b9586
pop ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x32
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x5fb5b4
lea ecx, [ebp - 0x64]
call fcn.0040e04b
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
push 0x5fb5bc
lea ecx, [ebp - 0x68]
call fcn.0040e04b
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x30]
lea ecx, [ebp - 0x6c]
call fcn.0040e04b
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 3
push dword [ebp - 0xc0]
push dword [ebp - 0xc8]
lea eax, [ebp - 0x70]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 4
push 0x65a920
push dword [ebp - 0xd0]
lea eax, [ebp - 0x74]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 5
push dword [ebp - 0xb8]
push dword [ebp - 0xd8]
lea eax, [ebp - 0x28]
push eax
call fcn.0041d645
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
call fcn.0040b121
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.0040b121
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
call fcn.0040b121
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.0040b121
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.0040b121
push 0
lea ecx, [ebp - 0x28]
call fcn.00517034
push eax
lea ecx, [ebp - 0x24]
call fcn.0058b199
mov dword [ebp - 0x38], eax
and dword [ebp - 0x44], 0
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0x3e7
cmp dword [ebp - 0x38], 0
je 0x45fc23
lea ecx, [ebp - 0x24]
call fcn.0058aee7
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.0058b3c1
mov byte [ebp - 4], 0xc
push 0
push 0x5fb5cc
lea ecx, [ebp - 0x54]
call fcn.0040ac3a
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x45fc12
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x54]
call fcn.0040b164
mov ecx, dword [ebp - 0x50]
add ecx, 3
sub eax, ecx
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0041d5b4
lea ecx, [ebp - 0x5c]
call fcn.00517034
push eax
call fcn.00595b90
pop ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
jge 0x45fbfc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x2c]
jle 0x45fc0a
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x5c]
call fcn.0040b121
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call fcn.0040b121
jmp 0x45fb7b
lea ecx, [ebp - 0x34]
call fcn.0040b0ee
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.0040b0ee
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3c]
call fcn.0040b0ee
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
inc eax
push eax
push dword [0x65a920]
push 0x5fb5d0
lea eax, [ebp - 0x34]
push eax
call fcn.0040ad5c
add esp, 0x10
push dword [ebp - 0x40]
push dword [0x65a920]
push 0x5fb5d8
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ad5c
add esp, 0x10
push 0x5fb5e0
lea ecx, [ebp - 0x78]
call fcn.0040e04b
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0x10
push dword [ebp - 0x30]
lea ecx, [ebp - 0x7c]
call fcn.0040e04b
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x11
push dword [ebp - 0xe0]
push dword [ebp - 0xe8]
lea eax, [ebp - 0x80]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xf0]
lea eax, [ebp - 0x84]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x13
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x3c]
call fcn.0040b132
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x84]
call fcn.0040b121
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.0040b121
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7c]
call fcn.0040b121
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
call fcn.0040b121
push 0x5fb5f0
lea ecx, [ebp - 0x88]
call fcn.0040e04b
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x14
push dword [ebp - 0x30]
lea ecx, [ebp - 0x8c]
call fcn.0040e04b
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x15
push dword [ebp - 0x100]
push dword [ebp - 0x108]
lea eax, [ebp - 0x90]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x110]
lea eax, [ebp - 0x94]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x17
push dword [ebp - 0x118]
lea ecx, [ebp - 0x28]
call fcn.0040b132
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x94]
call fcn.0040b121
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x90]
call fcn.0040b121
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.0040b121
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.0040b121
push 0x5fb600
lea ecx, [ebp - 0x98]
call fcn.0040e04b
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0x18
push 0x5fb608
lea ecx, [ebp - 0x9c]
call fcn.0040e04b
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x19
push dword [ebp - 0x30]
lea ecx, [ebp - 0xa0]
call fcn.0040e04b
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0x1a
push dword [ebp - 0x128]
push dword [ebp - 0x130]
lea eax, [ebp - 0xa4]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0x1b
push 0x65a920
push dword [ebp - 0x138]
lea eax, [ebp - 0xa8]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x1c
push dword [ebp - 0x120]
push dword [ebp - 0x140]
lea eax, [ebp - 0x48]
push eax
call fcn.0041d645
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.0040b121
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xa4]
call fcn.0040b121
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
call fcn.0040b121
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x9c]
call fcn.0040b121
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x98]
call fcn.0040b121
cmp dword [ebp - 0x44], 0x15
jle 0x45ff9c
lea ecx, [ebp - 0x3c]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x28]
call fcn.00517034
push eax
lea ecx, [ebp - 0x48]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xac]
call fcn.005b958b
pop ecx
lea ecx, [ebp - 0x48]
call fcn.0040b121
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3c]
call fcn.0040b121
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.0040b121
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0058b12a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret