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

Disassembly:
push 0xffffffffffffffff
push 0x4ef4d1
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov esi, dword [0x532e64]
xor ebp, ebp
cmp esi, ebp
je 0x475279
add esi, 0x144
cmp esi, ebp
je 0x475279
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
push 1
push 0x50aab8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1a0], ebp
call fcn.00404980
mov ebx, dword [esi + 0x14]
sub ebx, dword [esi + 0x10]
mov byte [esp + 0x17], 1
sar ebx, 2
cmp ebx, ebp
mov dword [esp + 0x24], ebx
jle 0x47513d
jmp 0x474ef0
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sar eax, 2
cmp ebp, eax
jb 0x474f02
call fcn.004c96d9
mov ecx, dword [esi + 0x10]
lea edi, [ebp*4]
mov edx, dword [edi + ecx]
cmp byte [edx + 0x14d], 0
jne 0x474f5c
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x474f29
call fcn.004c96d9
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + ecx]
cmp byte [edx + 0x14f], 0
jne 0x474f5c
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x474f49
call fcn.004c96d9
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + ecx]
cmp byte [edx + 0x150], 0
je 0x475132
cmp byte [esp + 0x17], 0
mov edx, str._r_n_r_n
jne 0x474f6d
mov edx, str.__r_n_r_n
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474f72
sub eax, ebx
push eax
push edx
lea eax, [esp + 0x5c]
call fcn.00409900
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
mov byte [esp + 0x17], 0
sar eax, 2
cmp ebp, eax
jb 0x474f9d
call fcn.004c96d9
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
add eax, edi
sar ecx, 2
mov dword [esp + 0x30], eax
cmp ebp, ecx
jb 0x474fb8
call fcn.004c96d9
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
add eax, edi
sar edx, 2
mov dword [esp + 0x20], eax
cmp ebp, edx
jb 0x474fd3
call fcn.004c96d9
mov eax, dword [esi + 0x10]
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sar eax, 2
cmp ebp, eax
jb 0x474fee
call fcn.004c96d9
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
add eax, edi
sar ecx, 2
mov dword [esp + 0x28], eax
cmp ebp, ecx
jb 0x475009
call fcn.004c96d9
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
add eax, edi
sar edx, 2
mov dword [esp + 0x34], eax
cmp ebp, edx
jb 0x475024
call fcn.004c96d9
mov eax, dword [esi + 0x10]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sar eax, 2
cmp ebp, eax
jb 0x47503f
call fcn.004c96d9
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x10]
add eax, edi
sar ecx, 2
mov dword [esp + 0x1c], eax
cmp ebp, ecx
jb 0x47505a
call fcn.004c96d9
mov edx, dword [esi + 0x14]
sub edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x10]
sar edx, 2
add ebx, edi
cmp ebp, edx
jb 0x475071
call fcn.004c96d9
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x188]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [ecx + 0x184]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [ecx + 0x180]
mov ecx, dword [eax]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [ecx + 0x17c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [ecx + 0x178]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
push edx
movzx edx, byte [ecx + 0x150]
mov ecx, dword [eax]
mov eax, dword [ebx]
push edx
movzx edx, byte [ecx + 0x14f]
movzx ecx, byte [eax + 0x14d]
push edx
mov edx, dword [esi + 0x10]
mov eax, dword [edi + edx]
push ecx
mov ecx, dword [eax + 8]
push 0
push ecx
lea edx, [esp + 0xb4]
push str.__id__:___d___r_n__sc__:___d____r_n__dl__:___d_____r_n__as__:___d___r_n__ss__:___d___r_n__dlnum__:___d____r_n__scnum__:___d____r_n__asnum__:___d_____r_n__ssnum__:___d_____r_n__ht__:___d___r_n
push edx
call fcn.004cb3cf
lea eax, [esp + 0xbc]
add esp, 0x30
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x475103
sub eax, ecx
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x5c]
call fcn.00409900
push 1
push 0x509d4c
lea eax, [esp + 0x5c]
call fcn.00409900
mov ebx, dword [esp + 0x24]
inc ebp
cmp ebp, ebx
jl 0x474ef0
xor ebp, ebp
push 3
push 0x50a8f0
lea eax, [esp + 0x5c]
call fcn.00409900
lea esi, [esp + 0x70]
call fcn.004741f0
push 0xffffffffffffffff
mov byte [esp + 0x19c], 1
push ebp
mov edx, esi
xor ecx, ecx
mov ebx, 7
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], cx
call fcn.00401850
push 4
push 0x50ab6c
lea eax, [esp + 0x40]
mov byte [esp + 0x1a0], 2
call fcn.004088a0
mov eax, dword [esp + 0x3c]
mov edi, 8
cmp dword [esp + 0x50], edi
jae 0x4751ac
lea eax, [esp + 0x3c]
push 0x5092fc
push eax
call fcn.004c97af
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x475218
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4751cf
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x68]
push esi
push ecx
push 1
push eax
call fcn.004ca3f1
push esi
call fcn.004ccea0
push esi
call fcn.004c9c66
mov ecx, dword [esp + 0x8c]
add esp, 0x18
cmp dword [esp + 0x88], edi
jae 0x475200
lea ecx, [esp + 0x74]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x47520e
lea eax, [esp + 0x3c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esp + 0x50], edi
jb 0x47522b
mov edx, dword [esp + 0x3c]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], ax
cmp dword [esp + 0x88], edi
jb 0x475250
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], dx
jb 0x475279
mov eax, dword [esp + 0x58]
push eax
call fcn.004c8f17
add esp, 4
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004c8f08
add esp, 0x188
ret