Function at 0x1000c710
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045f42
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
mov eax, dword [0x1005d09c]
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
cmp dword [esi], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], ebx
jne 0x1000c753
call fcn.1000db30
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x420]
push str.UtilsCefRes.dll
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x420]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x420]
push 0
push eax
push dword [ebx]
call edi
mov dword [ebp - 0x424], eax
call fcn.10015a30
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1000c94a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helperconfig.cpp
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x448], 0
mov ebx, eax
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10007fc0
mov byte [ebp - 4], 1
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x520]
push 0xce
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.100059f0
mov esi, eax
push str.copy_cefres.dll_return
push esi
mov byte [ebp - 4], 2
call fcn.10006660
add esp, 8
mov ecx, esi
push dword [ebp - 0x424]
call fcn.1000bb60
push str.__errcode
push esi
call fcn.10006660
add esp, 8
mov ecx, esi
push ebx
call fcn.1000bd00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x520]
call fcn.10006710
mov edx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000c8dc
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c8d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cafc
push edx
push ecx
call fcn.1001b181
add esp, 8
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1000c938
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c92e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000cb01
push edx
push ecx
call fcn.1001b181
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x424]
test eax, eax
jne 0x1000cade
lea eax, [ebp - 0x420]
push eax
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002c190
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x1005e66c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.CefRes.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call esi
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebx]
call edi
mov dword [ebp - 0x424], eax
call fcn.10015a30
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000cad8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x43
push str.d:jenkins.jenkinsworkspace_bird_cef_helpercef_helperconfig.cpp
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov ebx, eax
mov dword [ebp - 0x474], 0xf
mov byte [ebp - 0x488], 0
call fcn.10007fc0
push 3
push 0x100496c8
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], 3
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call fcn.10007fc0
mov byte [ebp - 4], 4
call fcn.10015a30
mov edi, eax
lea ecx, [ebp - 0x5b8]
push 0xda
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.100059f0
mov esi, eax
push str.copy_cefres.dll_return
push esi
mov byte [ebp - 4], 5
call fcn.10006660
add esp, 8
mov ecx, esi
push dword [ebp - 0x424]
call fcn.1000bb60
push str.__errcode
push esi
call fcn.10006660
add esp, 8
mov ecx, esi
push ebx
call fcn.1000bd00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x5b8]
call fcn.10006710
lea ecx, [ebp - 0x470]
call fcn.10006350
lea ecx, [ebp - 0x488]
call fcn.10006350
mov eax, dword [ebp - 0x424]
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.1001b500
mov esp, ebp
pop ebp
ret 4
call fcn.1002eff9
call fcn.1002eff9
int3