Function at 0x10100d10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126f43
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
cmp dword [ebp + 0x10], 0
je 0x10100e9e
lea ecx, [ebp - 0x1c]
call fcn.1002eeb0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x4c]
call fcn.100d7580
push 0x10
call fcn.101044b6
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x10100d97
mov ecx, eax
call fcn.1003b530
mov edi, eax
jmp 0x10100d99
xor edi, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
push 0x10175188
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push 0x10175178
mov dword [ebp - 0x24], 0
call fcn.1002cf60
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp + 0x10], esp
call fcn.10024750
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0xa
mov esi, esp
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov byte [ebp - 4], 9
call fcn.1003c350
mov edi, eax
lea ecx, [ebp - 0x10]
mov edx, edi
call fcn.10049880
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push str.CopyFileToRepository:_EncryptedFile:_encrypting__s_into_repository:_result_s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0xc
mov ecx, str.VirtUtils
mov edx, dword [ebp + 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xb
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10100e65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10100e85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10100f26
push eax
call fcn.1010338d
add esp, 4
jmp 0x10100f26
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea ecx, [ebp - 0x10]
mov edx, edi
call fcn.10049880
mov byte [ebp - 4], 0xd
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push str.CopyFileToRepository:_copying__s_into_repository:_result_s
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, str.VirtUtils
mov edx, dword [ebp + 0x10]
call fcn.10043b30
mov byte [ebp - 4], 0xd
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10100f06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10100f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10100f4b
push eax
call fcn.1010338d
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10100f6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10100f8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc