Function at 0x47ea00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2b4
mov eax, dword [0x6b000c]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0xa8]
push esi
push edi
push ebx
mov esi, ecx
mov dword [esp + 0x14], 0
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.._EFS
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp byte [esi + 8], 0
je 0x47eaa6
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
lea eax, [esp + 0xb0]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x47eaa6
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push ebx
call esi
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x47eabf
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
push dword [eax + 4]
call fcn.005a59ed
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 4]
push esi
push edi
call ebx
push esi
call fcn.005a51fb
push 4
lea eax, [esp + 0x90]
mov dword [esp + 0x98], 0
push str.NTFS
push eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x94], 0x2a
call fcn.005a829a
push 7
lea eax, [esp + 0xb4]
push 0x64f860
push eax
call fcn.005a829a
add esp, 0x1c
mov dword [esp + 0x9c], 0xe
lea eax, [esp + 0x10]
push 0
push eax
push 0x2a
lea eax, [esp + 0x90]
push eax
push edi
call ebx
push 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], 0x10
push str.GURE
push eax
mov dword [esp + 0x7c], 0
call fcn.005a829a
add esp, 0xc
mov dword [esp + 0x64], 0x10200
lea eax, [esp + 0x10]
push 0
push eax
push 0x10
lea eax, [esp + 0x70]
push eax
push edi
call ebx
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x50], 0x1f0
push eax
push 0x20
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], 0x10000
push eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0x10000
push edi
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0x10100000
mov dword [esp + 0x70], 0x1010c
mov dword [esp + 0x74], 0x10000
call ebx
push 0x1d0
call fcn.005a59ed
push 0x1d0
mov esi, eax
push 0
push esi
mov dword [esp + 0x30], esi
call fcn.00588800
add esp, 0x10
lea eax, [esp + 0x10]
push 0
push eax
push 0x1d0
push esi
push edi
call ebx
push 0x10000
call fcn.005a59ed
add esp, 4
mov dword [esp + 0x18], 0
mov esi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], esi
push 0
push eax
push 0x10000
push esi
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push esi
push edi
call ebx
xor ebx, ebx
lea eax, [esp + 0x10]
push ebx
push eax
push 0x10000
push dword [esp + 0x20]
mov esi, 1
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ed9b
nop word [eax + eax]
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 0x10
push str.GURE
push eax
mov dword [esp + 0x8c], 0
call fcn.005a829a
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x200
mov dword [esp + 0x74], eax
lea eax, [esp + 0x18]
push 0
push eax
push 0x10
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
mov dword [esp + 0x2c], 0x1f0
mov ecx, ebx
mov dword [esp + 0x38], 0x10100000
shld ecx, eax, 0x10
push 0
shl eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
push eax
push 0x20
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
push eax
push edi
mov dword [esp + 0x50], 0x1010c
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x1c]
push eax
push 0x1d0
push dword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 0x10000
jne 0x47ed9b
push 0
lea eax, [esp + 0x14]
add esi, 1
push eax
push 0x10000
push dword [esp + 0x20]
adc ebx, 0
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47eca0
push dword [esp + 0x14]
call fcn.005a51fb
push dword [esp + 0x24]
call fcn.005a51fb
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push edi
call esi
push dword [esp + 0x1c]
call esi
mov ecx, dword [esp + 0x2bc]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4