Function at 0x436d40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e21f2
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x513200]
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 [0x52fbba], 0
jne 0x437007
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, 0x52c5a0
push eax
mov ecx, esi
call fcn.00437450
test al, al
lea ecx, [ebp - 0x258]
cmove esi, edi
mov dword [ebp - 0x6e8], esi
call fcn.00403480
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6dc]
call fcn.00419b70
test al, al
je 0x436fba
cmp byte [ebp - 0x13c], 0
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x134]
cmove eax, dword [ebp - 0x250]
sub esp, 0x10
add eax, 4
push edi
push eax
call fcn.0040e650
push ecx
lea eax, [ebp - 0x6dc]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x134]
call fcn.00410100
sub esp, 0x10
lea ecx, [ebp - 0x37c]
push edi
push str.temp.dll
call fcn.0040e650
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040ebd0
cmp byte [ebp - 0x260], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x436e7f
mov eax, dword [ebp - 0x374]
lea ecx, [ebp - 0x370]
cmp eax, ecx
je 0x436e7f
push eax
call fcn.00496f41
add esp, 4
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.00430730
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.004308d0
test al, al
je 0x436f72
push 0x3490
push 0x4f6b40
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x380]
call fcn.00442c90
lea ecx, [ebp - 0x6d4]
call fcn.00430cb0
cmp byte [ebp - 0x18], 0
lea ecx, [ebp - 0x128]
cmove ecx, dword [ebp - 0x12c]
add ecx, 4
call fcn.00436b60
movzx ecx, byte [0x52fbbb]
test eax, eax
mov edx, 1
mov byte [ebp - 0x6e0], 0
cmove ecx, edx
mov dword [ebp - 0x6e4], 0
mov byte [0x52fbbb], cl
sub esp, 8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6e4]
lea ecx, [ebp - 0x134]
push eax
call fcn.0040fac0
lea ecx, [ebp - 0x6e4]
call fcn.00426230
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.00430810
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x436fba
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x436fba
push eax
call fcn.00496f41
add esp, 4
cmp byte [ebp - 0x13c], 0
mov byte [0x52fbba], 1
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x436fed
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x24c]
cmp eax, ecx
je 0x436fed
push eax
call fcn.00496f41
add esp, 4
mov byte [ebp - 4], 0xe
test esi, esi
je 0x436ffc
mov ecx, esi
call fcn.00437500
lea ecx, [ebp - 0x6dc]
call fcn.00426230
mov al, byte [0x52fbbb]
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.00489940
mov esp, ebp
pop ebp
ret