Function at 0x4d8cfc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
mov eax, dword [ebp - 8]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4d8f9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x38]
call fcn.004d4ef0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
mov ecx, 0x4d8fc0
call fcn.00406d58
mov ecx, dword [ebp - 0xc]
mov edx, 0x4d8fe4
mov eax, 0x4d9000
call fcn.004d503c
mov eax, dword [ebp - 0xc]
call fcn.00411e78
test al, al
je 0x4d8f6f
mov eax, dword [ebp - 0xc]
call fcn.00406900
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d8f61
xor eax, eax
push ebp
push 0x4d8f5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d9010
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov ebx, eax
push 0x4d9034
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov esi, eax
push 0x4d904c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov edi, eax
push 0x4d908c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov dword [ebp - 0x20], eax
push 0x4d90b0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov dword [ebp - 0x24], eax
push 0x4d90c8
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov dword [ebp - 0x28], eax
push 0x4d90e4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040b358
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x4d8f43
test esi, esi
je 0x4d8f43
test edi, edi
je 0x4d8f43
cmp dword [ebp - 0x20], 0
je 0x4d8f43
cmp dword [ebp - 0x24], 0
je 0x4d8f43
cmp dword [ebp - 0x28], 0
je 0x4d8f43
cmp dword [ebp - 0x2c], 0
je 0x4d8f43
call ebx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406ac8
mov eax, dword [ebp - 0x3c]
call fcn.004063c4
push eax
push 0xffffffffffffffff
push dword [ebp - 0x30]
call esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.00406ac8
mov eax, dword [ebp - 0x40]
call fcn.004063c4
mov ebx, eax
push ebx
push dword [ebp - 0x30]
call edi
test eax, eax
je 0x4d8f05
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004d5530
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.00406ac8
mov eax, dword [ebp - 0x44]
call fcn.004063c4
push eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov ecx, 0
call fcn.00406ac8
mov eax, dword [ebp - 0x48]
call fcn.004063c4
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x20]
push 0
push 0
push 0
push ebx
push dword [ebp - 0x30]
call dword [ebp - 0x24]
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406ac8
mov eax, dword [ebp - 0x4c]
call fcn.004063c4
push eax
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x28]
push dword [ebp - 0x30]
call dword [ebp - 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8f61
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov eax, dword [ebp - 0xc]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8fa6
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.0040605c
lea eax, [ebp - 0x38]
call fcn.00406864
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040686c
ret