Function at 0x40fe20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446265
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x461264]
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 edi, dword [ebp + 8]
mov dword [ebp - 0xa8], 0
call fcn.00415650
mov ecx, 0x44a3b4
mov dword [ebp - 0x30], 0
mov esi, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0xb0], esi
mov byte [ebp - 0x40], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fe82
sub ecx, edx
push ecx
push 0x44a3b4
lea ecx, [ebp - 0x40]
call fcn.00401550
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.004159d0
test al, al
jne 0x40ff12
mov ecx, str.vmodule
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fed3
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x28]
call fcn.00401550
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
mov ebx, 3
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.004159d0
mov byte [ebp - 0xa1], 0
test al, al
je 0x40ff19
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 0
test bl, 2
je 0x40ff6e
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x40ff5c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102ca
push edx
push ecx
call fcn.00429a28
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffe
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40ffac
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4102cf
push edx
push ecx
call fcn.00429a28
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x4101c0
cmp dword [0x462f90], 0
je 0x41003f
push 1
push 2
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x164], 4
call fcn.00406970
mov dword [ebp - 4], 2
mov dword [ebp - 0xc0], str.f:360workgzturbowin_master_baselogging.cc
mov dword [ebp - 0xbc], 0x172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb8], eax
push 0x172
push str.f:360workgzturbowin_master_baselogging.cc
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call fcn.00410410
lea eax, [ebp - 0x15c]
mov dword [ebp - 4], 4
push str.Check_failed:__g_vlog_info_prev.
or ebx, 4
push eax
mov dword [ebp - 0xa8], ebx
call fcn.004026f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x410059
lea ecx, [ebp - 0x164]
and ebx, 0xfffffffb
call fcn.0040f420
mov eax, dword [0x462f8c]
push 0x10
mov dword [ebp - 0xac], ebx
mov dword [0x462f90], eax
call fcn.004299f8
add esp, 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x41016f
mov ecx, str.vmodule
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4100a2
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x70]
call fcn.00401550
mov ecx, 0x44a3b4
mov byte [ebp - 4], 6
or ebx, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4100e0
sub ecx, edx
push ecx
push 0x44a3b4
lea ecx, [ebp - 0x58]
call fcn.00401550
mov ebx, dword [ebp - 0xac]
mov ecx, esi
mov eax, ebx
mov dword [ebp - 4], 7
or eax, 0x18
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004157d0
mov esi, eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 8
mov ecx, ebx
or ecx, 0x38
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xb0]
push eax
call fcn.004157d0
mov ecx, dword [ebp - 0xb4]
or ebx, 0x78
push 0x462f94
push esi
push eax
mov dword [ebp - 4], 9
mov dword [ebp - 0xa8], ebx
call fcn.00423130
jmp 0x410171
xor eax, eax
mov dword [0x462f8c], eax
test bl, 0x40
je 0x410189
lea ecx, [ebp - 0x88]
and ebx, 0xffffffbf
call fcn.00401380
test bl, 0x20
je 0x41019c
lea ecx, [ebp - 0xa0]
and ebx, 0xffffffdf
call fcn.00401380
test bl, 0x10
je 0x4101ac
lea ecx, [ebp - 0x58]
and ebx, 0xffffffef
call fcn.00401380
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x4101c0
lea ecx, [ebp - 0x70]
call fcn.00401380
mov eax, dword [edi]
mov dword [0x461028], eax
test al, 1
jne 0x4101d2
mov al, 1
jmp 0x4102ae
push dword [edi + 4]
push dword [edi + 8]
call fcn.00410880
add esp, 8
cmp dword [0x462f88], 0
jne 0x4101f9
push 0xffffffffffffffff
push dword [0x462f80]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x410204
mov ecx, dword [0x462f7c]
call fcn.00418bb0
mov eax, dword [0x462f9c]
mov dword [ebp - 4], 0xe
test eax, eax
je 0x410225
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x462f9c], 0
mov eax, dword [0x462f98]
test eax, eax
jne 0x410258
push 0x18
call fcn.004299f8
add esp, 4
test eax, eax
je 0x410251
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x410253
xor eax, eax
mov dword [0x462f98], eax
push dword [edi + 4]
mov ecx, eax
call fcn.004013d0
cmp dword [edi + 0xc], 0
jne 0x41027c
mov eax, dword [0x462f98]
cmp dword [eax + 0x14], 8
jb 0x410275
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00410a50
mov bl, al
cmp dword [0x462f88], 0
mov dword [ebp - 4], 0xf
jne 0x4102a1
push dword [0x462f80]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4102ac
mov ecx, dword [0x462f7c]
call fcn.00418bc0
mov al, bl
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.004299e7
mov esp, ebp
pop ebp
ret
call fcn.0042ecaa
call fcn.0042ecaa
int3