Function at 0x140011e30
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push r12
sub rsp, 0x4f8
lea rdx, [rsp + 0x98]
mov dword [rsp + 0xb4], 0xff
mov rbx, rcx
xor r12d, r12d
call fcn.1400118c0
test rax, rax
je 0x140011ea0
mov ecx, dword [rbx + 4]
mov eax, ecx
neg eax
mov dword [rsp + 0x74], ecx
cmovs eax, ecx
mov dword [rbx + 4], eax
cmp eax, 0x1000000
jbe 0x140011ead
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.too_large
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x4f8
pop r12
pop rbx
ret
cmp dword [rbx], 0x1000000
ja 0x140011e84
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x510], rbp
mov ebp, dword [rsp + 0xb0]
mov dword [rsp + 0x530], eax
mov eax, dword [rsp + 0xac]
mov qword [rsp + 0x4f0], rsi
mov esi, dword [rsp + 0xa0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb4]
mov qword [rsp + 0x4e8], rdi
mov edi, dword [rsp + 0x98]
mov dword [rsp + 0x538], eax
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0x4d8], r14
mov r14d, dword [rsp + 0x9c]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x30], edi
cmp esi, 0xc
jne 0x140011f65
cmp edi, 0x18
jge 0x140011f80
mov ecx, r14d
sub ecx, eax
mov eax, 0x55555556
sub ecx, 0x18
imul ecx
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
jmp 0x140011f77
cmp edi, 0x10
jge 0x140011f80
mov r12d, r14d
sub r12d, eax
sub r12d, esi
sar r12d, 2
test r12d, r12d
jne 0x14001200d
mov edx, dword [rbx + 0xb8]
sub edx, dword [rbx + 0xd0]
mov r8d, dword [rbx + 0xc0]
add edx, r8d
lea eax, [rdx - 1]
cmp eax, 0x3ff
ja 0x1400130a1
cmp r14d, edx
jl 0x14001307e
mov ecx, r14d
sub ecx, edx
cmp ecx, 0x400
jg 0x14001307e
test ecx, ecx
je 0x14001200d
jns 0x140011fd4
mov rax, qword [rbx + 0xc8]
mov qword [rbx + 0xc0], rax
jmp 0x14001200d
cmp qword [rbx + 0x10], 0
je 0x140012003
mov edx, dword [rbx + 0xc8]
sub edx, r8d
cmp edx, ecx
jge 0x140012003
mov rax, qword [rbx + 0xc8]
sub ecx, edx
mov edx, ecx
mov qword [rbx + 0xc0], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + 0x18]
jmp 0x14001200d
movsxd rax, ecx
add qword [rbx + 0xc0], rax
mov qword [rsp + 0x4e0], r13
cmp edi, 0x18
jne 0x140012028
cmp ebp, 0xff000000
jne 0x140012028
lea r13d, [rdi - 0x15]
jmp 0x140012035
xor r13d, r13d
test ebp, ebp
setne r13b
add r13d, 3
mov dword [rbx + 8], r13d
mov ecx, dword [rbx]
mov r9d, dword [rbx + 4]
mov dword [rsp + 0x28], r13d
test ecx, ecx
js 0x14001305b
je 0x14001205f
mov eax, 0x7fffffff
cdq
idiv ecx
cmp r13d, eax
jg 0x14001305b
mov r8d, r13d
imul r8d, ecx
test r8d, r8d
js 0x14001305b
test r9d, r9d
js 0x14001305b
je 0x14001208c
mov eax, 0x7fffffff
cdq
idiv r9d
cmp r8d, eax
jg 0x14001305b
test ecx, ecx
je 0x1400120a1
mov eax, 0x7fffffff
cdq
idiv ecx
cmp r13d, eax
jg 0x140013038
mov r8d, r13d
imul r8d, ecx
test r9d, r9d
je 0x1400120bf
mov eax, 0x7fffffff
cdq
idiv r9d
cmp r8d, eax
jg 0x140013038
imul ecx, r9d
mov eax, r13d
imul eax, ecx
movsxd rcx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rsp + 0x90], rax
mov rbp, rax
test rax, rax
je 0x140013038
mov qword [rsp + 0x4d0], r15
cmp edi, 0x10
jge 0x140012711
xor edi, edi
test r12d, r12d
je 0x1400126ee
cmp r12d, 0x100
jg 0x1400126ee
test r12d, r12d
jle 0x140012269
mov ebp, dword [rsp + 0x2c]
lea rsi, [rbx + 0x30]
xor r15d, r15d
movsxd r14, r12d
nop word [rax + rax]
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x14001214f
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012178
cmp dword [rbx + 0x30], edi
lea rsi, [rbx + 0x30]
je 0x140012176
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012178
xor cl, cl
mov r13, rsi
mov byte [rsp + r15*4 + 0xd2], cl
cmp rax, qword [rbx + 0xc8]
jae 0x14001219b
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x1400121bf
cmp dword [rsi], edi
je 0x1400121bd
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x1400121bf
xor cl, cl
mov byte [rsp + r15*4 + 0xd1], cl
cmp rax, qword [rbx + 0xc8]
jae 0x1400121e3
movzx ecx, byte [rax]
lea rsi, [rbx + 0x30]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012207
cmp dword [rsi], edi
je 0x140012205
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012207
xor cl, cl
mov byte [rsp + r15*4 + 0xd0], cl
cmp ebp, 0xc
je 0x14001223e
cmp rax, qword [rbx + 0xc8]
jae 0x140012229
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x14001223e
cmp dword [r13], edi
je 0x14001223e
mov rcx, rbx
call fcn.140007e20
inc qword [rbx + 0xc0]
mov byte [rsp + r15*4 + 0xd3], 0xff
inc r15
cmp r15, r14
jl 0x140012130
mov rbp, qword [rsp + 0x90]
mov r14d, dword [rsp + 0x20]
mov esi, dword [rsp + 0x2c]
mov r13d, dword [rsp + 0x28]
xor eax, eax
cmp esi, 0xc
setne al
add eax, 3
imul eax, r12d
sub r14d, eax
sub r14d, dword [rsp + 0x24]
sub r14d, esi
je 0x1400122d8
test r14d, r14d
jns 0x14001229a
mov rax, qword [rbx + 0xc8]
mov qword [rbx + 0xc0], rax
jmp 0x1400122d8
cmp qword [rbx + 0x10], rdi
je 0x1400122ce
mov ecx, dword [rbx + 0xc8]
sub ecx, dword [rbx + 0xc0]
cmp ecx, r14d
jge 0x1400122ce
mov rax, qword [rbx + 0xc8]
sub r14d, ecx
mov rcx, qword [rbx + 0x28]
mov edx, r14d
mov qword [rbx + 0xc0], rax
call qword [rbx + 0x18]
jmp 0x1400122d8
movsxd rax, r14d
add qword [rbx + 0xc0], rax
mov r12d, dword [rsp + 0x30]
cmp r12d, 1
jne 0x1400122f0
mov r15d, dword [rbx]
add r15d, 7
shr r15d, 3
jmp 0x14001230e
cmp r12d, 4
jne 0x140012301
mov r15d, dword [rbx]
inc r15d
shr r15d, 1
jmp 0x14001230e
cmp r12d, 8
jne 0x14001268c
mov r15d, dword [rbx]
mov eax, dword [rbx + 4]
neg r15d
and r15d, 3
mov ecx, eax
cmp r12d, 1
jne 0x1400124c7
xor r12d, r12d
test eax, eax
jle 0x140012f33
nop
mov r9, qword [rbx + 0xc0]
mov esi, 7
cmp r9, qword [rbx + 0xc8]
jae 0x140012355
movzx ecx, byte [r9]
inc r9
mov qword [rbx + 0xc0], r9
jmp 0x14001237c
cmp dword [rbx + 0x30], 0
je 0x14001237a
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
lea r9, [rax + 1]
mov qword [rbx + 0xc0], r9
jmp 0x14001237c
xor cl, cl
mov edx, dword [rbx]
xor r14d, r14d
movzx r11d, cl
mov rcx, r9
test edx, edx
jle 0x14001246c
mov r8, r9
mov r10d, edx
mov eax, r11d
mov ecx, esi
sar eax, cl
and eax, 1
lea rcx, [rax*4]
movzx eax, byte [rsp + rcx + 0xd0]
mov byte [rdi + rbp], al
movzx eax, byte [rsp + rcx + 0xd1]
mov byte [rdi + rbp + 1], al
movzx eax, byte [rsp + rcx + 0xd2]
mov byte [rdi + rbp + 2], al
add rdi, 3
cmp r13d, 4
jne 0x1400123dc
mov byte [rdi + rbp], 0xff
inc rdi
lea eax, [r14 + 1]
mov r9d, r8d
mov rcx, r8
mov r14d, eax
cmp eax, edx
je 0x14001246c
sub esi, 1
jns 0x140012450
mov esi, 7
cmp r8, qword [rbx + 0xc8]
jae 0x140012418
movzx r9d, byte [r8]
lea rcx, [r8 + 1]
mov qword [rbx + 0xc0], rcx
mov edx, r10d
movzx r11d, r9b
jmp 0x14001245a
cmp dword [rbx + 0x30], 0
je 0x140012444
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx r9d, byte [rax]
lea rcx, [rax + 1]
mov qword [rbx + 0xc0], rcx
mov edx, dword [rbx]
movzx r11d, r9b
jmp 0x14001245a
xor r9b, r9b
mov edx, r10d
movzx r11d, r9b
jmp 0x14001245a
mov rcx, qword [rbx + 0xc0]
mov edx, r10d
mov r8, rcx
mov r9d, ecx
mov r10d, edx
cmp r14d, edx
jl 0x140012396
test r15d, r15d
je 0x1400124b1
cmp qword [rbx + 0x10], 0
je 0x1400124a4
mov r8d, dword [rbx + 0xc8]
sub r8d, r9d
cmp r8d, r15d
jge 0x1400124a4
mov rax, qword [rbx + 0xc8]
mov edx, r15d
mov rcx, qword [rbx + 0x28]
sub edx, r8d
mov qword [rbx + 0xc0], rax
call qword [rbx + 0x18]
jmp 0x1400124b1
mov eax, r15d
add rax, rcx
mov qword [rbx + 0xc0], rax
mov eax, dword [rbx + 4]
inc r12d
mov ecx, eax
cmp r12d, eax
jl 0x140012330
jmp 0x140012f33
xor r14d, r14d
test eax, eax
jle 0x140012f33
xor esi, esi
cmp dword [rbx], esi
jle 0x140012633
nop dword [rax]
mov r8, qword [rbx + 0xc0]
cmp r8, qword [rbx + 0xc8]
jae 0x140012500
movzx ecx, byte [r8]
inc r8
mov qword [rbx + 0xc0], r8
jmp 0x140012527
cmp dword [rbx + 0x30], 0
je 0x140012525
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [rbx + 0xc0], r8
jmp 0x140012527
xor cl, cl
xor r10d, r10d
movzx eax, cl
cmp r12d, 4
jne 0x14001253d
mov r10d, eax
and r10d, 0xf
shr eax, 4
movsxd rcx, edi
lea rdx, [rax*4]
movzx eax, byte [rsp + rdx + 0xd0]
inc edi
mov byte [rcx + rbp], al
movzx eax, byte [rsp + rdx + 0xd1]
movsxd rcx, edi
inc edi
mov byte [rcx + rbp], al
movzx eax, byte [rsp + rdx + 0xd2]
movsxd rcx, edi
inc edi
mov byte [rcx + rbp], al
cmp r13d, 4
jne 0x140012584
movsxd rax, edi
inc edi
mov byte [rax + rbp], 0xff
mov r9d, dword [rbx]
lea eax, [rsi + 1]
cmp eax, r9d
je 0x140012633
cmp r12d, 8
jne 0x1400125e0
cmp r8, qword [rbx + 0xc8]
jae 0x1400125b3
movzx ecx, byte [r8]
lea rax, [r8 + 1]
mov qword [rbx + 0xc0], rax
jmp 0x1400125dc
cmp dword [rbx + 0x30], 0
je 0x1400125da
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
mov r9d, dword [rbx]
jmp 0x1400125dc
xor cl, cl
movzx r10d, cl
movsxd rcx, edi
lea rdx, [r10*4]
movzx eax, byte [rsp + rdx + 0xd0]
inc edi
mov byte [rcx + rbp], al
movzx eax, byte [rsp + rdx + 0xd1]
movsxd rcx, edi
inc edi
mov byte [rcx + rbp], al
movzx eax, byte [rsp + rdx + 0xd2]
movsxd rcx, edi
inc edi
mov byte [rcx + rbp], al
cmp r13d, 4
jne 0x140012627
movsxd rax, edi
inc edi
mov byte [rax + rbp], 0xff
add esi, 2
cmp esi, r9d
jl 0x1400124e0
test r15d, r15d
je 0x140012676
cmp qword [rbx + 0x10], 0
je 0x14001266c
mov ecx, dword [rbx + 0xc8]
sub ecx, dword [rbx + 0xc0]
cmp ecx, r15d
jge 0x14001266c
mov rax, qword [rbx + 0xc8]
mov edx, r15d
sub edx, ecx
mov qword [rbx + 0xc0], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + 0x18]
jmp 0x140012676
mov eax, r15d
add qword [rbx + 0xc0], rax
mov eax, dword [rbx + 4]
inc r14d
mov ecx, eax
cmp r14d, eax
jl 0x1400124d2
jmp 0x140012f33
mov rcx, rbp
call qword [sym.imp.ucrtbased.dll_free]
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.bad_bpp
mov qword [rdx + rcx], rax
xor eax, eax
mov r15, qword [rsp + 0x4d0]
mov r13, qword [rsp + 0x4e0]
mov rdi, qword [rsp + 0x4e8]
mov rsi, qword [rsp + 0x4f0]
mov rbp, qword [rsp + 0x510]
mov r14, qword [rsp + 0x4d8]
add rsp, 0x4f8
pop r12
pop rbx
ret
mov rcx, rbp
call qword [sym.imp.ucrtbased.dll_free]
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.invalid
jmp 0x1400126ad
sub r14d, dword [rsp + 0x24]
xor r11d, r11d
mov dword [rsp + 0x38], r11d
mov r8d, r11d
mov dword [rsp + 0x3c], r11d
mov r10d, r11d
mov dword [rsp + 0x28], r11d
mov r9d, r11d
mov dword [rsp + 0x2c], r11d
mov r12d, r11d
mov edi, r11d
mov r15d, r11d
sub r14d, esi
je 0x1400127a3
test r14d, r14d
jns 0x140012759
mov rax, qword [rbx + 0xc8]
mov qword [rbx + 0xc0], rax
jmp 0x1400127a3
cmp qword [rbx + 0x10], rdi
je 0x140012799
mov ecx, dword [rbx + 0xc8]
sub ecx, dword [rbx + 0xc0]
cmp ecx, r14d
jge 0x140012799
mov rax, qword [rbx + 0xc8]
sub r14d, ecx
mov rcx, qword [rbx + 0x28]
mov edx, r14d
mov qword [rbx + 0xc0], rax
call qword [rbx + 0x18]
mov r9d, edi
mov r10d, edi
mov r8d, edi
xor r11d, r11d
jmp 0x1400127a3
movsxd rax, r14d
add qword [rbx + 0xc0], rax
mov ecx, dword [rsp + 0x30]
cmp ecx, 0x18
jne 0x1400127b3
mov eax, dword [rbx]
lea edx, [rax + rax*2]
jmp 0x1400127c1
cmp ecx, 0x10
jne 0x1400127be
mov edx, dword [rbx]
add edx, edx
jmp 0x1400127c1
mov edx, r11d
neg edx
and edx, 3
mov dword [rsp + 0x20], edx
cmp ecx, 0x18
jne 0x1400127e2
mov qword [rsp + 0x48], 1
mov esi, edi
mov r14d, edi
jmp 0x140012a04
mov eax, dword [rsp + 0x530]
mov qword [rsp + 0x48], r11
cmp ecx, 0x20
jne 0x140012843
cmp dword [rsp + 0x40], 0xff
mov qword [rsp + 0x48], r11
jne 0x140012843
mov qword [rsp + 0x48], r11
cmp eax, 0xff00
jne 0x140012843
cmp dword [rsp + 0x34], 0xff0000
mov qword [rsp + 0x48], r11
jne 0x140012843
mov qword [rsp + 0x48], r11
mov r11d, dword [rsp + 0x50]
cmp r11d, 0xff000000
jne 0x14001286c
mov qword [rsp + 0x48], 2
mov esi, edi
mov r14d, edi
jmp 0x140012a04
mov r9d, dword [rsp + 0x34]
test r9d, r9d
je 0x140013012
test eax, eax
je 0x140013012
mov edi, dword [rsp + 0x40]
test edi, edi
je 0x140013012
mov r11d, dword [rsp + 0x50]
jmp 0x140012875
mov r9d, dword [rsp + 0x34]
mov edi, dword [rsp + 0x40]
mov ecx, r9d
call fcn.140011850
mov edx, r9d
mov ecx, r9d
mov r9d, dword [rsp + 0x530]
and ecx, 0x55555555
shr edx, 1
and edx, 0x55555555
lea esi, [rax - 7]
add edx, ecx
mov dword [rsp + 0x38], esi
mov ecx, edx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, r9d
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r10d, al
call fcn.140011850
mov edx, r9d
mov ecx, r9d
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r14d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x3c], r14d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, edi
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r9d, al
call fcn.140011850
sub eax, 7
mov edx, edi
shr edx, 1
mov ecx, edi
and edx, 0x55555555
mov dword [rsp + 0x28], eax
and ecx, 0x55555555
add edx, ecx
mov ecx, edx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, r11d
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r12d, al
call fcn.140011850
lea r8d, [rax - 7]
mov edx, r11d
shr edx, 1
mov ecx, r11d
and edx, 0x55555555
mov dword [rsp + 0x2c], r8d
and ecx, 0x55555555
add edx, ecx
mov ecx, edx
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx edi, al
cmp r10d, 8
ja 0x140013012
cmp r9d, 8
ja 0x140013012
cmp r12d, 8
ja 0x140013012
cmp edi, 8
ja 0x140013012
mov edx, dword [rsp + 0x20]
mov eax, dword [rbx + 4]
xor r11d, r11d
mov dword [rsp + 0x24], r11d
mov ecx, eax
test eax, eax
jle 0x140012f33
mov eax, esi
neg eax
mov dword [rsp + 0x54], eax
mov eax, 8
mov ecx, eax
sub ecx, r10d
mov dword [rsp + 0x58], ecx
mov ecx, r14d
neg ecx
mov dword [rsp + 0x5c], ecx
mov ecx, eax
sub ecx, r9d
mov dword [rsp + 0x60], ecx
mov ecx, dword [rsp + 0x28]
neg ecx
mov dword [rsp + 0x64], ecx
mov ecx, eax
sub ecx, r12d
mov dword [rsp + 0x68], ecx
mov ecx, r8d
neg ecx
sub eax, edi
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x70], eax
mov eax, r10d
mov qword [rsp + 0x78], rax
mov eax, r12d
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov eax, edi
mov ecx, r9d
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x80], rcx
mov eax, dword [rbx]
movsxd rcx, r15d
test r12, r12
je 0x140012c1d
xor r14d, r14d
test eax, eax
jle 0x140012ed7
lea rsi, [rcx + rbp]
lea rdi, [rbx + 0x30]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xc0]
cmp rax, qword [rbx + 0xc8]
jae 0x140012adf
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b09
cmp dword [rbx + 0x30], 0
lea rdi, [rbx + 0x30]
je 0x140012b07
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b09
xor cl, cl
mov byte [rsi + 2], cl
cmp rax, qword [rbx + 0xc8]
jae 0x140012b24
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b49
cmp dword [rdi], 0
je 0x140012b47
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b49
xor cl, cl
mov byte [rsi + 1], cl
cmp rax, qword [rbx + 0xc8]
jae 0x140012b64
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b89
cmp dword [rdi], 0
je 0x140012b87
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012b89
xor cl, cl
mov byte [rsi], cl
add r15d, 3
add rsi, 3
cmp r12, 2
jne 0x140012be5
cmp rax, qword [rbx + 0xc8]
jae 0x140012bb1
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012bd7
cmp dword [rbx + 0x30], 0
je 0x140012bd5
mov rcx, rbx
call fcn.140007e20
mov rax, qword [rbx + 0xc0]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xc0], rax
jmp 0x140012bd7
xor cl, cl
mov edx, 0x30
mov rax, rbx
lea rdi, [rbx + rdx]
jmp 0x140012beb
mov cl, 0xff
lea rdi, [rbx + 0x30]
movzx eax, cl
or dword [rsp + 0x538], eax
cmp r13d, 4
jne 0x140012c03
inc r15d
mov byte [rsi], cl
inc rsi
inc r14d
cmp r14d, dword [rbx]
jl 0x140012ac0
mov edx, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
jmp 0x140012ed7
test eax, eax
jle 0x140012ed2
lea r14, [rcx + rbp]
mov ebp, dword [rsp + 0x30]
nop dword [rax]
mov rcx, rbx
call fcn.140008030
cmp ebp, 0x10
jne 0x140012c41
mov esi, eax
jmp 0x140012c52
mov rcx, rbx
mov edi, eax
call fcn.140008030
mov esi, eax
shl esi, 0x10
add esi, edi
mov eax, dword [rsp + 0x38]
mov edi, esi
and edi, dword [rsp + 0x34]
test eax, eax
jns 0x140012c68
mov ecx, dword [rsp + 0x54]
shl edi, cl
jmp 0x140012c6c
mov ecx, eax
shr edi, cl
cmp edi, 0x100
jb 0x140012c8e
mov r8d, 0x151e
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.v___256
call qword [sym.imp.ucrtbased.dll__wassert]
mov ecx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
shr edi, cl
cmp rax, 8
jbe 0x140012cbe
mov r8d, 0x1520
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.bits___0__bits___8
call qword [sym.imp.ucrtbased.dll__wassert]
mov rax, qword [rsp + 0x78]
lea rcx, [0x140000000]
imul edi, dword [rcx + rax*4 + 0xd88b8]
mov ecx, dword [rcx + rax*4 + 0xd8910]
mov eax, dword [rsp + 0x3c]
sar edi, cl
mov byte [r14], dil
mov edi, esi
and edi, dword [rsp + 0x530]
test eax, eax
jns 0x140012cf2
mov ecx, dword [rsp + 0x5c]
shl edi, cl
jmp 0x140012cf6
mov ecx, eax
shr edi, cl
cmp edi, 0x100
jb 0x140012d18
mov r8d, 0x151e
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.v___256
call qword [sym.imp.ucrtbased.dll__wassert]
mov ecx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
shr edi, cl
cmp rax, 8
jbe 0x140012d4e
mov r8d, 0x1520
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.bits___0__bits___8
call qword [sym.imp.ucrtbased.dll__wassert]
mov rax, qword [rsp + 0x80]
lea rcx, [0x140000000]
imul edi, dword [rcx + rax*4 + 0xd88b8]
mov ecx, dword [rcx + rax*4 + 0xd8910]
mov eax, dword [rsp + 0x28]
sar edi, cl
mov byte [r14 + 1], dil
mov edi, esi
and edi, dword [rsp + 0x40]
test eax, eax
jns 0x140012d80
mov ecx, dword [rsp + 0x64]
shl edi, cl
jmp 0x140012d84
mov ecx, eax
shr edi, cl
cmp edi, 0x100
jb 0x140012da6
mov r8d, 0x151e
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.v___256
call qword [sym.imp.ucrtbased.dll__wassert]
mov ecx, dword [rsp + 0x68]
mov r8, qword [rsp + 0x88]
shr edi, cl
cmp r8, 8
jbe 0x140012ddc
mov r8d, 0x1520
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.bits___0__bits___8
call qword [sym.imp.ucrtbased.dll__wassert]
mov r8, qword [rsp + 0x88]
mov r11d, dword [rsp + 0x50]
lea r9, [0x140000000]
imul edi, dword [r9 + r8*4 + 0xd88b8]
add r15d, 3
mov ecx, dword [r9 + r8*4 + 0xd8910]
sar edi, cl
mov byte [r14 + 2], dil
add r14, 3
test r11d, r11d
je 0x140012e9a
mov eax, dword [rsp + 0x2c]
and esi, r11d
test eax, eax
jns 0x140012e23
mov ecx, dword [rsp + 0x6c]
shl esi, cl
jmp 0x140012e27
mov ecx, eax
shr esi, cl
cmp esi, 0x100
jb 0x140012e50
mov r8d, 0x151e
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.v___256
call qword [sym.imp.ucrtbased.dll__wassert]
lea r9, [0x140000000]
mov ecx, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xc0]
shr esi, cl
cmp rdi, 8
jbe 0x140012e85
mov r8d, 0x1520
lea rdx, str.C:TomProgrammierenSkyEngine_templatesWindowsTemplatedependencies_stb_stb_image.h
lea rcx, str.bits___0__bits___8
call qword [sym.imp.ucrtbased.dll__wassert]
lea r9, [0x140000000]
imul esi, dword [r9 + rdi*4 + 0xd88b8]
mov ecx, dword [r9 + rdi*4 + 0xd8910]
sar esi, cl
jmp 0x140012e9f
mov esi, 0xff
or dword [rsp + 0x538], esi
cmp r13d, 4
jne 0x140012eb5
inc r15d
mov byte [r14], sil
inc r14
inc r12d
cmp r12d, dword [rbx]
jl 0x140012c30
mov rbp, qword [rsp + 0x90]
mov edx, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
mov r12, qword [rsp + 0x48]
test edx, edx
je 0x140012f1d
cmp qword [rbx + 0x10], 0
je 0x140012f14
mov ecx, dword [rbx + 0xc8]
sub ecx, dword [rbx + 0xc0]
cmp ecx, edx
jge 0x140012f14
mov rax, qword [rbx + 0xc8]
sub edx, ecx
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0xc0], rax
call qword [rbx + 0x18]
mov edx, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
jmp 0x140012f1d
mov eax, edx
add qword [rbx + 0xc0], rax
mov eax, dword [rbx + 4]
inc r11d
mov dword [rsp + 0x24], r11d
mov ecx, eax
cmp r11d, eax
jl 0x140012a90
mov edx, ecx
cmp r13d, 4
jne 0x140012f6e
cmp dword [rsp + 0x538], 0
jne 0x140012f6e
imul eax, dword [rbx]
lea eax, [rax*4 - 1]
movsxd r8, eax
test eax, eax
js 0x140012f6e
nop word [rax + rax]
mov byte [r8 + rbp], 0xff
sub r8, 4
jns 0x140012f60
mov edx, dword [rbx + 4]
cmp dword [rsp + 0x74], 0
jle 0x140012fdf
xor r10d, r10d
test edx, 0xfffffffe
jle 0x140012fdf
mov ecx, dword [rbx]
sub edx, r10d
dec edx
mov r9d, r13d
imul edx, r13d
mov eax, r13d
imul r9d, ecx
xor r8d, r8d
imul eax, ecx
imul edx, ecx
imul r9d, r10d
add rdx, rbp
add r9, rbp
test eax, eax
jle 0x140012fd0
sub r9, rdx
nop
movzx eax, byte [rdx]
inc r8d
movzx ecx, byte [rdx + r9]
mov byte [rdx + r9], al
mov eax, r13d
mov byte [rdx], cl
lea rdx, [rdx + 1]
imul eax, dword [rbx]
cmp r8d, eax
jl 0x140012fb0
mov edx, dword [rbx + 4]
inc r10d
mov eax, edx
sar eax, 1
cmp r10d, eax
jl 0x140012f80
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x518]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x520]
mov eax, dword [rbx + 4]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x528]
test rcx, rcx
je 0x14001300a
mov eax, dword [rbx + 8]
mov dword [rcx], eax
mov rax, rbp
jmp 0x1400126b3
mov rcx, rbp
call qword [sym.imp.ucrtbased.dll_free]
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.bad_masks
jmp 0x1400126ad
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.outofmem
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400126bb
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.too_large
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400126bb
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.bad_offset
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400126c3
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.bad_header
mov qword [rdx + rcx], rax
xor eax, eax
jmp 0x1400126c3