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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x84
test eax, eax
push ebx
push esi
push edi
je 0x53e24f
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
mov ebx, dword [esp + 0xb8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x10], eax
mov edx, ebx
mov dword [esp + 0x14], eax
push 0
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], 0x55
mov byte [esp + 0x20], al
mov eax, ebx
shr ecx, 8
mov byte [esp + 0x2d], cl
mov ecx, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov al, byte [esp + 0xc4]
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov cl, byte [esp + 0xc0]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x33], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x35], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x36], cl
mov ecx, eax
shr edx, 0xb
shr ecx, 8
mov byte [esp + 0x38], al
mov eax, edx
mov byte [esp + 0x37], cl
lea ecx, [esp + 0x10]
shr eax, 8
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0xa0]
push ecx
lea edx, [esp + 0x28]
push 0x1f
push edx
push eax
mov byte [esp + 0x35], 0x53
mov byte [esp + 0x36], 0x42
mov byte [esp + 0x37], 0x43
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], 0x2c
mov byte [esp + 0x3c], bl
mov byte [esp + 0x40], 0x80
mov byte [esp + 0x42], 0xa
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x53e1ed
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
push edx
push esi
call edi
test eax, eax
jne 0x53e21b
pop edi
pop esi
pop ebx
add esp, 0x84
ret
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 0xd
push ecx
push esi
call edi
test eax, eax
jne 0x53e23a
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov cl, byte [esp + 0x1c]
xor eax, eax
test cl, cl
pop edi
pop esi
sete al
pop ebx
add esp, 0x84
ret
mov dl, byte [esp + 0xc0]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov byte [esp + 0x43], al
mov al, 1
mov byte [esp + 0x45], dl
mov dl, byte [esp + 0xbc]
mov byte [esp + 0x44], al
mov byte [esp + 0x48], al
mov eax, dword [esp + 0xb4]
mov byte [esp + 0x5c], dl
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x54], eax
mov eax, edx
mov esi, dword [esp + 0xac]
xor ebx, ebx
shr eax, 0x10
mov bl, ah
mov byte [esp + 0x5f], al
xor eax, eax
mov byte [esp + 0x61], dl
mov al, dh
mov edx, ecx
mov dword [esp + 0x4c], ecx
mov word [esp + 0x40], 0x2c
shr edx, 0x13
shr ecx, 0xb
cmp esi, 0xffffffff
mov byte [esp + 0x46], 0x10
mov byte [esp + 0x47], 0
mov dword [esp + 0x50], 0x12c
mov dword [esp + 0x58], 0x30
mov byte [esp + 0x5e], bl
mov byte [esp + 0x60], al
mov byte [esp + 0x63], dl
mov byte [esp + 0x64], cl
mov dword [esp + 0xc], 0
je 0x53e335
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x48]
push 0x50
push ecx
lea edx, [esp + 0x50]
push 0x50
push edx
push 0x4d014
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov edi, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x84
ret