Function at 0x18008d4e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x180163880]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor esi, esi
mov dword [rsp + 0x78], edx
mov rdi, rcx
mov qword [rsp + 0x50], rsi
mov rcx, qword [0x180166ab8]
mov qword [rsp + 0x58], rsi
test rcx, rcx
je 0x18008d779
movzx edx, dx
lea r8, [0x180148ce4]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x18008d775
mov rcx, qword [0x180166ab8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18008d775
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [0x180166ab8]
mov rdx, rbx
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x18008d775
test eax, eax
je 0x18008d775
mov qword [rbp + 0xd0], rcx
lea r8, [rsp + 0x74]
mov qword [rbp + 0xc0], rcx
lea rdx, [rsp + 0x70]
cdqe
add rcx, rax
mov dword [rsp + 0x70], esi
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xc8], rcx
lea rcx, [rbp]
mov dword [rsp + 0x74], esi
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x30], esi
mov dword [rbp + 0xb8], esi
call fcn.18006d6a0
mov rbx, rax
test rax, rax
je 0x18008d768
mov rcx, qword [0x180167590]
lea r8, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rsi
mov dword [rbp - 0x38], esi
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x24], reloc.WS2_32.dll_recv
mov dword [rbp - 0x34], 3
mov dword [rbp - 0x30], 3
mov dword [rbp - 0x2c], 3
mov dword [rbp - 0x28], 0x3f800000
mov dword [rbp - 0x20], 1
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], esi
mov dword [rbp - 8], 0x7f7fffff
mov rax, qword [rcx]
movaps xmmword [rsp + 0x200], xmm6
movaps xmmword [rsp + 0x1f0], xmm7
call qword [rax + 0xb8]
mov rcx, qword [0x1801675b0]
lea r9, [rsp + 0x38]
xor edx, edx
lea r8d, [rsi + 1]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ecx, dword [rsp + 0x70]
lea r9, [rsp + 0x30]
mov eax, dword [rsp + 0x74]
lea r8, [rsp + 0x60]
mov dword [rbp - 0x7c], eax
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], ecx
lea eax, [rcx*4]
mov qword [rbp - 0x6c], 1
mov rcx, qword [0x180167590]
mov qword [rbp - 0x5c], rsi
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x70], Ordinal_33
mov dword [rbp - 0x64], esi
mov dword [rbp - 0x60], 8
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], esi
mov rax, qword [rcx]
call qword [rax + Ordinal_41]
mov eax, dword [rbp - 0x78]
lea r9, [rsp + 0x50]
mov rcx, qword [0x180167590]
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x30]
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], Ordinal_33
mov qword [rbp - 0x4c], 4
mov dword [rbp - 0x44], eax
mov rax, qword [rcx]
call qword [rax + gethostname]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, dword [rsp + 0x70]
mov rcx, rbx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmm6, xmmword [rsp + 0x40]
lea rdx, [rsp + 0x78]
mov rcx, rdi
movups xmm7, xmmword [rsp + 0x50]
call fcn.18008d7b0
movups xmmword [rax], xmm6
movaps xmm6, xmmword [rsp + 0x200]
movups xmmword [rax + 0x10], xmm7
mov al, 1
movaps xmm7, xmmword [rsp + 0x1f0]
jmp 0x18008d787
mov edx, dword [rsp + 0x78]
lea rcx, str.LoadTextureFromMemory_ERR___image__i__n
jmp 0x18008d780
mov edx, dword [rsp + 0x78]
lea rcx, str.LoadResourceToMemory_ERR__Image__i_n
call fcn.180005bb0
xor al, al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180104980
mov rbx, qword [rsp + 0x240]
add rsp, 0x210
pop rdi
pop rsi
pop rbp
ret