Function at 0x414aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x442310]
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 ebx, ecx
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x414d6d
lea eax, [ebp - 0x70]
push eax
call fcn.004141c0
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0
call fcn.004145a0
push 0x7530
push dword [ebx + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x414d37
mov esi, dword [ebx + 0x30]
mov ecx, 0x444ab0
call sym.IPSClientService.exe_public:_unsigned_long_int___thiscall_CUtilities::GetAgentID_void_
mov dword [ebp - 0x7c], eax
mov dword [esi + 0x4c], eax
test eax, eax
je 0x414cd3
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
push 0
movq qword [ebp - 0x78], xmm0
push 0
mov dword [ebp - 0x74], 0
call fcn.00413840
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00414630
mov edi, dword [ebp - 0x74]
add esp, 8
test edi, edi
je 0x414cbc
lea esp, [esp]
mov esi, dword [ebp - 0x78]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov eax, dword [esi]
add eax, 8
mov word [ebp - 0x40], cx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.004026d0
mov esi, dword [esi]
dec edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], edi
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
cmp dword [esi + 0x1c], 8
jb 0x414bc2
push dword [esi + 8]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
push esi
mov word [esi + 8], ax
call fcn.0040f3b0
add esp, 4
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004026d0
push 1
push 0x43afa4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004021a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402090
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x30]
push eax
call fcn.00415740
test eax, eax
je 0x414c68
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414c68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x414cee
cmp dword [ebp - 0x14], 8
jb 0x414c8b
push dword [ebp - 0x28]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
jb 0x414cb4
push dword [ebp - 0x40]
call fcn.0040f3b0
add esp, 4
test edi, edi
jne 0x414b70
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00413880
push dword [ebp - 0x78]
call fcn.0040f3b0
add esp, 4
push 0x7530
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x414b11
jmp 0x414d37
cmp dword [ebp - 0x14], 8
jb 0x414cff
push dword [ebp - 0x28]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x414d24
push dword [ebp - 0x40]
call fcn.0040f3b0
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.00413880
push dword [ebp - 0x78]
call fcn.0040f3b0
add esp, 4
cmp dword [ebp - 0x44], 8
jb 0x414d48
push dword [ebp - 0x58]
call fcn.0040f3b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x414d6d
push dword [ebp - 0x70]
call fcn.0040f3b0
add esp, 4
xor eax, eax
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.0041d103
mov esp, ebp
pop ebp
ret