Function at 0x41b0b0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484b10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4b7b70]
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 esi, ecx
mov dword [ebp - 4], 0
call fcn.00417270
test eax, eax
jne 0x41b127
push str.CDocumentMgr::RevertIssueFile_GetProcAddrees_EncryptLockFile_Err.
call fcn.00424af0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41b2c0
push 2
lea ecx, [esi + 0xab1]
push ecx
lea edi, [esi + 4]
push edi
call eax
add esp, 0xc
mov ecx, esi
mov ebx, eax
call fcn.00416480
test ebx, ebx
jne 0x41b16f
push str.CDocumentMgr::RevertIssueFile_Call_EncryptLockFile.
call fcn.00424af0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41b114
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00411050
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0x49bcb8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00411ed0
lea ecx, [esi + 0x56c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00411ed0
add esi, 0x66e
push esi
lea ecx, [ebp - 0x14]
call fcn.00411ed0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x14]
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x41b278
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CDocumentMgr::RevertIssueFile_CopyFile_Error___d_.
call fcn.00424af0
add esp, 8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b201
push str.CDocumentMgr::RevertIssueFile_PathFileExists_Error.
call fcn.00424af0
add esp, 4
test edi, edi
jne 0x41b209
xor eax, eax
jmp 0x41b232
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41b21c
xor eax, eax
jmp 0x41b232
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f410
push eax
call fcn.00424af0
add esp, 4
test ebx, ebx
jne 0x41b243
xor eax, eax
jmp 0x41b26c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41b256
xor eax, eax
jmp 0x41b26c
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f410
push eax
call fcn.00424af0
mov esi, dword [ebp - 0x18]
add esp, 4
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41b298
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b2be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea esp, [ebp - 0x28]
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.00460f10
mov esp, ebp
pop ebp
ret 4