Function at 0x411450
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
sub rsp, 0xb8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbp, rcx
mov esi, 0x80
mov edi, 2
test dl, dl
cmovne esi, edi
call fcn.004110c0
lea rbx, str.Heavenward
xor ecx, ecx
cmp eax, 1
cmovg rbx, rcx
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.00421be0
nop
lea rdi, str.HeavenwardLightLogger
cmp qword [rsp + 0x50], 0
je 0x4114e5
mov rdx, rdi
test rbx, rbx
cmovne rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const___ptr64]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov edx, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x20]
call fcn.00421be0
nop
cmp qword [rsp + 0x30], 0
je 0x411534
mov rdx, rdi
test rbx, rbx
cmovne rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const___ptr64]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov edx, 0x23
lea rcx, [rsp + 0x80]
call fcn.00421be0
nop
cmp qword [rsp + 0x90], 0
je 0x41158f
test rbx, rbx
cmovne rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x80]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.msvcp60.dll_public:_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const___ptr64]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov edx, reloc.WS2_32.dll_inet_addr
lea rcx, [rsp + 0x60]
call fcn.00421be0
nop
cmp qword [rsp + 0x70], 0
je 0x4115de
lea rdx, str.LightLogger.lnk
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcp60.dll_public:_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const___ptr64]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rax, rbp
mov rbx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
add rsp, 0xb8
ret