Function at 0x1400b8b70
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402e0ed0]
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 [0x1402e82b0], rax
test rax, rax
jne 0x1400b8be4
xor r8d, r8d
lea rcx, str.Gdiplus.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1402e82b0], rax
test rax, rax
je 0x1400b8df3
xor edx, edx
lea rcx, str.Shlwapi.dll
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1402e82a0], rax
test rax, rax
jne 0x1400b8c3e
xor r8d, r8d
lea rcx, str.Shlwapi.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp qword [0x1402e82a0], 0
mov qword [0x1402e82b0], rax
jne 0x1400b8c45
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x1402e82b0], 0
jmp 0x1400b8df3
mov rax, qword [0x1402e82b0]
lea rdx, str.GdipCreateBitmapFromStream
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, [0x1402be358]
mov qword [0x1402e85a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82a0]
lea rdx, str.SHCreateMemStream
mov qword [0x1402e85a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipCreateHBITMAPFromBitmap
mov qword [0x1402e8548], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipGetImagePixelFormat
mov qword [0x1402e8520], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipCreateBitmapFromScan0
mov qword [0x1402e8580], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipGetImageHorizontalResolution
mov qword [0x1402e85c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipGetImageVerticalResolution
mov qword [0x1402e85c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipBitmapSetResolution
mov qword [0x1402e8588], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipGetImageGraphicsContext
mov qword [0x1402e8530], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipSetSmoothingMode
mov qword [0x1402e8538], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipSetInterpolationMode
mov qword [0x1402e8528], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, str.GdipDrawImageRectI
mov qword [0x1402e85b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, [0x1402be4a8]
mov qword [0x1402e8590], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1402e82b0]
lea rdx, [0x1402be4c0]
mov qword [0x1402e85b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x20]
mov qword [0x1402e8598], rax
lea rcx, [0x1402e82c0]
call qword [0x1402e85a8]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401cce50
add rsp, 0x48
ret