Function at 0x4190c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
call fcn.0041e6f0
mov ebp, eax
mov ebx, 0xf
mov eax, str.enable_dcheck
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4190f0
sub eax, edx
push eax
push str.enable_dcheck
lea ecx, [esp + 0x20]
call fcn.004013f0
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call fcn.0041d8b0
cmp dword [esp + 0x30], 0x10
mov byte [0x452fe0], al
jb 0x41912d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004260c9
add esp, 4
mov eax, dword [0x452fe4]
mov esi, eax
cmp eax, edi
je 0x419149
lea ecx, [eax + 4]
call fcn.00418ef0
push esi
call fcn.004260c9
add esp, 4
mov eax, 0x445b08
mov dword [0x452fe4], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419164
sub eax, edx
push eax
push 0x445b08
lea ecx, [esp + 0x3c]
call fcn.004013f0
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
mov ebx, 1
call fcn.0041d8b0
test al, al
jne 0x4191e2
mov byte [esp + 0x1c], al
mov eax, str.vmodule
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4191b0
sub eax, edx
push eax
push str.vmodule
lea ecx, [esp + 0x20]
call fcn.004013f0
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov ebx, 3
call fcn.0041d8b0
mov byte [esp + 0x13], 0
test al, al
je 0x4191e7
mov byte [esp + 0x13], 1
test bl, 2
je 0x419214
and ebx, 0xfffffffd
cmp dword [esp + 0x30], 0x10
jb 0x419203
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004260c9
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
test bl, 1
je 0x419230
and ebx, 0xfffffffe
cmp dword [esp + 0x4c], 0x10
jb 0x419230
mov edx, dword [esp + 0x38]
push edx
call fcn.004260c9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x4193b7
push 0x1c
call fcn.0042635b
mov edi, eax
xor eax, eax
add esp, 4
cmp edi, eax
je 0x4192fa
mov dword [esp + 0x48], eax
mov byte [esp + 0x38], al
mov eax, str.vmodule
mov dword [esp + 0x4c], 0xf
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419270
sub eax, esi
push eax
push str.vmodule
lea ecx, [esp + 0x3c]
call fcn.004013f0
mov eax, 0x445b08
or ebx, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4192a8
sub eax, esi
push eax
push 0x445b08
lea ecx, [esp + 0x20]
call fcn.004013f0
lea eax, [esp + 0x34]
or ebx, 8
push eax
lea ecx, [esp + 0x70]
mov esi, 0x10
push ecx
or ebx, esi
mov ecx, ebp
or ebx, 0x20
call fcn.0041e760
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call fcn.0041e760
push eax
mov ecx, edi
call fcn.00421fb0
jmp 0x4192ff
mov esi, 0x10
mov dword [0x452fe4], eax
test bl, 0x20
je 0x419337
and ebx, 0xffffffdf
cmp dword [esp + 0x68], esi
jb 0x41931f
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004260c9
add esp, 4
mov edi, 0xf
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
jmp 0x41933c
mov edi, 0xf
test bl, 0x10
je 0x419371
and ebx, 0xffffffef
cmp dword [esp + 0x84], esi
jb 0x41935a
mov edx, dword [esp + 0x70]
push edx
call fcn.004260c9
add esp, 4
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
test bl, 8
je 0x41939d
and ebx, 0xfffffff7
cmp dword [esp + 0x30], esi
jb 0x41938c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004260c9
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
test bl, 4
je 0x4193b5
cmp dword [esp + 0x4c], esi
jb 0x4193b5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004260c9
add esp, 4
xor edi, edi
mov ebx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
push ebx
push edx
call fcn.00418130
add esp, 8
cmp dword [0x453008], edi
jne 0x4193e7
mov eax, dword [0x45300c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4193f2
mov ecx, dword [0x453004]
call fcn.0041fd60
mov eax, dword [0x452ff0]
cmp eax, edi
je 0x419408
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x452ff0], edi
mov eax, dword [esp + 0x90]
mov dword [0x451004], eax
cmp eax, edi
je 0x4194cd
cmp eax, 2
je 0x4194cd
mov ecx, dword [0x452fec]
cmp ecx, edi
jne 0x419455
push 0x1c
call fcn.0042635b
add esp, 4
xor ecx, ecx
cmp eax, edi
je 0x41944f
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], edi
mov word [eax + 4], cx
mov ecx, eax
mov dword [0x452fec], ecx
mov eax, ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x419460
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.00403280
cmp dword [esp + 0x98], edi
jne 0x419499
mov eax, dword [0x452fec]
cmp dword [eax + 0x18], 8
jb 0x41948f
mov eax, dword [eax + 4]
jmp 0x419492
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004182e0
cmp dword [0x453008], edi
jne 0x4194bb
mov edx, dword [0x45300c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov ecx, dword [0x453004]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
jmp fcn.0041fd70
cmp dword [0x453008], edi
jne 0x4194bb
mov eax, dword [0x45300c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret