Function at 0x1402495d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x14039e2e8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov edx, 0xf1
mov ecx, 0xa
call sub.mfc140u.dll_AfxCriticalNewHandler
mov r15, rax
test rax, rax
je 0x140249ad2
mov edx, 0xa
mov r8d, 0xf1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140249ad2
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140249ad2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140249ad2
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 1], xmm1
movups xmmword [rbp + 0xf], xmm1
mov dword [rsp + 0x20], 0xa
mov r9, rbx
mov r8, rdi
mov edx, 0x50000000
mov rcx, r14
call sub.mfc140u.dll_CDockingManager::Create
mov r12d, eax
test eax, eax
je 0x140249acd
xor r9d, r9d
mov edx, CAnimateCtrl::~CAnimateCtrl
lea r8d, [r9 + 0x20]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ebx, word [rsi + 4]
movzx edi, word [rsi + 2]
mov r9d, ebx
shl r9, 0x10
or r9, rdi
xor r8d, r8d
mov edx, CAnimationController::~CAnimationController
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add bx, 4
movzx r9d, bx
shl r9, 0x10
add di, 4
movzx eax, di
or r9, rax
xor r8d, r8d
mov edx, reloc.mfc140u.dll_CAnimateCtrl::CAnimateCtrl
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [rbp - 0x19], 4
mov qword [rbp - 9], 0xffffffffffffffff
xor edi, edi
mov dword [rbp - 0x21], edi
mov qword [rbp + 0x17], 0xffffffffffffffff
mov byte [rbp + 8], 1
movzx ebx, di
cmp di, word [rsi + 6]
jae 0x140249776
nop word [rax + rax]
movzx eax, bx
movzx edx, word [rsi + rax*2 + 8]
mov rcx, qword [r14 + 0x40]
mov r8d, 1
test dx, dx
jne 0x140249758
lea r9, [rbp - 1]
mov edx, 0x414
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14024976d
mov dword [rbp - 0x1d], edx
lea r9, [rbp - 0x21]
mov edx, 0x414
call qword [sym.imp.USER32.dll_SendMessageW]
inc dword [rbp - 0x21]
inc bx
cmp bx, word [rsi + 6]
jb 0x140249730
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadImageW]
mov rbx, rax
test rax, rax
je 0x140249ad2
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
lea r8, [rbp - 0x51]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov rcx, rbx
call sub.mfc140u.dll_CMFCVisualManagerBitmapCache::FindIndex
mov r8, rax
movzx ecx, word [rsi + 2]
mov eax, dword [rbp - 0x4d]
cdq
idiv ecx
mov edx, eax
mov rcx, r14
call sub.mfc140u.dll_CFrameWndEx::ActiveItemRecalcLayout
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov r15d, gethostbyname
mov dword [rsp + 0x48], r15d
mov esi, 0x80
mov word [rbp - 0x6f], si
mov dword [rbp - 0x7d], 0x80000040
lea r9, [rsp + 0x48]
mov edx, CD2DTextFormat::~CD2DTextFormat
lea r8d, [r15 - 0x2e]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x31]
mov edx, reloc.mfc140u.dll_AFX_MODULE_STATE::AFX_MODULE_STATE
lea r8d, [r15 - 0x2e]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add dword [rbp - 0x25], esi
mov rax, qword [r14 + 0xe8]
mov dword [rsp + 0x20], 0x1f
mov r9, r14
lea r8, [rbp - 0x31]
mov edx, 0x50200342
lea rcx, [r14 + 0xe8]
call qword [rax + 0x2d8]
test eax, eax
je 0x140249acd
lea ecx, [rsi - 0x74]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rax
call sub.mfc140u.dll_CMFCVisualManagerBitmapCache::FindIndex
test rax, rax
mov r8, rdi
je 0x14024987f
mov r8, qword [rax + 8]
mov r9d, 1
mov edx, r15d
mov rcx, qword [r14 + 0x128]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [r14 + 0xe8]
call fcn.140248780
mov word [rbp - 0x6f], r15w
lea r9, [rsp + 0x48]
mov edx, CD2DTextFormat::~CD2DTextFormat
mov r8d, 4
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x31]
mov edx, reloc.mfc140u.dll_AFX_MODULE_STATE::AFX_MODULE_STATE
mov r8d, 4
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
add dword [rbp - 0x25], esi
mov rax, qword [r14 + 0x1d8]
mov dword [rsp + 0x20], 0x20
mov r9, r14
lea r8, [rbp - 0x31]
mov edx, 0x50000243
lea rcx, [r14 + 0x1d8]
call qword [rax + 0x2d8]
test eax, eax
je 0x140249acd
mov ecx, reloc.WS2_32.dll_inet_ntoa
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rax
call sub.mfc140u.dll_CMFCVisualManagerBitmapCache::FindIndex
test rax, rax
mov r8, rdi
je 0x14024992b
mov r8, qword [rax + 8]
mov r9d, 1
mov edx, r15d
mov rcx, qword [r14 + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [r14 + 0x1d8]
call fcn.14024cec0
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov edx, 0x21
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov edx, 0x22
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov edx, 0x23
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CRuntimeClass::IsDerivedFrom]
mov eax, 0x40
mov word [rbp - 0x6f], ax
lea r9, [rsp + 0x48]
mov edx, CD2DTextFormat::~CD2DTextFormat
lea r8d, [rax - 0x3a]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbp - 0x31]
mov edx, reloc.mfc140u.dll_AFX_MODULE_STATE::AFX_MODULE_STATE
mov r8d, 6
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [r14 + 0x2c0]
mov rbx, qword [rax + 0x2d8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov dword [rsp + 0x28], socket
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x31]
mov r8d, 0x50000000
mov rdx, rax
lea rcx, [r14 + 0x2c0]
call rbx
test eax, eax
je 0x140249aaa
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
lea rcx, [r14 + 0x2c0]
call fcn.14024dfb0
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
lea rcx, [r14 + 0x2c0]
call fcn.14024df90
mov dword [r14 + 0x3b8], 1
mov edx, 0xffffff
lea rcx, [r14 + 0x2c0]
call fcn.14024df30
mov ecx, reloc.WS2_32.dll_inet_ntoa
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rcx, rax
call sub.mfc140u.dll_CMFCVisualManagerBitmapCache::FindIndex
test rax, rax
je 0x140249a8b
mov rdi, qword [rax + 8]
mov r9d, 1
mov r8, rdi
mov edx, r15d
mov rcx, qword [r14 + 0x300]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r12d
jmp 0x140249ad4
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1402654f0
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret