Function at 0x4100f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b555
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x490274]
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.00418350
mov ecx, 0x471f98
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 0x410152
sub ecx, edx
push ecx
push 0x471f98
lea ecx, [ebp - 0x40]
call fcn.00402010
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.00418df0
test al, al
jne 0x4101e2
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 0x4101a3
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x28]
call fcn.00402010
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
mov ebx, 3
mov ecx, esi
push eax
mov dword [ebp - 0xa8], ebx
call fcn.00418df0
mov byte [ebp - 0xa1], 0
test al, al
je 0x4101e9
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 0
test bl, 2
je 0x41023e
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x41022c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410222
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41059a
push edx
push ecx
call fcn.00435c1c
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 0x41027c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41059f
push edx
push ecx
call fcn.00435c1c
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x410490
cmp dword [0x493894], 0
je 0x41030f
push 1
push 2
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x164], 4
call fcn.00409140
mov dword [ebp - 4], 2
mov dword [ebp - 0xc0], str.f:360work2.vpn_turbowin_turbo_baselogging.cc
mov dword [ebp - 0xbc], 0x172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xb8], eax
push 0x172
push str.f:360work2.vpn_turbowin_turbo_baselogging.cc
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
call fcn.004106e0
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.00402230
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x410329
lea ecx, [ebp - 0x164]
and ebx, 0xfffffffb
call fcn.0040f6f0
mov eax, dword [0x493890]
push 0x10
mov dword [ebp - 0xac], ebx
mov dword [0x493894], eax
call fcn.00435bec
add esp, 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x41043f
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 0x410372
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x70]
call fcn.00402010
mov ecx, 0x471f98
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 0x4103b0
sub ecx, edx
push ecx
push 0x471f98
lea ecx, [ebp - 0x58]
call fcn.00402010
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.00418bf0
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.00418bf0
mov ecx, dword [ebp - 0xb4]
or ebx, 0x78
push 0x493898
push esi
push eax
mov dword [ebp - 4], 9
mov dword [ebp - 0xa8], ebx
call fcn.00420f00
jmp 0x410441
xor eax, eax
mov dword [0x493890], eax
test bl, 0x40
je 0x410459
lea ecx, [ebp - 0x88]
and ebx, 0xffffffbf
call fcn.00401b90
test bl, 0x20
je 0x41046c
lea ecx, [ebp - 0xa0]
and ebx, 0xffffffdf
call fcn.00401b90
test bl, 0x10
je 0x41047c
lea ecx, [ebp - 0x58]
and ebx, 0xffffffef
call fcn.00401b90
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x410490
lea ecx, [ebp - 0x70]
call fcn.00401b90
mov eax, dword [edi]
mov dword [section..data], eax
test al, 1
jne 0x4104a2
mov al, 1
jmp 0x41057e
push dword [edi + 4]
push dword [edi + 8]
call fcn.00410b50
add esp, 8
cmp dword [0x49388c], 0
jne 0x4104c9
push 0xffffffffffffffff
push dword [0x493884]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4104d4
mov ecx, dword [0x493880]
call fcn.0041bfc0
mov eax, dword [0x4938a0]
mov dword [ebp - 4], 0xe
test eax, eax
je 0x4104f5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4938a0], 0
mov eax, dword [0x49389c]
test eax, eax
jne 0x410528
push 0x18
call fcn.00435bec
add esp, 4
test eax, eax
je 0x410521
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x410523
xor eax, eax
mov dword [0x49389c], eax
push dword [edi + 4]
mov ecx, eax
call fcn.004034e0
cmp dword [edi + 0xc], 0
jne 0x41054c
mov eax, dword [0x49389c]
cmp dword [eax + 0x14], 8
jb 0x410545
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00410d20
mov bl, al
cmp dword [0x49388c], 0
mov dword [ebp - 4], 0xf
jne 0x410571
push dword [0x493884]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x41057c
mov ecx, dword [0x493880]
call fcn.0041bfd0
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.00435bdb
mov esp, ebp
pop ebp
ret
call fcn.00451286
call fcn.00451286
int3