Function at 0x101df020
Capabilities:
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x1025195a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1037c990]
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.101dba30
add esp, 4
mov dword [esp + 0x94], 1
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.101da900
mov esi, eax
mov byte [esp + 0x94], 2
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.101da900
mov byte [esp + 0x94], 3
push esi
mov ecx, eax
call fcn.101dee10
test al, al
sete bl
mov byte [esp + 0x94], 2
lea ecx, [esp + 0x38]
call fcn.10056b10
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x70]
call fcn.10056b10
test bl, bl
je 0x101df106
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call fcn.101da900
mov byte [esp + 0x94], 4
add eax, 0x18
push eax
lea ecx, [esp + 0x70]
call fcn.100036b0
mov byte [esp + 0x94], 1
lea ecx, [esp + 0x70]
call fcn.10056b10
lea ecx, [esp + 0x18]
push ecx
call fcn.1023288e
add esp, 4
test eax, eax
je 0x101df120
call fcn.10231a3d
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 0x101df140
push 0x103b7524
lea ecx, [esp + 0x20]
call fcn.10003eb0
mov byte [esp + 0x94], 6
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push str._03x
push edx
call fcn.10055210
add esp, 0xc
push str.INS_
lea ecx, [esp + 0x18]
call fcn.100044a0
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.10054e60
push 4
push str..TMP
lea ecx, [esp + 0x1c]
call fcn.10054e60
lea ecx, [esp + 0x38]
call fcn.10056c80
mov byte [esp + 0x94], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.10004780
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.10055970
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 0x101df212
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 0x101df270
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.101dc200
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 0x101df2b0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.101dc200
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 0x101df2bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x101df332
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x101df2d9
cmp edi, 0xb7
jne 0x101df3ee
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 0x101df301
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 0x101df325
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 0x101df140
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 0x101df35a
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 0x101df37f
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 0x101df3ba
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 0x101df402
mov ebx, str.While_copying
add esi, 0x18
push esi
lea ecx, [esp + 0x38]
call fcn.100047f0
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.10002820
mov byte [esp + 0xa0], 0x1b
push str._to
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.100029d0
mov byte [esp + 0xac], 0x1c
push esi
push eax
lea edx, [esp + 0x48]
push edx
call fcn.100549c0
add esp, 0x24
mov byte [esp + 0x94], 0x1d
mov eax, dword [eax]
push eax
push 0x4f4
push str..FilePath.cpp
push edi
call fcn.10054b00
int3