Function at 0x14001f348
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x300
mov r9, qword [0x140136d78]
mov r12, rdx
mov rbp, rcx
cmp r9, 0xffffffffffffffff
jne 0x14001f379
xor eax, eax
jmp 0x14001fcb3
xor ebx, ebx
mov esi, 1
cmp rdx, rbx
je 0x14001f3a5
test byte [rdx], 0x10
je 0x14001f3a5
mov rax, qword [rdx + 8]
mov dword [rsp + 0x358], esi
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x78], rax
jmp 0x14001f3b6
mov dword [rsp + 0x358], ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r13d, 0x2e
cmp r9, rbx
jne 0x14001f8e0
lea rcx, str.GdiPlus.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edi, edi
mov rbx, rax
cmp rax, rdi
jne 0x14001f52c
lea rcx, [rsp + 0x80]
lea rdx, str._SystemRoot_WinSxS
lea r8d, [r13 - 2]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
call fcn.1400fe850
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x80]
lea rcx, [0x1401370d0]
xor r9d, r9d
mov byte [rsp + 0x20], sil
call fcn.140079b4c
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.1400fcf20
cmp rax, rdi
je 0x14001f4f5
mov rcx, qword [rsp + 0x38]
lea r8d, [r13 + 0x2e]
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp rax, rdi
je 0x14001f45c
mov word [rax], di
cmp word [rsp + 0xdc], r13w
je 0x14001f4da
test byte [rsp + 0xb0], 0x10
je 0x14001f4da
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0xdc]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rdx, [rcx + rbx + 0x1e]
lea rcx, [rsp + 0x50]
call fcn.140062268
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0xdc]
lea rdx, str._s_sGdiPlus.dll
call fcn.1400170b8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.140059920
cmp rbx, rdi
jne 0x14001f4f5
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x14001f45c
lea rcx, [rsp + 0x38]
call fcn.140059920
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x14001f515
cmp rcx, 0xffffffffffffffff
je 0x14001f515
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x40], rdi
cmp rbx, rdi
jne 0x14001f52c
or qword [0x140136d78], 0xffffffffffffffff
jmp 0x14001f372
lea rdx, str.GdiplusShutdown
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipLoadImageFromFile
mov rcx, rbx
mov qword [0x140136d80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDisposeImage
mov rcx, rbx
mov qword [0x140136d98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateFromHDC
mov rcx, rbx
mov qword [0x140136d88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDrawImageRectI
mov rcx, rbx
mov qword [0x140136e18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateBitmapFromHBITMAP
mov rcx, rbx
mov qword [0x140136d90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateHBITMAPFromBitmap
mov rcx, rbx
mov qword [0x140136de0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipSaveImageToFile
mov rcx, rbx
mov qword [0x140136de8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageEncodersSize
mov rcx, rbx
mov qword [0x140136df0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageEncoders
mov rcx, rbx
mov qword [0x140136db0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDrawImageI
mov rcx, rbx
mov qword [0x140136db8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageWidth
mov rcx, rbx
mov qword [0x140136df8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageHeight
mov rcx, rbx
mov qword [0x140136e00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDrawImageRectRectI
mov rcx, rbx
mov qword [0x140136e08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDeleteGraphics
mov rcx, rbx
mov qword [0x140136e10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipSetInterpolationMode
mov rcx, rbx
mov qword [0x140136e20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipSetPixelOffsetMode
mov rcx, rbx
mov qword [0x140136e28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipSetSmoothingMode
mov rcx, rbx
mov qword [0x140136e30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipLoadImageFromStream
mov rcx, rbx
mov qword [0x140136e38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageType
mov rcx, rbx
mov qword [0x140136e40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateBitmapFromHICON
mov qword [0x140136e48], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageDimension
mov rcx, rbx
mov qword [0x140136e60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateHICONFromBitmap
mov rcx, rbx
mov qword [0x140136e68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipSetTextRenderingHint
mov rcx, rbx
mov qword [0x140136e50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipImageGetFrameDimensionsList
mov rcx, rbx
mov qword [0x140136e58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipImageSelectActiveFrame
mov rcx, rbx
mov qword [0x140136da0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipImageGetFrameDimensionsCount
mov rcx, rbx
mov qword [0x140136da8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipImageGetFrameCount
mov rcx, rbx
mov qword [0x140136dc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetPropertyItemSize
mov rcx, rbx
mov qword [0x140136dc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetPropertyItem
mov rcx, rbx
mov qword [0x140136dd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipBitmapLockBits
mov rcx, rbx
mov qword [0x140136dd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipBitmapUnlockBits
mov rcx, rbx
mov qword [0x140136e70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateBitmapFromScan0
mov rcx, rbx
mov qword [0x140136e78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateBitmapFromResource
mov rcx, rbx
mov qword [0x140136e80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCloneBitmapAreaI
mov rcx, rbx
mov qword [0x140136e88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipGetImageGraphicsContext
mov rcx, rbx
mov qword [0x140136e90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipScaleWorldTransform
mov rcx, rbx
mov qword [0x140136e98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipCreateTexture
mov rcx, rbx
mov qword [0x140136ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipDeleteBrush
mov rcx, rbx
mov qword [0x140136ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdipFillRectangle
mov rcx, rbx
mov qword [0x140136eb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GdiplusStartup
mov qword [0x140136eb8], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov r9, rax
mov qword [0x140136d78], rax
mov rax, qword [0x140136f88]
cmp rax, rbx
jne 0x14001f92a
cmp qword [0x140136d98], rbx
je 0x14001f92a
xor eax, eax
lea rdx, [rsp + 0x80]
lea rcx, [0x140136f88]
xor r8d, r8d
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
call r9
mov rax, qword [0x140136f88]
lea rcx, [rbp - 1]
cmp rcx, 0xfffffffffffffffe
jae 0x14001fcb3
mov edx, 0x7c
mov rcx, rbp
mov qword [rsp + 0x30], rbx
mov r13, rbx
mov r14, rbx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x350], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.SHLWAPI.dll_StrChrW]
mov rdi, rax
cmp rax, rbx
je 0x14001f977
mov word [rax], bx
xor edx, edx
mov rcx, rbp
mov r15, rax
lea r8d, [rdx + 0x23]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
mov ecx, 0x23
mov rsi, rax
mov rax, qword [0x140136d98]
cmp cx, word [rbp]
je 0x14001f9b2
cmp rdi, rbx
jne 0x14001f9ac
cmp rax, rbx
jne 0x14001fb43
cmp cx, word [rbp]
jne 0x14001f9dc
mov rsi, rbp
add rbp, 2
movzx eax, word [rbp]
cmp ax, bx
je 0x14001f9ce
sub ax, 0x30
cmp ax, 9
cmova rsi, rbp
mov r13, qword [0x140136f38]
mov ebp, 2
jmp 0x14001fa41
cmp rsi, rbx
je 0x14001fb3a
movzx ebx, word [rsi]
xor eax, eax
mov rcx, rbp
mov word [rsi], ax
call fcn.14001be3c
mov ebp, 2
mov r8d, ebp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov word [rsi], bx
xor ebx, ebx
mov r14, rax
mov r13, rax
cmp rdi, rbx
je 0x14001fa23
mov r8, rdi
sub r8, rsi
sar r8, 1
jmp 0x14001fa2f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rcx, [rsp + 0x48]
mov rdx, rsi
call fcn.14006245c
mov rsi, qword [rsp + 0x48]
cmp rdi, rbx
je 0x14001fbe8
add rdi, rbp
je 0x14001fbe8
movzx eax, word [rdi]
neg ax
sbb rcx, rcx
and rcx, rdi
mov rdi, rcx
cmp rcx, rbx
je 0x14001fbe8
call fcn.14005bf0c
cmp al, bl
je 0x14001faad
mov rdx, rsi
mov rcx, r13
mov rdi, rbp
call qword [sym.imp.USER32.dll_LoadBitmapW]
mov rbx, rax
xor eax, eax
cmp rbx, rax
je 0x14001faa6
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call qword [0x140136de0]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
jmp 0x14001fbe8
mov rcx, rdi
call fcn.14005becc
cmp al, bl
je 0x14001facb
mov edi, 3
mov dword [rsp + 0x350], 0x14
jmp 0x14001fae7
mov rcx, rdi
call fcn.14005be78
cmp al, bl
je 0x14001fbe8
mov edi, 0xe
mov dword [rsp + 0x350], ebp
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
lea rax, [rsp + 0x350]
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x20], rbx
call fcn.14007151c
bt dword [rsp + 0x350], 8
mov rbx, rax
jae 0x14001fbbb
mov qword [rsp + 0x30], rax
xor eax, eax
cmp rbx, rax
je 0x14001fbe1
or qword [r12], 4
jmp 0x14001fbd6
cmp rax, rbx
je 0x14001fc89
mov rcx, rbp
call fcn.140067400
cmp al, bl
je 0x14001fb78
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.14001e3b8
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
call fcn.1400604a0
mov qword [rsp + 0x30], rax
jmp 0x14001fc89
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_LoadImageW]
mov rbx, rax
xor eax, eax
cmp rbx, rax
je 0x14001fc3f
lea ebp, [rax + 2]
cmp dword [rsp + 0x358], eax
je 0x14001fbbf
or qword [r12], rbp
mov qword [rsp + 0x30], rbx
jmp 0x14001fbd6
xor eax, eax
jmp 0x14001fba7
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [0x140136e60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyIcon]
xor ebx, ebx
cmp qword [rsp + 0x30], rbx
jne 0x14001fbe8
jmp 0x14001fbe3
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp r13, rbx
je 0x14001fc2f
cmp qword [rsp + 0x30], rbx
jne 0x14001fc2f
cmp rdi, rbx
lea r9, [rsp + 0x58]
mov rdx, rsi
cmove rdi, rbp
mov rcx, r13
mov qword [rsp + 0x20], rbx
mov r8, rdi
call fcn.14001eb8c
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
call fcn.1400604a0
mov qword [rsp + 0x30], rax
cmp rax, rbx
jne 0x14001fc89
cmp r14, rbx
je 0x14001fc89
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14001fc89
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [0x140136d98]
xor ebx, ebx
cmp qword [rsp + 0x30], rbx
je 0x14001fc89
cmp r12, rbx
je 0x14001fc89
lea r8d, [rbx + 0x2e]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp rax, rbx
je 0x14001fc89
lea rcx, [rax + 2]
lea rdx, [0x14011ab48]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x14001fc89
or qword [r12], 4
cmp r15, rbx
je 0x14001fc97
mov eax, 0x7c
mov word [r15], ax
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140059920
lea rcx, [rsp + 0x48]
call fcn.140059920
mov rax, rbx
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret