Function at 0x4dcd20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575419
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4dcf00
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x74]
call fcn.004dcf30
mov dword [ebp - 0x1c], eax
push str.MYSHAREMEM
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 4
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0
je 0x4dce87
push 0
push 0
push 0
push 2
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.004dd340
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7c]
call fcn.00406410
push eax
mov ecx, dword [ebp - 0x74]
call fcn.004dc860
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00406210
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00542ad0
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.0053f10f
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0053d000
add esp, 4
push eax
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4dcf00
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.004dd340
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
call fcn.00406410
push eax
mov ecx, dword [ebp - 0x74]
call fcn.004dc860
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00406210
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0053d000
add esp, 4
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.0053f10f
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c