Function at 0x416d90
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d742
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov eax, dword [0x4a8ae4]
mov ecx, dword [ebp + 0xc]
xor eax, ebp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x450], eax
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea eax, [esp + 0x14]
push str.Access_Utility_has_to_track_this_file__s
xor ebx, ebx
push eax
mov dword [esp + 0x470], ebx
call fcn.0040eb90
lea ecx, [esp + 0x4c]
push esi
push ecx
call fcn.0044a5c9
lea edx, [esp + 0x54]
push edx
call fcn.00449da9
add esp, 0x18
push ebx
push 0x80
push 3
push ebx
push ebx
mov word [esp + eax*2 + 0x4c], bx
push 0x40000000
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x417223
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x464], 1
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
cmp byte [esi + 0x210], bl
mov byte [esp + 0x464], 2
mov word [esp + 0x1c], bx
je 0x416ea9
mov dword [esp + 0x14], 2
jmp 0x416f51
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0040dd50
add esp, 8
test eax, eax
jne 0x416ec7
lea eax, [edi - 0x10]
jmp 0x4171df
mov ax, word [esp + 0x1c]
cmp ax, word [esi + 0x212]
jne 0x416f49
mov cx, word [esp + 0x1e]
cmp cx, word [esi + 0x214]
jne 0x416f49
mov dx, word [esp + 0x22]
cmp dx, word [esi + 0x218]
jne 0x416f49
mov ax, word [esp + 0x24]
cmp ax, word [esi + 0x21a]
jne 0x416f49
mov cx, word [esp + 0x26]
cmp cx, word [esi + 0x21c]
jne 0x416f49
mov dx, word [esp + 0x28]
cmp dx, word [esi + 0x21e]
jne 0x416f49
mov ax, word [esp + 0x2a]
cmp ax, word [esi + 0x220]
jne 0x416f49
lea ecx, [esp + 0x30]
call fcn.00401880
lea ecx, [esp + 0x2c]
call fcn.00401880
lea ecx, [esp + 0x10]
call fcn.00401880
jmp 0x41724c
mov dword [esp + 0x14], 1
call fcn.0046249e
cmp eax, ebx
je 0x416f65
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov edi, eax
jmp 0x416f67
xor edi, edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x20], ebx
call fcn.0040dd10
call fcn.0040e2a0
mov edx, dword [esp + 0x20]
push edx
push edi
call fcn.0040f270
add esp, 0x10
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040e2a0
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x416fb1
cmp eax, 2
jne 0x4171d8
jmp 0x416fd2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + 0x212]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
mov word [esp + 0x248], bx
mov ecx, 0x81
lea edi, [esp + 0x24a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0040df70
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x1c]
push str.Thread_is_encrypting_file__s
push eax
call fcn.0040eb90
sub esp, 8
mov esi, esp
mov byte [0x4a9a34], 1
lea ecx, [esp + 0x264]
mov edi, 7
mov dword [esp + 0x34], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push ecx
mov word [esi + 4], bx
call fcn.00449da9
add esp, 4
push eax
lea edx, [esp + 0x268]
push edx
mov ecx, esi
call fcn.00402410
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x78]
mov dword [esp + 0x74], esp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov byte [esp + 0x4a0], 3
mov word [esi + 4], bx
call fcn.00449da9
add esp, 4
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.00402410
mov edi, dword [esp + 0x70]
mov ecx, edi
mov byte [esp + 0x49c], 2
call fcn.00413de0
cmp eax, ebx
mov byte [0x4a9a34], bl
jne 0x4170dd
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x14], 2
jne 0x4170d3
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x130]
call fcn.0040f0c0
call fcn.0040dce0
jmp 0x4171d8
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x464], 4
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x166
mov byte [esp + 0x468], 5
call fcn.00462133
cmp eax, ebx
je 0x417134
push 0x166
push eax
lea ecx, [esp + 0x20]
call fcn.0042b1e0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0040eb90
add esp, 0xc
push 0x102
call fcn.00462133
cmp eax, ebx
je 0x417164
push 0x102
push eax
lea ecx, [esp + 0x1c]
call fcn.0042b1e0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
lea ecx, [edi + 0x130]
call fcn.0040f0c0
call fcn.0040dce0
call fcn.0040e2a0
mov eax, dword [esp + 0x10]
push ebx
push 0x1010
push eax
call fcn.0046f4c9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x464], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x464], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x464], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x464], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x464], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41724c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x454]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044a318
mov esp, ebp
pop ebp
ret