Function at 0x53dc50
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 0x53dda9
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 esi, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov edx, ebx
mov dword [esp + 0x18], eax
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x1c], al
mov byte [esp + 0x26], al
shr ecx, 8
mov eax, ebx
mov byte [esp + 0x29], cl
shr eax, 0x10
mov ecx, ebx
mov byte [esp + 0x2a], al
mov al, byte [esp + 0xc0]
push 0
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 ecx, 8
shr edx, 9
mov byte [esp + 0x37], cl
mov byte [esp + 0x38], al
lea ecx, [esp + 0x10]
mov eax, edx
mov byte [esp + 0x3b], dl
push ecx
lea edx, [esp + 0x28]
push 0x1f
shr eax, 8
push edx
push esi
mov byte [esp + 0x34], 0x55
mov byte [esp + 0x35], 0x53
mov byte [esp + 0x36], 0x42
mov byte [esp + 0x37], 0x43
mov byte [esp + 0x3b], 2
mov byte [esp + 0x3c], bl
mov byte [esp + 0x42], 0xa
mov byte [esp + 0x4a], al
call edi
test eax, eax
jne 0x53dd49
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0xc]
push 0
push eax
push ebx
push ecx
push esi
call edi
test eax, eax
jne 0x53dd6a
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x18]
push 0xd
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x53dd94
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 edx, dword [esp + 0xb4]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov byte [esp + 0x43], al
mov byte [esp + 0x45], al
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov al, byte [esp + 0xbc]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x5c], al
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, 0x11
shr ecx, 9
cmp esi, 0xffffffff
mov byte [esp + 0x44], 1
mov byte [esp + 0x46], 0x10
mov dword [esp + 0x50], 0x14
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 0x53de86
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