Function at 0x1000af90
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101b600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov edx, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000afd0
sub edx, ecx
lea ecx, [edi - 2]
sar edx, 1
lea ecx, [ecx + edx*2]
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x1000aff7
cmp eax, 0x2f
je 0x1000aff7
sub ecx, 2
jmp 0x1000afe5
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test ecx, ecx
je 0x1000b1b3
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b010
sub ecx, esi
mov dword [ebp - 0x21c], 7
sar ecx, 1
xor eax, eax
sub edx, ecx
mov dword [ebp - 0x220], 0
push edx
push edi
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
call fcn.10002a90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1000ac00
mov esi, dword [0x101b7488]
lea ebx, [ebp - 0x230]
test al, al
je 0x1000b0f3
cmp dword [ebp - 0x21c], 8
cmovae ebx, dword [ebp - 0x230]
test esi, esi
jne 0x1000b0da
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x234], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
mov dword [0x101b7488], esi
push ebx
push str.MyCreateDirectory__S_success
push 0
push str.CNotifyProcessor::MyCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0x20b
jmp 0x1000b168
cmp dword [ebp - 0x21c], 8
cmovae ebx, dword [ebp - 0x230]
test esi, esi
jne 0x1000b151
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x234], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call eax
mov dword [0x101b7488], esi
push ebx
push str.MyCreateDirectory__S_failed
push 0
push str.CNotifyProcessor::MyCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0x20f
push esi
call fcn.10002fc0
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x1000b190
inc eax
push eax
push dword [ebp - 0x230]
call fcn.10002b90
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push edi
push dword [ebp - 0x238]
call esi
test eax, eax
jne 0x1000b30c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100106a0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
call fcn.10015598
add esp, 0xc
lea eax, [ebp - 0x218]
push str..temp
push 0x104
push eax
call fcn.1001523c
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push edi
push dword [ebp - 0x238]
call esi
test eax, eax
jne 0x1000b30c
mov esi, dword [0x101b7488]
test esi, esi
jne 0x1000b281
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x234], esi
push 0x104
lea ecx, [esi + 4]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call ebx
mov dword [0x101b7488], esi
push str.error_::CopyFile
push 0
push str.CNotifyProcessor::MyCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0x21c
push esi
call fcn.10002fc0
mov esi, dword [0x101b7488]
add esp, 0x18
test esi, esi
jne 0x1000b2f1
push 0x124
call fcn.1000da7d
add esp, 4
mov esi, eax
mov dword [ebp - 0x234], esi
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.100106a0
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call ebx
mov dword [0x101b7488], esi
push str.CNotifyProcessor::MyCopyFile
push str.......project_base_svcNotifyProcessor.cpp
push 0x21c
push ecx
mov ecx, esi
call fcn.100033f0
xor al, al
jmp 0x1000b30e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000da67
mov esp, ebp
pop ebp
ret 8