Function at 0x100ea1c0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020e795
mov eax, dword fs:[0]
push eax
sub esp, 0x500
mov eax, dword [0x10283a3c]
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
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.101be270
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.101be270
lea eax, [ebp - 0x428]
push eax
push 0x1021e950
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x471]
call fcn.100e9ae0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x100ea27d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10020960
lea eax, [ebp - 0x21c]
push eax
call fcn.100544f0
add esp, 4
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
mov edi, str._null_
sub eax, 1
jne 0x100ea420
push 0x4c
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 0
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_tpiutils_tpiupdate.cpp
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10023160
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x458]
push 3
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
push 0x1021ddf8
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.10023160
mov byte [ebp - 4], 2
lea eax, [ebp - 0x440]
push 0x9a
push eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x50c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x471]
call fcn.100e95c0
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [ecx + 0x14], 8
jb 0x100ea39e
mov ecx, dword [ecx]
test ecx, ecx
mov eax, edi
cmovne eax, ecx
push eax
push esi
call fcn.1001ed80
lea eax, [ebp - 0x428]
push eax
push esi
call fcn.1001ed80
push str._new_name:
push esi
call fcn.1001ed80
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.1001ed80
add esp, 0x20
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x470]
call fcn.10020960
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50c]
call fcn.100212b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.100208e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.100208e0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
test eax, eax
je 0x100ea57f
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100ea564
push 0x4c
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_tpiutils_tpiupdate.cpp
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], al
call fcn.10023160
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x440]
push 3
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0x1021ddf8
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10023160
mov byte [ebp - 4], 7
lea eax, [ebp - 0x458]
push 0x9e
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x50c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 8
push str.set
push esi
call fcn.1001ed80
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.1001ed80
push str._to_reboot_delete.
push esi
call fcn.1001ed80
add esp, 0x18
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50c]
call fcn.100212b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x440]
call fcn.100208e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.100208e0
push 4
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
jmp 0x100ea6ba
call fcn.100f8ff0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x100ea6b8
push 0x4c
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x444], eax
push str.d:jenkins.jenkinsworkspacemgamezipperzipper_tpi_tpiutils_tpiupdate.cpp
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], al
call fcn.10023160
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x440]
push 3
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push 0x1021ddf8
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
call fcn.10023160
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x458]
push 0xa2
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x50c]
call fcn.1001fd50
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x471]
call fcn.100e9f60
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x100ea65d
mov eax, dword [eax]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.1001ed80
add esp, 8
call fcn.100f8ff0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x470]
call fcn.10020960
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50c]
call fcn.100212b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x440]
call fcn.100208e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.100208e0
mov al, bl
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.1017034a
mov esp, ebp
pop ebp
ret