Function at 0x140057880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov qword [rsp + 0x30], rbp
mov rbx, rcx
mov rbp, rdx
call fcn.140056d50
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a9e0]
call fcn.14007da10
mov rdx, rbp
mov rcx, rbx
call fcn.140054530
mov rcx, rbx
mov rdi, rax
call fcn.140056d50
mov rcx, qword [rbx + 0x40]
lea r8, [0x14018a9ec]
mov r9, rdi
lea rdx, str._s__s_
call fcn.14007da90
mov rcx, rbx
call fcn.140056d50
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a8dc]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
xor r14d, r14d
mov dword [rbx + 0x304], r14d
call fcn.14007da10
mov eax, dword [rbx + 0x300]
cmp dword [rbx + 0x304], r14d
jne 0x14005794c
mov edi, r14d
test eax, eax
jle 0x14005794c
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
mov eax, dword [rbx + 0x300]
inc edi
cmp edi, eax
jl 0x140057930
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a680]
add eax, 2
mov qword [rsp + 0x38], rsi
mov dword [rbx + 0x300], eax
mov dword [rbx + 0x304], r14d
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp qword [rbp + 0x10], r14
je 0x140057a9b
cmp dword [rbx + 0x304], r14d
jne 0x1400579d4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x1400579ca
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400579b0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MAP_
call fcn.14007da10
mov rsi, qword [rbp + 0x10]
cmp dword [rbx + 0x304], r14d
jne 0x140057a24
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057a1a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057a00
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a6a0]
mov r8, rsi
call fcn.14007da90
cmp dword [rbx + 0x304], r14d
jne 0x140057a74
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057a6a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057a50
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a8f4]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp dword [rbp + 0x68], r14d
je 0x140057e1b
cmp dword [rbx + 0x304], r14d
jne 0x140057ae4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057ada
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057ac0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MINIFY_
call fcn.14007da10
mov r9d, dword [rbp + 0x68]
lea eax, [r9 - 1]
cmp eax, 7
ja case.default.0x140057b18
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x58328]
add rcx, rdx
jmp rcx
cmp dword [rbx + 0x304], r14d
jne 0x140057b54
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057b4a
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057b30
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018aa08]
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057ba4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057b9a
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057b80
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018aa18]
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057bf4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057bea
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057bd0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018aa28]
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057c44
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057c3a
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057c20
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MIP_MAP_LINEAR
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057c94
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057c8a
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057c70
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MIP_MAP_BILINEAR
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057ce4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057cda
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057cc0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MIP_MAP_TRILINEAR
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057d34
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057d2a
nop
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057d10
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MIP_MAP_QUADLINEAR
call fcn.14007da10
jmp 0x140057dac
cmp dword [rbx + 0x304], r14d
jne 0x140057d84
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057d7a
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057d60
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MIP_MAP_POINT_SAMPLED
call fcn.14007da10
jmp 0x140057dac
lea r8, str.Unknown_minify_type___d__n
mov edx, 1
mov ecx, 0x2b3e
call fcn.140001480
cmp dword [rbx + 0x304], r14d
jne 0x140057df4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057dea
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057dd0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a91c]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp dword [rbp + 0x6c], r14d
je 0x1400580ab
cmp dword [rbx + 0x304], r14d
jne 0x140057e64
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057e5a
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057e40
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.MAGNIFY_
call fcn.14007da10
mov r9d, dword [rbp + 0x6c]
mov ecx, r9d
sub ecx, 1
je 0x140057fed
sub ecx, 1
je 0x140057fa0
sub ecx, 1
je 0x140057f50
sub ecx, 1
je 0x140057f00
cmp ecx, 1
je 0x140057ebb
lea r8, str.Unknown_magnify_type___d__n
mov edx, 1
mov ecx, 0x2b3f
call fcn.140001480
jmp 0x140058044
cmp dword [rbx + 0x304], r14d
jne 0x140057ef4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057eea
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057ed0
mov dword [rbx + 0x304], 1
lea rdx, str.SHARPEN
jmp 0x14005803b
cmp dword [rbx + 0x304], r14d
jne 0x140057f44
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057f3a
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057f20
mov dword [rbx + 0x304], 1
lea rdx, str.BICUBIC
jmp 0x14005803b
cmp dword [rbx + 0x304], r14d
jne 0x140057f94
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057f8a
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057f70
mov dword [rbx + 0x304], 1
lea rdx, str.TRILINEAR
jmp 0x14005803b
cmp dword [rbx + 0x304], r14d
jne 0x140057fe4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x140057fda
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140057fc0
mov dword [rbx + 0x304], 1
lea rdx, str.BILINEAR
jmp 0x14005803b
cmp dword [rbx + 0x304], r14d
jne 0x140058034
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x14005802a
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140058010
mov dword [rbx + 0x304], 1
lea rdx, str.POINT_SAMPLED
mov rcx, qword [rbx + 0x40]
call fcn.14007da10
cmp dword [rbx + 0x304], r14d
jne 0x140058084
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x14005807a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140058060
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a954]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp byte [rbp + 0x70], r14b
je 0x14005811b
cmp dword [rbx + 0x304], r14d
jne 0x1400580f4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x1400580ea
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400580d0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.WRAP_U_CLAMP
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp byte [rbp + 0x71], r14b
je 0x14005818b
cmp dword [rbx + 0x304], r14d
jne 0x140058164
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x14005815a
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140058140
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.WRAP_V_CLAMP
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
cmp qword [rbp + 0x18], r14
je 0x14005829b
cmp dword [rbx + 0x304], r14d
jne 0x1400581d4
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x1400581ca
nop word [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400581b0
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, str.DETAIL_MODULATE_
call fcn.14007da10
mov rsi, qword [rbp + 0x18]
cmp dword [rbx + 0x304], r14d
jne 0x140058224
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x14005821a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140058200
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a6a0]
mov r8, rsi
call fcn.14007da90
cmp dword [rbx + 0x304], r14d
jne 0x140058274
mov edi, r14d
cmp dword [rbx + 0x300], r14d
jle 0x14005826a
nop dword [rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x140058250
mov dword [rbx + 0x304], 1
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a984]
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
mov eax, dword [rbx + 0x300]
mov rsi, qword [rsp + 0x38]
add eax, 0xfffffffe
mov rbp, qword [rsp + 0x30]
mov dword [rbx + 0x300], eax
cmp dword [rbx + 0x304], r14d
jne 0x1400582ea
mov edi, r14d
test eax, eax
jle 0x1400582ea
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a5c4]
call fcn.14007da10
inc edi
cmp edi, dword [rbx + 0x300]
jl 0x1400582d0
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a684]
mov dword [rbx + 0x304], r14d
call fcn.14007da10
mov rcx, qword [rbx + 0x40]
lea rdx, [0x14018a67c]
mov dword [rbx + 0x304], r14d
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14007da10