Function at 0x4d50f0
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d4ba
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5df7e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 1
jl 0x4d54f2
push 0x800
mov ebx, 0x400
call fcn.00512735
mov esi, eax
add esp, 4
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 4], 0
call fcn.004b98f0
mov ecx, eax
test ecx, ecx
je 0x4d550e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 2
mov edi, 0x14
call fcn.0049c9a9
mov dword [ebp - 0x2f0], eax
nop word [eax + eax]
lea ecx, [ebp + 0x10]
dec edi
push ecx
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x2f8], edi
push 0xffffffffffffffff
push ebx
push esi
push dword [eax + 4]
push dword [eax]
call fcn.00530f86
add esp, 0x20
mov ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x4d51ee
test esi, esi
jne 0x4d51c4
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x2ec]
call fcn.004bbc70
jmp 0x4d5238
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d51d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2ec]
call fcn.004bbc70
jmp 0x4d5238
call fcn.0052dba2
cmp dword [eax], 0x22
jne 0x4d54be
add ebx, ebx
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00512735
mov edi, eax
add esp, 4
cmp edi, esi
je 0x4d522a
push 2
push esi
call fcn.00511c7f
add esp, 8
mov esi, edi
mov dword [ebp - 0x2fc], esi
mov edi, dword [ebp - 0x2f8]
mov eax, dword [ebp - 0x2f0]
test edi, edi
jg 0x4d5180
push 0
call fcn.00536350
add esp, 4
mov dword [ebp - 0x2f4], eax
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2f0], edx
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0
lea ecx, [ebp - 0x30c]
movsd qword [ebp - 0x30c], xmm0
push eax
call fcn.004d4690
push str._Y__m__d__H:_M:_S_t
lea eax, [ebp - 0x2f8]
push eax
lea ecx, [ebp - 0x30c]
call fcn.004d4950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ec]
push ecx
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.004c7fc0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ec]
push eax
call fcn.004bad70
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x2f0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d52e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x2f8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d530a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x2f0]
push eax
call fcn.004d4bf0
mov byte [ebp - 4], 7
push str.UpdateUpdate.log
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.004baa80
add esp, 0x10
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x2f0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d5350
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x5e4ef8]
mov eax, 0x66666667
inc ecx
imul ecx
mov dword [0x5e4ef8], ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
jne 0x4d53e0
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x2e8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4d53e0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x240], 0xa00000
jbe 0x4d53e0
push 0x56d474
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.004baa80
add esp, 0xc
mov byte [ebp - 4], 0xb
push 9
push dword [eax]
push dword [ebp - 0x2e8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2f0]
call fcn.004badd0
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x2e8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d549b
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 3
push dword [ebp - 0x2ec]
lea eax, [ebp - 0x2e0]
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], eax
call fcn.004d5000
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2e4]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5444
push 0
lea eax, [ebp - 0x300]
sub ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push ecx
push edx
push ebx
call edi
push 0
lea eax, [ebp - 0x300]
push eax
push 2
push 0x5b8444
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2e0]
mov eax, dword [ebp - 0x2e4]
cmp eax, ecx
je 0x4d5498
push eax
call fcn.0052dbc0
add esp, 4
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x2e8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d54c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d54c1
or edi, 0xffffffff
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2ec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4d54e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
push 2
push esi
call fcn.00511c7f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005121be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004b95c0
int3