Function at 0x438a10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x6c], 0
call fcn.004470f0
cmp byte [0x4bc158], 0
mov edi, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
jne 0x438a59
xor ecx, ecx
jmp 0x438a6a
mov ecx, 0x4bc158
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438a61
sub ecx, edx
push ecx
push 0x4bc158
lea ecx, [ebp - 0x34]
call fcn.00404453
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
mov ebx, 1
call fcn.004478e0
test al, al
jne 0x438ae0
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], al
cmp byte [str.vmodule], al
jne 0x438aa9
xor ecx, ecx
jmp 0x438aba
mov ecx, str.vmodule
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438ab1
sub ecx, edx
push ecx
push str.vmodule
lea ecx, [ebp - 0x1c]
call fcn.00404453
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
mov ebx, 3
call fcn.004478e0
mov byte [ebp - 0x65], 0
test al, al
je 0x438ae4
mov byte [ebp - 0x65], 1
test bl, 2
je 0x438b0f
and ebx, 0xfffffffd
cmp dword [ebp - 8], 0x10
jb 0x438afd
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 1
je 0x438b28
and ebx, 0xfffffffe
cmp dword [ebp - 0x20], 0x10
jb 0x438b28
push dword [ebp - 0x34]
call fcn.004835e0
add esp, 4
cmp byte [ebp - 0x65], 0
je 0x438c63
cmp dword [0x4d6f64], 0
je 0x438b40
call fcn.00449250
test bl, 4
je 0x438b53
lea ecx, [ebp - 0x11c]
and ebx, 0xfffffffb
call fcn.00438510
mov eax, dword [0x4d6f60]
push 0x10
mov dword [0x4d6f64], eax
call fcn.00483600
mov edi, eax
add esp, 4
test edi, edi
je 0x438bc2
push str.vmodule
lea ecx, [ebp - 0x64]
call fcn.00404000
push 0x4bc158
lea ecx, [ebp - 0x34]
or ebx, 8
call fcn.00404000
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x64]
push 0x4d6f68
push eax
lea eax, [ebp - 0x4c]
or ebx, 0x70
push eax
call fcn.00447660
mov ecx, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00447660
push eax
mov ecx, edi
call fcn.00453f50
mov dword [0x4d6f60], eax
jmp 0x438bcc
mov dword [0x4d6f60], 0
test bl, 0x40
je 0x438bf7
and ebx, 0xffffffbf
cmp dword [ebp - 8], 0x10
jb 0x438be5
push dword [ebp - 0x1c]
call fcn.004835e0
add esp, 4
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
test bl, 0x20
je 0x438c22
and ebx, 0xffffffdf
cmp dword [ebp - 0x38], 0x10
jb 0x438c10
push dword [ebp - 0x4c]
call fcn.004835e0
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
test bl, 0x10
je 0x438c4d
and ebx, 0xffffffef
cmp dword [ebp - 0x20], 0x10
jb 0x438c3b
push dword [ebp - 0x34]
call fcn.004835e0
add esp, 4
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test bl, 8
je 0x438c63
cmp dword [ebp - 0x50], 0x10
jb 0x438c63
push dword [ebp - 0x64]
call fcn.004835e0
add esp, 4
mov eax, dword [esi]
mov dword [section..data], eax
test al, 1
jne 0x438c81
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
push dword [esi + 8]
call fcn.00439220
add esp, 8
cmp dword [0x4d6f8c], 0
jne 0x438ca8
push 0xffffffffffffffff
push dword [0x4d6f84]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
jmp 0x438cb3
mov ecx, dword [0x4d6f80]
call fcn.0043fcf0
mov eax, dword [0x4d6f70]
test eax, eax
je 0x438ccd
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [0x4d6f70], 0
mov edx, dword [0x4d6f6c]
test edx, edx
jne 0x438d04
push 0x18
call fcn.00483600
mov edx, eax
add esp, 4
test edx, edx
je 0x438cfc
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
jmp 0x438cfe
xor edx, edx
mov dword [0x4d6f6c], edx
mov edi, dword [esi + 4]
cmp word [edi], 0
jne 0x438d11
xor ecx, ecx
jmp 0x438d25
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438d16
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.004046e6
cmp dword [esi + 0xc], 0
jne 0x438d48
mov eax, dword [0x4d6f6c]
cmp dword [eax + 0x14], 8
jb 0x438d41
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call fcn.00439370
cmp dword [0x4d6f8c], 0
mov bl, al
jne 0x438d77
push dword [0x4d6f84]
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.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4d6f80]
call fcn.0043fd00
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret