Function at 0x47edf0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eab8
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x22c], eax
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [ebp - 0x248], ecx
xor ebx, ebx
xor edi, edi
call fcn.00421e00
add eax, 0x10
add esp, 4
mov dword [ebp - 0x228], eax
push 0x1b
push 0x5a16ac
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], ebx
call fcn.00422060
mov eax, dword [ebp - 0x228]
push 0x5a16a8
push eax
call fcn.00535b99
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47f273
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
push esi
mov byte [ebp - 4], 1
call fcn.0053632b
add esp, 4
test eax, eax
jne 0x47efaf
lea edi, [ebp - 0x218]
shr edi, 0x10
mov dword [ebp - 0x224], edi
jmp 0x47eeb9
mov edi, dword [ebp - 0x224]
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.005336c0
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00537a0b
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
add esp, 0x18
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
cmp edi, ebx
jne 0x47ef30
lea ecx, [ebp - 0x218]
movzx edi, cx
push ebx
push edi
call fcn.004219f0
add esp, 8
cmp eax, ebx
je 0x47ef62
push edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.00421f40
jmp 0x47ef62
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47ef40
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00422120
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 3
call fcn.00444060
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ef9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0053632b
add esp, 4
test eax, eax
je 0x47eeb3
push 0x5a16ac
lea ecx, [ebp - 0x21c]
call fcn.00422540
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 4
call fcn.00444060
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47effb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00536288
mov ebx, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x240]
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
sub ebx, edi
sar ebx, 2
add esp, 4
mov ecx, 0x5fcb00
xor esi, esi
mov dword [ebp - 0x244], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x224], edi
cmp edi, dword [ebp - 0x23c]
je 0x47f1ef
jmp 0x47f056
mov esi, dword [ebp - 0x24c]
inc esi
push ebx
push esi
mov ecx, 0x5ffb58
mov dword [ebp - 0x24c], esi
call fcn.00496a80
mov ecx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x47f081
mov ecx, dword [ecx + 0x28]
push ecx
push ebx
push esi
call eax
add esp, 0xc
mov ecx, dword [edi]
mov esi, dword [ebp - 0x220]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x47f0e4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x47f0d4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x47f0d4
push eax
call fcn.00421e00
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x47f0c3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x220], ebx
mov ebx, dword [ebp - 0x244]
jmp 0x47f0e4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.00422120
lea ecx, [ebp - 0x220]
call fcn.00464a50
mov ecx, eax
call fcn.00463a80
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x47f1ce
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x220]
push edx
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00423670
add esp, 0xc
mov esi, dword [ebp - 0x230]
push esi
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x47f1a8
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [ebp - 0x21c]
push str._s_d__x
push ecx
call fcn.004237a0
mov edi, dword [ebp - 0x21c]
push edi
push esi
call fcn.00535269
add esp, 0x18
test eax, eax
jne 0x47f188
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f1a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f1ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x224]
add edi, 4
mov dword [ebp - 0x224], edi
cmp edi, dword [ebp - 0x23c]
jne 0x47f050
mov edi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ecx]
push 1
push 0
push eax
call fcn.00470930
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f22a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
test edi, edi
je 0x47f26e
mov ebx, dword [ebp - 0x23c]
mov esi, edi
cmp edi, ebx
je 0x47f265
mov edi, edi
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f25e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, ebx
jne 0x47f240
push edi
call int.0042bfd0
add esp, 4
mov edi, 1
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f29c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret