Function at 0x1009d220
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189229
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
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.10150460
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.10150460
lea eax, [ebp - 0x428]
push eax
push 0x1019ac28
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 - 0x48c]
push eax
call fcn.1009e5e0
add esp, 4
push 4
push str..bak
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10036ac0
mov dword [ebp - 0x430], 0
xor ecx, ecx
mov dword [ebp - 0x42c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x478]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1009d361
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d357
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d79f
push edx
push ecx
call fcn.10127e1e
add esp, 8
xor eax, eax
mov dword [ebp - 0x47c], 0
cmp dword [ebp - 0x42c], 8
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x478], 7
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call fcn.100a1320
add esp, 4
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009d530
push 0x4a
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_tpiupdate.cpp
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], al
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
call fcn.10019000
mov byte [ebp - 4], 4
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x524]
push 0xd4
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.100167c0
mov esi, eax
push str.rename_old_tpi_to_bak._old_name:
push esi
mov byte [ebp - 4], 5
call fcn.1001a540
lea eax, [ebp - 0x428]
push eax
push esi
call fcn.1001a540
push str._new_name:
push esi
call fcn.1001a540
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.1001a540
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x524]
call fcn.10017580
mov edx, dword [ebp - 0x448]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1009d4d7
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d4cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d7a4
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1009d530
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d526
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d7a9
push edx
push ecx
call fcn.10127e1e
add esp, 8
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne byte [ebp - 0x441]
test eax, eax
je 0x1009d667
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009d648
push 0x4a
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_tpiupdate.cpp
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], al
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 6
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.10019000
mov byte [ebp - 4], 7
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x524]
push 0xd8
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.100167c0
mov esi, eax
push str.set
push esi
mov byte [ebp - 4], 8
call fcn.1001a540
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.1001a540
push str._to_reboot_delete.
push esi
call fcn.1001a540
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x524]
call fcn.10017580
lea ecx, [ebp - 0x474]
call fcn.10017170
lea ecx, [ebp - 0x45c]
call fcn.10017170
push 4
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne byte [ebp - 0x441]
jmp 0x1009d742
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1009d742
push 0x4a
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_tpiupdate.cpp
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], al
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 9
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.10019000
mov byte [ebp - 4], 0xa
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x524]
push 0xdd
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.100167c0
mov esi, eax
push str.rename_old_tpi_fail
push esi
mov byte [ebp - 4], 0xb
call fcn.1001a540
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x524]
call fcn.10017580
lea ecx, [ebp - 0x474]
call fcn.10017170
lea ecx, [ebp - 0x45c]
call fcn.10017170
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x1009d77e
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009d774
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009d7ae
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov al, byte [ebp - 0x441]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret
call fcn.10153963
call fcn.10153963
call fcn.10153963
call fcn.10153963
int3