Function at 0x4458c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov rbp, rdx
movzx edx, r8w
mov rdi, rcx
xor r13d, r13d
lea r8, [0x004f6040]
mov rcx, rbp
movaps xmmword [rsp + 0x30], xmm6
mov rbx, r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x445aeb
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov esi, eax
je 0x445aeb
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov r12, rax
je 0x445aeb
lea ecx, [r13 + 2]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
mov rbx, rax
je 0x445aeb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, dword [rsp + 0x80]
movsd xmm6, qword [0x00507498]
test rax, rax
je 0x445a80
mov r8, rsi
mov rdx, r12
mov rcx, rax
call fcn.004cace0
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r13
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x445aeb
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.004460f0
test eax, eax
js 0x445aeb
movsd xmm0, qword [0x00537db8]
ucomisd xmm0, xmm6
jp 0x4459e3
jne 0x4459e3
movsd xmm0, qword [0x00538680]
ucomisd xmm0, xmm6
jp 0x4459e3
je 0x445a6c
test ebp, ebp
mov ecx, 0x18
je 0x445a28
mov r12, qword [rsp + 0x20]
call sub.gdiplus.dll_GdipAlloc
test rax, rax
mov rsi, rax
je 0x445a65
lea rax, [0x004fe758]
lea rdx, [rsp + 0x28]
mov rcx, r12
mov qword [rsi], rax
mov qword [rsp + 0x28], r13
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov rcx, qword [rsp + 0x28]
mov dword [rsi + 0x10], eax
mov qword [rsi + 8], rcx
jmp 0x445a68
mov r12, qword [rdi + 8]
call sub.gdiplus.dll_GdipAlloc
test rax, rax
mov rsi, rax
je 0x445a65
lea rax, [0x004fe758]
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x28], r13
mov qword [rsi], rax
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov rcx, qword [rsp + 0x28]
mov qword [rsi + 8], rcx
mov dword [rsi + 0x10], eax
jmp 0x445a68
mov rsi, r13
mov qword [rdi + 0x48], rsi
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test ebp, ebp
je 0x445a95
mov rcx, rdi
call fcn.00445b40
movsd xmm0, qword [0x00537db8]
ucomisd xmm0, xmm6
jp 0x445ab5
jne 0x445ab5
movsd xmm0, qword [0x00538680]
ucomisd xmm0, xmm6
jp 0x445ab5
je 0x445ae4
mov edx, 3
mov eax, 7
test ebp, ebp
cmovne edx, eax
mov rcx, rdi
call fcn.00445c40
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x445ae4
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov qword [rdi + 0x48], r13
mov eax, 1
jmp 0x445b19
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x445b00
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x20], r13
test rbx, rbx
je 0x445b17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret