Function at 0x401f50
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4288b7
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x438860]
xor eax, esp
mov dword [esp + 0x6dc], eax
push ebx
push esi
push edi
mov eax, dword [0x438860]
xor eax, esp
push eax
lea eax, [esp + 0x6f0]
mov dword fs:[0], eax
xor eax, eax
cmp byte [0x43c177], al
jne 0x402214
mov byte [esp + 0x14], al
mov dword [esp + 0x10], eax
mov dword [esp + 0x6f8], eax
mov dword [esp + 0x18], vtable.t_mutex::t_locker.0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
mov ecx, 0x43e1b8
mov byte [esp + 0x6fc], 1
call fcn.004064d0
test al, al
je 0x401fd6
mov dword [esp + 0x1c], 0x43e1b8
lea edi, [esp + 0x26c]
call fcn.00402c90
mov esi, edi
lea ebx, [esp + 0x10]
mov byte [esp + 0x6f8], 2
call fcn.00405370
test al, al
je 0x4021bf
cmp byte [esp + 0x388], 0
lea eax, [esp + 0x278]
jne 0x402015
mov eax, dword [esp + 0x274]
push 0
push 0
push 0
push 0
push 0
add eax, 4
push eax
lea ecx, [esp + 0x15c]
call fcn.00403810
push 0
lea ecx, [esp + 0x14]
push ecx
mov bl, 3
lea ecx, [esp + 0x14c]
mov byte [esp + 0x700], bl
call fcn.00404130
push 0
push 0
push 0
push 0
push 0
push str.temp.dll
lea ecx, [esp + 0x38]
call fcn.00403810
lea eax, [esp + 0x20]
lea esi, [esp + 0x144]
call fcn.00403a80
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x40209a
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x40209a
push eax
call fcn.00411ae3
add esp, 4
lea eax, [esp + 0x394]
push eax
call fcn.00405aa0
mov esi, vtable.t_fileWrite.0
mov dword [esp + 0x394], esi
mov dword [esp + 0x6e8], 0x433374
mov byte [esp + 0x6f8], 4
cmp byte [esp + 0x260], 0
lea eax, [esp + 0x150]
jne 0x4020de
mov eax, dword [esp + 0x14c]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x39c]
push edx
lea eax, [esp + 0x150]
call fcn.00405c30
test al, al
je 0x40216a
push 0x3490
push 0x42e9f0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x6f4]
call fcn.00406900
lea edi, [esp + 0x394]
call fcn.00405e60
cmp byte [esp + 0x260], 0
lea eax, [esp + 0x150]
jne 0x40214b
mov eax, dword [esp + 0x14c]
lea ecx, [eax + 4]
call fcn.00401e40
test eax, eax
jne 0x40215e
mov byte [0x43c176], 1
lea ecx, [esp + 0x144]
call fcn.00403f70
mov byte [esp + 0x6f8], bl
lea ecx, [esp + 0x394]
mov dword [esp + 0x394], esi
mov dword [esp + 0x6e8], 0x4337ac
call fcn.00405b60
cmp byte [esp + 0x260], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4021bf
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x4021bf
push eax
call fcn.00411ae3
add esp, 4
cmp byte [esp + 0x388], 0
mov byte [0x43c177], 1
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4021f6
mov eax, dword [esp + 0x274]
lea edx, [esp + 0x278]
cmp eax, edx
je 0x4021f6
push eax
call fcn.00411ae3
add esp, 4
mov byte [esp + 0x6f8], 0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x40220b
call fcn.004065a0
lea ecx, [esp + 0x10]
call fcn.00402920
mov al, byte [0x43c176]
mov ecx, dword [esp + 0x6f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6dc]
xor ecx, esp
call fcn.00411e9c
add esp, 0x6ec
ret