Function at 0x1000e870
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009be26
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100d07a8]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1000e8ac
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1000e8b6
mov ecx, dword [esi]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, 0x100a68c0
test eax, eax
jne 0x1000e9ce
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000e9ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x58
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommonutil.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000a260
mov byte [ebp - 4], 1
call fcn.100689b0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x110]
push 0x20a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10004790
mov ebx, eax
push str.Copy_file_fail__path:
push ebx
mov byte [ebp - 4], 2
call fcn.10005a70
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000e97d
mov ecx, dword [esi]
test ecx, ecx
mov eax, edi
cmovne eax, ecx
push eax
push ebx
call fcn.10003800
push str.__errno_
push ebx
call fcn.10005a70
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x78]
call fcn.1000e2e0
mov ecx, dword [ebp - 0x74]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10005bc0
lea ecx, [ebp - 0x58]
call fcn.10002b00
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.10002b00
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000eb03
push 0x58
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppopcommonutil.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000a260
mov byte [ebp - 4], 4
call fcn.100689b0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x1a8]
push 0x20d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004790
mov ebx, eax
push str.Copy_file__path:
push ebx
mov byte [ebp - 4], 5
call fcn.10005a70
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1000ea6e
mov esi, dword [esi]
test esi, esi
cmovne edi, esi
push edi
push ebx
call fcn.10003800
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.10005bc0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000eac1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000eab7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eb21
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000eb03
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000eaf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eb26
push edx
push ecx
call fcn.1006a15b
add esp, 8
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.1006a4da
mov esp, ebp
pop ebp
ret 8
call fcn.10078889
call fcn.10078889
int3