Function at 0x4111a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0x18]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [0x4d4874], eax
call fcn.00415480
mov edi, eax
mov eax, 0x4990bc
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4111e0
sub eax, edx
push eax
push 0x4990bc
lea ecx, [ebp - 0x3c]
call fcn.00402100
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
mov ebx, 1
call fcn.00414520
test al, al
jne 0x41124f
mov byte [ebp - 0x1c], al
mov eax, str.vmodule
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411220
sub eax, edx
push eax
push str.vmodule
lea ecx, [ebp - 0x20]
call fcn.00402100
lea edx, [ebp - 0x20]
push edx
mov ecx, edi
mov ebx, 3
call fcn.00414520
mov byte [ebp + 0x1b], 0
test al, al
je 0x411253
mov byte [ebp + 0x1b], 1
mov esi, 0x10
test bl, 2
je 0x411283
and ebx, 0xfffffffd
cmp dword [ebp - 8], esi
jb 0x411271
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042305c
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 1
je 0x41129c
and ebx, 0xfffffffe
cmp dword [ebp - 0x24], esi
jb 0x41129c
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0042305c
add esp, 4
cmp byte [ebp + 0x1b], 0
je 0x411442
cmp dword [0x4d487c], 0
je 0x4112da
push 4
push 0x16a
push str..logging.cc
lea ecx, [ebp - 0x108]
or ebx, 4
call fcn.00410e90
add eax, 4
push str.Check_failed:__g_vlog_info_prev.
push eax
call fcn.00403c40
add esp, 8
test bl, 4
je 0x4112ed
lea ecx, [ebp - 0x108]
and ebx, 0xfffffffb
call fcn.004108d0
mov edx, dword [0x4d4878]
push 0x1c
mov dword [0x4d487c], edx
call fcn.0042315c
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x4113a6
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov eax, str.vmodule
mov dword [ebp - 0x24], 0xf
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411324
sub eax, esi
push eax
push str.vmodule
lea ecx, [ebp - 0x3c]
call fcn.00402100
mov eax, 0x4990bc
or ebx, 8
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411358
sub eax, esi
push eax
push 0x4990bc
lea ecx, [ebp - 0x20]
call fcn.00402100
mov esi, dword [ebp - 4]
push 0x4d4880
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
or ebx, 0x70
call fcn.00415500
push eax
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.00415500
push eax
mov ecx, edi
call fcn.00418c40
mov esi, 0x10
mov dword [0x4d4878], eax
test bl, 0x40
je 0x4113d9
and ebx, 0xffffffbf
cmp dword [ebp - 0x5c], esi
jb 0x4113c4
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0042305c
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jmp 0x4113de
mov edi, 0xf
test bl, 0x20
je 0x411405
and ebx, 0xffffffdf
cmp dword [ebp - 0x40], esi
jb 0x4113f7
mov edx, dword [ebp - 0x54]
push edx
call fcn.0042305c
add esp, 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
test bl, 0x10
je 0x41142c
and ebx, 0xffffffef
cmp dword [ebp - 8], esi
jb 0x41141e
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042305c
add esp, 4
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 8
je 0x411442
cmp dword [ebp - 0x24], esi
jb 0x411442
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0042305c
add esp, 4
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push edx
call fcn.0040fd30
xor esi, esi
add esp, 8
cmp dword [0x4d48a4], esi
jne 0x41146c
mov eax, dword [0x4d48a8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x411477
mov ecx, dword [0x4d48a0]
call fcn.00415f10
mov eax, dword [0x4d4888]
cmp eax, esi
je 0x41148d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4d4888], esi
mov eax, dword [ebp + 0xc]
mov dword [0x4d2024], eax
cmp eax, esi
je 0x411550
cmp eax, 2
je 0x411550
mov ecx, dword [0x4d4884]
cmp ecx, esi
jne 0x4114d6
push 0x1c
call fcn.0042315c
add esp, 4
xor ecx, ecx
cmp eax, esi
je 0x4114d0
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], esi
mov word [eax + 4], cx
mov ecx, eax
mov dword [0x4d4884], ecx
mov eax, ebx
lea edi, [eax + 2]
jmp 0x4114e0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4114e0
sub eax, edi
sar eax, 1
push eax
push ebx
call fcn.00402470
cmp dword [ebp + 0x14], 0
jne 0x411516
mov eax, dword [0x4d4884]
cmp dword [eax + 0x18], 8
jb 0x41150c
mov eax, dword [eax + 4]
jmp 0x41150f
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040fec0
cmp dword [0x4d48a4], 0
mov bl, al
jne 0x41153c
mov edx, dword [0x4d48a8]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4d48a0]
call fcn.00415f20
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4d48a4], esi
jne 0x41156d
mov eax, dword [0x4d48a8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4d48a0]
call fcn.00415f20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret