Function at 0x43cee0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x38], ebx
call fcn.004462d0
mov edi, eax
push 0x4c8350
mov ecx, edi
call fcn.00446b20
test al, al
jne 0x43cf26
push str.vmodule
mov ecx, edi
call fcn.00446b20
test al, al
je 0x43d024
cmp dword [0x4e3f44], ebx
je 0x43cf33
call fcn.004514d0
mov eax, dword [0x4e3f40]
push 0x10
mov dword [0x4e3f44], eax
call fcn.00492cd0
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x43cfdd
mov dword [ebp - 0x48], str.vmodule
cmp byte [str.vmodule], bl
jne 0x43cf66
mov dword [ebp - 0x44], ebx
jmp 0x43cf7c
mov ecx, str.vmodule
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cf70
sub ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x4c8350
cmp byte [0x4c8350], bl
jne 0x43cf90
mov dword [ebp - 0x3c], ebx
jmp 0x43cfa4
mov ecx, 0x4c8350
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43cf98
sub ecx, edx
mov dword [ebp - 0x3c], ecx
push 0x4e3f48
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
mov ebx, 6
push eax
call fcn.00446850
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00446850
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0045cd90
mov dword [0x4e3f40], eax
jmp 0x43cfe3
mov dword [0x4e3f40], ebx
test bl, 4
je 0x43d00e
and ebx, 0xfffffffb
cmp dword [ebp - 8], 0x10
jb 0x43cffc
push dword [ebp - 0x1c]
call fcn.00492cb0
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 2
je 0x43d024
cmp dword [ebp - 0x20], 0x10
jb 0x43d024
push dword [ebp - 0x34]
call fcn.00492cb0
add esp, 4
mov eax, dword [esi]
mov dword [section..data], eax
test al, 1
jne 0x43d042
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push dword [esi + 8]
call fcn.0043d5e0
add esp, 8
cmp dword [0x4e3f6c], 0
jne 0x43d069
push 0xffffffffffffffff
push dword [0x4e3f64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x43d074
mov ecx, dword [0x4e3f60]
call fcn.004482a0
mov eax, dword [0x4e3f50]
test eax, eax
je 0x43d08e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e3f50], 0
mov edx, dword [0x4e3f4c]
test edx, edx
jne 0x43d0c5
push 0x18
call fcn.00492cd0
mov edx, eax
add esp, 4
test edx, edx
je 0x43d0bd
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x43d0bf
xor edx, edx
mov dword [0x4e3f4c], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x43d0d2
xor ecx, ecx
jmp 0x43d0e6
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d0d7
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.0040576a
cmp dword [esi + 0xc], 0
jne 0x43d109
mov eax, dword [0x4e3f4c]
cmp dword [eax + 0x14], 8
jb 0x43d102
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0043d730
cmp dword [0x4e3f6c], 0
mov bl, al
jne 0x43d138
push dword [0x4e3f64]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049653f
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4e3f60]
call fcn.004482b0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret