Function at 0x1002292d
Capabilities:
Delete file

Disassembly:
push 0x144
mov eax, 0x10068968
call fcn.1002f2b3
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 0x1002295a
mov eax, dword [ecx]
jmp 0x1002295c
mov eax, ebx
mov ecx, dword [ecx + 0x58]
push eax
call fcn.100157b1
test eax, eax
je 0x10022f03
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 0x10022b54
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 0x10022b3f
cmp dword [esi + 0xd0], ebx
jne 0x10022f03
lea ecx, [ebp - 0xb8]
call fcn.10007eac
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x58]
lea ecx, [esi + 0x5c]
push dword [eax + edi]
call fcn.10018ae6
test eax, eax
je 0x10022b2e
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x100229ea
mov eax, dword [ecx]
jmp 0x100229ec
mov eax, ebx
push dword [esi + 0xf0]
mov ecx, dword [ecx + 0x58]
push dword [ebp - 0xac]
push eax
call fcn.10015b9b
cmp eax, 0xffffffff
je 0x10022b2e
test eax, eax
je 0x10022c83
call fcn.1000678d
push eax
lea ecx, [ebp - 0x54]
call fcn.100062ac
mov byte [ebp - 4], 2
call fcn.1000678d
push eax
lea ecx, [ebp - 0x60]
call fcn.100062ac
mov byte [ebp - 4], 3
call fcn.1000678d
push eax
lea ecx, [ebp - 0x44]
call fcn.100062ac
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 - 0xa8]
call fcn.100109c8
test eax, eax
je 0x10022c62
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x88]
add eax, 0xfffffff0
push eax
call fcn.10006625
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.1001fec3
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.100057c1
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 - 0xa8]
call fcn.1002054c
test eax, eax
je 0x10022c62
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [edi + 8]
add ecx, dword [esi + 0xe4]
call fcn.1000a3e6
mov eax, dword [esi + 0xe4]
mov dword [eax + edi + 0x10], 1
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.100057c1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], bl
call fcn.10007f9d
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 0x10022994
mov ecx, dword [esi + 0x120]
mov eax, ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
test ecx, ecx
jle 0x10022e41
lea ecx, [esi + 0x11c]
mov dword [ebp - 0x54], ecx
push eax
call fcn.1001004e
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.100062d5
push str..exe
push dword [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.1003d0fb
pop ecx
pop ecx
test eax, eax
jne 0x10022c93
call fcn.1002e280
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x10022c4e
push str.d:_buildcore_lib_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x40]
call fcn.10009b68
push 0x1006cc08
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.10009b68
mov byte [ebp - 4], 8
call fcn.1002e280
mov edi, eax
lea ecx, [ebp - 0x150]
push 0x509
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10009c28
mov esi, eax
push str.execute_exe:
push esi
mov byte [ebp - 4], 9
call fcn.1000a451
mov eax, dword [ebp - 0x44]
push dword [eax]
push esi
call fcn.1001e195
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.1000a5bb
lea ecx, [ebp - 0x28]
call fcn.1000ba5a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.1000ba5a
mov esi, dword [ebp - 0x44]
push 5
push dword [esi + 4]
push dword [esi]
call fcn.1000dfc3
add esp, 0xc
jmp 0x10022e1d
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.100057c1
lea ecx, [ebp - 0xb8]
call fcn.10007f9d
jmp 0x10022f03
push dword [esi]
call fcn.10030680
pop ecx
test eax, eax
je 0x10022e1d
call fcn.1002e280
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x10022d5e
push str.d:_buildcore_lib_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x28]
call fcn.10009b68
push 0x1006cc08
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.10009b68
mov byte [ebp - 4], 0xb
call fcn.1002e280
mov edi, eax
lea ecx, [ebp - 0x150]
push 0x510
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009c28
mov esi, eax
push str.execute_dll:
push esi
mov byte [ebp - 4], 0xc
call fcn.1000a451
mov eax, dword [ebp - 0x44]
push dword [eax]
push esi
call fcn.1001e195
push str.run_param_:
push esi
call fcn.1000a451
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
push esi
call fcn.1001e195
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.1000a5bb
lea ecx, [ebp - 0x40]
call fcn.1000ba5a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.1000ba5a
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 0x10022e1d
push dword [esi + 4]
call eax
mov dword [ebp - 0x58], eax
call fcn.1002e280
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx ecx, al
sub ecx, 1
jne 0x10022e1d
push str.d:_buildcore_lib_v3_update_safeliveupdateclass.cpp
lea ecx, [ebp - 0x28]
call fcn.10009b68
push 0x1006cc08
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.10009b68
mov byte [ebp - 4], 0xe
call fcn.1002e280
mov edi, eax
lea ecx, [ebp - 0x150]
push 0x516
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10009c28
mov esi, eax
push str.ret:
push esi
mov byte [ebp - 4], 0xf
call fcn.1000a451
pop ecx
pop ecx
push dword [ebp - 0x58]
mov ecx, esi
call fcn.1001fc5d
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x150]
call fcn.1000a5bb
lea ecx, [ebp - 0x40]
call fcn.1000ba5a
lea ecx, [ebp - 0x28]
call fcn.1000ba5a
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x48]
jl 0x10022b73
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x68]
mov edi, ebx
mov dword [ebp - 0x58], eax
test eax, eax
jle 0x10022f00
push edi
lea ecx, [ebp - 0x6c]
call fcn.1001004e
mov dword [ebp - 0x5c], eax
call fcn.1000678d
push eax
lea ecx, [ebp - 0x4c]
call fcn.100062ac
mov byte [ebp - 4], 0x10
call fcn.1000678d
push eax
lea ecx, [ebp - 0x48]
call fcn.100062ac
mov byte [ebp - 4], 0x11
call fcn.1000678d
push eax
lea ecx, [ebp - 0x50]
call fcn.100062ac
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.100109c8
test eax, eax
je 0x10022ed2
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.10010d56
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.100057c1
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.100057c1
inc edi
cmp edi, dword [ebp - 0x58]
jl 0x10022e51
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x6c]
call fcn.10020318
mov eax, ebx
call fcn.1002f25d
ret