Function at 0x447a10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x4b13a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x38], ebx
call fcn.0044de40
mov edi, eax
push 0x4a4fc0
mov ecx, edi
call fcn.0044e770
test al, al
jne 0x447a59
push str.vmodule
mov ecx, edi
call fcn.0044e770
test al, al
je 0x447b8e
cmp dword [0x4b334c], ebx
je 0x447a80
push str._g_vlog_info_prev
push 0x170
push str.c:_b_build_slavewin_build_src_baselogging.cc
lea ecx, [ebp - 0xf8]
mov ebx, 1
call fcn.00447200
test bl, 1
je 0x447a93
lea ecx, [ebp - 0xf8]
and ebx, 0xfffffffe
call fcn.00447510
mov eax, dword [0x4b3348]
push 0x10
mov dword [0x4b334c], eax
call fcn.0047bbb9
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x447b43
cmp byte [str.vmodule], 0
mov dword [ebp - 0x48], str.vmodule
jne 0x447acb
mov dword [ebp - 0x44], 0
jmp 0x447adf
mov ecx, str.vmodule
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447ad3
sub ecx, edx
mov dword [ebp - 0x44], ecx
cmp byte [0x4a4fc0], 0
mov dword [ebp - 0x40], 0x4a4fc0
jne 0x447af8
mov dword [ebp - 0x3c], 0
jmp 0x447b0c
mov ecx, 0x4a4fc0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447b00
sub ecx, edx
mov dword [ebp - 0x3c], ecx
push 0x4b3350
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
or ebx, 6
push eax
call fcn.0044e4a0
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044e4a0
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0045eb00
mov dword [0x4b3348], eax
jmp 0x447b4d
mov dword [0x4b3348], 0
test bl, 4
je 0x447b78
and ebx, 0xfffffffb
cmp dword [ebp - 8], 0x10
jb 0x447b66
push dword [ebp - 0x1c]
call fcn.0047bc0a
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 2
je 0x447b8e
cmp dword [ebp - 0x20], 0x10
jb 0x447b8e
push dword [ebp - 0x34]
call fcn.0047bc0a
add esp, 4
mov eax, dword [esi]
mov dword [0x4b10f0], eax
test al, 1
jne 0x447bac
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push dword [esi + 8]
call fcn.00448140
add esp, 8
cmp dword [0x4b3374], 0
jne 0x447bd3
push 0xffffffffffffffff
push dword [0x4b336c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x447bde
mov ecx, dword [0x4b3368]
call fcn.0045ea60
mov eax, dword [0x4b3358]
test eax, eax
je 0x447bf8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b3358], 0
mov edx, dword [0x4b3354]
test edx, edx
jne 0x447c2f
push 0x18
call fcn.0047bbb9
mov edx, eax
add esp, 4
test edx, edx
je 0x447c27
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x447c29
xor edx, edx
mov dword [0x4b3354], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x447c3c
xor ecx, ecx
jmp 0x447c50
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447c41
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.0040aec0
cmp dword [esi + 0xc], 0
jne 0x447c73
mov eax, dword [0x4b3354]
cmp dword [eax + 0x14], 8
jb 0x447c6c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00448290
cmp dword [0x4b3374], 0
mov bl, al
jne 0x447ca2
push dword [0x4b336c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd41
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4b3368]
call fcn.0045ea70
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047cd41
mov esp, ebp
pop ebp
ret