Function at 0x10022f27
Capabilities:
Delete file

Disassembly:
push 0x148
mov eax, 0x1006b713
call fcn.100417b5
mov esi, ecx
mov dword [ebp - 0x5c], esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x10022f54
mov eax, dword [ecx]
jmp 0x10022f56
mov eax, ebx
mov ecx, dword [ecx + 0x58]
push eax
call fcn.10015b21
test eax, eax
je 0x100234fd
mov eax, dword [esi + 0xe8]
sub eax, dword [esi + 0xe4]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x1002314e
mov edi, ebx
mov ecx, eax
mov dword [ebp - 0x50], edi
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x58], eax
cmp dword [eax + edi + 0xc], ebx
jne 0x10023139
cmp dword [esi + 0xd0], ebx
jne 0x100234fd
lea ecx, [ebp - 0xbc]
call fcn.1000812e
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x58]
lea ecx, [esi + 0x5c]
push dword [eax + edi]
call fcn.10018f96
test eax, eax
je 0x10023128
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x10022fe4
mov eax, dword [ecx]
jmp 0x10022fe6
mov eax, ebx
push dword [esi + 0xf0]
mov ecx, dword [ecx + 0x58]
push dword [ebp - 0xb0]
push eax
call fcn.10015f0b
cmp eax, 0xffffffff
je 0x10023128
test eax, eax
je 0x1002327d
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x54]
call fcn.1000170c
mov byte [ebp - 4], 2
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x60]
call fcn.1000170c
mov byte [ebp - 4], 3
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x44]
call fcn.1000170c
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
mov ecx, dword [ecx + 0x54]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x88]
push dword [ebp - 0xac]
call fcn.10010d38
test eax, eax
je 0x1002325c
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp - 0x88]
add eax, 0xfffffff0
push eax
call fcn.10006b24
pop ecx
mov dword [ebp - 0x70], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6c]
call fcn.1002049c
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.10002163
push dword [ebp - 0x88]
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push dword [ebp - 0x84]
push dword [ebp - 0x90]
push dword [ebp - 0x44]
push dword [ebp - 0x54]
push dword [ebp - 0x60]
push dword [ebp - 0xa0]
push dword [ebp - 0xac]
call fcn.10020b25
test eax, eax
je 0x1002325c
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [edi + 8]
add ecx, dword [esi + 0xe4]
call fcn.1000a687
mov eax, dword [esi + 0xe4]
mov dword [eax + edi + 0x10], 1
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.10002163
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], bl
call fcn.1000822d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
add edi, 0x18
inc eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jl 0x10022f8e
mov ecx, dword [esi + 0x120]
mov eax, ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
test ecx, ecx
jle 0x1002343b
lea ecx, [esi + 0x11c]
mov dword [ebp - 0x54], ecx
push eax
call fcn.100103be
mov esi, eax
mov dword [ebp - 0x44], esi
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001735
push str..exe
push dword [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.1004c269
pop ecx
pop ecx
test eax, eax
jne 0x1002328d
call fcn.1003e660
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x10023248
push str.d:jenkins.jenkinsworkspacecore_lib_v3_updata_module_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x40]
call fcn.10009df8
push 0x1006fe10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.10009df8
mov byte [ebp - 4], 8
call fcn.1003e660
mov edi, eax
lea ecx, [ebp - 0x154]
push 0x508
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009eb8
mov esi, eax
push str.execute_exe:
push esi
mov byte [ebp - 4], 9
call fcn.1000a6f2
mov eax, dword [ebp - 0x44]
push dword [eax]
push esi
call fcn.1001e6f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x154]
call fcn.1000a85c
lea ecx, [ebp - 0x28]
call fcn.1000bcc4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.1000bcc4
mov esi, dword [ebp - 0x44]
push 5
push dword [esi + 4]
push dword [esi]
call fcn.1000e381
add esp, 0xc
jmp 0x10023417
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.10002163
lea ecx, [ebp - 0xbc]
call fcn.1000822d
jmp 0x100234fd
push dword [esi]
call fcn.10042c10
pop ecx
test eax, eax
je 0x10023417
call fcn.1003e660
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x10023358
push str.d:jenkins.jenkinsworkspacecore_lib_v3_updata_module_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x28]
call fcn.10009df8
push 0x1006fe10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.10009df8
mov byte [ebp - 4], 0xb
call fcn.1003e660
mov edi, eax
lea ecx, [ebp - 0x154]
push 0x50f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009eb8
mov esi, eax
push str.execute_dll:
push esi
mov byte [ebp - 4], 0xc
call fcn.1000a6f2
mov eax, dword [ebp - 0x44]
push dword [eax]
push esi
call fcn.1001e6f0
push str.run_param_:
push esi
call fcn.1000a6f2
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
push esi
call fcn.1001e6f0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x154]
call fcn.1000a85c
lea ecx, [ebp - 0x40]
call fcn.1000bcc4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.1000bcc4
mov esi, dword [ebp - 0x44]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Start
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10023417
push dword [esi + 4]
call eax
mov dword [ebp - 0x58], eax
call fcn.1003e660
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx ecx, al
sub ecx, 1
jne 0x10023417
push str.d:jenkins.jenkinsworkspacecore_lib_v3_updata_module_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x28]
call fcn.10009df8
push 0x1006fe10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.10009df8
mov byte [ebp - 4], 0xe
call fcn.1003e660
mov edi, eax
lea ecx, [ebp - 0x154]
push 0x515
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009eb8
mov esi, eax
push str.ret:
push esi
mov byte [ebp - 4], 0xf
call fcn.1000a6f2
pop ecx
pop ecx
push dword [ebp - 0x58]
mov ecx, esi
call fcn.10020236
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x154]
call fcn.1000a85c
lea ecx, [ebp - 0x40]
call fcn.1000bcc4
lea ecx, [ebp - 0x28]
call fcn.1000bcc4
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.10002163
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x48]
jl 0x1002316d
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x68]
mov edi, ebx
mov dword [ebp - 0x58], eax
test eax, eax
jle 0x100234fa
push edi
lea ecx, [ebp - 0x6c]
call fcn.100103be
mov dword [ebp - 0x5c], eax
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000170c
mov byte [ebp - 4], 0x10
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x48]
call fcn.1000170c
mov byte [ebp - 4], 0x11
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x50]
call fcn.1000170c
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
push eax
mov ecx, dword [ecx + 0x54]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 4]
push dword [eax]
call fcn.10010d38
test eax, eax
je 0x100234cc
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi + 0x58]
push ebx
push ebx
push ebx
push dword [eax]
mov ecx, dword [ecx + 0x54]
call fcn.100110c6
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.10002163
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.10002163
inc edi
cmp edi, dword [ebp - 0x58]
jl 0x1002344b
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x6c]
call fcn.100208f1
mov eax, ebx
call fcn.1004175f
ret