Function at 0x1400c4a70
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402feed0]
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 [0x140307e30], rax
test rax, rax
jne 0x1400c4ae4
xor r8d, r8d
lea rcx, str.Gdiplus.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x140307e30], rax
test rax, rax
je 0x1400c4cf3
xor edx, edx
lea rcx, str.Shlwapi.dll
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x140307e20], rax
test rax, rax
jne 0x1400c4b3e
xor r8d, r8d
lea rcx, str.Shlwapi.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp qword [0x140307e20], 0
mov qword [0x140307e30], rax
jne 0x1400c4b45
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x140307e30], 0
jmp 0x1400c4cf3
mov rax, qword [0x140307e30]
lea rdx, str.GdipCreateBitmapFromStream
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, [0x1402dbd00]
mov qword [0x140308120], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e20]
lea rdx, str.SHCreateMemStream
mov qword [0x140308128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipCreateHBITMAPFromBitmap
mov qword [0x1403080c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipGetImagePixelFormat
mov qword [0x1403080a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipCreateBitmapFromScan0
mov qword [0x140308100], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipGetImageHorizontalResolution
mov qword [0x140308148], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipGetImageVerticalResolution
mov qword [0x140308140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipBitmapSetResolution
mov qword [0x140308108], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipGetImageGraphicsContext
mov qword [0x1403080b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipSetSmoothingMode
mov qword [0x1403080b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipSetInterpolationMode
mov qword [0x1403080a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, str.GdipDrawImageRectI
mov qword [0x140308138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, [0x1402dbe50]
mov qword [0x140308110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140307e30]
lea rdx, [0x1402dbe68]
mov qword [0x140308130], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x20]
mov qword [0x140308118], rax
lea rcx, [0x140307e40]
call qword [0x140308128]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401d8f10
add rsp, 0x48
ret