Function at 0x47ae10
Capabilities:
Delete file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc160
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00423fbb
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
add esp, 4
push eax
push esi
call fcn.004795e0
mov edi, eax
xor eax, eax
or ebx, 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
cmp edi, eax
jne 0x47aed6
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47aebd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov ebx, esp
push eax
call fcn.00423fbb
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00463070
add esp, 8
test eax, eax
jne 0x47af61
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47af22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47af48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x47af92
mov dword [ebp - 0x10], 0xc
jmp 0x47b075
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp + 0xc]
push 0
push ebx
push edi
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x47b06e
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
xor edi, edi
xor ebx, ebx
add eax, dword [edx]
adc ecx, dword [edx + 4]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
cmp dword [ebp - 0x24], ebx
jb 0x47b075
mov edx, dword [ebp - 0x28]
ja 0x47aff6
test edx, edx
jbe 0x47b075
jmp 0x47aff6
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov esi, dword [esi + 0x70]
xor eax, eax
mov ecx, esi
add ecx, edi
adc eax, ebx
cmp eax, dword [ebp - 0x24]
ja 0x47b011
jb 0x47b00c
cmp ecx, edx
jae 0x47b011
mov dword [ebp - 0x14], esi
jmp 0x47b018
mov eax, edx
sub eax, edi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push edi
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x47af86
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], edx
call fcn.00479290
push esi
test eax, eax
je 0x47b068
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add edi, dword [ebp - 0x30]
adc ebx, dword [ebp - 0x2c]
cmp ebx, dword [ebp - 0x24]
jb 0x47aff0
ja 0x47b075
cmp edi, dword [ebp - 0x28]
jb 0x47aff0
jmp 0x47b075
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x10], 8
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x47b086
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47b090
push eax
call esi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x47b0a1
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47b0c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b0ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10