Function at 0x14007c8c0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rbx, r8
mov ebp, edx
mov rdi, rcx
call fcn.14007b0c0
mov rsi, rax
test rax, rax
je 0x14007cb2d
test rbx, rbx
je 0x14007ca4b
sub rbx, 1
je 0x14007c92c
cmp rbx, 1
jne 0x14007cb2d
mov r8, qword [rdi]
mov rdx, rax
mov rcx, rdi
call qword [r8 + 0x10]
mov edx, ebp
mov rcx, rdi
call fcn.14007aba0
jmp 0x14007cb2d
mov rax, qword [rax + 0x138]
lea rbx, [rsi + 0xa8]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14007ca3a
mov r8d, 0x13
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14007cd90
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
je 0x14007c980
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [rbx], eax
mov r8d, 5
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14007cd90
nop
mov rdx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
je 0x14007c9d4
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [rbx + 4], eax
mov r8d, inet_ntoa
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14007cd90
nop
lea rcx, [rbx + 8]
mov rdx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov r8d, 0x25
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14007cd90
nop
lea rcx, [rbx + 0x10]
mov rdx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14007cb2d
mov rcx, qword [rax + 0x140]
test rcx, rcx
je 0x14007ca5d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov qword [rsi + 0x140], rbp
cmp dword [rsi + 0x90], 4
jne 0x14007ca76
or dword [rsi + 0x60], 0x800000
mov eax, dword [rsi + 0x38]
test eax, eax
jle 0x14007ca99
cmp eax, 2
jle 0x14007ca90
cmp eax, 3
jne 0x14007ca99
lea rdx, str.DELETE
jmp 0x14007caa0
lea rdx, str.POST
jmp 0x14007caa0
lea rdx, [0x14015f558]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rdi, qword [rsi + 0x130]
lea rcx, [rsi + 0xa0]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov qword [rsp + 0x38], rbp
mov r8d, dword [rsi + 0x60]
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsi + 0x138], rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rsi
lea r8, [0x140082020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x148], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret