Function at 0x10077180
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100b263a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x54]
push eax
call fcn.100760f0
add esp, 4
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.10075040
mov esi, eax
mov byte [esp + 0x94], 2
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.10075040
mov byte [esp + 0x94], 3
push esi
mov ecx, eax
call fcn.100770e0
test al, al
sete bl
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x38]
call fcn.10025580
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x70]
call fcn.10025580
test bl, bl
je 0x10077266
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.10075040
mov byte [esp + 0x94], 4
add eax, 0x18
push eax
lea ecx, [esp + 0x70]
call fcn.100254c0
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x70]
call fcn.10025580
lea ecx, [esp + 0x18]
push ecx
call fcn.100919d6
add esp, 4
test eax, eax
je 0x10077280
call fcn.100919a5
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x9c]
lea edx, [esp + 0x50]
mov eax, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov bl, 7
jmp 0x100772a0
push 0x1010418c
lea ecx, [esp + 0x20]
call fcn.10001490
mov byte [esp + 0x94], 6
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push str._03x
push edx
call fcn.1005df40
add esp, 0xc
push str.INS_
lea ecx, [esp + 0x18]
call fcn.10001a70
mov byte [esp + 0x94], bl
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.1001f5c0
push 4
push str..TMP
lea ecx, [esp + 0x1c]
call fcn.1001f5c0
lea ecx, [esp + 0x38]
call fcn.10025680
mov byte [esp + 0x94], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.10001d20
add eax, 0x10
add esp, 4
mov dword [esp + 0x50], eax
mov byte [esp + 0x94], 0xb
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.10020920
or dword [esp + 0x20], 1
mov byte [esp + 0x94], 0xc
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10077372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x94], bl
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp byte [esp + 0xa0], 0
je 0x100773d0
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.100763f0
mov byte [esp + 0x94], 0x10
mov ecx, dword [esi + 0x18]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
mov byte [esp + 0x94], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10077410
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.100763f0
mov byte [esp + 0x94], 0x12
mov ecx, dword [esi + 0x18]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov byte [esp + 0x94], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1007741c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x10077492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x10077439
cmp edi, 0xb7
jne 0x1007754e
mov byte [esp + 0x94], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10077461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x94], 1
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10077485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [esp + 0x18]
mov edi, dword [esp + 0x24]
jmp 0x100772a0
mov byte [esp + 0x94], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100774ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x94], 1
add ebp, 0xfffffff0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100774df
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, 0x16
mov dword [esp + 0x94], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x94], al
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1007751a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x94], 0
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 8
cmp byte [esp + 0xa0], 0
mov ebx, str.While_moving
jne 0x10077562
mov ebx, str.While_copying
add esi, 0x18
push esi
lea ecx, [esp + 0x38]
call fcn.10001d90
mov esi, eax
mov byte [esp + 0x94], 0x1a
mov edx, dword [esp + 0x24]
add edx, 0x18
push edx
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.10021c00
mov byte [esp + 0xa0], 0x1b
push str._to
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.1001f320
mov byte [esp + 0xac], 0x1c
push esi
push eax
lea edx, [esp + 0x48]
push edx
call fcn.1001f480
add esp, 0x24
mov byte [esp + 0x94], 0x1d
mov eax, dword [eax]
push eax
push 0x4f4
push str..FilePath.cpp
push edi
call fcn.100614f0
int3