Function at 0x49e8e0
Capabilities:
Delete directory
Delete file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x549a84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x98]
call fcn.0044b480
mov eax, dword [0x5ab980]
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0xd4], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], 0x559c1c
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
add eax, 0x944
mov byte [esp + 0xd4], 3
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
je 0x49e9c2
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 2
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 1
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0xd4], 5
call fcn.005128e4
mov byte [esp + 0xd4], 4
jmp 0x49ef0c
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx + 0x9ac]
mov edx, dword [ecx + 0x9a8]
add eax, edx
cmp eax, edi
mov dword [esp + 0x1c], eax
jg 0x49ea1b
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 2
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 1
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0xd4], 7
call fcn.005128e4
mov byte [esp + 0xd4], 6
jmp 0x49ef0c
mov ecx, dword [0x5ab980]
mov dword [esp + 0x18], ecx
mov edx, dword [ebp + 0x3c]
lea ecx, [esp + 0x18]
add edx, 0xec
mov byte [esp + 0xd4], 8
push edx
call fcn.00512a1d
lea eax, [esp + 0x20]
push 0x5636
push eax
call fcn.00422640
add esp, 8
push 0x5c
lea ecx, [esp + 0x28]
mov bl, 9
push eax
push ecx
mov byte [esp + 0xe0], bl
call fcn.0050dd7d
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
push 3
mov byte [esp + 0xdc], 0xa
call fcn.0050df1d
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], bl
call fcn.005128e4
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 8
call fcn.005128e4
push str.Reviewing_Files
lea ecx, [esp + 0x60]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x74], 0x7472616e
mov dword [esp + 0x70], edi
call fcn.00512a6d
mov ebx, dword [esp + 0xdc]
lea eax, [esp + 0x44]
push edi
push eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov ecx, dword [ebp + 0x38]
push 1
add ecx, 0x930
push ecx
lea ecx, [esp + 0xa0]
call fcn.0044b500
mov esi, eax
cmp esi, edi
je 0x49eec0
fild dword [esp + 0x1c]
fstp qword [esp + 0x8c]
jmp 0x49eb0a
mov ebx, dword [esp + 0xdc]
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], edi
inc ecx
mov dword [esp + 0x70], 0x7472616e
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fdiv qword [esp + 0x8c]
fmul qword [0x55cbf0]
call fcn.004fa6b4
mov dword [esp + 0x6c], eax
mov al, byte [esi + 0xc0]
test al, 0x80
jne 0x49eb5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x3c], eax
jb 0x49eeaa
lea edx, [esp + 0x84]
mov ecx, esi
push edx
call fcn.00441ca0
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xd8], 0xb
call fcn.00512a1d
lea ecx, [esp + 0x84]
mov byte [esp + 0xd4], 8
call fcn.005128e4
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push edi
push ecx
mov ecx, ebx
call dword [eax]
test eax, eax
jne 0x49ef5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
shl eax, 0x1c
sar eax, 0x1c
sub eax, 2
jne 0x49eeaa
lea edx, [esp + 0x80]
mov ecx, esi
push edx
call fcn.00441e60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0xc
call fcn.00512a1d
lea ecx, [esp + 0x80]
mov byte [esp + 0xd4], 8
call fcn.005128e4
test byte [esi + 0xc0], 0x80
je 0x49eeaa
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, ebp
call fcn.0049c5b0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push esi
mov ecx, ebp
call fcn.0049be80
cmp eax, edi
jle 0x49ecfa
mov ecx, dword [ebp + 0x3c]
lea eax, [esp + 0x10]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x38]
mov eax, dword [0x5ab980]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
push str..EXE
lea edx, [esp + 0x20]
push ecx
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
mov byte [esp + 0xe8], 0xe
call fcn.00512659
call fcn.00421200
add esp, 0x10
cmp eax, edi
jle 0x49ecd3
mov ecx, dword [esp + 0x38]
push str.QBDAgent.exe
push ecx
call fcn.004f9670
add esp, 8
cmp eax, edi
jne 0x49ecd3
mov edx, dword [esp + 0x10]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2c]
push 0x5690
push ecx
push 2
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [ebp + 0x3ba4]
call fcn.004c0010
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 0xd
call fcn.005128e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 8
call fcn.005128e4
jmp 0x49eeaa
jge 0x49eeaa
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jb 0x49ed78
cmp byte [edx + 1], 0x3a
jne 0x49ed78
push 3
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004f9fa0
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x43], bl
push ecx
lea ecx, [esp + 0x24]
call fcn.00512952
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xd8], 0xf
call fcn.00443210
lea ecx, [esp + 0x20]
mov edi, eax
mov byte [esp + 0xd4], 8
call fcn.005128e4
test edi, edi
je 0x49ed74
mov ebx, 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push eax
push edx
call fcn.00422ad0
add esp, 8
test eax, eax
jne 0x49edc7
test ebx, ebx
je 0x49edc9
push str..PIF.
lea ecx, [esp + 0x28]
call fcn.00512952
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0x10
push ecx
mov ecx, esi
call fcn.00442390
lea ecx, [esp + 0x24]
mov edi, eax
mov byte [esp + 0xd4], 8
call fcn.005128e4
test edi, edi
je 0x49edc9
xor ebx, ebx
test byte [ebp + 0x3948], 0x80
je 0x49edda
test ebx, ebx
je 0x49ee8b
mov edx, dword [esp + 0x10]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2c]
push 0x568f
push ecx
lea edi, [ebp + 0x3ba4]
push 2
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, edi
call fcn.004c0010
mov esi, dword [esi + 4]
test esi, esi
je 0x49eea8
mov eax, dword [esi + 0xb8]
and eax, 0xc0
cmp al, 0x40
jne 0x49eea8
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00441e60
lea edx, [esp + 0x34]
push 1
push edx
mov ecx, ebp
mov byte [esp + 0xdc], 0x11
call fcn.0049c5b0
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x49ee78
mov ecx, dword [esp + 0x2c]
push 0x568f
push ecx
push 2
lea edx, [esp + 0x1c]
push esi
push edx
mov ecx, edi
call fcn.004c0010
lea ecx, [esp + 0x34]
mov byte [esp + 0xd4], 8
call fcn.005128e4
jmp 0x49eea8
mov eax, dword [esp + 0x2c]
push 0x568e
push eax
push 2
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [ebp + 0x3ba4]
call fcn.004c0010
xor edi, edi
lea ecx, [esp + 0x98]
call fcn.0044b560
mov esi, eax
cmp esi, edi
jne 0x49eb03
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 3
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 2
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 1
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0xd4], 0x15
call fcn.005128e4
mov byte [esp + 0xd4], 0x14
lea ecx, [esp + 0x5c]
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 0
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0xd4], 0xffffffff
call fcn.005128e4
mov eax, 1
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 4
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 3
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 2
call fcn.005128e4
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 1
call fcn.005128e4
lea ecx, [esp + 0x60]
mov byte [esp + 0xd4], 0x13
call fcn.005128e4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], 0x12
call fcn.005128e4
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], 0
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0xd4], 0xffffffff
call fcn.005128e4
mov eax, 0xfffffc19
jmp 0x49ef3f