Function at 0x477c30
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 [0x532f14]
sub eax, dword [0x532f10]
xor ebx, ebx
test eax, 0xfffffffc
jne 0x477c8c
cmp byte [esp + 0xfc], bl
je 0x477fc8
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 [0x532f14]
sub ebp, dword [0x532f10]
xor esi, esi
sar ebp, 2
cmp ebp, ebx
jle 0x477e8f
lea esp, [esp]
push 8
push str.__id_:_
lea eax, [esp + 0x38]
call fcn.00409900
mov ecx, dword [0x532f14]
sub ecx, dword [0x532f10]
sar ecx, 2
cmp esi, ecx
jb 0x477cf8
call fcn.004c96d9
mov edx, dword [0x532f10]
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 0x477d24
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 [0x532f14]
sub ecx, dword [0x532f10]
sar ecx, 2
cmp esi, ecx
jb 0x477d67
call fcn.004c96d9
mov edx, dword [0x532f10]
mov eax, dword [edx + esi*4]
add eax, 8
cmp dword [eax + 0x18], 8
jb 0x477d7e
mov eax, dword [eax + 4]
jmp 0x477d81
add eax, 4
push eax
lea edi, [esp + 0x18]
call fcn.0047fa70
mov edi, 0x10
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x477d9d
mov eax, dword [eax + 4]
jmp 0x477da0
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 0x477dc9
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 0x477dd3
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 [0x532f14]
sub eax, dword [0x532f10]
sar eax, 2
cmp esi, eax
jb 0x477e15
call fcn.004c96d9
mov ecx, dword [0x532f10]
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 0x477e41
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 0x477e6d
mov edx, str.___r_n
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477e72
sub eax, edi
push eax
push edx
lea eax, [esp + 0x38]
call fcn.00409900
inc esi
cmp esi, ebp
jl 0x477cd0
push 1
push 0x509d0c
lea eax, [esp + 0x38]
call fcn.00409900
lea esi, [esp + 0x68]
call fcn.00478480
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 0x477efe
lea eax, [esp + 0x50]
push 0x5092fc
push eax
call fcn.004c97af
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x477f6a
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x477f21
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 0x477f52
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], ebp
jae 0x477f60
lea eax, [esp + 0x50]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esp + 0x64], ebp
jb 0x477f7d
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 0x477fa2
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 0x477fc8
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