Function at 0x446c20
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x98
mov qword [rax + 8], rbx
mov qword [rax - 0x10], r13
mov r13, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbx, rax
je 0x446f38
lea rax, [rsp + 0x48]
lea r8, [0x00446bc0]
mov edx, recv
mov rcx, rbx
movsxd r9, eax
mov qword [rsp + 0xb8], rdi
xor dil, dil
mov dword [rsp + 0x48], 0xffffffff
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov r11d, dword [rsp + 0x48]
cmp r11d, 0xffffffff
je 0x446f24
test r11d, 0xffff0000
mov qword [rsp + 0xb0], rsi
jne 0x446cb4
movzx edx, r11w
mov r8d, send
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
mov qword [rsp + 0x58], rax
jmp 0x446cdd
mov rdx, qword [0x005e4450]
mov r8d, send
mov rcx, rbx
test rdx, rdx
cmove rdx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rsi, rsi
je 0x446f13
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x446f13
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x90], r12
mov rcx, rax
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], r15
call qword [sym.imp.KERNEL32.dll_LockResource]
movzx edx, word [rax + 4]
lea r12, [rax + 4]
mov ecx, 0x40
shl rdx, 2
mov rbp, rax
lea r14, [rax + 6]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor eax, eax
mov edx, 0x40000000
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov rcx, r13
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
test rax, rax
mov r15, rax
je 0x446eeb
xor r13d, r13d
lea r9, [rsp + 0x40]
mov rdx, rbp
lea r8d, [r13 + 6]
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx edx, word [r12]
lea r9d, [r13 + 1]
shl edx, 4
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, r13d
cmp word [r12], bp
jbe 0x446e68
mov r13, qword [rsp + 0x50]
lea rsi, [r14 + 0xc]
movzx edx, word [rsi]
mov r8d, 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
mov rdi, rax
je 0x446e4e
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov qword [rsp + 0x60], rax
je 0x446e45
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x60]
lea r9, [rsp + 0x40]
mov rcx, r15
mov dword [r13], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
movzx eax, word [r12]
inc ebp
add rsi, 0xe
add r13, 4
cmp ebp, eax
jl 0x446dc3
xor r13d, r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp word [r12], 0
mov esi, r13d
jbe 0x446eda
mov rdi, qword [rsp + 0x50]
nop
nop
mov rax, qword [r14]
lea rcx, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [r14 + 8]
lea rdx, [rsp + 0x60]
mov qword [rcx + 8], rax
mov eax, dword [rdi]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, r15
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x6c], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, word [r12]
inc esi
add r14, 0xe
add rdi, 4
cmp esi, eax
jl 0x446e90
mov rcx, r15
mov dil, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rsi, qword [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, dil
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x98
ret