Function at 0x413bd0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446aac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x660
mov eax, dword [0x45b1e4]
push ebx
push esi
mov esi, dword [ecx + 0x44]
mov dword [esp + 0x660], eax
mov eax, dword [0x45c16c]
push edi
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x14]
lea ebx, [esi + 0x18]
push ebx
add ecx, 0x1c
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], esi
call fcn.00407c30
push 0x44bfbc
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x680], 0
call fcn.004037a0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x674], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esi + 0x80]
cmp edi, dword [esi + 0x84]
mov dword [esp + 0x20], edi
je 0x41437b
jmp 0x413cb0
mov edi, dword [esp + 0x20]
lea esp, [esp]
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x448de4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x678], 1
call fcn.00404410
push 0x448de4
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 2
call fcn.00404410
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x18]
push 0x448cf8
push ecx
mov byte [esp + 0x680], 3
call fcn.00403780
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
add esp, 0xc
test eax, eax
jle 0x413d3c
push 0x7c
push edi
call fcn.004294c2
add esp, 8
test eax, eax
je 0x413d3c
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x413f2d
mov esi, dword [esp + 0x1c]
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx + 0xac]
add edx, 0x48
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00407c30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x678], 4
call fcn.004036d0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x674], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413d95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x413e7f
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x413e7f
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x1c
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00407c30
push 0x448e8c
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x680], 8
call fcn.004037a0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x680], 9
call fcn.00407c30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0xa
call fcn.004036d0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x674], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x674], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x674], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41419d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41419d
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x20
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00407c30
push 0x448e8c
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x680], 5
call fcn.004037a0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x680], 6
call fcn.00407c30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 7
call fcn.004036d0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x674], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413efe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x674], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413f24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
jmp 0x413e54
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00407bd0
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x67c], 0xb
call fcn.004031b0
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x24]
push edx
mov edx, dword [ecx + 0xac]
add edx, 0x48
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x680], 0xc
call fcn.00407c30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x678], 0xd
call fcn.004036d0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413fba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x414082
mov ecx, dword [eax + 0x54]
test ecx, ecx
jne 0x414082
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x1c
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00407c30
push 0x448e8c
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x680], 0x11
call fcn.004037a0
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x680], 0x12
call fcn.00407c30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x13
call fcn.004036d0
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414053
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
jmp 0x41412b
mov eax, dword [0x45c16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x20
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00407c30
push 0x448e8c
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x680], 0xe
call fcn.004037a0
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x680], 0xf
call fcn.00407c30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x10
call fcn.004036d0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414127
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41414d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x674], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414173
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x674], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x45c16c]
mov ecx, dword [ecx + 0x28]
push eax
call fcn.00408e00
mov edx, dword [0x45c16c]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x94]
jne 0x4142df
mov esi, dword [eax + 0x5c]
cmp esi, dword [eax + 0x60]
je 0x4141f5
lea ecx, [ecx]
mov eax, dword [esi]
push edi
push eax
call fcn.00428fbd
add esp, 8
test eax, eax
je 0x414210
mov eax, dword [0x45c16c]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x60]
add eax, 0x58
add esi, 4
cmp esi, ecx
jne 0x4141d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [esp + 0x1c]
jmp 0x4142f1
xor eax, eax
mov byte [esp + 0x260], 0
mov ecx, 0x7c
lea edi, [esp + 0x261]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x68], 0
xor eax, eax
mov ecx, 0x7c
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ecx
stosw word es:[edi], ax
lea edx, [esp + 0x45c]
push 0x448cf8
push edx
stosb byte es:[edi], al
call fcn.00428c0a
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0x104
lea ecx, [esp + 0x46c]
push ecx
push 0
push 1
call esi
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x45c]
push 0x448cf8
push eax
call fcn.00428c0a
add esp, 0xc
push 0
push 0
push 0x104
lea ecx, [esp + 0x74]
push ecx
push 0x104
lea edx, [esp + 0x46c]
push edx
push 0
push 1
call esi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x264]
push ecx
mov ecx, dword [esp + 0x60]
call fcn.00412560
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4142f1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x674], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414317
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x674], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41433d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x674], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414362
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x84]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
jne 0x413ca8
mov ecx, dword [esp + 0x66c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x664]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret