Function at 0x140158ee0
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0x2d
lea rcx, [rsp + 0x20]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov r8d, 0x400
xor edx, edx
lea rcx, str.Gdiplus.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1403b9718], rax
cmp qword [0x1403b9718], 0
jne 0x140158f64
xor r8d, r8d
xor edx, edx
lea rcx, [0x1403b6260]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1403b9718], rax
cmp qword [0x1403b9718], 0
jne 0x140158f73
jmp 0x140159194
mov r8d, 0x400
xor edx, edx
lea rcx, str.Shlwapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1403b9708], rax
cmp qword [0x1403b9708], 0
jne 0x140158fb2
xor r8d, r8d
xor edx, edx
lea rcx, [0x1403b6230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1403b9718], rax
cmp qword [0x1403b9708], 0
jne 0x140158fd9
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1403b9718], 0
jmp 0x140159194
lea rdx, str.GdipCreateBitmapFromStream
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a60], rax
lea rdx, str.GdiplusStartup
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a68], rax
lea rdx, str.SHCreateMemStream
mov rcx, qword [0x1403b9708]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a10], rax
lea rdx, str.GdipCreateHBITMAPFromBitmap
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b99e8], rax
lea rdx, str.GdipGetImagePixelFormat
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a40], rax
lea rdx, str.GdipCreateBitmapFromScan0
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a88], rax
lea rdx, str.GdipGetImageHorizontalResolution
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a80], rax
lea rdx, str.GdipGetImageVerticalResolution
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a48], rax
lea rdx, str.GdipBitmapSetResolution
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b99f8], rax
lea rdx, str.GdipGetImageGraphicsContext
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a00], rax
lea rdx, str.GdipSetSmoothingMode
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b99f0], rax
lea rdx, str.GdipSetInterpolationMode
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a78], rax
lea rdx, str.GdipDrawImageRectI
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a50], rax
lea rdx, str.GdipDisposeImage
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a70], rax
lea rdx, str.GdiplusShutdown
mov rcx, qword [0x1403b9718]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b9a58], rax
mov eax, 4
imul rax, rax, 0
mov dword [rsp + rax + 0x30], 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [0x1403b9728]
call qword [0x1403b9a68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x50
pop rdi
ret