Function at 0x404dc0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c1dc
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [0x45604c]
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 [0x45fa9a], 0
jne 0x4050ae
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 - 0x6e0], edi
push ecx
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 1
mov esi, 0x4599f0
push eax
mov ecx, esi
call fcn.004091b0
test al, al
lea ecx, [ebp - 0x258]
cmove esi, edi
mov dword [ebp - 0x6e0], esi
call fcn.00406000
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6dc]
call fcn.00408470
test al, al
je 0x405016
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
push edi
cmove eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x134]
push edi
push edi
push edi
push edi
add eax, 4
push eax
call fcn.00402110
sub esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6dc]
lea ecx, [ebp - 0x134]
push eax
call fcn.004029b0
push edi
push edi
push edi
push edi
push edi
push str.temp.dll
lea ecx, [ebp - 0x37c]
call fcn.00402110
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00402420
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x404f03
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x404f03
push eax
call fcn.00429f77
add esp, 4
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.00405ac0
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - 0x380], 0x4503dc
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.00405c60
test al, al
je 0x404fce
push 0x3cc8
push 0x44a7d8
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x380]
call fcn.00409da0
lea ecx, [ebp - 0x6d4]
call fcn.00405e80
cmp byte [ebp - 0x18], 0
lea ecx, [ebp - 0x128]
cmove ecx, dword [ebp - 0x12c]
sub esp, 8
add ecx, 4
call fcn.00404bf0
movzx ecx, byte [0x45fa9b]
test eax, eax
mov edx, 1
cmove ecx, edx
add esp, 4
mov byte [0x45fa9b], cl
lea ecx, [ebp - 0x134]
call fcn.004027c0
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.00405ba0
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x405016
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x405016
push eax
call fcn.00429f77
add esp, 4
cmp byte [ebp - 0x13c], 0
mov byte [0x45fa9a], 1
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x405049
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x405049
push eax
call fcn.00429f77
add esp, 4
mov byte [ebp - 4], 5
test esi, esi
je 0x405058
mov ecx, esi
call fcn.00409270
mov eax, dword [ebp - 0x6dc]
test eax, eax
je 0x4050ae
mov esi, eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x6dc], eax
test esi, esi
je 0x4050aa
mov dword [esi], vtable.t_str.0
lea ecx, [esi + 0xc]
cmp byte [esi + 0x11c], 0
jne 0x405096
mov eax, dword [esi + 8]
cmp eax, ecx
je 0x405096
push eax
call fcn.00429f77
add esp, 4
push pe_nt_image_headers32
push esi
call fcn.004222a6
mov eax, dword [ebp - 0x6dc]
add esp, 8
test eax, eax
jne 0x405062
mov al, byte [0x45fa9b]
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.00422505
mov esp, ebp
pop ebp
ret