Function at 0x47c85e
Capabilities:
Create directory
Move file

Disassembly:
push 0x68
mov eax, 0x51fd00
call fcn.004d8abf
mov ebx, ecx
mov dword [ebp - 0x34], ebx
xor edi, edi
push 0x5c
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.004aedc7
push eax
lea ecx, [ebp + 8]
call fcn.00405d6e
push str._archived
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00409442
pop ecx
push edi
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47c8d5
call fcn.00406710
cmp eax, 0x800700b7
je 0x47c8d5
push 0x26ad
push eax
push ecx
mov ecx, esp
push str.Could_not_create_directory
call fcn.00406fea
mov ecx, ebx
call fcn.00406620
jmp 0x47cd3e
lea ecx, [ebp - 0x50]
call fcn.004acf13
push edi
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0x546f94
call fcn.00406fea
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [esi], eax
mov edx, edi
mov byte [ebp - 4], 2
call fcn.0042aaf3
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5c], 0
jge 0x47c984
cmp dword [ebp - 0x58], 0
mov eax, 0x26b2
cmovne eax, dword [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
push ecx
mov esi, esp
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x74]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x47cd36
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x24
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call fcn.004d8429
mov edx, eax
pop ecx
mov dword [edx], edx
mov dword [edx + 4], edx
mov dword [edx + 8], edx
mov word [edx + 0xc], 0x101
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x47cb4c
mov ecx, dword [eax + 0x10]
sub ecx, 0x10
call fcn.004070e7
mov ebx, eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x1c]
call fcn.0040687a
lea ecx, [ebp - 0x14]
call fcn.0040687a
lea ecx, [ebp - 0x20]
call fcn.0040687a
lea ecx, [ebp - 0x18]
call fcn.0040687a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
mov esi, esp
lea eax, [edi - 0x10]
mov dword [ebp - 0x30], esi
mov ecx, ebx
mov dword [ebp - 0x30], eax
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x74]
mov dword [esi], eax
call fcn.0047c24a
add esp, 0x14
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], 0
jge 0x47ca76
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
jmp 0x47cb21
mov ebx, dword [ebp - 0x18]
lea ecx, [ebx - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x14]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x1c]
lea ecx, [esi - 0x10]
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.004b53c0
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
add ecx, 0x1c
push eax
call fcn.004b5fd7
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.00405d6e
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x68]
call fcn.00407c33
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
lea ecx, [esi - 0x10]
call fcn.00407189
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
call fcn.00407189
lea ecx, [ebp - 0x24]
call fcn.004094c2
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x50]
jne 0x47c9c8
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x34]
mov esi, dword [edx]
cmp esi, edx
je 0x47cd1f
push ecx
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004b6084
mov byte [ebp - 4], 0x10
jmp 0x47ccc8
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
sub ecx, 0x10
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x53d64c
lea edx, [ebp + 8]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00409442
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x53d64c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00409442
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
push ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
cmp dword [ecx + 4], 0xfa
jl 0x47cc30
push ecx
mov edi, esp
mov dword [ebp - 0x1c], edi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x28]
mov dword [edi], eax
call fcn.0042cc08
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x18
call fcn.00405d6e
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x10]
cmp dword [ecx + 4], 0xfa
jl 0x47cc73
push ecx
mov edi, esp
mov dword [ebp - 0x1c], edi
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [edi], eax
call fcn.0042cc08
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x19
call fcn.00405d6e
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, dword [ebp - 0x14]
push 1
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
push dword [eax]
call fcn.00409517
mov edi, eax
mov ecx, dword [edi + 0x14]
sub ecx, 0x10
call fcn.00407189
push 0x18
push edi
call fcn.004d840d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00407189
cmp dword [ebp - 0x3c], 1
ja 0x47cb6c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004ac88f
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x47cd00
mov eax, dword [esi + 4]
jmp 0x47ccf6
cmp esi, dword [eax + 8]
jne 0x47ccfc
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x47ccec
mov esi, eax
jmp 0x47cd16
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x47cd16
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x47cd0a
cmp esi, dword [ebp - 0x48]
jne 0x47cb56
and dword [ebx], 0
lea ecx, [ebx + 8]
and dword [ebx + 4], 0
call fcn.0040687a
lea ecx, [ebp - 0x48]
call fcn.004a961a
lea ecx, [ebp - 0x50]
call fcn.004add79
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
call fcn.004d8a8d
ret