Function at 0x1400b8258
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402deed0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov byte [rsp + 0x20], 0
xor edx, edx
mov qword [rsp + 0x21], rax
mov r8d, 0x400
mov qword [rsp + 0x29], rax
lea rcx, str.Gdiplus.dll
mov dword [rsp + 0x31], eax
mov word [rsp + 0x35], ax
mov byte [rsp + 0x37], al
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1402e62a0], rax
test rax, rax
jne 0x1400b82cc
xor r8d, r8d
lea rcx, str.Gdiplus.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1402e62a0], rax
test rax, rax
je 0x1400b84db
xor edx, edx
lea rcx, str.Shlwapi.dll
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1402e6290], rax
test rax, rax
jne 0x1400b8326
xor r8d, r8d
lea rcx, str.Shlwapi.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp qword [0x1402e6290], 0
mov qword [0x1402e62a0], rax
jne 0x1400b832d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x1402e62a0], 0
jmp 0x1400b84db
mov rax, qword [0x1402e62a0]
lea rdx, str.GdipCreateBitmapFromStream
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, [0x1402bc588]
mov qword [0x1402e65a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e6290]
lea rdx, str.SHCreateMemStream
mov qword [0x1402e65a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipCreateHBITMAPFromBitmap
mov qword [0x1402e6538], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipGetImagePixelFormat
mov qword [0x1402e6510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipCreateBitmapFromScan0
mov qword [0x1402e6580], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipGetImageHorizontalResolution
mov qword [0x1402e65c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipGetImageVerticalResolution
mov qword [0x1402e65c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipBitmapSetResolution
mov qword [0x1402e6588], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipGetImageGraphicsContext
mov qword [0x1402e6520], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipSetSmoothingMode
mov qword [0x1402e6528], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipSetInterpolationMode
mov qword [0x1402e6518], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, str.GdipDrawImageRectI
mov qword [0x1402e65b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, [0x1402bc6d8]
mov qword [0x1402e6590], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e62a0]
lea rdx, [0x1402bc6f0]
mov qword [0x1402e65b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x20]
mov qword [0x1402e6598], rax
lea rcx, [0x1402e62b0]
call qword [0x1402e65a8]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401cbe50
add rsp, 0x48
ret