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

Disassembly:
push 0xffffffffffffffff
push 0x4ef401
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [0x532f2c]
sub eax, dword [0x532f28]
xor ebx, ebx
test eax, 0xfffffffc
jne 0x47764c
cmp byte [esp + 0xfc], bl
je 0x477988
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
push 3
push 0x50abbc
lea ecx, [esp + 0x38]
mov dword [esp + 0xfc], ebx
call fcn.00404980
mov ebp, dword [0x532f2c]
sub ebp, dword [0x532f28]
xor esi, esi
sar ebp, 2
cmp ebp, ebx
jle 0x47784f
lea esp, [esp]
push 8
push str.__id_:_
lea eax, [esp + 0x38]
call fcn.00409900
mov ecx, dword [0x532f2c]
sub ecx, dword [0x532f28]
sar ecx, 2
cmp esi, ecx
jb 0x4776b8
call fcn.004c96d9
mov edx, dword [0x532f28]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x88]
push 0x5082a8
push edx
call fcn.004cb3cf
lea eax, [esp + 0x90]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4776e4
sub eax, edx
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x38]
call fcn.00409900
push 0xa
push str.___name_:_
lea eax, [esp + 0x38]
call fcn.00409900
mov ecx, dword [0x532f2c]
sub ecx, dword [0x532f28]
sar ecx, 2
cmp esi, ecx
jb 0x477727
call fcn.004c96d9
mov edx, dword [0x532f28]
mov eax, dword [edx + esi*4]
add eax, 8
cmp dword [eax + 0x18], 8
jb 0x47773e
mov eax, dword [eax + 4]
jmp 0x477741
add eax, 4
push eax
lea edi, [esp + 0x18]
call fcn.0047fa70
mov edi, 0x10
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x47775d
mov eax, dword [eax + 4]
jmp 0x477760
add eax, 4
push eax
lea eax, [esp + 0x88]
push 0x50abd8
push eax
call fcn.004cb3cf
add esp, 0xc
cmp dword [esp + 0x2c], edi
jb 0x477789
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x84]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477793
sub eax, edx
push eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x38]
call fcn.00409900
push 0xe
push str.___localnum_:_
lea eax, [esp + 0x38]
call fcn.00409900
mov eax, dword [0x532f2c]
sub eax, dword [0x532f28]
sar eax, 2
cmp esi, eax
jb 0x4777d5
call fcn.004c96d9
mov ecx, dword [0x532f28]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 0x2c]
push eax
lea ecx, [esp + 0x88]
push 0x5082a8
push ecx
call fcn.004cb3cf
lea eax, [esp + 0x90]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477801
sub eax, edx
push eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x38]
call fcn.00409900
lea eax, [ebp - 1]
mov edx, str.__r_n
cmp esi, eax
je 0x47782d
mov edx, str.___r_n
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477832
sub eax, edi
push eax
push edx
lea eax, [esp + 0x38]
call fcn.00409900
inc esi
cmp esi, ebp
jl 0x477690
push 1
push 0x509d0c
lea eax, [esp + 0x38]
call fcn.00409900
lea esi, [esp + 0x68]
call fcn.004784a0
push 0xffffffffffffffff
mov byte [esp + 0xf8], 1
xor eax, eax
push ebx
mov ecx, esi
mov word [esp + 0x58], ax
mov edi, 7
push ecx
lea eax, [esp + 0x58]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
call fcn.00401850
push 4
push 0x50ab6c
lea eax, [esp + 0x54]
mov byte [esp + 0xfc], 2
call fcn.004088a0
mov eax, dword [esp + 0x50]
mov ebp, 8
cmp dword [esp + 0x64], ebp
jae 0x4778be
lea eax, [esp + 0x50]
push 0x5092fc
push eax
call fcn.004c97af
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47792a
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x4778e1
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x44]
push esi
push edx
push 1
push eax
call fcn.004ca3f1
push esi
call fcn.004ccea0
push esi
call fcn.004c9c66
mov ecx, dword [esp + 0x84]
add esp, 0x18
cmp dword [esp + 0x80], ebp
jae 0x477912
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebp
jae 0x477920
lea eax, [esp + 0x50]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esp + 0x64], ebp
jb 0x47793d
mov eax, dword [esp + 0x50]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
cmp dword [esp + 0x80], ebp
jb 0x477962
mov edx, dword [esp + 0x6c]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], ax
jb 0x477988
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004c8f08
add esp, 0xe4
ret