Function at 0x1400f8fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x940]
sub rsp, 0xa40
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x930], rax
mov r15, rcx
add rcx, 0xd90
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r15 + 0x7e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r13, [r15 + 0x8b8]
mov rax, qword [r13]
mov qword [r13 + 8], rax
lea r12, [r15 + 0x8d0]
mov rcx, qword [r12]
mov qword [r12 + 8], rcx
lea r14, [r15 + 0x8e8]
mov rax, qword [r14]
mov qword [r14 + 8], rax
mov rax, qword [r15 + 0x338]
mov qword [rsp + 0x68], rax
mov rbx, qword [r15 + 0x340]
mov qword [rsp + 0x58], rbx
xor esi, esi
cmp rax, rbx
je 0x1400f9381
mov rcx, rbx
nop dword [rax + rax]
mov rbx, qword [rax]
mov qword [rbp - 0x80], rbx
mov eax, dword [rbx + 0x28]
cmp eax, 2
je 0x1400f9093
mov eax, dword [rbx + 0x28]
cmp eax, 4
je 0x1400f9365
mov eax, dword [rbx + 0x28]
jmp 0x1400f9365
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0x400
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10012
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140116e90
test eax, eax
jne 0x1400f9360
mov rdx, qword [rbp - 0x70]
cmp rdx, 4
jbe 0x1400f9360
mov r8d, dword [rbp + 0x30]
mov dword [rsp + 0x60], r8d
lea ecx, [r8 + 1]
shl rcx, 2
cmp rdx, rcx
jb 0x1400f9360
mov eax, 1
mov dword [rsp + 0x50], eax
cmp r8d, 1
jb 0x1400f9360
nop
lea rsi, [rbp + 0x30]
lea rsi, [rsi + rax*4]
mov r9d, dword [rsi]
cmp r9d, 0x40000000
jae 0x1400f9293
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400fb340
cmp byte [rsp + 0x74], 0
je 0x1400f9293
mov rbx, qword [rsp + 0x70]
cmp ebx, 3
jne 0x1400f91f6
mov r9, qword [r15 + 0x8d8]
mov rdi, qword [r12]
mov rcx, r9
sub rcx, rdi
sar rcx, 2
test rcx, rcx
jle 0x1400f919a
mov r8d, dword [rsi]
nop
mov rdx, rcx
shr rdx, 1
lea rax, [rdi + rdx*4]
cmp r8d, dword [rax]
jae 0x1400f9184
mov rcx, rdx
jmp 0x1400f9195
lea rdi, [rax + 4]
mov rax, 0xffffffffffffffff
sub rax, rdx
add rcx, rax
test rcx, rcx
jg 0x1400f9170
cmp r9, qword [r12 + 0x10]
je 0x1400f91e8
mov r14d, dword [rsi]
cmp rdi, r9
jne 0x1400f91bb
mov dword [r9], r14d
add qword [r12 + 8], 4
lea r14, [r15 + 0x8e8]
jmp 0x1400f91f6
lea r8, [r9 - 4]
mov eax, dword [r8]
mov dword [r9], eax
add qword [r12 + 8], 4
sub r8, rdi
sub r9, r8
mov rdx, rdi
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
mov dword [rdi], r14d
lea r14, [r15 + 0x8e8]
jmp 0x1400f91f6
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call fcn.14002da90
cmp ebx, 0xa
jne 0x1400f9293
mov r9, qword [r15 + 0x8f0]
mov rbx, qword [r14]
mov rcx, r9
sub rcx, rbx
sar rcx, 2
test rcx, rcx
jle 0x1400f924a
mov r8d, dword [rsi]
nop dword [rax + rax]
mov rdx, rcx
shr rdx, 1
lea rax, [rbx + rdx*4]
cmp r8d, dword [rax]
jae 0x1400f9234
mov rcx, rdx
jmp 0x1400f9245
lea rbx, [rax + 4]
mov rax, 0xffffffffffffffff
sub rax, rdx
add rcx, rax
test rcx, rcx
jg 0x1400f9220
cmp r9, qword [r14 + 0x10]
je 0x1400f9285
mov edi, dword [rsi]
cmp rbx, r9
jne 0x1400f9261
mov dword [r9], edi
add qword [r14 + 8], 4
jmp 0x1400f9293
lea r8, [r9 - 4]
mov eax, dword [r8]
mov dword [r9], eax
add qword [r14 + 8], 4
sub r8, rbx
sub r9, r8
mov rdx, rbx
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
mov dword [rbx], edi
jmp 0x1400f9293
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.14002da90
mov r9, qword [r15 + 0x8c0]
mov rbx, qword [r13]
mov rcx, r9
sub rcx, rbx
sar rcx, 2
test rcx, rcx
jle 0x1400f92da
mov r8d, dword [rsi]
mov rdx, rcx
shr rdx, 1
lea rax, [rbx + rdx*4]
cmp r8d, dword [rax]
jae 0x1400f92c4
mov rcx, rdx
jmp 0x1400f92d5
lea rbx, [rax + 4]
mov rax, 0xffffffffffffffff
sub rax, rdx
add rcx, rax
test rcx, rcx
jg 0x1400f92b0
cmp r9, qword [r13 + 0x10]
je 0x1400f9315
mov edi, dword [rsi]
cmp rbx, r9
jne 0x1400f92f1
mov dword [r9], edi
add qword [r13 + 8], 4
jmp 0x1400f9323
lea r8, [r9 - 4]
mov eax, dword [r8]
mov dword [r9], eax
add qword [r13 + 8], 4
sub r8, rbx
sub r9, r8
mov rdx, rbx
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
mov dword [rbx], edi
jmp 0x1400f9323
mov r8, rsi
mov rdx, rbx
mov rcx, r13
call fcn.14002da90
mov eax, dword [rsi]
cmp eax, 0x8000000
je 0x1400f960b
cmp eax, 0x48000000
je 0x1400f95eb
cmp eax, 0x88000000
je 0x1400f960b
xor esi, esi
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp eax, dword [rsp + 0x60]
mov rbx, qword [rbp - 0x80]
jbe 0x1400f9110
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
cmp rax, rcx
jne 0x1400f9070
mov rcx, qword [r12 + 8]
cmp qword [r12], rcx
je 0x1400f97c4
movzx ebx, byte [r15 + 0x900]
test bl, bl
je 0x1400f93f5
cmp byte [r15 + 0x901], 0
je 0x1400f93f5
lea rcx, [r15 + 0xd8]
xorps xmm0, xmm0
lea rax, [rbp - 0x58]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x20], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_a0606ead3c47dc5dd3c4568a67d281a5___void___.0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r15
lea rax, [rbp - 0x58]
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x20], 2
movq r9, xmm0
mov r8, qword [0x140210cd0]
lea rdx, [rbp - 0x58]
call fcn.14008d500
mov byte [r15 + 0x900], 0
xor bl, bl
mov byte [r15 + 0x901], 0
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x530]
call sub.VCRUNTIME140.dll_memset
mov esi, reloc.WS2_32.dll_inet_addr
mov eax, select
test bl, bl
cmovne esi, eax
movzx eax, bl
neg al
sbb eax, eax
add eax, 0x12000070
mov dword [rsp + 0x60], eax
movzx eax, bl
neg al
sbb eax, eax
add eax, 0x1200005b
mov dword [rsp + 0x50], eax
mov eax, 0x200
mov ecx, 0x300
test bl, bl
cmovne eax, ecx
mov dword [rsp + 0x68], eax
xor ecx, ecx
mov eax, ecx
test bl, bl
setne al
inc eax
mov dword [rsp + 0x70], eax
lea rdx, str.EkrnInstallingFeaturesFailed
lea r12, str.EkrnInstallingFeaturesInProgress
test bl, bl
cmovne r12, rdx
mov edi, reloc.WS2_32.dll_inet_ntoa
mov eax, reloc.WS2_32.dll_ntohs
cmovne edi, eax
lea r13, [r15 + 0x168]
mov rax, qword [r13]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 6
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xe6b
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
movzx r9d, bx
test eax, eax
cmove r9w, word [rbp - 0x74]
mov r14, qword [r13 + 8]
lea edx, [rbx + 6]
lea r8d, [rbx + 0x7f]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400f955d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400f955d
movzx ebx, word [rax]
lea rdx, [rax + 2]
mov ecx, esi
nop dword [rax]
lea rdx, [rdx + rbx*2]
movzx ebx, word [rdx]
add rdx, 2
sub ecx, 1
jne 0x1400f9530
cmp ebx, 0x7f
mov eax, 0x7f
cmova ebx, eax
mov r8d, ebx
add r8, r8
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
xor ecx, ecx
mov word [rbp + rax*2 + 0x430], cx
test ebx, ebx
jne 0x1400f9627
mov ebx, ecx
lea edx, [rcx + 6]
mov r9d, 0x409
lea r8d, [rcx + 0x7f]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400f95dd
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400f95dd
movzx ebx, word [rax]
lea rdx, [rax + 2]
nop
lea rdx, [rdx + rbx*2]
movzx ebx, word [rdx]
add rdx, 2
sub esi, 1
jne 0x1400f95b0
cmp ebx, 0x7f
mov eax, 0x7f
cmova ebx, eax
mov r8d, ebx
add r8, r8
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
xor ebx, ebx
mov word [rbp + rax*2 + 0x430], bx
jmp 0x1400f9629
cmp dword [r15 + 0xd70], 0
jne 0x1400f9346
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r15 + 0xd70], eax
jmp 0x1400f9346
cmp dword [r15 + 0xd70], 0
je 0x1400f9346
xor esi, esi
mov dword [r15 + 0xd70], esi
jmp 0x1400f9348
xor ebx, ebx
mov rax, qword [r13]
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 6
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xe6b
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
movzx r9d, bx
test eax, eax
cmove r9w, word [rsp + 0x5c]
mov rsi, qword [r13 + 8]
mov r13d, 0x7f
mov r8d, r13d
lea edx, [r13 - 0x79]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov r14d, 0x1ff
test rax, rax
je 0x1400f96e9
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400f96e9
movzx ebx, word [rax]
lea rdx, [rax + 2]
mov ecx, edi
lea rdx, [rdx + rbx*2]
movzx ebx, word [rdx]
add rdx, 2
sub ecx, 1
jne 0x1400f96c0
cmp ebx, r14d
cmova ebx, r14d
mov r8d, ebx
add r8, r8
lea rcx, [rbp + 0x530]
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
xor ecx, ecx
mov word [rbp + rax*2 + 0x530], cx
test ebx, ebx
jne 0x1400f9777
mov ebx, ecx
mov r9d, 0x409
mov r8, r13
lea edx, [rcx + 6]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400f9769
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400f9769
movzx ebx, word [rax]
lea rdx, [rax + 2]
nop word [rax + rax]
lea rdx, [rdx + rbx*2]
movzx ebx, word [rdx]
add rdx, 2
sub edi, 1
jne 0x1400f9740
cmp ebx, r14d
cmova ebx, r14d
mov r8d, ebx
add r8, r8
lea rcx, [rbp + 0x530]
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
xor esi, esi
mov word [rbp + rax*2 + 0x530], si
jmp 0x1400f9779
xor esi, esi
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], esi
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x530]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x430]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, r12
mov edx, 0x1000600
mov rcx, r15
call fcn.1400a3bb0
jmp 0x1400f97ea
mov byte [r15 + 0x901], 1
lea rdx, str.EkrnInstallingFeaturesInProgress
mov rcx, r15
call fcn.1400a3fb0
lea rdx, str.EkrnInstallingFeaturesFailed
mov rcx, r15
call fcn.1400a3fb0
mov rax, qword [r15 + 0x8f0]
mov rcx, r15
cmp qword [r15 + 0x8e8], rax
je 0x1400f9804
call fcn.1400fb170
jmp 0x1400f9810
lea rdx, str.EkrnInitializingFeaturesInProgress
call fcn.1400a3fb0
lea rcx, [r15 + 0x7e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r15 + 0xd90]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r15
call fcn.1400fa080
mov dword [rsp + 0x78], 2
mov rbx, qword [r15 + 0x338]
mov rdi, qword [r15 + 0x340]
cmp rbx, rdi
je 0x1400f98a3
nop dword [rax]
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x28]
cmp eax, 2
je 0x1400f9868
mov eax, dword [rcx + 0x28]
cmp eax, 4
je 0x1400f989a
mov eax, dword [rcx + 0x28]
jmp 0x1400f989a
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x10016
xor r8d, r8d
xor edx, edx
call fcn.140116e90
add rbx, 8
cmp rbx, rdi
jne 0x1400f9850
mov rcx, qword [r15 + 0x460]
test rcx, rcx
je 0x1400f98d0
mov rax, qword [rcx]
mov edx, 0x1c
mov rax, qword [rax + 0x40]
call qword [case.0x14003c8e9.0]
test eax, eax
jne 0x1400f98d0
lea edx, [rax + 4]
mov rcx, r15
call fcn.1400c6560
lea rcx, [r15 + 0x12c0]
lea rax, [rbp - 0x18]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x20], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_df60cea140962f2ab1bf569d3aafe6fc___void__enum_NOD_RESTART_REASON_.0
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rcx
lea rax, [rbp - 0x18]
mov qword [rbp + 0x20], rax
lea rdx, [rcx + 0x38]
lea r8, [rbp - 0x18]
call fcn.1401243f0
mov rcx, qword [rbp + 0x930]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0xa40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret