Function at 0x40f090
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4503ea
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x46e224]
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.00416de0
mov ecx, 0x455f80
mov dword [ebp - 0x70], 0
mov esi, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f100
sub ecx, edx
push ecx
push 0x455f80
lea ecx, [ebp - 0x70]
call fcn.00402000
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.00417ab0
test al, al
jne 0x40f197
mov ecx, str.vmodule
mov dword [ebp - 0x28], 0
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 0x40f158
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x28]
call fcn.00402000
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
mov ebx, 3
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.00417ab0
mov byte [ebp - 0xa1], 0
test al, al
je 0x40f19e
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 0
test bl, 2
je 0x40f1f3
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x40f1e1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d9
push edx
push ecx
call fcn.00432145
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40f236
mov edx, dword [ebp - 0x5c]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x40f236
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f22c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d9
push edx
push ecx
call fcn.00432145
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x40f4ce
cmp dword [0x47052c], 0
je 0x40f2c7
push 1
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x160], 4
call fcn.00408a40
mov dword [ebp - 4], 2
mov dword [ebp - 0xbc], str.D:360Work2.vpn_turbowin_turbo_baselogging.cc
mov dword [ebp - 0xb8], 0x172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb4], eax
push 0x172
push str.D:360Work2.vpn_turbowin_turbo_baselogging.cc
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.0040f720
lea eax, [ebp - 0x158]
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.00402200
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x40f2e1
lea ecx, [ebp - 0x160]
and ebx, 0xfffffffb
call fcn.0040e6b0
mov eax, dword [0x470528]
push 0x10
mov dword [0x47052c], eax
call fcn.00432115
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x40f3fa
mov ecx, str.vmodule
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f330
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x58]
call fcn.00402000
mov ecx, 0x455f80
mov dword [ebp - 0x40], 0
or ebx, 8
mov byte [ebp - 4], 6
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f375
sub ecx, edx
push ecx
push 0x455f80
lea ecx, [ebp - 0x40]
call fcn.00402000
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
or ebx, 0x10
push eax
mov ecx, esi
mov dword [ebp - 0xa8], ebx
call fcn.00417850
mov esi, eax
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 8
or ebx, 0x20
push eax
mov dword [ebp - 0xa8], ebx
call fcn.00417850
mov ecx, dword [ebp - 0xb0]
or ebx, 0x40
push 0x470530
push esi
push eax
mov dword [ebp - 4], 9
mov dword [ebp - 0xa8], ebx
call fcn.0041f340
jmp 0x40f3fc
xor eax, eax
mov dword [0x470528], eax
test bl, 0x40
je 0x40f414
lea ecx, [ebp - 0x88]
and ebx, 0xffffffbf
call fcn.00401bc0
test bl, 0x20
je 0x40f427
lea ecx, [ebp - 0xa0]
and ebx, 0xffffffdf
call fcn.00401bc0
mov dword [ebp - 4], 0xa
test bl, 0x10
je 0x40f47c
mov edx, dword [ebp - 0x2c]
and ebx, 0xffffffef
cmp edx, 0x10
jb 0x40f46a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.00432145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x40f4ce
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40f4bc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5de
push edx
push ecx
call fcn.00432145
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [edi]
mov dword [section..data], eax
test al, 1
jne 0x40f4e0
mov al, 1
jmp 0x40f5bd
push dword [edi + 4]
push dword [edi + 8]
call fcn.0040fb50
add esp, 8
cmp dword [0x470558], 0
jne 0x40f507
push 0xffffffffffffffff
push dword [0x470550]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40f512
mov ecx, dword [0x47054c]
call fcn.0041aed0
mov eax, dword [0x470538]
mov dword [ebp - 4], 0xe
test eax, eax
je 0x40f533
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x470538], 0
mov eax, dword [0x470534]
test eax, eax
jne 0x40f567
push 0x18
call fcn.00432115
add esp, 4
test eax, eax
je 0x40f560
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
jmp 0x40f562
xor eax, eax
mov dword [0x470534], eax
push dword [edi + 4]
mov ecx, eax
call fcn.00403120
cmp dword [edi + 0xc], 0
jne 0x40f58b
mov eax, dword [0x470534]
cmp dword [eax + 0x14], 8
jb 0x40f584
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040fe60
mov bl, al
cmp dword [0x470558], 0
mov dword [ebp - 4], 0xf
jne 0x40f5b0
push dword [0x470550]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x40f5bb
mov ecx, dword [0x47054c]
call fcn.0041aee0
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.00432107
mov esp, ebp
pop ebp
ret
call fcn.00436c8f
call fcn.00436c8f
int3