Function at 0x462880
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5307e2
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x5debe5], 0
jne 0x462bbd
mov byte [ebp - 0x6d8], 0
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - method.t_mutex::t_locker.virtual_0], vtable.t_mutex::t_locker.0
mov dword [ebp - 0x6e8], edi
push ecx
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 1
mov esi, 0x5c97c0
push eax
mov ecx, esi
call fcn.004638b0
test al, al
lea ecx, [ebp - 0x37c]
cmove esi, edi
mov dword [ebp - 0x6e8], esi
call fcn.0044fd40
lea edx, [ebp - 0x37c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6dc]
call fcn.0045fdf0
test al, al
je 0x462b70
cmp byte [ebp - 0x260], 0
lea eax, [ebp - 0x370]
push edi
cmove eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x134]
push edi
push edi
push edi
push edi
add eax, 4
push eax
call fcn.00451610
push edi
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x134]
call fcn.00452800
push edi
push edi
push edi
push edi
push edi
push str.temp.dll
lea ecx, [ebp - 0x258]
call fcn.00451610
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x24c]
mov edx, dword [ebp - 0x250]
test cl, cl
cmove eax, edx
cmp word [eax + 4], 0x2e
jne 0x4629b5
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x134]
call fcn.004527a0
jmp 0x462a02
test cl, cl
lea edi, [ebp - 0x24c]
mov ecx, dword [ebp - 0x130]
cmove edi, edx
add edi, 4
test ecx, ecx
je 0x4629e6
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
cmove eax, dword [ebp - 0x12c]
cmp word [eax + ecx*2 + 2], 0x5c
je 0x4629f6
push 0x597154
lea ecx, [ebp - 0x134]
call fcn.00450150
push edi
lea ecx, [ebp - 0x134]
call fcn.00450150
cmp byte [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x462a2e
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x462a2e
push eax
call fcn.004e1b56
add esp, 4
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.0045c820
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - method.t_fileWrite.1.virtual_0], vtable.t_fileWrite.1.0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x128]
cmp byte [ebp - 0x18], 0
push 0x80
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0045c980
test al, al
je 0x462b28
push 0x3490
push 0x58b3d0
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x380]
call fcn.0045d100
lea ecx, [ebp - 0x6d4]
call fcn.0045ce70
cmp byte [ebp - 0x18], 0
lea ecx, [ebp - 0x128]
cmove ecx, dword [ebp - 0x12c]
sub esp, 8
add ecx, 4
call fcn.00462690
movzx ecx, byte [0x5debe6]
add esp, 8
test eax, eax
mov byte [ebp - 0x6e0], 0
mov edx, 1
mov dword [ebp - 0x6e4], 0
cmove ecx, edx
mov byte [0x5debe6], cl
push 0
push 0
lea eax, [ebp - 0x6e4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x134]
call fcn.00452370
lea ecx, [ebp - 0x6e4]
call fcn.00450c20
lea ecx, [ebp - 0x6d4]
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - method.t_byteStreamWrite.virtual_0], vtable.t_byteStreamWrite.0
call fcn.0045c8c0
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x462b70
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x462b70
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x260], 0
mov byte [0x5debe5], 1
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x462ba3
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x462ba3
push eax
call fcn.004e1b56
add esp, 4
mov byte [ebp - 4], 0xf
test esi, esi
je 0x462bb2
mov ecx, esi
call fcn.00463970
lea ecx, [ebp - 0x6dc]
call fcn.00450c20
mov al, byte [0x5debe6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret