Function at 0x424cf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x70], 0
mov dword [0x49ad1c], 0
call fcn.00428e50
mov esi, eax
lea ecx, [ebp - 0x38]
push 0x4856dc
mov dword [ebp - 0x70], esi
call fcn.00404fd0
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
mov ebx, 1
call fcn.004292d0
test al, al
jne 0x424d69
push str.vmodule
lea ecx, [ebp - 0x20]
call fcn.00404fd0
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov ebx, 3
call fcn.004292d0
mov byte [ebp - 0x69], 0
test al, al
je 0x424d6d
mov byte [ebp - 0x69], 1
test bl, 2
je 0x424d7d
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffd
call fcn.00404e00
lea ecx, [ebp - 0x38]
and ebx, 0xfffffffe
call fcn.00404e00
cmp byte [ebp - 0x69], 0
je 0x424e87
cmp dword [0x49ad24], 0
je 0x424df2
sub esp, 8
mov dword [ebp - 0x124], 4
lea ecx, [ebp - 0x11c]
or ebx, 4
call fcn.00422bb0
mov dword [ebp - 0x80], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselogging.cc
mov dword [ebp - 0x7c], 0x169
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x169
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_baselogging.cc
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x78], eax
call fcn.00425610
mov edx, str.Check_failed:__g_vlog_info_prev.
lea ecx, [ebp - 0x11c]
call fcn.00407130
test bl, 4
je 0x424e02
lea ecx, [ebp - 0x124]
call fcn.00425110
mov eax, dword [0x49ad44]
push 0x10
mov dword [0x49ad24], eax
call fcn.0044f797
add esp, 4
lea ecx, [ebp - 0x20]
mov esi, eax
push str.vmodule
call fcn.00404fd0
push 0x4856dc
lea ecx, [ebp - 0x38]
call fcn.00404fd0
mov ebx, dword [ebp - 0x70]
lea eax, [ebp - 0x20]
sub esp, 8
mov ecx, ebx
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00429370
add esp, 4
mov ecx, ebx
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00429370
push eax
mov ecx, esi
call fcn.00439ce0
lea ecx, [ebp - 0x50]
mov dword [0x49ad44], eax
call fcn.00404e00
lea ecx, [ebp - 0x68]
call fcn.00404e00
lea ecx, [ebp - 0x38]
call fcn.00404e00
lea ecx, [ebp - 0x20]
call fcn.00404e00
mov edx, edi
call fcn.00424ae0
cmp dword [0x49ad40], 0
jne 0x424ea7
push 0xffffffffffffffff
push dword [0x49ad20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x424eb3
push dword [0x49ad48]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x49ad30]
test eax, eax
je 0x424ecd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x49ad30], 0
mov esi, dword [0x49ad34]
mov dword [0x4989c0], 3
test esi, esi
jne 0x424efa
push 0x18
call fcn.0044f797
add esp, 4
mov ecx, eax
call fcn.00401900
mov esi, eax
mov dword [0x49ad34], esi
push edi
call fcn.00401c50
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00401a50
cmp dword [ebp + 0xc], 0
jne 0x424f24
mov ecx, dword [0x49ad34]
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00424c30
cmp dword [0x49ad40], 0
mov bl, al
jne 0x424f53
push dword [0x49ad20]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044f786
mov esp, ebp
pop ebp
ret
push dword [0x49ad48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f786
mov esp, ebp
pop ebp
ret