Function at 0x1800a4790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.1804688ec
mov rcx, rax
mov qword [rsp + 0x90], rax
lea rbp, vtable.RC::RCWidgetView.0
mov qword [rax], rbp
xor ebx, ebx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], rbx
mov qword [rax + 0x34], rbx
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], ebx
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], bl
lea rax, vtable.RC::RCWidgetListHeader.0
mov qword [rcx], rax
mov qword [rcx + 0x50], rbx
mov qword [rcx + 0x58], rbx
mov qword [rcx + 0x60], rbx
mov dword [rcx + 0x68], ebx
lea rax, vtable.RC::RCWidgetFaPiaoListHeader.0
mov qword [rcx], rax
mov qword [rsi + 0xa8], rcx
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rsi + 0x18]
sub rdx, qword [rsi + 0x10]
sar rdx, 3
mov r8, qword [rsi + 0xa8]
mov rcx, rsi
call fcn.180125e20
mov ecx, 0xd8
call fcn.1804688ec
mov qword [rsp + 0x90], rax
mov rcx, rax
call fcn.1800d49a0
nop
mov qword [rsi + 0x130], rax
test rax, rax
je 0x1800a4906
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rdx, qword [rsi + 0x18]
sub rdx, qword [rsi + 0x10]
sar rdx, 3
mov r8, qword [rsi + 0x130]
mov rcx, rsi
call fcn.180125e20
lea rax, [rsp + 0x28]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x60], rbx
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_c016d442889ebb93d81f428e94946164___void__class_RC::RCWidgetView____ptr64__int_.0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsi + 0x130]
add rcx, 0x90
lea rdx, [rsp + 0x28]
call fcn.180085c80
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800a4906
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.1804688ec
mov rdi, rax
mov qword [rsp + 0x90], rax
mov qword [rax], rbp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbx
mov byte [rax + 0x28], 1
mov qword [rax + 0x2c], rbx
mov qword [rax + 0x34], rbx
mov word [rax + 0x3c], 0x101
mov dword [rax + 0x40], ebx
mov dword [rax + 0x44], 0xffffffff
mov byte [rax + 0x48], 0
lea rax, vtable.RC::RCWidgetButtonListener.0
mov qword [rdi + 0x50], rax
lea rax, vtable.RC::RCWidgetListTail.0
mov qword [rdi], rax
lea rax, vtable.RC::RCWidgetListTail.1.0
mov qword [rdi + 0x50], rax
cmp byte [0x1806c74ae], 0
je 0x1800a497e
mov eax, 0x28
jmp 0x1800a4994
mov r8d, 0x60
mov edx, dword [0x1806c8078]
lea ecx, [r8 - 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x60], rbx
mov qword [rdi + 0x68], rbx
mov qword [rsi + 0x158], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
mov rdx, qword [rsi + 0x18]
sub rdx, qword [rsi + 0x10]
sar rdx, 3
mov r8, qword [rsi + 0x158]
mov rcx, rsi
call fcn.180125e20
movss xmm0, dword [0x1806c80f8]
comiss xmm0, dword [0x180601708]
jb 0x1800a49e2
mov edx, 0x2c88
jmp 0x1800a49f6
mov edx, WSACleanup
mov eax, 0x474
comiss xmm0, dword [0x1806016e8]
cmovae edx, eax
mov rdi, qword [0x1806d4c60]
lea r8, [0x1805e7438]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1800a4b15
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test eax, eax
je 0x1800a4b15
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800a4b15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x1800a4b15
mov edx, r14d
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x1800a4b15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1800a4b0c
mov r8d, r14d
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x90], rbx
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1800a4b0c
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1800a4b0c
call fcn.1801240b0
mov rdi, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rdi, rdi
je 0x1800a4b07
mov ecx, dword [rdi + 0x10]
mov dword [rdi + 0x10], ebx
test ecx, ecx
je 0x1800a4b07
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, rbx
mov rbx, rdi
jmp 0x1800a4b15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsi + 0x58]
mov qword [rsi + 0x58], rbx
test rcx, rcx
je 0x1800a4b2c
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret