Function at 0x1400a1490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12d, edx
mov r13, rcx
xor edi, edi
mov dword [rsp + 0x50], edi
lea r14, [0x14024fa68]
mov rcx, qword [0x14024fa68]
cmp rcx, r14
je 0x1400a1501
test byte [rcx + 0x1c], 1
je 0x1400a1501
cmp byte [rcx + 0x19], 4
jb 0x1400a1501
lea edx, [rdi + 0x31]
mov r9d, r12d
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb50
lea rcx, [rbp - 0x10]
call fcn.14003db90
nop
lea r15, vtable.CArray_wchar_t____ptr64__wchar_t__const___ptr64_const____ptr64_.0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], rdi
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x138], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x148], rdi
mov rbx, qword [r13 + 0x338]
mov rsi, qword [r13 + 0x340]
cmp rbx, rsi
je 0x1400a159a
nop
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x28]
cmp eax, 2
je 0x1400a1568
mov eax, dword [rcx + 0x28]
cmp eax, 4
je 0x1400a1591
mov eax, dword [rcx + 0x28]
jmp 0x1400a1591
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0x10018
xor r8d, r8d
xor edx, edx
call fcn.140116e90
add rbx, 8
cmp rbx, rsi
jne 0x1400a1550
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call fcn.1400e75b0
mov ecx, dword [rsp + 0x54]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x54], ecx
call fcn.14010e880
lea rcx, [0x1402501d0]
call fcn.14010eda0
mov rsi, qword [0x1402574b0]
lea rbx, [rsi + 0xb0]
mov qword [rbp - 0x40], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsi + 0xa8]
cmp qword [rcx], 0
je 0x1400a1613
cmp byte [rsi + 0xd8], 0
je 0x1400a161e
call fcn.14006f910
xor edx, edx
mov rcx, rsi
call fcn.14008ae50
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.14010f600
lea rcx, [0x140250230]
call fcn.14010eda0
lea rcx, [0x140250290]
call fcn.14010eda0
lea rbx, [0x1402503a0]
mov qword [rbp - 0x38], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [0x140250398], 0
je 0x1400a1678
cmp byte [0x1402503c8], 0
je 0x1400a1687
lea rcx, [0x140250398]
call fcn.14006f910
xor edx, edx
lea rcx, vtable.ModuleManager_class_NodOsApi::Mutex__class_NodOsApi::ReadPreferringRWLock_.0
call fcn.14008ae50
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.14010e310
lea rcx, [0x14024ff40]
call fcn.14010eda0
test eax, eax
je 0x1400a1995
cmp eax, 0xc20
je 0x1400a1995
mov r9d, dword [0x140256aa4]
inc r9d
mov dword [0x140256aa4], r9d
cmp r9d, 3
jne 0x1400a194f
mov rcx, qword [0x14024fa68]
cmp rcx, r14
je 0x1400a1703
test byte [rcx + 0x1c], 1
je 0x1400a1703
cmp byte [rcx + 0x19], 2
jb 0x1400a1703
lea edx, [r9 + 0x34]
mov dword [rsp + 0x20], 0x1f40
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb90
mov dword [0x140256aa4], edi
lea r15, [r13 + 0x168]
mov rax, qword [r15]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 6
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xe6b
xor r8d, r8d
xor edx, edx
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
test eax, eax
jne 0x1400a175c
movzx eax, word [rsp + 0x7c]
jmp 0x1400a175e
mov eax, edi
mov rsi, qword [r15 + 8]
movzx r9d, ax
mov edx, 6
mov r8d, 0x87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
lea r12, [0x1401ef380]
mov r14d, 0x409
test rax, rax
je 0x1400a17e0
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 0x1400a17e0
movzx ecx, word [rax]
lea rbx, [rax + 2]
mov r14d, 4
nop dword [rax]
nop word [rax + rax]
lea rbx, [rbx + rcx*2]
movzx ecx, word [rbx]
add rbx, 2
sub r14d, 1
jne 0x1400a17c0
mov qword [rsp + 0x68], rbx
mov r14d, 0x409
test ecx, ecx
jne 0x1400a1807
mov edx, 0x864
mov word [rsp + 0x20], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.1400383b0
test eax, eax
mov rbx, r12
je 0x1400a1807
mov rbx, qword [rsp + 0x68]
mov rax, qword [r15]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 6
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xe6b
xor r8d, r8d
xor edx, edx
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
test eax, eax
jne 0x1400a1851
movzx eax, word [rbp - 0x7c]
jmp 0x1400a1853
mov eax, edi
mov rsi, qword [r15 + 8]
movzx r9d, ax
mov edx, 6
mov r8d, 0x87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1400a18bb
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 0x1400a18bb
movzx r8d, word [rax]
lea rcx, [rax + 2]
mov edx, 3
nop dword [rax + rax]
lea rcx, [rcx + r8*2]
movzx r8d, word [rcx]
add rcx, 2
sub edx, 1
jne 0x1400a18a0
mov qword [rsp + 0x70], rcx
test r8d, r8d
jne 0x1400a18df
mov edx, 0x863
mov word [rsp + 0x20], r14w
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.1400383b0
test eax, eax
je 0x1400a18e2
mov rcx, qword [rsp + 0x70]
mov r12, rcx
mov dword [rsp + 0x48], 0x12000077
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], 0x12000004
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x400
mov r9d, 2
lea r8, str.EkrnAvModulesNotLoaded
mov edx, 0x1000600
mov rcx, r13
call fcn.1400a3bb0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xf000034
mov r8d, 0x1338001f
lea rdx, str.EkrnModulesLoadError
mov rcx, r15
call fcn.1400795b0
jmp 0x1400a1e9e
mov rcx, qword [0x14024fa68]
cmp rcx, r14
je 0x1400a1ea5
test byte [rcx + 0x1c], 1
je 0x1400a1ea5
cmp byte [rcx + 0x19], 2
jb 0x1400a1ea5
mov edx, reloc.WS2_32.dll_getservbyport
mov dword [rsp + 0x20], 0x1f40
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb90
jmp 0x1400a1ea5
mov dword [0x140256aa4], edi
mov rcx, qword [0x14024fa68]
cmp rcx, r14
je 0x1400a19cb
test byte [rcx + 0x1c], 1
je 0x1400a19cb
cmp byte [rcx + 0x19], 4
jb 0x1400a19cb
mov edx, gethostbyaddr
xor r9d, r9d
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb50
mov r15d, dword [r13 + 0x149c]
lea rbx, [0x1402501f0]
mov qword [rbp - 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov r14, qword [0x140250228]
test r14, r14
je 0x1400a1a07
lock inc dword [r14 + 8]
mov r14, qword [0x140250228]
mov rsi, qword [0x140250220]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], r14
mov dword [rsp + 0x50], 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 2
and ebx, 0xfffffffd
mov dword [rsp + 0x50], ebx
or ebx, 1
mov dword [rsp + 0x50], ebx
test rsi, rsi
je 0x1400a1a57
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400a1a57
movzx edx, r15w
mov ecx, 0x4650
call qword [case.0x14003c8e9.0]
and ebx, 0xfffffffe
mov dword [rsp + 0x50], ebx
mov rsi, 0xffffffffffffffff
test r14, r14
je 0x1400a1aa7
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400a1aa3
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x1400a1aa3
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov ebx, dword [rsp + 0x50]
mov qword [rsp + 0x60], rdi
lea rax, [0x14024ff60]
mov qword [rbp - 0x68], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov r14, qword [0x14024ff98]
test r14, r14
je 0x1400a1ae5
lock inc dword [r14 + 8]
mov r14, qword [0x14024ff98]
mov ebx, dword [rsp + 0x50]
mov r15, qword [0x14024ff90]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
or ebx, 8
mov dword [rsp + 0x50], ebx
lea rcx, [0x14024ff60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and ebx, 0xfffffff7
mov dword [rsp + 0x50], ebx
or ebx, 4
mov dword [rsp + 0x50], ebx
test r15, r15
je 0x1400a1b63
mov rax, qword [r15 + 8]
test rax, rax
je 0x1400a1b63
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x60]
mov edx, 3
mov ecx, 0xbd0
call qword [case.0x14003c8e9.0]
mov r15d, eax
jmp 0x1400a1b69
mov r15d, 0x1b67
and ebx, 0xfffffffb
mov dword [rsp + 0x50], ebx
test r14, r14
je 0x1400a1bae
mov eax, esi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400a1bae
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, esi
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x1400a1bae
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov r14d, 4
test r15d, r15d
jne 0x1400a1d92
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400a1c0e
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a1bd0
lfence
mov edx, 0x40
lea rcx, [rbp + 0x150]
mov r8, qword [rsp + 0x60]
cmp rax, rdx
jae 0x1400a1bfb
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400a1c0e
mov r9d, 0x3f
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x1ce], di
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
jbe 0x1400a1d92
mov rcx, qword [0x14024fa68]
lea rax, [0x14024fa68]
cmp rcx, rax
je 0x1400a1c53
test byte [rcx + 0x1c], 1
je 0x1400a1c53
cmp byte [rcx + 0x19], r14b
jb 0x1400a1c53
mov edx, reloc.WS2_32.dll_gethostbyaddr
xor r9d, r9d
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb50
mov rbx, qword [r13 + 0x338]
mov r15, qword [r13 + 0x340]
cmp rbx, r15
je 0x1400a1cbf
nop word [rax + rax]
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x28]
cmp eax, 2
je 0x1400a1c88
mov eax, dword [rcx + 0x28]
cmp eax, r14d
je 0x1400a1cb6
mov eax, dword [rcx + 0x28]
jmp 0x1400a1cb6
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x10005
xor r8d, r8d
xor edx, edx
call fcn.140116e90
add rbx, 8
cmp rbx, r15
jne 0x1400a1c70
lea rax, [rbp + 0x150]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400a1cc6
add rsi, 0x17
lea rcx, [rsi + rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x1400a1d48
lea rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [0x1401fd8f0]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, str._c_s_s
mov rdx, rsi
mov rcx, r15
call fcn.1401aef00
mov rbx, qword [rbp + 0x130]
lfence
mov rdx, qword [rbp + 0x130]
inc rdx
lea rcx, [rbp + 0x120]
call fcn.14003da10
mov rax, qword [rbp + 0x128]
mov qword [rax + rbx*8], r15
mov qword [rbp + 0x148], rdi
lea rcx, [rbp - 0x10]
call fcn.14003dd40
lea rcx, str.EkrnScannerUpdated
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf0000e9
mov dword [rsp + 0x20], 0x10030000
mov edx, 0x1000600
mov rcx, r13
call fcn.1401211c0
lea rbx, [0x14024fa68]
jmp 0x1400a1e01
mov rcx, qword [0x14024fa68]
lea rbx, [0x14024fa68]
cmp rcx, rbx
je 0x1400a1dc9
test byte [rcx + 0x1c], 1
je 0x1400a1dc9
cmp byte [rcx + 0x19], r14b
jb 0x1400a1dc9
mov edx, reloc.WS2_32.dll_gethostbyname
mov r9d, r15d
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb50
lea rax, str.EkrnModulesUpdated
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf0000e8
mov dword [rsp + 0x20], 0x10030001
mov edx, 0x1000600
mov rcx, r13
call fcn.1401211c0
call fcn.1400e7740
mov rcx, qword [r13 + 0x460]
test rcx, rcx
je 0x1400a1e33
mov rax, qword [rcx]
mov edx, 0x24
mov rax, qword [rax + 0x40]
call qword [case.0x14003c8e9.0]
test eax, eax
jne 0x1400a1e33
mov rdx, r14
mov rcx, r13
call fcn.1400c6560
lea rcx, [r13 + 0x908]
call fcn.140133800
lea rdx, str.EkrnAvModulesNotLoaded
mov rcx, r13
call fcn.1400a3fb0
test al, al
je 0x1400a1e71
mov rcx, qword [0x14024fa68]
cmp rcx, rbx
je 0x1400a1e9e
test byte [rcx + 0x1c], 1
je 0x1400a1e9e
cmp byte [rcx + 0x19], r14b
jb 0x1400a1e9e
mov edx, getservbyport
jmp 0x1400a1e8e
mov rcx, qword [0x14024fa68]
cmp rcx, rbx
je 0x1400a1e9e
test byte [rcx + 0x1c], 1
je 0x1400a1e9e
cmp byte [rcx + 0x19], r14b
jb 0x1400a1e9e
mov edx, getservbyport
lea r8, [0x1401fc458]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb30
lea r15, vtable.CArray_wchar_t____ptr64__wchar_t__const___ptr64_const____ptr64_.0
mov rcx, qword [0x140256960]
test rcx, rcx
je 0x1400a1ed9
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x222407
call qword [case.0x1401ba071.52]
lea rcx, [r13 + 0x350]
xor r9d, r9d
lea edx, [r9 + 2]
call fcn.140135460
mov rcx, r13
call fcn.1400a9e00
nop
cmp qword [rbp + 0x130], 0
jle 0x1400a1f25
mov rbx, rdi
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx + rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc edi
lea rbx, [rbx + 8]
movsxd rax, edi
cmp rax, qword [rbp + 0x130]
jl 0x1400a1f02
mov qword [rbp + 0x120], r15
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x1400a1f3e
call fcn.140007ea0
nop
lea rax, [rbp - 0x10]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 8]
cmp rcx, rax
je 0x1400a1f5f
test rcx, rcx
je 0x1400a1f5f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbp - 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret