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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4efc64]
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.00423f4c
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.00479670
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 0x47af66
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 0x47af2e
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 0x47af4d
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.00423f4c
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00462eb0
add esp, 8
test eax, eax
jne 0x47aff1
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 0x47afb2
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 0x47afd8
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 0x47b022
mov dword [ebp - 0x10], 0xc
jmp 0x47b105
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 0x47b0fe
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 0x47b105
mov edx, dword [ebp - 0x28]
ja 0x47b086
test edx, edx
jbe 0x47b105
jmp 0x47b086
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 0x47b0a1
jb 0x47b09c
cmp ecx, edx
jae 0x47b0a1
mov dword [ebp - 0x14], esi
jmp 0x47b0a8
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 0x47b016
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.00479320
push esi
test eax, eax
je 0x47b0f8
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add edi, dword [ebp - 0x30]
adc ebx, dword [ebp - 0x2c]
cmp ebx, dword [ebp - 0x24]
jb 0x47b080
ja 0x47b105
cmp edi, dword [ebp - 0x28]
jb 0x47b080
jmp 0x47b105
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 0x47b116
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47b120
push eax
call esi
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x47b131
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 0x47b154
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 0x47b17a
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