Function at 0x413ea0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446ddc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x660
mov eax, dword [0x45c1e4]
push ebx
push esi
mov esi, dword [ecx + 0x44]
mov dword [esp + 0x660], eax
mov eax, dword [0x45d16c]
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.00407ec0
push 0x44cff4
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x680], 0
call fcn.00403800
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 0x413f37
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 0x413f60
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 0x41464b
jmp 0x413f80
mov edi, dword [esp + 0x20]
lea esp, [esp]
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x449de4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x678], 1
call fcn.004044b0
push 0x449de4
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 2
call fcn.004044b0
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x18]
push 0x449cf8
push ecx
mov byte [esp + 0x680], 3
call fcn.004037e0
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
add esp, 0xc
test eax, eax
jle 0x41400c
push 0x7c
push edi
call fcn.00429792
add esp, 8
test eax, eax
je 0x41400c
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x4141fd
mov esi, dword [esp + 0x1c]
mov eax, dword [0x45d16c]
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.00407ec0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x678], 4
call fcn.00403730
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 0x414065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x41414f
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x41414f
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x1c
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x680], 8
call fcn.00403800
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x680], 9
call fcn.00407ec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0xa
call fcn.00403730
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 0x4140fa
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 0x414120
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 0x41446d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41446d
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x20
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x680], 5
call fcn.00403800
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x680], 6
call fcn.00407ec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 7
call fcn.00403730
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 0x4141ce
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 0x4141f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
jmp 0x414124
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403220
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 [0x45d16c]
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.00407ec0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x678], 0xd
call fcn.00403730
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 0x41428a
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 0x414352
mov ecx, dword [eax + 0x54]
test ecx, ecx
jne 0x414352
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x1c
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x680], 0x11
call fcn.00403800
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x680], 0x12
call fcn.00407ec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x13
call fcn.00403730
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 0x414323
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 0x414349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
jmp 0x4143fb
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
push ebx
add ecx, 0x20
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00407ec0
push 0x449e8c
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x680], 0xe
call fcn.00403800
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x680], 0xf
call fcn.00407ec0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x10
call fcn.00403730
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 0x4143d1
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 0x4143f7
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 0x41441d
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 0x414443
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 0x414469
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 [0x45d16c]
mov ecx, dword [ecx + 0x28]
push eax
call fcn.00409090
mov edx, dword [0x45d16c]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x94]
jne 0x4145af
mov esi, dword [eax + 0x5c]
cmp esi, dword [eax + 0x60]
je 0x4144c5
lea ecx, [ecx]
mov eax, dword [esi]
push edi
push eax
call fcn.0042928d
add esp, 8
test eax, eax
je 0x4144e0
mov eax, dword [0x45d16c]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x60]
add eax, 0x58
add esi, 4
cmp esi, ecx
jne 0x4144a0
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 0x4145c1
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 0x449cf8
push edx
stosb byte es:[edi], al
call fcn.00428eda
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 0x449cf8
push eax
call fcn.00428eda
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.00412830
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4145c1
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 0x4145e7
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 0x41460d
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 0x414632
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 0x413f78
mov ecx, dword [esp + 0x66c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x664]
call fcn.00428a01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret