Function at 0x44af90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4931e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x6c], 0
call fcn.004545a0
cmp byte [0x4782e4], 0
mov edi, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
jne 0x44afd9
xor ecx, ecx
jmp 0x44afea
mov ecx, 0x4782e4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44afe1
sub ecx, edx
push ecx
push 0x4782e4
lea ecx, [ebp - 0x34]
call fcn.00401dc0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
mov ebx, 1
call fcn.004548d0
test al, al
jne 0x44b060
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], al
cmp byte [str.vmodule], al
jne 0x44b029
xor ecx, ecx
jmp 0x44b03a
mov ecx, str.vmodule
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44b031
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x1c]
call fcn.00401dc0
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
mov ebx, 3
call fcn.004548d0
mov byte [ebp - 0x65], 0
test al, al
je 0x44b064
mov byte [ebp - 0x65], 1
test bl, 2
je 0x44b08f
and ebx, 0xfffffffd
cmp dword [ebp - 8], 0x10
jb 0x44b07d
push dword [ebp - 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 1
je 0x44b0a8
and ebx, 0xfffffffe
cmp dword [ebp - 0x20], 0x10
jb 0x44b0a8
push dword [ebp - 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [ebp - 0x65], 0
je 0x44b209
cmp dword [0x493884], 0
je 0x44b0e6
push 3
push 0x17b
push str.logging.cc
lea ecx, [ebp - 0x11c]
or ebx, 4
call fcn.0044a9b0
add eax, 8
push str.Check_failed:__g_vlog_info_prev.
push eax
call fcn.004022c0
add esp, 8
test bl, 4
je 0x44b0f9
lea ecx, [ebp - 0x11c]
and ebx, 0xfffffffb
call fcn.0044aba0
mov eax, dword [0x493880]
push 0x10
mov dword [0x493884], eax
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x44b168
push str.vmodule
lea ecx, [ebp - 0x64]
call fcn.004019e0
push 0x4782e4
lea ecx, [ebp - 0x34]
or ebx, 8
call fcn.004019e0
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
push 0x493888
push eax
lea eax, [ebp - 0x4c]
or ebx, 0x70
push eax
call fcn.004546a0
mov ecx, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004546a0
push eax
mov ecx, edi
call fcn.0045c300
mov dword [0x493880], eax
jmp 0x44b172
mov dword [0x493880], 0
test bl, 0x40
je 0x44b19d
and ebx, 0xffffffbf
cmp dword [ebp - 8], 0x10
jb 0x44b18b
push dword [ebp - 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 0x20
je 0x44b1c8
and ebx, 0xffffffdf
cmp dword [ebp - 0x38], 0x10
jb 0x44b1b6
push dword [ebp - 0x4c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
test bl, 0x10
je 0x44b1f3
and ebx, 0xffffffef
cmp dword [ebp - 0x20], 0x10
jb 0x44b1e1
push dword [ebp - 0x34]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test bl, 8
je 0x44b209
cmp dword [ebp - 0x50], 0x10
jb 0x44b209
push dword [ebp - 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esi]
mov dword [section..data], eax
test al, 1
jne 0x44b227
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047259d
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push dword [esi + 8]
call fcn.0044b790
add esp, 8
cmp dword [0x4938ac], 0
jne 0x44b24e
push 0xffffffffffffffff
push dword [0x4938a4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44b259
mov ecx, dword [0x4938a0]
call fcn.00450f90
mov eax, dword [0x493890]
test eax, eax
je 0x44b273
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x493890], 0
mov edx, dword [0x49388c]
test edx, edx
jne 0x44b2aa
push 0x18
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
test edx, edx
je 0x44b2a2
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x44b2a4
xor edx, edx
mov dword [0x49388c], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x44b2b7
xor ecx, ecx
jmp 0x44b2cf
mov ecx, edi
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44b2c0
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.00408370
cmp dword [esi + 0xc], 0
jne 0x44b2f2
mov eax, dword [0x49388c]
cmp dword [eax + 0x14], 8
jb 0x44b2eb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0044b8e0
cmp dword [0x4938ac], 0
mov bl, al
jne 0x44b321
push dword [0x4938a4]
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.0047259d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4938a0]
call fcn.00450fa0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047259d
mov esp, ebp
pop ebp
ret