Function at 0x14007c170
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.14007aa70
mov rsi, rax
test rax, rax
je 0x14007c3dd
test rbx, rbx
je 0x14007c2fb
sub rbx, 1
je 0x14007c1dc
cmp rbx, 1
jne 0x14007c3dd
mov r8, qword [rdi]
mov rdx, rax
mov rcx, rdi
call qword [r8 + 0x10]
mov edx, ebp
mov rcx, rdi
call fcn.14007a550
jmp 0x14007c3dd
mov rax, qword [rax + 0x138]
lea rbx, [rsi + 0xa8]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14007c2ea
mov r8d, 0x13
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14007c640
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
test eax, eax
je 0x14007c230
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.14007c640
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 0x14007c284
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.14007c640
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.14007c640
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 0x14007c3dd
mov rcx, qword [rax + 0x140]
test rcx, rcx
je 0x14007c30d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
mov qword [rsi + 0x140], rbp
cmp dword [rsi + 0x90], 4
jne 0x14007c326
or dword [rsi + 0x60], 0x800000
mov eax, dword [rsi + 0x38]
test eax, eax
jle 0x14007c349
cmp eax, 2
jle 0x14007c340
cmp eax, 3
jne 0x14007c349
lea rdx, str.DELETE
jmp 0x14007c350
lea rdx, str.POST
jmp 0x14007c350
lea rdx, [0x14015a3b0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
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, [0x1400815a0]
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