Function at 0x44a300
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bec58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4efc64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4f4840], 2
jne 0x44a33c
push str.C:FilesPreScan.db
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov esi, 0x4cd12c
cmp dword [0x4f4840], edi
je 0x44a350
mov esi, str.C:FilesPreScan.db
mov ebx, 0x4f4a70
call fcn.004803c0
push 0x4f4a90
mov dword [0x4f4a8c], edi
mov dword [0x4f4a88], edi
call fcn.0042887a
push 0x4cd12c
call fcn.004a4d8a
add esp, 4
push eax
push 0x4cd12c
mov ecx, 0x4f4aa8
call fcn.00423edb
mov ebx, 0x4f48b8
call fcn.0043fa40
mov eax, dword [eax]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], esi
call fcn.0049673f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x44a3bd
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.Adding_dir_to_avoid:__s
mov dword [ebp - 4], edi
test ecx, 0xffff0000
jne 0x44a4b7
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.0049e679
mov edi, eax
test edi, edi
je 0x44a4d1
mov eax, ebx
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a4d1
push ebx
push eax
push edi
call fcn.004216c8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44a4d1
mov eax, dword [esi]
movzx ebx, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x44a445
push ebx
mov ecx, esi
call fcn.004214f2
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp - 0x10], edx
cmp eax, 0xffffffff
jne 0x44a45f
push edi
call fcn.004a4d8a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [ebx + ebx]
push edi
push ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x44a5c1.1
movzx edx, byte [eax + 0x44a65c]
jmp dword [edx*4 + 0x44a64c]
call fcn.00496ca7
test ebx, ebx
jl 0x44a4ad
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x44a4ad
mov edx, dword [ebp - 0x14]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44a4d1
push 0x80070057
call fcn.00421000
push str.Adding_dir_to_avoid:__s
call fcn.004a4d8a
add esp, 4
push eax
push str.Adding_dir_to_avoid:__s
mov ecx, esi
call fcn.00423edb
push ecx
mov dword [ebp - 4], 1
mov edi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x1c], edi
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44a4fb
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.General
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x44a5f0
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov ebx, eax
test ebx, ebx
je 0x44a60a
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a60a
push esi
push eax
push ebx
call fcn.004216c8
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44a60a
mov eax, dword [edi]
movzx esi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44a584
push esi
mov ecx, edi
call fcn.004214f2
movzx eax, word [ebx]
mov edx, dword [edi]
add ebx, 2
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
jne 0x44a59e
push ebx
call fcn.004a4d8a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push ebx
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x44a5c1.1
movzx edx, byte [eax + 0x44a6c0]
jmp dword [edx*4 + 0x44a6b0]
call fcn.00496cdf
test esi, esi
jl 0x44a4ad
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x44a4ad
mov edx, dword [ebp - 0x10]
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44a60a
push str.General
call fcn.004a4d8a
add esp, 4
push eax
push str.General
mov ecx, edi
call fcn.00423edb
mov byte [ebp - 4], 1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.00466f00
add esp, 0x10
mov ebx, 0x4f48b8
call fcn.0043fa40
push eax
mov eax, 0x4f48f8
call fcn.00428b7a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret