Function at 0x140052df4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa8
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rsi, rcx
lea r14, [rcx + 0x1c0]
xor r12d, r12d
mov qword [r14], r12
mov rdi, qword [0x14010ce58]
mov r13d, 0x80004002
test rdi, rdi
je 0x1400531d1
lea edx, [r12 + 1]
mov rcx, rdi
call fcn.1400637b0
test eax, eax
je 0x1400531d1
lea rcx, [rsi + 0x10]
lea rdx, str._0_9_
call fcn.14005e348
test eax, eax
jne 0x1400531d1
lea rcx, [rsi + 0x80]
lea rdx, str._a_zA_Z__
call fcn.14005e348
test eax, eax
jne 0x1400531d1
lea rcx, [rsi + 0xb8]
lea rdx, str.__n_r
call fcn.14005e348
test eax, eax
jne 0x1400531d1
lea rcx, [rsi + 0x48]
lea rdx, str._sxmlns:_a_zA_Z___s_s_____________s_a_zA_Z_:
call fcn.14005e348
test eax, eax
jne 0x1400531d1
lea rcx, [rsi + 0xf0]
lea rdx, str.___semantics____
call fcn.14005e348
test eax, eax
jne 0x1400531d1
lea r8, [0x1400f6090]
mov edx, 0xc352
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
nop dword [rax + rax]
test rax, rax
je 0x1400531d1
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1400531d1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
test rax, rax
je 0x1400531d1
mov rdx, rax
lea rcx, [rbp + 0x7f]
call fcn.14005e9e4
nop
lea rbx, [rsi + 0x128]
mov r8b, 1
mov edx, 0xbb8
mov rcx, rbx
call fcn.14001e064
lea rax, [rbp + 0x77]
mov qword [rbp + 0x67], rax
mov rcx, qword [rbp + 0x7f]
add rcx, 0xffffffffffffffe8
call fcn.140061130
add rax, 0x18
mov qword [rbp + 0x77], rax
mov r8, rbx
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.140054688
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140052f9e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140066f27.0]
lea r8, [0x1400f6090]
mov edx, 0xc351
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400531d1
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1400531d1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov r15, rax
test rax, rax
je 0x1400531d1
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
lea r9, [0x14010ceb0]
mov rdx, r15
lea rcx, [rbp - 0x31]
call fcn.140060f68
nop
lea rbx, [rsi + 0x170]
mov r8b, 1
mov edx, 0x64
mov rcx, rbx
call fcn.14001e064
lea rax, [rbp - 0x59]
mov qword [rbp - 0x21], rax
mov rdi, qword [rbp - 0x31]
lea rcx, [rdi - 0x18]
call fcn.140061130
add rax, 0x18
mov qword [rbp - 0x59], rax
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.140054688
nop
or eax, 0xffffffff
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14005308f
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140066f27.0]
lea rbx, [rsi + 0x1b8]
mov qword [rsp + 0x20], rbx
lea r9, [0x1400f5928]
xor edx, edx
lea r8d, [rdx + 7]
lea rcx, [0x1400f1c88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x1400531d6
mov rcx, qword [rbx]
mov qword [rbp + 0x67], r12
test rcx, rcx
je 0x1400530e9
mov rdx, qword [rcx]
mov rax, qword [rdx]
lea r8, [rbp + 0x67]
lea rdx, [0x1400f5938]
call qword [case.0x140066f27.0]
nop
lea rcx, str.SelectionLanguage
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400532a4
mov word [rbp - 0x49], r12w
lea rcx, [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
mov eax, 8
mov word [rbp - 0x49], ax
lea rcx, str.XPath
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov qword [rbp - 0x41], rax
test rax, rax
je 0x14005328d
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x14005317e
movups xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x39]
movsd qword [rbp + 7], xmm1
mov rax, qword [rcx]
lea r8, [rbp - 9]
mov rdx, rbx
mov rax, qword [rax + 0x280]
call qword [case.0x140066f27.0]
mov edi, eax
lea rcx, [rbp - 0x49]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x1400531b6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066f27.0]
nop
test edi, edi
js 0x1400531d6
mov rcx, r14
call fcn.140060394
mov edi, eax
test eax, eax
js 0x1400531d6
cmp qword [r14], r12
cmove edi, r13d
jmp 0x1400531d6
mov edi, 0x80004005
mov qword [rbp + 0x6f], r12
test edi, edi
js 0x140053258
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140066f27.0]
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp + 0x6f]
lea rdx, [0x1400f6c70]
mov rax, qword [rax]
call qword [case.0x140066f27.0]
mov edi, eax
test eax, eax
js 0x140053258
mov rdx, qword [rbp + 0x6f]
test rdx, rdx
cmove edi, r13d
test edi, edi
js 0x140053258
lea rbx, [rsi + 0x1c8]
test rdx, rdx
je 0x140053253
test rbx, rbx
je 0x140053253
mov qword [rbp - 0x51], r12
lea r8, [rbp - 0x51]
call fcn.1400650e4
mov edi, eax
test eax, eax
js 0x140053258
mov rax, qword [rbp - 0x51]
add rax, 0xd8
mov qword [rbx], rax
mov edi, r12d
jmp 0x140053258
mov edi, 0x80070057
mov dword [rsi + 0x1d0], r12d
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x140053276
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140066f27.0]
nop
mov eax, edi
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, 0xa
mov word [rbp - 0x49], ax
mov ecx, 0x8007000e
mov dword [rbp - 0x41], ecx
call fcn.140013490
nop
mov ecx, 0x8007000e
call fcn.140013490
int3