Function at 0x10081430
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f3747
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x1025e344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 0
push 0x10200ce4
mov dword [ebp - 0x484], 1
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.10014280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c8]
call fcn.100bcb50
mov byte [ebp - 4], 1
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
push esi
call fcn.10004930
mov ecx, eax
call fcn.1001d070
mov ecx, dword [0x10268aa8]
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x488], edx
test ecx, ecx
jne 0x10081585
push 0x1025e008
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10268aa8], 0
jne 0x10081574
push 0xf0
call fcn.100cff51
add esp, 4
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10081562
mov ecx, eax
call fcn.100181b0
mov ecx, eax
jmp 0x10081564
xor ecx, ecx
mov byte [ebp - 4], 3
xchg dword [ebp - 0x454], eax
mov dword [0x10268aa8], ecx
push 0x1025e008
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10268aa8]
lea eax, [ebp - 0x46c]
push eax
push esi
call fcn.1001e330
mov esi, dword [ebp - 0x46c]
mov edi, dword [ebp - 0x468]
cmp esi, edi
je 0x100818c0
push dword [ebp - 0x488]
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.1007be50
lea eax, [ebp - 0x47c]
push eax
call fcn.1007ea50
mov eax, dword [ebp - 0x478]
add esp, 0x14
mov esi, dword [ebp - 0x47c]
cmp esi, eax
je 0x100818c0
push dword [ebp - 0x488]
mov ecx, eax
sub ecx, esi
sar ecx, 2
push ecx
push eax
push esi
mov dword [ebp - 0x490], ecx
call fcn.1007bb80
mov ecx, dword [ebp - 0x468]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x46c]
xor edi, edi
imul ecx
add esp, 0x10
mov dword [ebp - 0x454], 0
sar edx, 2
mov eax, edx
mov dword [ebp - 0x45c], edi
shr eax, 0x1f
add eax, edx
je 0x10081894
xor ecx, ecx
mov dword [ebp - 0x460], ecx
nop word [eax + eax]
cmp edi, dword [ebp - 0x490]
jae 0x10081894
mov esi, dword [esi + edi*4]
mov edx, esi
mov eax, dword [ebp - 0x46c]
add eax, ecx
cmp dword [esi + 0x14], 0x10
jb 0x10081671
mov edx, dword [esi]
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x1008167b
mov ecx, dword [eax]
push dword [esi + 0x10]
push edx
push dword [eax + 0x10]
push ecx
call fcn.10054230
add esp, 0x10
test eax, eax
jne 0x1008185f
or eax, 0xffffffff
inc edi
mov dword [ebp - 0x470], eax
or eax, eax
mov dword [ebp - 0x458], eax
mov eax, dword [esi + 0x20]
sub eax, dword [ebp - 0x480]
js 0x100816c2
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x47c]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov dword [ebp - 0x488], esi
cmp dword [esi + 0x14], 0x10
jb 0x100816db
mov ecx, dword [esi]
mov edx, dword [ebp - 0x46c]
add edx, dword [ebp - 0x460]
mov esi, dword [ebp - 0x488]
mov eax, edx
cmp dword [edx + 0x14], 0x10
jb 0x100816f7
mov eax, dword [edx]
push dword [esi + 0x10]
push ecx
push dword [edx + 0x10]
push eax
call fcn.10054230
add esp, 0x10
test eax, eax
jne 0x1008172d
mov eax, dword [esi + 0x20]
sub eax, dword [ebp - 0x480]
js 0x1008172a
cmp dword [ebp - 0x458], eax
jle 0x1008172a
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x470], edi
inc edi
jmp 0x100816c2
mov esi, dword [ebp - 0x470]
test esi, esi
js 0x10081859
mov eax, dword [ebp - 0x458]
test eax, eax
js 0x10081859
push 0x208
xorps xmm0, xmm0
mov dword [ebp - 0x498], 0
lea eax, [ebp - 0x420]
movq qword [ebp - 0x4a0], xmm0
push 0
push eax
movups xmmword [ebp - 0x4b0], xmm0
mov word [ebp - 0x494], 0
call fcn.101a08b0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101a08b0
mov eax, dword [ebp - 0x47c]
add esp, 0x18
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x14], 0x10
jb 0x100817a8
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.100d1710
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x100817c9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x450]
call fcn.10003a70
mov ecx, dword [ebp - 0x47c]
mov eax, dword [ecx + esi*4]
push dword [eax + 0x18]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x4ac], 1
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x4a4], eax
mov eax, 0x54
mov word [ebp - 0x4a0], ax
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x484], eax
test eax, eax
jne 0x10081894
inc dword [ebp - 0x454]
add dword [ebp - 0x460], 0x18
mov dword [ebp - 0x45c], edi
jmp 0x1008185f
mov edi, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x468]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x46c]
mov esi, dword [ebp - 0x47c]
imul ecx
mov ecx, dword [ebp - 0x460]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x454], eax
jb 0x10081650
lea eax, [ebp - 0x47c]
push eax
call fcn.1007dd20
mov esi, dword [ebp - 0x484]
add esp, 4
test esi, esi
jne 0x100818c5
push 2
push dword [ebp + 8]
call fcn.10004930
mov ecx, eax
call fcn.10026060
jmp 0x100818c5
mov esi, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x47c]
call fcn.10019380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x46c]
call fcn.10019410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c8]
call fcn.100b92a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10007910
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d02f2
mov esp, ebp
pop ebp
ret